Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorashatalin2006-06-09 10:15:28 +0000
committerashatalin2006-06-09 10:15:28 +0000
commitafd337f94d935a79b5ebb346f4644aeb63ba1467 (patch)
tree7dc14917889b7640aeb5ab28c35feee8a2fd908d /plugins/org.eclipse.gmf.codegen.edit
parent8afc92f3308f05869286efaf0156635c45569716 (diff)
downloadorg.eclipse.gmf-tooling-afd337f94d935a79b5ebb346f4644aeb63ba1467.tar.gz
org.eclipse.gmf-tooling-afd337f94d935a79b5ebb346f4644aeb63ba1467.tar.xz
org.eclipse.gmf-tooling-afd337f94d935a79b5ebb346f4644aeb63ba1467.zip
#143541 Add property to gmfgen to hold editing domain id
#144205 Add property to gmfgen model to hold diagram creation wizard category id
Diffstat (limited to 'plugins/org.eclipse.gmf.codegen.edit')
-rw-r--r--plugins/org.eclipse.gmf.codegen.edit/plugin.properties4
-rw-r--r--plugins/org.eclipse.gmf.codegen.edit/src/org/eclipse/gmf/codegen/gmfgen/provider/GenDiagramItemProvider.java48
2 files changed, 51 insertions, 1 deletions
diff --git a/plugins/org.eclipse.gmf.codegen.edit/plugin.properties b/plugins/org.eclipse.gmf.codegen.edit/plugin.properties
index 3a2d81fcc..1201e4eaf 100644
--- a/plugins/org.eclipse.gmf.codegen.edit/plugin.properties
+++ b/plugins/org.eclipse.gmf.codegen.edit/plugin.properties
@@ -241,6 +241,7 @@ _UI_PackageNames_providersPackageName_feature = Providers Package Name
_UI_PackageNames_notationViewFactoriesPackageName_feature = Notation View Factories Package Name
_UI_EditorCandies_creationWizardClassName_feature = Creation Wizard Class Name
_UI_EditorCandies_creationWizardPageClassName_feature = Creation Wizard Page Class Name
+_UI_EditorCandies_creationWizardCategoryID_feature = Creation Wizard Category ID
_UI_EditorCandies_diagramEditorUtilClassName_feature = Diagram Editor Util Class Name
_UI_EditorCandies_diagramFileCreatorClassName_feature = Diagram File Creator Class Name
_UI_EditorCandies_documentProviderClassName_feature = Document Provider Class Name
@@ -249,6 +250,7 @@ _UI_EditorCandies_matchingStrategyClassName_feature = Matching Strategy Class Na
_UI_EditorCandies_preferenceInitializerClassName_feature = Preference Initializer Class Name
_UI_EditorCandies_visualIDRegistryClassName_feature = Visual ID Registry Class Name
_UI_EditorCandies_elementChooserClassName_feature = Element Chooser Class Name
+_UI_EditorCandies_editingDomainID_feature = Editing Domain ID
_UI_EditPartCandies_referenceConnectionEditPolicyClassName_feature = Reference Connection Edit Policy Class Name
_UI_EditPartCandies_reorientConnectionViewCommandClassName_feature = Reorient Connection View Command Class Name
_UI_EditPartCandies_editPartFactoryClassName_feature = Edit Part Factory Class Name
@@ -448,4 +450,4 @@ _UI_GenLanguage_regexp_literal = regexp
_UI_GenLanguage_nregexp_literal = nregexp
-_UI_BatchValidation_validationDecoratorProviderPriority_feature = Validation Decorator Provider Priority
+_UI_BatchValidation_validationDecoratorProviderPriority_feature = Validation Decorator Provider Priority \ No newline at end of file
diff --git a/plugins/org.eclipse.gmf.codegen.edit/src/org/eclipse/gmf/codegen/gmfgen/provider/GenDiagramItemProvider.java b/plugins/org.eclipse.gmf.codegen.edit/src/org/eclipse/gmf/codegen/gmfgen/provider/GenDiagramItemProvider.java
index 6bb5182bb..fe7c509c7 100644
--- a/plugins/org.eclipse.gmf.codegen.edit/src/org/eclipse/gmf/codegen/gmfgen/provider/GenDiagramItemProvider.java
+++ b/plugins/org.eclipse.gmf.codegen.edit/src/org/eclipse/gmf/codegen/gmfgen/provider/GenDiagramItemProvider.java
@@ -100,6 +100,7 @@ public class GenDiagramItemProvider
addCreationWizardClassNamePropertyDescriptor(object);
addCreationWizardPageClassNamePropertyDescriptor(object);
addCreationWizardIconPathPropertyDescriptor(object);
+ addCreationWizardCategoryIDPropertyDescriptor(object);
addDiagramEditorUtilClassNamePropertyDescriptor(object);
addDiagramFileCreatorClassNamePropertyDescriptor(object);
addDocumentProviderClassNamePropertyDescriptor(object);
@@ -110,6 +111,7 @@ public class GenDiagramItemProvider
addVisualIDRegistryClassNamePropertyDescriptor(object);
addElementChooserClassNamePropertyDescriptor(object);
addLoadResourceActionClassNamePropertyDescriptor(object);
+ addEditingDomainIDPropertyDescriptor(object);
addShortcutsDecoratorProviderClassNamePropertyDescriptor(object);
addShortcutsDecoratorProviderPriorityPropertyDescriptor(object);
addCreateShortcutActionClassNamePropertyDescriptor(object);
@@ -397,6 +399,28 @@ public class GenDiagramItemProvider
}
/**
+ * This adds a property descriptor for the Editing Domain ID feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addEditingDomainIDPropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_EditorCandies_editingDomainID_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_EditorCandies_editingDomainID_feature", "_UI_EditorCandies_type"),
+ GMFGenPackage.eINSTANCE.getEditorCandies_EditingDomainID(),
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
* This adds a property descriptor for the Shortcuts Decorator Provider Class Name feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -1189,6 +1213,28 @@ public class GenDiagramItemProvider
}
/**
+ * This adds a property descriptor for the Creation Wizard Category ID feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addCreationWizardCategoryIDPropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_EditorCandies_creationWizardCategoryID_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_EditorCandies_creationWizardCategoryID_feature", "_UI_EditorCandies_type"),
+ GMFGenPackage.eINSTANCE.getEditorCandies_CreationWizardCategoryID(),
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
* This adds a property descriptor for the Diagram Editor Util Class Name feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -1710,6 +1756,7 @@ public class GenDiagramItemProvider
case GMFGenPackage.GEN_DIAGRAM__CREATION_WIZARD_CLASS_NAME:
case GMFGenPackage.GEN_DIAGRAM__CREATION_WIZARD_PAGE_CLASS_NAME:
case GMFGenPackage.GEN_DIAGRAM__CREATION_WIZARD_ICON_PATH:
+ case GMFGenPackage.GEN_DIAGRAM__CREATION_WIZARD_CATEGORY_ID:
case GMFGenPackage.GEN_DIAGRAM__DIAGRAM_EDITOR_UTIL_CLASS_NAME:
case GMFGenPackage.GEN_DIAGRAM__DIAGRAM_FILE_CREATOR_CLASS_NAME:
case GMFGenPackage.GEN_DIAGRAM__DOCUMENT_PROVIDER_CLASS_NAME:
@@ -1720,6 +1767,7 @@ public class GenDiagramItemProvider
case GMFGenPackage.GEN_DIAGRAM__VISUAL_ID_REGISTRY_CLASS_NAME:
case GMFGenPackage.GEN_DIAGRAM__ELEMENT_CHOOSER_CLASS_NAME:
case GMFGenPackage.GEN_DIAGRAM__LOAD_RESOURCE_ACTION_CLASS_NAME:
+ case GMFGenPackage.GEN_DIAGRAM__EDITING_DOMAIN_ID:
case GMFGenPackage.GEN_DIAGRAM__SHORTCUTS_DECORATOR_PROVIDER_CLASS_NAME:
case GMFGenPackage.GEN_DIAGRAM__SHORTCUTS_DECORATOR_PROVIDER_PRIORITY:
case GMFGenPackage.GEN_DIAGRAM__CREATE_SHORTCUT_ACTION_CLASS_NAME:

Back to the top