Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorashatalin2006-06-08 14:32:24 +0000
committerashatalin2006-06-08 14:32:24 +0000
commit75e195438038a269ec80a1ab3d3ed126d8ea821d (patch)
treead03cfc35a521f6dd0fa36ff5951b4764b6743af /plugins/org.eclipse.gmf.codegen.edit
parent2c9ff049af5545b31e32a1b7dc4641e0c6aece5b (diff)
downloadorg.eclipse.gmf-tooling-75e195438038a269ec80a1ab3d3ed126d8ea821d.tar.gz
org.eclipse.gmf-tooling-75e195438038a269ec80a1ab3d3ed126d8ea821d.tar.xz
org.eclipse.gmf-tooling-75e195438038a269ec80a1ab3d3ed126d8ea821d.zip
#126249 Generate PrintPreview action for the diagram
Diffstat (limited to 'plugins/org.eclipse.gmf.codegen.edit')
-rw-r--r--plugins/org.eclipse.gmf.codegen.edit/plugin.properties5
-rw-r--r--plugins/org.eclipse.gmf.codegen.edit/src/org/eclipse/gmf/codegen/gmfgen/provider/GenDiagramItemProvider.java24
2 files changed, 27 insertions, 2 deletions
diff --git a/plugins/org.eclipse.gmf.codegen.edit/plugin.properties b/plugins/org.eclipse.gmf.codegen.edit/plugin.properties
index 63410f2f0..3a2d81fcc 100644
--- a/plugins/org.eclipse.gmf.codegen.edit/plugin.properties
+++ b/plugins/org.eclipse.gmf.codegen.edit/plugin.properties
@@ -230,6 +230,7 @@ _UI_ProviderClassNames_modelingAssistantProviderClassName_feature = Modeling Ass
_UI_ProviderClassNames_propertyProviderClassName_feature = Property Provider Class Name
_UI_ProviderClassNames_iconProviderClassName_feature = Icon Provider Class Name
_UI_ProviderClassNames_structuralFeatureParserClassName_feature = Structural Feature Parser Class Name
+_UI_ProviderClassNames_contributionItemProviderClassName_feature = Contribution Item Provider Class Name
_UI_Shortcuts_createShortcutActionClassName_feature = Create Shortcut Action Class Name
_UI_Shortcuts_containsShortcutsTo_feature = Contains Shortcuts To
_UI_Shortcuts_shortcutsProvidedFor_feature = Shortcuts Provided For
@@ -446,5 +447,5 @@ _UI_GenLanguage_java_literal = java
_UI_GenLanguage_regexp_literal = regexp
_UI_GenLanguage_nregexp_literal = nregexp
-
-_UI_BatchValidation_validationDecoratorProviderPriority_feature = Validation Decorator Provider Priority \ No newline at end of file
+
+_UI_BatchValidation_validationDecoratorProviderPriority_feature = Validation Decorator Provider Priority
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 4f342c798..6bb5182bb 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
@@ -86,6 +86,7 @@ public class GenDiagramItemProvider
addAbstractParserClassNamePropertyDescriptor(object);
addStructuralFeatureParserClassNamePropertyDescriptor(object);
addStructuralFeaturesParserClassNamePropertyDescriptor(object);
+ addContributionItemProviderClassNamePropertyDescriptor(object);
addReorientConnectionViewCommandClassNamePropertyDescriptor(object);
addBaseEditHelperClassNamePropertyDescriptor(object);
addEditPartFactoryClassNamePropertyDescriptor(object);
@@ -1584,6 +1585,28 @@ public class GenDiagramItemProvider
}
/**
+ * This adds a property descriptor for the Contribution Item Provider Class Name feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addContributionItemProviderClassNamePropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_ProviderClassNames_contributionItemProviderClassName_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_ProviderClassNames_contributionItemProviderClassName_feature", "_UI_ProviderClassNames_type"),
+ GMFGenPackage.eINSTANCE.getProviderClassNames_ContributionItemProviderClassName(),
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
* This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
* {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
* {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
@@ -1673,6 +1696,7 @@ public class GenDiagramItemProvider
case GMFGenPackage.GEN_DIAGRAM__ABSTRACT_PARSER_CLASS_NAME:
case GMFGenPackage.GEN_DIAGRAM__STRUCTURAL_FEATURE_PARSER_CLASS_NAME:
case GMFGenPackage.GEN_DIAGRAM__STRUCTURAL_FEATURES_PARSER_CLASS_NAME:
+ case GMFGenPackage.GEN_DIAGRAM__CONTRIBUTION_ITEM_PROVIDER_CLASS_NAME:
case GMFGenPackage.GEN_DIAGRAM__REORIENT_CONNECTION_VIEW_COMMAND_CLASS_NAME:
case GMFGenPackage.GEN_DIAGRAM__BASE_EDIT_HELPER_CLASS_NAME:
case GMFGenPackage.GEN_DIAGRAM__EDIT_PART_FACTORY_CLASS_NAME:

Back to the top