52 lines
1.3 KiB
Java
Executable File
52 lines
1.3 KiB
Java
Executable File
package pyUML.backend;
|
|
|
|
import java.util.Arrays;
|
|
import java.util.List;
|
|
|
|
/**
|
|
*
|
|
* This class holds global parameters used by different classes
|
|
* of PyUML
|
|
*
|
|
*/
|
|
public class GlobalConstants {
|
|
|
|
private final static String pyUmlDir="PyUML";
|
|
private final static String viewUmlExtension = ".pyUmlView.uml";
|
|
private final static String viewConfExtension = ".pyUmlViewConfig";
|
|
private final static String diagramExtension = ".umlclass_diagram";
|
|
private final static String unknownExpression = "\"??unknown??\"";
|
|
private final static String fullDefault = "PyUML:FullDefault:";
|
|
|
|
public final static String STEREOTYPE_BEANCLASS = "BeanClass";
|
|
private final static String[] possibleStereotypes = {GlobalConstants.STEREOTYPE_BEANCLASS};
|
|
|
|
public static String getViewUmlExtension() {
|
|
return viewUmlExtension;
|
|
}
|
|
|
|
public static String getPyUmlDir() {
|
|
return pyUmlDir;
|
|
}
|
|
|
|
public static String getViewConfExtension() {
|
|
return viewConfExtension;
|
|
}
|
|
|
|
public static String getDiagramExtension() {
|
|
return diagramExtension;
|
|
}
|
|
|
|
public static String getUnknownExpression() {
|
|
return unknownExpression;
|
|
}
|
|
|
|
public static String getFullDefault() {
|
|
return fullDefault;
|
|
}
|
|
|
|
public static List<String> getPossibleStereoTypes() {
|
|
return Arrays.asList(possibleStereotypes);
|
|
}
|
|
}
|