Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
tviegut committed Oct 24, 2024
1 parent 2834162 commit 8f73a13
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ public void initializeDefaultPreferences() {
store.setDefault(Info.PRESERVE_NAMESPACES.getLocalName(), true);
store.setDefault(Info.PROBLEM_PER_SUBJECT.getLocalName(), true);
store.setDefault(Info.USE_PACKAGE_NAMES.getLocalName(), false);
store.setDefault(Info.DOCROOT_CLASSES_COLOR.getLocalName(), "#D3FBFE");
store.setDefault(Info.CONCRETE_CLASSES_COLOR.getLocalName(), "#FFFFE0");
store.setDefault(Info.ABSTRACT_CLASSES_COLOR.getLocalName(), "#D3D3D3");
store.setDefault(Info.ENUMERATIONS_COLOR.getLocalName(), "#90EE90");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ protected Template define() {
HRule()),
Group(
Label("PlantUML Diagram Preferences:")),
Group(
Label("Document Root Class Color:"),
new ColorPreference("", Info.DOCROOT_CLASSES_COLOR),
Label(Info.DOCROOT_CLASSES_COLOR.getLocalName() + "-label", getPreferenceStore().getString(Info.DOCROOT_CLASSES_COLOR.getLocalName()))),
Group(
Label("Concrete Classes Color:"),
new ColorPreference("", Info.CONCRETE_CLASSES_COLOR),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ public class Info {
"mapping_namespace");
public static final QualifiedName MAPPING_LABEL = new QualifiedName(CIMToolPlugin.PLUGIN_ID, "mapping_label");

public static final QualifiedName DOCROOT_CLASSES_COLOR = new QualifiedName(CIMToolPlugin.PLUGIN_ID, "plantuml_docroot_classes_color");
public static final QualifiedName CONCRETE_CLASSES_COLOR = new QualifiedName(CIMToolPlugin.PLUGIN_ID, "plantuml_concrete_classes_color");
public static final QualifiedName ABSTRACT_CLASSES_COLOR = new QualifiedName(CIMToolPlugin.PLUGIN_ID, "plantuml_abstract_classes_color");
public static final QualifiedName ENUMERATIONS_COLOR = new QualifiedName(CIMToolPlugin.PLUGIN_ID, "plantuml_enumerations_color");
Expand Down

0 comments on commit 8f73a13

Please sign in to comment.