Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCamille Letavernier2014-08-21 11:43:07 +0000
committerCamille Letavernier2014-08-21 13:50:25 +0000
commitdbc038b44bcbb890ae256d15eb09eb285512f020 (patch)
tree757e736583eea3ae352ad9ac91a81df7e59b79ff /plugins/developer
parentea48a20561464c3cbb7895d430583669a9f82fcc (diff)
downloadorg.eclipse.papyrus-dbc038b44bcbb890ae256d15eb09eb285512f020.tar.gz
org.eclipse.papyrus-dbc038b44bcbb890ae256d15eb09eb285512f020.tar.xz
org.eclipse.papyrus-dbc038b44bcbb890ae256d15eb09eb285512f020.zip
[Code style] Apply clean-up and formatter on Main plug-ins
Diffstat (limited to 'plugins/developer')
-rw-r--r--plugins/developer/org.eclipse.papyrus.codegen/src/org/eclipse/papyrus/codegen/Activator.java8
-rw-r--r--plugins/developer/org.eclipse.papyrus.codegen/src/org/eclipse/papyrus/codegen/PapyrusCodegenEmitters.java3
-rw-r--r--plugins/developer/org.eclipse.papyrus.codegen/src/org/eclipse/papyrus/codegen/PapyrusExecuteTemplatesOperation.java4
-rw-r--r--plugins/developer/org.eclipse.papyrus.codegen/src/org/eclipse/papyrus/codegen/PapyrusGenerator.java3
-rw-r--r--plugins/developer/org.eclipse.papyrus.codegen/src/org/eclipse/papyrus/codegen/actions/PapyrusExecuteTemplateAction.java4
-rw-r--r--plugins/developer/org.eclipse.papyrus.dev.java.utils/src/org/eclipse/papyrus/dev/java/utils/Activator.java6
-rw-r--r--plugins/developer/org.eclipse.papyrus.dev.java.utils/src/org/eclipse/papyrus/dev/java/utils/EmptyPackagesHandler.java50
-rw-r--r--plugins/developer/org.eclipse.papyrus.dev.view.services.edit.request/src/org/eclipse/papyrus/dev/view/services/edit/request/Activator.java6
-rw-r--r--plugins/developer/org.eclipse.papyrus.dev.view.services.edit.request/src/org/eclipse/papyrus/dev/view/services/edit/request/helper/ViewEditHelperAdvice.java12
-rw-r--r--plugins/developer/org.eclipse.papyrus.dev.view.services.edit.request/src/org/eclipse/papyrus/dev/view/services/edit/request/view/RequestView.java24
-rw-r--r--plugins/developer/org.eclipse.papyrus.developer.profile/src/org/eclipse/papyrus/developer/profile/Activator.java6
-rw-r--r--plugins/developer/org.eclipse.papyrus.diagramdev.modelexplorer/src/org/eclipse/papyrus/diagramdev/modelexplorer/Activator.java4
-rw-r--r--plugins/developer/org.eclipse.papyrus.diagramdev.modelexplorer/src/org/eclipse/papyrus/diagramdev/modelexplorer/DiagramContentProvider.java24
-rw-r--r--plugins/developer/org.eclipse.papyrus.diagramdev.modelexplorer/src/org/eclipse/papyrus/diagramdev/modelexplorer/DiagramLabelProvider.java23
-rw-r--r--plugins/developer/org.eclipse.papyrus.diagramdev.modelexplorer/src/org/eclipse/papyrus/diagramdev/modelexplorer/GetDiagramIcon.java18
-rw-r--r--plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/provider/CommentItemProvider.java76
-rw-r--r--plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/provider/DependencyItemProvider.java76
-rw-r--r--plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/provider/DocumentationItemProvider.java80
-rw-r--r--plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/provider/DocumentationItemProviderAdapterFactory.java54
-rw-r--r--plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/provider/FileDependencyItemProvider.java48
-rw-r--r--plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/provider/PersonItemProvider.java130
-rw-r--r--plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/provider/PluginDocEditPlugin.java15
-rw-r--r--plugins/developer/org.eclipse.papyrus.documentation.plugin.editor/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/presentation/DocumentationActionBarContributor.java97
-rw-r--r--plugins/developer/org.eclipse.papyrus.documentation.plugin.editor/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/presentation/DocumentationEditor.java823
-rw-r--r--plugins/developer/org.eclipse.papyrus.documentation.plugin.editor/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/presentation/DocumentationModelWizard.java126
-rw-r--r--plugins/developer/org.eclipse.papyrus.documentation.plugin.editor/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/presentation/PluginDocEditorPlugin.java21
-rw-r--r--plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/Comment.java20
-rw-r--r--plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/Dependency.java24
-rw-r--r--plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/Documentation.java30
-rw-r--r--plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/DocumentationFactory.java10
-rw-r--r--plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/DocumentationPackage.java91
-rw-r--r--plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/FileDependency.java14
-rw-r--r--plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/Person.java40
-rw-r--r--plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/impl/CommentImpl.java71
-rw-r--r--plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/impl/DependencyImpl.java71
-rw-r--r--plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/impl/DocumentationFactoryImpl.java39
-rw-r--r--plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/impl/DocumentationImpl.java133
-rw-r--r--plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/impl/DocumentationPackageImpl.java108
-rw-r--r--plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/impl/FileDependencyImpl.java42
-rw-r--r--plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/impl/PersonImpl.java129
-rw-r--r--plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/util/DocumentationAdapterFactory.java88
-rw-r--r--plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/util/DocumentationSwitch.java125
-rw-r--r--plugins/developer/org.eclipse.papyrus.documentation.plugin/src/org/eclipse/papyrus/documentation/plugin/Activator.java6
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincodegen.ui/src/org/eclipse/papyrus/domaincodegen/ui/Activator.java10
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincodegen.ui/src/org/eclipse/papyrus/domaincodegen/ui/common/GenerateHandlers.java20
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincodegen.ui/src/org/eclipse/papyrus/domaincodegen/ui/common/GenerateTypes.java20
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincodegen.ui/src/org/eclipse/papyrus/domaincodegen/ui/popupMenus/AcceleoGenerateCreationHandlersAction.java22
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincodegen.ui/src/org/eclipse/papyrus/domaincodegen/ui/popupMenus/AcceleoGenerateElementTypeAction.java22
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/AdviceBindingItemProvider.java25
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/AdviceItemProvider.java42
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/BindingItemProvider.java25
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/CommandDeclarationItemProvider.java29
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/CommandItemProvider.java32
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/DomainContextEditPlugin.java18
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/DomainContextItemProvider.java83
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/DomaincontextcodegenItemProviderAdapterFactory.java160
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/ElementTypeBindingItemProvider.java25
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/ElementTypeBindingsItemProvider.java37
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/ElementTypeItemProvider.java37
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/ElementTypesItemProvider.java29
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/GenHandlersItemProvider.java69
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/GenHelperItemProvider.java25
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/GenMatcherItemProvider.java25
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/MenuDeclarationItemProvider.java33
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/MetaClassTypeItemProvider.java29
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/SpecializationTypeItemProvider.java40
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/StereotypedElementHelperItemProvider.java44
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/StereotypedElementMatcherItemProvider.java44
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen.editor/src/org/eclipse/papyrus/domaincontextcodegen/presentation/DomainContextEditorPlugin.java18
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen.editor/src/org/eclipse/papyrus/domaincontextcodegen/presentation/DomaincontextcodegenActionBarContributor.java96
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen.editor/src/org/eclipse/papyrus/domaincontextcodegen/presentation/DomaincontextcodegenEditor.java385
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen.editor/src/org/eclipse/papyrus/domaincontextcodegen/presentation/DomaincontextcodegenModelWizard.java118
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/actionsrc/org/eclipse/papyrus/domaincontextcodegen/AddBindingsAction.java10
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/actionsrc/org/eclipse/papyrus/domaincontextcodegen/AddVisibleCommandForChildrenAction.java18
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/actionsrc/org/eclipse/papyrus/domaincontextcodegen/ElementTypeComparator.java4
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/actionsrc/org/eclipse/papyrus/domaincontextcodegen/GenerateElementTypeModelAction.java28
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/actionsrc/org/eclipse/papyrus/domaincontextcodegen/SetUMLIconInElementTypesAction.java16
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/Advice.java28
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/AdviceBinding.java10
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/Binding.java16
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/Command.java16
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/CommandDeclaration.java6
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/DomainContext.java81
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/DomaincontextcodegenFactory.java36
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/DomaincontextcodegenPackage.java554
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/ElementType.java28
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/ElementTypeBinding.java10
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/ElementTypeBindings.java12
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/ElementTypes.java15
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/GenHandlers.java44
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/GenHelper.java10
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/GenMatcher.java10
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/InheritanceKind.java50
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/MenuDeclaration.java12
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/MetaClassType.java10
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/SpecializationType.java28
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/StereotypedElementHelper.java28
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/StereotypedElementMatcher.java31
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/AdviceBindingImpl.java53
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/AdviceImpl.java97
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/BindingImpl.java95
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/CommandDeclarationImpl.java38
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/CommandImpl.java71
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/DomainContextImpl.java307
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/DomaincontextcodegenFactoryImpl.java65
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/DomaincontextcodegenPackageImpl.java440
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/ElementTypeBindingImpl.java53
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/ElementTypeBindingsImpl.java62
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/ElementTypeImpl.java121
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/ElementTypesImpl.java89
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/GenHandlersImpl.java123
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/GenHelperImpl.java42
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/GenMatcherImpl.java42
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/MenuDeclarationImpl.java50
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/MetaClassTypeImpl.java53
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/SpecializationTypeImpl.java149
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/StereotypedElementHelperImpl.java81
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/StereotypedElementMatcherImpl.java81
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/util/DomaincontextcodegenAdapterFactory.java73
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/util/DomaincontextcodegenSwitch.java254
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/transforsrc/org/eclipse/papyrus/domaincontextcodegen/modules/GenerateHandlers.java745
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/transforsrc/org/eclipse/papyrus/domaincontextcodegen/modules/GenerateTypes.java745
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/transforsrc/org/eclipse/papyrus/domaincontextcodegen/modules/utils/ModelUtils.java22
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/transforsrc/org/eclipse/papyrus/domaincontextcodegen/modules/utils/StringUtils.java4
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmf.editpartview/src/org/eclipse/papyrus/gmf/editpartview/Activator.java4
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmf.editpartview/src/org/eclipse/papyrus/gmf/editpartview/view/EditPartHierarchyView.java43
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmf.editpartview/src/org/eclipse/papyrus/gmf/editpartview/view/EditPartLabelProvider.java22
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmf.editpoliciesstates/src/org/eclipse/papyrus/gmf/editpoliciesstates/Activator.java8
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmf.editpoliciesstates/src/org/eclipse/papyrus/gmf/editpoliciesstates/view/EditPoliciesStateView.java97
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmf.editpoliciesstates/src/org/eclipse/papyrus/gmf/editpoliciesstates/view/EditpolicyLabelProvider.java37
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmf.figureview/src/org/eclipse/papyrus/gmf/figureview/Activator.java4
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmf.figureview/src/org/eclipse/papyrus/gmf/figureview/view/FigureHierarchyView.java44
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmf.figureview/src/org/eclipse/papyrus/gmf/figureview/view/FigureLabelProvider.java26
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/AdditionalEditPartCandies.java7
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/AlternateCanvas.java26
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/AlternateGenLink.java14
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/AlternateGenTopLevelNode.java14
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/CommentedElement.java7
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/CompartmentTitleVisibilityPreference.java16
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/CompartmentVisibilityPreference.java16
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/ConstrainedByReferenceCompartmentItemSemanticEditPolicy.java9
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/CustomDiagramUpdaterSingleton.java10
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/EditPartUsingDeleteService.java12
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/EditPartUsingReorientService.java18
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/ExtendedGenView.java36
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/ExternalHook.java7
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/ExternalMetamodelType.java10
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/GenNodeConstraint.java10
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/HiddenLabels.java26
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/LabelVisibilityPreference.java44
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/MutatingCanvas.java6
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/OwnedEditpart.java7
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/PapyrusExtensionRootNode.java3
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/PapyrusgmfgenextensionFactory.java30
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/PapyrusgmfgenextensionPackage.java293
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/PropertyRefreshHook.java18
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/SpecificDiagramUpdater.java21
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/SpecificLocator.java17
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/SpecificLocatorExternalLabel.java17
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/AdditionalEditPartCandiesImpl.java44
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/AlternateCanvasImpl.java155
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/AlternateGenLinkImpl.java106
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/AlternateGenTopLevelNodeImpl.java106
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/CommentedElementImpl.java44
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/CompartmentTitleVisibilityPreferenceImpl.java71
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/CompartmentVisibilityPreferenceImpl.java71
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/ConstrainedByReferenceCompartmentItemSemanticEditPolicyImpl.java35
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/CustomDiagramUpdaterSingletonImpl.java44
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/EditPartUsingDeleteServiceImpl.java71
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/EditPartUsingReorientServiceImpl.java71
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/ExtendedGenViewImpl.java216
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/ExternalElementTypesLibraryImpl.java58
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/ExternalHookImpl.java44
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/ExternalMetamodelTypeImpl.java50
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/GenNodeConstraintImpl.java77
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/GenerateUsingElementTypeCreationCommandImpl.java4
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/LabelVisibilityPreferenceImpl.java160
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/MutatingCanvasImpl.java40
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/OwnedEditpartImpl.java44
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/PapyrusExtensionRootNodeImpl.java38
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/PapyrusgmfgenextensionFactoryImpl.java145
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/PapyrusgmfgenextensionPackageImpl.java403
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/PropertyRefreshHookImpl.java75
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/SpecificDiagramUpdaterImpl.java50
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/SpecificLocatorExternalLabelImpl.java35
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/SpecificLocatorImpl.java35
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/Action.java68
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/AddDefaultNamedElementAction.java23
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/AddExternalNodeStereotypeDisplayBehavior.java23
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/AddGenLinkStereotypeDisplayBehavior.java47
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/AddHyperLinkPopupBarBehavior.java13
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/AddNodeQualifiedNameBehavior.java13
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/AddNodeShowHideCompartmentBehavior.java13
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/AddNodeShowHideContentsBehavior.java13
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/AddNodeShowHideLabelsBehavior.java13
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/AddNodeStereotypeDisplayBehavior.java13
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/AddOrUpdateCommentEditParts.java183
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/AddSemanticElementTypeInGenericTopNode.java88
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/AddShapeNamedElementAction.java23
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/AddSmallAndLargeIconForPaletteAction.java81
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/DisplayReport.java93
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/EditpartGenHelper.java84
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/Messages.java2
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/SetCompartmentNeedsTitleToTrueAction.java21
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/SetVisualIDWithUnusedValue.java41
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/TestCodeSetGeneration.java217
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/UpdateElementTypeToMatchGenericType.java91
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/util/PapyrusgmfgenextensionAdapterFactory.java346
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/util/PapyrusgmfgenextensionSwitch.java635
-rw-r--r--plugins/developer/org.eclipse.papyrus.infra.extendedtypes.elementtypeview/src/org/eclipse/papyrus/infra/extendedtypes/elementtypeview/Activator.java6
-rw-r--r--plugins/developer/org.eclipse.papyrus.infra.extendedtypes.elementtypeview/src/org/eclipse/papyrus/infra/extendedtypes/elementtypeview/view/ElementTypeLabelProvider.java20
-rw-r--r--plugins/developer/org.eclipse.papyrus.infra.extendedtypes.elementtypeview/src/org/eclipse/papyrus/infra/extendedtypes/elementtypeview/view/ElementTypeView.java72
-rw-r--r--plugins/developer/org.eclipse.papyrus.mwe2.utils/src/org/eclipse/papyrus/mwe2/utils/Activator.java6
-rw-r--r--plugins/developer/org.eclipse.papyrus.mwe2.utils/src/org/eclipse/papyrus/mwe2/utils/components/QvtoTransformationWorkflowComponent.java30
-rw-r--r--plugins/developer/org.eclipse.papyrus.mwe2.utils/src/org/eclipse/papyrus/mwe2/utils/components/RegisterUmlProfileComponent.java17
-rw-r--r--plugins/developer/org.eclipse.papyrus.sysml.sysmloveruml.codegen/generation-classes-helper-src/org/eclipse/papyrus/sysml/sysmloveruml/codegen/generationUtils/SysMLOverUMLHelper.java132
-rw-r--r--plugins/developer/org.eclipse.papyrus.sysml.sysmloveruml.codegen/src/org/eclipse/papyrus/sysml/sysmloveruml/codegen/SysMLOverUMLGeneratorPlugin.java10
-rw-r--r--plugins/developer/org.eclipse.papyrus.sysml.sysmloveruml.codegen/src/org/eclipse/papyrus/sysml/sysmloveruml/codegen/core/AbstractGeneratorAdaptor.java22
-rw-r--r--plugins/developer/org.eclipse.papyrus.sysml.sysmloveruml.codegen/src/org/eclipse/papyrus/sysml/sysmloveruml/codegen/core/Condition.java14
-rw-r--r--plugins/developer/org.eclipse.papyrus.sysml.sysmloveruml.codegen/src/org/eclipse/papyrus/sysml/sysmloveruml/codegen/core/Messages.java10
-rw-r--r--plugins/developer/org.eclipse.papyrus.sysml.sysmloveruml.codegen/src/org/eclipse/papyrus/sysml/sysmloveruml/codegen/core/SysMLOverUMLGenModelGeneratorAdapterFactory.java8
-rw-r--r--plugins/developer/org.eclipse.papyrus.sysml.sysmloveruml.codegen/src/org/eclipse/papyrus/sysml/sysmloveruml/codegen/core/SysMLOverUmlGenModelGenerator.java13
-rw-r--r--plugins/developer/org.eclipse.papyrus.sysml.sysmloveruml.codegen/src/org/eclipse/papyrus/sysml/sysmloveruml/codegen/utils/LabelHelper.java6
-rw-r--r--plugins/developer/org.eclipse.papyrus.uml.developer.mde/src/org/eclipse/papyrus/uml/developper/mde/Activator.java6
-rw-r--r--plugins/developer/org.eclipse.papyrus.uml.developer.mde/src/org/eclipse/papyrus/uml/developper/mde/I_DeveloperIDMStereotype.java2
-rw-r--r--plugins/developer/org.eclipse.papyrus.uml.developer.mde/src/org/eclipse/papyrus/uml/developper/mde/I_DocumentStereotype.java2
-rw-r--r--plugins/developer/org.eclipse.papyrus.uml.developer.mde/src/org/eclipse/papyrus/uml/developper/mde/command/CreateDocumentModelCommand.java266
-rw-r--r--plugins/developer/org.eclipse.papyrus.uml.developer.mde/src/org/eclipse/papyrus/uml/developper/mde/handler/GetHTMLTextHandler.java24
-rw-r--r--plugins/developer/org.eclipse.papyrus.uml.developer.mde/src/org/eclipse/papyrus/uml/developper/mde/handler/GetWikiTextHandler.java27
-rw-r--r--plugins/developer/org.eclipse.papyrus.uml.developer.mde/src/org/eclipse/papyrus/uml/developper/mde/handler/IDMAbstractHandler.java54
-rw-r--r--plugins/developer/org.eclipse.papyrus.uml.developer.mde/src/org/eclipse/papyrus/uml/developper/mde/transcription/HTMLTranscription.java36
-rw-r--r--plugins/developer/org.eclipse.papyrus.uml.developer.mde/src/org/eclipse/papyrus/uml/developper/mde/transcription/ITranscription.java34
-rw-r--r--plugins/developer/org.eclipse.papyrus.uml.developer.mde/src/org/eclipse/papyrus/uml/developper/mde/transcription/TranscriptionEngine.java81
-rw-r--r--plugins/developer/org.eclipse.papyrus.uml.developer.mde/src/org/eclipse/papyrus/uml/developper/mde/transcription/WikiTranscription.java45
234 files changed, 9059 insertions, 6709 deletions
diff --git a/plugins/developer/org.eclipse.papyrus.codegen/src/org/eclipse/papyrus/codegen/Activator.java b/plugins/developer/org.eclipse.papyrus.codegen/src/org/eclipse/papyrus/codegen/Activator.java
index b0129fafd9f..88e741c52eb 100644
--- a/plugins/developer/org.eclipse.papyrus.codegen/src/org/eclipse/papyrus/codegen/Activator.java
+++ b/plugins/developer/org.eclipse.papyrus.codegen/src/org/eclipse/papyrus/codegen/Activator.java
@@ -1,6 +1,6 @@
/****************************************************************************
* Copyright (c) 2008 Atos Origin.
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -23,7 +23,7 @@ public class Activator extends AbstractUIPlugin {
// The shared instance
private static Activator plugin;
-
+
public static LogHelper log;
/**
@@ -37,6 +37,7 @@ public class Activator extends AbstractUIPlugin {
*
* @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
*/
+ @Override
public void start(BundleContext context) throws Exception {
super.start(context);
plugin = this;
@@ -47,6 +48,7 @@ public class Activator extends AbstractUIPlugin {
*
* @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
*/
+ @Override
public void stop(BundleContext context) throws Exception {
plugin = null;
super.stop(context);
@@ -54,7 +56,7 @@ public class Activator extends AbstractUIPlugin {
/**
* Returns the shared instance
- *
+ *
* @return the shared instance
*/
public static Activator getDefault() {
diff --git a/plugins/developer/org.eclipse.papyrus.codegen/src/org/eclipse/papyrus/codegen/PapyrusCodegenEmitters.java b/plugins/developer/org.eclipse.papyrus.codegen/src/org/eclipse/papyrus/codegen/PapyrusCodegenEmitters.java
index 73e3f299ee3..305fe54293e 100644
--- a/plugins/developer/org.eclipse.papyrus.codegen/src/org/eclipse/papyrus/codegen/PapyrusCodegenEmitters.java
+++ b/plugins/developer/org.eclipse.papyrus.codegen/src/org/eclipse/papyrus/codegen/PapyrusCodegenEmitters.java
@@ -1,6 +1,6 @@
/****************************************************************************
* Copyright (c) 2008 Atos Origin.
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -12,7 +12,6 @@
*****************************************************************************/
package org.eclipse.papyrus.codegen;
-import org.eclipse.gmf.codegen.xtend.ui.handlers.CodegenEmittersWithXtend2;
import org.eclipse.gmf.common.UnexpectedBehaviourException;
import org.eclipse.gmf.internal.common.codegen.JavaClassEmitter;
diff --git a/plugins/developer/org.eclipse.papyrus.codegen/src/org/eclipse/papyrus/codegen/PapyrusExecuteTemplatesOperation.java b/plugins/developer/org.eclipse.papyrus.codegen/src/org/eclipse/papyrus/codegen/PapyrusExecuteTemplatesOperation.java
index 9d9f10f32ac..ac61e949ea7 100644
--- a/plugins/developer/org.eclipse.papyrus.codegen/src/org/eclipse/papyrus/codegen/PapyrusExecuteTemplatesOperation.java
+++ b/plugins/developer/org.eclipse.papyrus.codegen/src/org/eclipse/papyrus/codegen/PapyrusExecuteTemplatesOperation.java
@@ -1,6 +1,6 @@
/****************************************************************************
* Copyright (c) 2008 Atos Origin.
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -18,7 +18,7 @@ import org.eclipse.gmf.internal.codegen.popup.actions.ExecuteTemplatesOperation;
/**
* The Papyrus execute templates operation
- *
+ *
* @see org.eclipse.gmf.internal.codegen.popup.actions.ExecuteTemplatesOperation
* @author tlandre
*/
diff --git a/plugins/developer/org.eclipse.papyrus.codegen/src/org/eclipse/papyrus/codegen/PapyrusGenerator.java b/plugins/developer/org.eclipse.papyrus.codegen/src/org/eclipse/papyrus/codegen/PapyrusGenerator.java
index 834d24ecd90..c5262db895e 100644
--- a/plugins/developer/org.eclipse.papyrus.codegen/src/org/eclipse/papyrus/codegen/PapyrusGenerator.java
+++ b/plugins/developer/org.eclipse.papyrus.codegen/src/org/eclipse/papyrus/codegen/PapyrusGenerator.java
@@ -1,6 +1,6 @@
/****************************************************************************
* Copyright (c) 2008 Atos Origin.
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -13,7 +13,6 @@
package org.eclipse.papyrus.codegen;
import org.eclipse.gmf.codegen.gmfgen.GenEditorGenerator;
-import org.eclipse.gmf.codegen.xtend.ui.handlers.GeneratorWithXtend2;
import org.eclipse.gmf.common.UnexpectedBehaviourException;
public class PapyrusGenerator extends GeneratorWithXtend2 {
diff --git a/plugins/developer/org.eclipse.papyrus.codegen/src/org/eclipse/papyrus/codegen/actions/PapyrusExecuteTemplateAction.java b/plugins/developer/org.eclipse.papyrus.codegen/src/org/eclipse/papyrus/codegen/actions/PapyrusExecuteTemplateAction.java
index cedde3f4942..634b0cff4f6 100644
--- a/plugins/developer/org.eclipse.papyrus.codegen/src/org/eclipse/papyrus/codegen/actions/PapyrusExecuteTemplateAction.java
+++ b/plugins/developer/org.eclipse.papyrus.codegen/src/org/eclipse/papyrus/codegen/actions/PapyrusExecuteTemplateAction.java
@@ -1,6 +1,6 @@
/****************************************************************************
* Copyright (c) 2008 Atos Origin.
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -18,7 +18,7 @@ import org.eclipse.papyrus.codegen.PapyrusExecuteTemplatesOperation;
/**
* Define the Papyrus Generate Action
- *
+ *
* @author tlandre
*/
public class PapyrusExecuteTemplateAction extends ExecuteTemplatesAction {
diff --git a/plugins/developer/org.eclipse.papyrus.dev.java.utils/src/org/eclipse/papyrus/dev/java/utils/Activator.java b/plugins/developer/org.eclipse.papyrus.dev.java.utils/src/org/eclipse/papyrus/dev/java/utils/Activator.java
index df9ac01ec9b..8e43db25e7c 100644
--- a/plugins/developer/org.eclipse.papyrus.dev.java.utils/src/org/eclipse/papyrus/dev/java/utils/Activator.java
+++ b/plugins/developer/org.eclipse.papyrus.dev.java.utils/src/org/eclipse/papyrus/dev/java/utils/Activator.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2011, 2014 CEA LIST and others.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -39,6 +39,7 @@ public class Activator extends AbstractUIPlugin {
*
* @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
*/
+ @Override
public void start(BundleContext context) throws Exception {
super.start(context);
plugin = this;
@@ -49,6 +50,7 @@ public class Activator extends AbstractUIPlugin {
*
* @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
*/
+ @Override
public void stop(BundleContext context) throws Exception {
plugin = null;
super.stop(context);
@@ -56,7 +58,7 @@ public class Activator extends AbstractUIPlugin {
/**
* Returns the shared instance
- *
+ *
* @return the shared instance
*/
public static Activator getDefault() {
diff --git a/plugins/developer/org.eclipse.papyrus.dev.java.utils/src/org/eclipse/papyrus/dev/java/utils/EmptyPackagesHandler.java b/plugins/developer/org.eclipse.papyrus.dev.java.utils/src/org/eclipse/papyrus/dev/java/utils/EmptyPackagesHandler.java
index 7cdb5ef4192..1d51473dcfe 100644
--- a/plugins/developer/org.eclipse.papyrus.dev.java.utils/src/org/eclipse/papyrus/dev/java/utils/EmptyPackagesHandler.java
+++ b/plugins/developer/org.eclipse.papyrus.dev.java.utils/src/org/eclipse/papyrus/dev/java/utils/EmptyPackagesHandler.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2011 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -34,22 +34,22 @@ import org.eclipse.ui.PlatformUI;
/**
* This action allows to empty the selected packages or the package included in a IPackageFragmentRoot (i.e : a Source Folder)
- *
- *
- *
+ *
+ *
+ *
*/
public class EmptyPackagesHandler extends AbstractHandler {
/**
- *
+ *
* @see org.eclipse.core.commands.AbstractHandler#execute(org.eclipse.core.commands.ExecutionEvent)
- *
+ *
* @param event
* @return
* @throws ExecutionException
*/
public Object execute(ExecutionEvent event) throws ExecutionException {
- for(IPackageFragment current : getSelectedElements()) {
+ for (IPackageFragment current : getSelectedElements()) {
IJavaElement children[] = null;
try {
children = current.getChildren();
@@ -57,11 +57,11 @@ public class EmptyPackagesHandler extends AbstractHandler {
// TODO Auto-generated catch block
e1.printStackTrace();
}
- if(children != null) {
- for(IJavaElement currentElement : children) {
- if(currentElement instanceof ICompilationUnit) {
+ if (children != null) {
+ for (IJavaElement currentElement : children) {
+ if (currentElement instanceof ICompilationUnit) {
try {
- ((ICompilationUnit)currentElement).delete(true, new NullProgressMonitor());
+ ((ICompilationUnit) currentElement).delete(true, new NullProgressMonitor());
} catch (JavaModelException e) {
// TODO Auto-generated catch block
e.printStackTrace();
@@ -70,7 +70,7 @@ public class EmptyPackagesHandler extends AbstractHandler {
}
}
}
- MessageDialog dialog = new MessageDialog(Display.getDefault().getActiveShell(), "Empty Package", null, "All the package are now empty!", MessageDialog.INFORMATION, new String[]{ "OK" }, 0); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
+ MessageDialog dialog = new MessageDialog(Display.getDefault().getActiveShell(), "Empty Package", null, "All the package are now empty!", MessageDialog.INFORMATION, new String[] { "OK" }, 0); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
dialog.open();
return null;
}
@@ -78,25 +78,25 @@ public class EmptyPackagesHandler extends AbstractHandler {
/**
* Iterate over current selection and build a list of the {@link IGraphicalEditPart} contained in
* the selection.
- *
+ *
* @return the currently selected {@link IGraphicalEditPart}
*/
protected List<IPackageFragment> getSelectedElements() {
List<IPackageFragment> packages = new ArrayList<IPackageFragment>();
ISelection selection = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getSelectionService().getSelection();
- if(selection instanceof IStructuredSelection) {
- IStructuredSelection structuredSelection = (IStructuredSelection)selection;
+ if (selection instanceof IStructuredSelection) {
+ IStructuredSelection structuredSelection = (IStructuredSelection) selection;
Iterator<?> it = structuredSelection.iterator();
- while(it.hasNext()) {
+ while (it.hasNext()) {
Object object = it.next();
- if(object instanceof IPackageFragment) {
- packages.add((IPackageFragment)object);
- } else if(object instanceof IPackageFragmentRoot) {
+ if (object instanceof IPackageFragment) {
+ packages.add((IPackageFragment) object);
+ } else if (object instanceof IPackageFragmentRoot) {
try {
- IJavaElement[] children = ((IPackageFragmentRoot)object).getChildren();
- for(IJavaElement current : children) {
- if(current instanceof IPackageFragment) {
- packages.add((IPackageFragment)current);
+ IJavaElement[] children = ((IPackageFragmentRoot) object).getChildren();
+ for (IJavaElement current : children) {
+ if (current instanceof IPackageFragment) {
+ packages.add((IPackageFragment) current);
}
}
@@ -111,9 +111,9 @@ public class EmptyPackagesHandler extends AbstractHandler {
}
/**
- *
+ *
* @see org.eclipse.core.commands.AbstractHandler#isEnabled()
- *
+ *
* @return
*/
@Override
diff --git a/plugins/developer/org.eclipse.papyrus.dev.view.services.edit.request/src/org/eclipse/papyrus/dev/view/services/edit/request/Activator.java b/plugins/developer/org.eclipse.papyrus.dev.view.services.edit.request/src/org/eclipse/papyrus/dev/view/services/edit/request/Activator.java
index 717b2e07a73..4ec9f384afe 100644
--- a/plugins/developer/org.eclipse.papyrus.dev.view.services.edit.request/src/org/eclipse/papyrus/dev/view/services/edit/request/Activator.java
+++ b/plugins/developer/org.eclipse.papyrus.dev.view.services.edit.request/src/org/eclipse/papyrus/dev/view/services/edit/request/Activator.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2012 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -26,7 +26,7 @@ public class Activator extends AbstractUIPlugin {
// The shared instance
private static Activator plugin;
-
+
/**
* The constructor
*/
@@ -35,6 +35,7 @@ public class Activator extends AbstractUIPlugin {
/*
* (non-Javadoc)
+ *
* @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
*/
@Override
@@ -45,6 +46,7 @@ public class Activator extends AbstractUIPlugin {
/*
* (non-Javadoc)
+ *
* @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
*/
@Override
diff --git a/plugins/developer/org.eclipse.papyrus.dev.view.services.edit.request/src/org/eclipse/papyrus/dev/view/services/edit/request/helper/ViewEditHelperAdvice.java b/plugins/developer/org.eclipse.papyrus.dev.view.services.edit.request/src/org/eclipse/papyrus/dev/view/services/edit/request/helper/ViewEditHelperAdvice.java
index 11b16aca01b..2b71f18ecde 100644
--- a/plugins/developer/org.eclipse.papyrus.dev.view.services.edit.request/src/org/eclipse/papyrus/dev/view/services/edit/request/helper/ViewEditHelperAdvice.java
+++ b/plugins/developer/org.eclipse.papyrus.dev.view.services.edit.request/src/org/eclipse/papyrus/dev/view/services/edit/request/helper/ViewEditHelperAdvice.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2012 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -19,27 +19,27 @@ import org.eclipse.gmf.runtime.emf.type.core.requests.IEditCommandRequest;
import org.eclipse.papyrus.dev.view.services.edit.request.view.RequestView;
/**
- *
+ *
* We use this advice to know the request sended to the service edit
- *
+ *
*/
public class ViewEditHelperAdvice implements IEditHelperAdvice {
public ICommand getBeforeEditCommand(final IEditCommandRequest request) {
RequestView view = RequestView.INSTANCE;
- if(view != null) {
+ if (view != null) {
view.addRequest(request);
}
return null;
}
public ICommand getAfterEditCommand(final IEditCommandRequest request) {
- //nothing to do
+ // nothing to do
return null;
}
public void configureRequest(final IEditCommandRequest request) {
- //nothing to do
+ // nothing to do
}
public boolean approveRequest(final IEditCommandRequest request) {
diff --git a/plugins/developer/org.eclipse.papyrus.dev.view.services.edit.request/src/org/eclipse/papyrus/dev/view/services/edit/request/view/RequestView.java b/plugins/developer/org.eclipse.papyrus.dev.view.services.edit.request/src/org/eclipse/papyrus/dev/view/services/edit/request/view/RequestView.java
index 1a4d2d43660..2e72e8d2a53 100644
--- a/plugins/developer/org.eclipse.papyrus.dev.view.services.edit.request/src/org/eclipse/papyrus/dev/view/services/edit/request/view/RequestView.java
+++ b/plugins/developer/org.eclipse.papyrus.dev.view.services.edit.request/src/org/eclipse/papyrus/dev/view/services/edit/request/view/RequestView.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2011 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -55,7 +55,7 @@ public class RequestView extends AbstractTreeView {
}
public void addRequest(final IEditCommandRequest request) {
- if(!this.requestList.contains(request)) {
+ if (!this.requestList.contains(request)) {
this.requestList.add(request);
final DateFormat dateFormat = new SimpleDateFormat("HH:mm:ss"); //$NON-NLS-1$
final Calendar cal = Calendar.getInstance();
@@ -99,18 +99,18 @@ public class RequestView extends AbstractTreeView {
@Override
public String getText(final Object element) {
- if(element instanceof IEditCommandRequest) {
+ if (element instanceof IEditCommandRequest) {
return element.getClass().getSimpleName();
}
- if(element instanceof AbstractOperation) {
- return ((AbstractOperation)element).getLabel();
- } else if(element instanceof AbstractCommand) {
- return ((AbstractCommand)element).getLabel();
+ if (element instanceof AbstractOperation) {
+ return ((AbstractOperation) element).getLabel();
+ } else if (element instanceof AbstractCommand) {
+ return ((AbstractCommand) element).getLabel();
}
return "no managed"; //$NON-NLS-1$
}
};
- createColumn(Messages.RequestView_Name, "NAME_COLUMN_ID", 200, columnLabelProvider); //$NON-NLS-2$
+ createColumn(Messages.RequestView_Name, "NAME_COLUMN_ID", 200, columnLabelProvider);
}
protected void createTimeColumn() {
@@ -118,13 +118,13 @@ public class RequestView extends AbstractTreeView {
@Override
public String getText(final Object element) {
- if(RequestView.this.dates.containsKey(element)) {
+ if (RequestView.this.dates.containsKey(element)) {
return RequestView.this.dates.get(element);
}
return ""; //$NON-NLS-1$
}
};
- createColumn(Messages.RequestView_Time, "TIME_COLUMN_ID", 100, columnLabelProvider); //$NON-NLS-2$
+ createColumn(Messages.RequestView_Time, "TIME_COLUMN_ID", 100, columnLabelProvider);
}
@Override
@@ -132,8 +132,8 @@ public class RequestView extends AbstractTreeView {
return new ITreeContentProvider() {
public Object[] getElements(final Object inputElement) {
- if(inputElement instanceof Collection<?>) {
- return ((Collection<?>)inputElement).toArray();
+ if (inputElement instanceof Collection<?>) {
+ return ((Collection<?>) inputElement).toArray();
}
return new Object[0];
diff --git a/plugins/developer/org.eclipse.papyrus.developer.profile/src/org/eclipse/papyrus/developer/profile/Activator.java b/plugins/developer/org.eclipse.papyrus.developer.profile/src/org/eclipse/papyrus/developer/profile/Activator.java
index 10d949cb36f..363c2e1ee77 100644
--- a/plugins/developer/org.eclipse.papyrus.developer.profile/src/org/eclipse/papyrus/developer/profile/Activator.java
+++ b/plugins/developer/org.eclipse.papyrus.developer.profile/src/org/eclipse/papyrus/developer/profile/Activator.java
@@ -13,7 +13,7 @@ public class Activator extends AbstractUIPlugin {
// The shared instance
private static Activator plugin;
-
+
/**
* The constructor
*/
@@ -22,8 +22,10 @@ public class Activator extends AbstractUIPlugin {
/*
* (non-Javadoc)
+ *
* @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
*/
+ @Override
public void start(BundleContext context) throws Exception {
super.start(context);
plugin = this;
@@ -31,8 +33,10 @@ public class Activator extends AbstractUIPlugin {
/*
* (non-Javadoc)
+ *
* @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
*/
+ @Override
public void stop(BundleContext context) throws Exception {
plugin = null;
super.stop(context);
diff --git a/plugins/developer/org.eclipse.papyrus.diagramdev.modelexplorer/src/org/eclipse/papyrus/diagramdev/modelexplorer/Activator.java b/plugins/developer/org.eclipse.papyrus.diagramdev.modelexplorer/src/org/eclipse/papyrus/diagramdev/modelexplorer/Activator.java
index e32c3f86e4b..1360aaa8b0b 100644
--- a/plugins/developer/org.eclipse.papyrus.diagramdev.modelexplorer/src/org/eclipse/papyrus/diagramdev/modelexplorer/Activator.java
+++ b/plugins/developer/org.eclipse.papyrus.diagramdev.modelexplorer/src/org/eclipse/papyrus/diagramdev/modelexplorer/Activator.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -39,7 +39,7 @@ public class Activator extends Plugin {
/**
* Returns the shared instance
- *
+ *
* @return the shared instance
*/
public static Activator getDefault() {
diff --git a/plugins/developer/org.eclipse.papyrus.diagramdev.modelexplorer/src/org/eclipse/papyrus/diagramdev/modelexplorer/DiagramContentProvider.java b/plugins/developer/org.eclipse.papyrus.diagramdev.modelexplorer/src/org/eclipse/papyrus/diagramdev/modelexplorer/DiagramContentProvider.java
index 060cf44f68d..7b1d86a3d28 100644
--- a/plugins/developer/org.eclipse.papyrus.diagramdev.modelexplorer/src/org/eclipse/papyrus/diagramdev/modelexplorer/DiagramContentProvider.java
+++ b/plugins/developer/org.eclipse.papyrus.diagramdev.modelexplorer/src/org/eclipse/papyrus/diagramdev/modelexplorer/DiagramContentProvider.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2011 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -22,12 +22,13 @@ import org.eclipse.papyrus.infra.core.services.ServicesRegistry;
import org.eclipse.papyrus.infra.emf.providers.MoDiscoContentProvider;
/**
- *
+ *
* this content provider is used to display diagrams and their content
*
*/
-public class DiagramContentProvider extends MoDiscoContentProvider{
+public class DiagramContentProvider extends MoDiscoContentProvider {
+ @Override
public Object[] getChildren(final Object parentElement) {
ArrayList<Object> result = new ArrayList<Object>();
@@ -43,28 +44,29 @@ public class DiagramContentProvider extends MoDiscoContentProvider{
}
+ @Override
public EObject[] getRootElements(Object inputElement) {
try {
- if(! (inputElement instanceof ServicesRegistry) )
+ if (!(inputElement instanceof ServicesRegistry))
{
return null;
}
- ServicesRegistry servicesRegistry = (ServicesRegistry)inputElement;
+ ServicesRegistry servicesRegistry = (ServicesRegistry) inputElement;
modelSet = ModelUtils.getModelSetChecked(servicesRegistry);
pageMngr = servicesRegistry.getService(DiSashModelMngr.class).getIPageMngr();
- ArrayList<EObject> result= new ArrayList<EObject>();
- for (int i=0; i< pageMngr.allPages().size();i++){
- if( pageMngr.allPages().get(i) instanceof EObject){
- result.add((EObject)pageMngr.allPages().get(i));
+ ArrayList<EObject> result = new ArrayList<EObject>();
+ for (int i = 0; i < pageMngr.allPages().size(); i++) {
+ if (pageMngr.allPages().get(i) instanceof EObject) {
+ result.add((EObject) pageMngr.allPages().get(i));
}
}
- EObject[] eObject= new EObject[result.size()];
- return result.toArray(eObject);
+ EObject[] eObject = new EObject[result.size()];
+ return result.toArray(eObject);
} catch (Exception e) {
System.err.println(e);
diff --git a/plugins/developer/org.eclipse.papyrus.diagramdev.modelexplorer/src/org/eclipse/papyrus/diagramdev/modelexplorer/DiagramLabelProvider.java b/plugins/developer/org.eclipse.papyrus.diagramdev.modelexplorer/src/org/eclipse/papyrus/diagramdev/modelexplorer/DiagramLabelProvider.java
index cd71bb56fb7..4c2c36177c4 100644
--- a/plugins/developer/org.eclipse.papyrus.diagramdev.modelexplorer/src/org/eclipse/papyrus/diagramdev/modelexplorer/DiagramLabelProvider.java
+++ b/plugins/developer/org.eclipse.papyrus.diagramdev.modelexplorer/src/org/eclipse/papyrus/diagramdev/modelexplorer/DiagramLabelProvider.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2011 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -26,36 +26,37 @@ import org.osgi.framework.ServiceException;
/**
* the label provider that inherits of modisco label provider
- *
+ *
*/
public class DiagramLabelProvider extends StandardEMFLabelProvider {
-
+
/** icon registry */
- private IPageIconsRegistry editorRegistry=null;
-
+ private IPageIconsRegistry editorRegistry = null;
+
/**
* return the image of an element in the model browser
* evaluates error markers.
*/
@Override
public Image getImage(Object element) {
- if( element instanceof IAdaptable){
- if(( ((IAdaptable)element).getAdapter(EObject.class)) instanceof Diagram){
- return getEditorRegistry().getEditorIcon(((IAdaptable)element).getAdapter(EObject.class));
+ if (element instanceof IAdaptable) {
+ if ((((IAdaptable) element).getAdapter(EObject.class)) instanceof Diagram) {
+ return getEditorRegistry().getEditorIcon(((IAdaptable) element).getAdapter(EObject.class));
}
}
return super.getImage(element);
}
+
/**
* Get the EditorRegistry used to create editor instances. This default
* implementation return the singleton eINSTANCE. This method can be
* subclassed to return another registry.
- *
+ *
* @return the singleton eINSTANCE of editor registry
* @throws ServiceException
*/
protected IPageIconsRegistry getEditorRegistry() {
- if(editorRegistry == null) {
+ if (editorRegistry == null) {
editorRegistry = createEditorRegistry();
}
return editorRegistry;
@@ -65,7 +66,7 @@ public class DiagramLabelProvider extends StandardEMFLabelProvider {
* Return the EditorRegistry for nested editor descriptors. Subclass should
* implements this method in order to return the registry associated to the
* extension point namespace.
- *
+ *
* @return the EditorRegistry for nested editor descriptors
* @throws ServiceException
*/
diff --git a/plugins/developer/org.eclipse.papyrus.diagramdev.modelexplorer/src/org/eclipse/papyrus/diagramdev/modelexplorer/GetDiagramIcon.java b/plugins/developer/org.eclipse.papyrus.diagramdev.modelexplorer/src/org/eclipse/papyrus/diagramdev/modelexplorer/GetDiagramIcon.java
index 68a9d459226..41612a0433e 100644
--- a/plugins/developer/org.eclipse.papyrus.diagramdev.modelexplorer/src/org/eclipse/papyrus/diagramdev/modelexplorer/GetDiagramIcon.java
+++ b/plugins/developer/org.eclipse.papyrus.diagramdev.modelexplorer/src/org/eclipse/papyrus/diagramdev/modelexplorer/GetDiagramIcon.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2011 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -12,6 +12,7 @@
*
*****************************************************************************/
package org.eclipse.papyrus.diagramdev.modelexplorer;
+
import org.eclipse.emf.facet.infra.query.core.exception.ModelQueryExecutionException;
import org.eclipse.emf.facet.infra.query.core.java.IJavaModelQuery;
import org.eclipse.emf.facet.infra.query.core.java.ParameterValueList;
@@ -24,18 +25,19 @@ import org.osgi.framework.ServiceException;
/** getDiagramIcon */
public class GetDiagramIcon implements IJavaModelQuery<Diagram, String> {
-
- IPageIconsRegistry editorRegistry=null;
-
+
+ IPageIconsRegistry editorRegistry = null;
+
+ @Override
public String evaluate(final Diagram context, final ParameterValueList parameterValues)
throws ModelQueryExecutionException {
- Image im=getEditorRegistry().getEditorIcon(context);
+ Image im = getEditorRegistry().getEditorIcon(context);
im.getDevice();
return null;
}
-
+
protected IPageIconsRegistry getEditorRegistry() {
- if(editorRegistry == null) {
+ if (editorRegistry == null) {
editorRegistry = createEditorRegistry();
}
return editorRegistry;
@@ -45,7 +47,7 @@ public class GetDiagramIcon implements IJavaModelQuery<Diagram, String> {
* Return the EditorRegistry for nested editor descriptors. Subclass should
* implements this method in order to return the registry associated to the
* extension point namespace.
- *
+ *
* @return the EditorRegistry for nested editor descriptors
* @throws ServiceException
*/
diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/provider/CommentItemProvider.java b/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/provider/CommentItemProvider.java
index 1f593d09a73..780ecd8f6a9 100644
--- a/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/provider/CommentItemProvider.java
+++ b/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/provider/CommentItemProvider.java
@@ -34,11 +34,12 @@ import org.eclipse.papyrus.documentation.plugin.documentation.DocumentationPacka
* This is the item provider adapter for a {@link org.eclipse.papyrus.documentation.plugin.documentation.Comment} object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public class CommentItemProvider
- extends EModelElementItemProvider
- implements
+ extends EModelElementItemProvider
+ implements
IEditingDomainItemProvider,
IStructuredItemContentProvider,
ITreeItemContentProvider,
@@ -48,6 +49,7 @@ public class CommentItemProvider
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public CommentItemProvider(AdapterFactory adapterFactory) {
@@ -58,6 +60,7 @@ public class CommentItemProvider
* This returns the property descriptors for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -75,50 +78,53 @@ public class CommentItemProvider
* This adds a property descriptor for the Title feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected void addTitlePropertyDescriptor(Object object) {
itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_Comment_title_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_Comment_title_feature", "_UI_Comment_type"),
- DocumentationPackage.Literals.COMMENT__TITLE,
- true,
- false,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null));
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_Comment_title_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_Comment_title_feature", "_UI_Comment_type"),
+ DocumentationPackage.Literals.COMMENT__TITLE,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
}
/**
* This adds a property descriptor for the Contents feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected void addContentsPropertyDescriptor(Object object) {
itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_Comment_contents_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_Comment_contents_feature", "_UI_Comment_type"),
- DocumentationPackage.Literals.COMMENT__CONTENTS,
- true,
- true,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null));
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_Comment_contents_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_Comment_contents_feature", "_UI_Comment_type"),
+ DocumentationPackage.Literals.COMMENT__CONTENTS,
+ true,
+ true,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
}
/**
* This returns Comment.gif.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -130,14 +136,15 @@ public class CommentItemProvider
* This returns the label text for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public String getText(Object object) {
- String label = ((Comment)object).getTitle();
+ String label = ((Comment) object).getTitle();
return label == null || label.length() == 0 ?
- getString("_UI_Comment_type") :
- getString("_UI_Comment_type") + " " + label;
+ getString("_UI_Comment_type") :
+ getString("_UI_Comment_type") + " " + label;
}
/**
@@ -145,6 +152,7 @@ public class CommentItemProvider
* children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -152,10 +160,10 @@ public class CommentItemProvider
updateChildren(notification);
switch (notification.getFeatureID(Comment.class)) {
- case DocumentationPackage.COMMENT__TITLE:
- case DocumentationPackage.COMMENT__CONTENTS:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
- return;
+ case DocumentationPackage.COMMENT__TITLE:
+ case DocumentationPackage.COMMENT__CONTENTS:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+ return;
}
super.notifyChanged(notification);
}
@@ -165,6 +173,7 @@ public class CommentItemProvider
* that can be created under this object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -176,6 +185,7 @@ public class CommentItemProvider
* Return the resource locator for this item provider's resources.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/provider/DependencyItemProvider.java b/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/provider/DependencyItemProvider.java
index e049db1fdc8..05c3986e9c5 100644
--- a/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/provider/DependencyItemProvider.java
+++ b/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/provider/DependencyItemProvider.java
@@ -34,11 +34,12 @@ import org.eclipse.papyrus.documentation.plugin.documentation.DocumentationPacka
* This is the item provider adapter for a {@link org.eclipse.papyrus.documentation.plugin.documentation.Dependency} object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public class DependencyItemProvider
- extends EModelElementItemProvider
- implements
+ extends EModelElementItemProvider
+ implements
IEditingDomainItemProvider,
IStructuredItemContentProvider,
ITreeItemContentProvider,
@@ -48,6 +49,7 @@ public class DependencyItemProvider
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public DependencyItemProvider(AdapterFactory adapterFactory) {
@@ -58,6 +60,7 @@ public class DependencyItemProvider
* This returns the property descriptors for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -75,50 +78,53 @@ public class DependencyItemProvider
* This adds a property descriptor for the Plugin feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected void addPluginPropertyDescriptor(Object object) {
itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_Dependency_plugin_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_Dependency_plugin_feature", "_UI_Dependency_type"),
- DocumentationPackage.Literals.DEPENDENCY__PLUGIN,
- true,
- false,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null));
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_Dependency_plugin_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_Dependency_plugin_feature", "_UI_Dependency_type"),
+ DocumentationPackage.Literals.DEPENDENCY__PLUGIN,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
}
/**
* This adds a property descriptor for the Comment feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected void addCommentPropertyDescriptor(Object object) {
itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_Dependency_comment_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_Dependency_comment_feature", "_UI_Dependency_type"),
- DocumentationPackage.Literals.DEPENDENCY__COMMENT,
- true,
- true,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null));
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_Dependency_comment_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_Dependency_comment_feature", "_UI_Dependency_type"),
+ DocumentationPackage.Literals.DEPENDENCY__COMMENT,
+ true,
+ true,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
}
/**
* This returns Dependency.gif.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -130,14 +136,15 @@ public class DependencyItemProvider
* This returns the label text for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public String getText(Object object) {
- String label = ((Dependency)object).getPlugin();
+ String label = ((Dependency) object).getPlugin();
return label == null || label.length() == 0 ?
- getString("_UI_Dependency_type") :
- getString("_UI_Dependency_type") + " " + label;
+ getString("_UI_Dependency_type") :
+ getString("_UI_Dependency_type") + " " + label;
}
/**
@@ -145,6 +152,7 @@ public class DependencyItemProvider
* children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -152,10 +160,10 @@ public class DependencyItemProvider
updateChildren(notification);
switch (notification.getFeatureID(Dependency.class)) {
- case DocumentationPackage.DEPENDENCY__PLUGIN:
- case DocumentationPackage.DEPENDENCY__COMMENT:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
- return;
+ case DocumentationPackage.DEPENDENCY__PLUGIN:
+ case DocumentationPackage.DEPENDENCY__COMMENT:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+ return;
}
super.notifyChanged(notification);
}
@@ -165,6 +173,7 @@ public class DependencyItemProvider
* that can be created under this object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -176,6 +185,7 @@ public class DependencyItemProvider
* Return the resource locator for this item provider's resources.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/provider/DocumentationItemProvider.java b/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/provider/DocumentationItemProvider.java
index 7bdeedf4c6b..472c90095c5 100644
--- a/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/provider/DocumentationItemProvider.java
+++ b/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/provider/DocumentationItemProvider.java
@@ -37,11 +37,12 @@ import org.eclipse.papyrus.documentation.plugin.documentation.DocumentationPacka
* This is the item provider adapter for a {@link org.eclipse.papyrus.documentation.plugin.documentation.Documentation} object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public class DocumentationItemProvider
- extends EModelElementItemProvider
- implements
+ extends EModelElementItemProvider
+ implements
IEditingDomainItemProvider,
IStructuredItemContentProvider,
ITreeItemContentProvider,
@@ -51,6 +52,7 @@ public class DocumentationItemProvider
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public DocumentationItemProvider(AdapterFactory adapterFactory) {
@@ -61,6 +63,7 @@ public class DocumentationItemProvider
* This returns the property descriptors for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -77,30 +80,31 @@ public class DocumentationItemProvider
* This adds a property descriptor for the Description feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected void addDescriptionPropertyDescriptor(Object object) {
itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_Documentation_description_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_Documentation_description_feature", "_UI_Documentation_type"),
- DocumentationPackage.Literals.DOCUMENTATION__DESCRIPTION,
- true,
- true,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null));
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_Documentation_description_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_Documentation_description_feature", "_UI_Documentation_type"),
+ DocumentationPackage.Literals.DOCUMENTATION__DESCRIPTION,
+ true,
+ true,
+ 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
+ * 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}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -117,6 +121,7 @@ public class DocumentationItemProvider
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -131,6 +136,7 @@ public class DocumentationItemProvider
* This returns Documentation.gif.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -142,14 +148,15 @@ public class DocumentationItemProvider
* This returns the label text for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public String getText(Object object) {
- String label = crop(((Documentation)object).getDescription());
+ String label = crop(((Documentation) object).getDescription());
return label == null || label.length() == 0 ?
- getString("_UI_Documentation_type") :
- getString("_UI_Documentation_type") + " " + label;
+ getString("_UI_Documentation_type") :
+ getString("_UI_Documentation_type") + " " + label;
}
/**
@@ -157,6 +164,7 @@ public class DocumentationItemProvider
* children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -164,14 +172,14 @@ public class DocumentationItemProvider
updateChildren(notification);
switch (notification.getFeatureID(Documentation.class)) {
- case DocumentationPackage.DOCUMENTATION__DESCRIPTION:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
- return;
- case DocumentationPackage.DOCUMENTATION__IMPLICIT_DEPENDENCIES:
- case DocumentationPackage.DOCUMENTATION__REFERENT:
- case DocumentationPackage.DOCUMENTATION__ADDITIONAL_COMMENTS:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
- return;
+ case DocumentationPackage.DOCUMENTATION__DESCRIPTION:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+ return;
+ case DocumentationPackage.DOCUMENTATION__IMPLICIT_DEPENDENCIES:
+ case DocumentationPackage.DOCUMENTATION__REFERENT:
+ case DocumentationPackage.DOCUMENTATION__ADDITIONAL_COMMENTS:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
+ return;
}
super.notifyChanged(notification);
}
@@ -181,6 +189,7 @@ public class DocumentationItemProvider
* that can be created under this object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -188,30 +197,31 @@ public class DocumentationItemProvider
super.collectNewChildDescriptors(newChildDescriptors, object);
newChildDescriptors.add
- (createChildParameter
+ (createChildParameter
(DocumentationPackage.Literals.DOCUMENTATION__IMPLICIT_DEPENDENCIES,
- DocumentationFactory.eINSTANCE.createDependency()));
+ DocumentationFactory.eINSTANCE.createDependency()));
newChildDescriptors.add
- (createChildParameter
+ (createChildParameter
(DocumentationPackage.Literals.DOCUMENTATION__IMPLICIT_DEPENDENCIES,
- DocumentationFactory.eINSTANCE.createFileDependency()));
+ DocumentationFactory.eINSTANCE.createFileDependency()));
newChildDescriptors.add
- (createChildParameter
+ (createChildParameter
(DocumentationPackage.Literals.DOCUMENTATION__REFERENT,
- DocumentationFactory.eINSTANCE.createPerson()));
+ DocumentationFactory.eINSTANCE.createPerson()));
newChildDescriptors.add
- (createChildParameter
+ (createChildParameter
(DocumentationPackage.Literals.DOCUMENTATION__ADDITIONAL_COMMENTS,
- DocumentationFactory.eINSTANCE.createComment()));
+ DocumentationFactory.eINSTANCE.createComment()));
}
/**
* Return the resource locator for this item provider's resources.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/provider/DocumentationItemProviderAdapterFactory.java b/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/provider/DocumentationItemProviderAdapterFactory.java
index 3c8c14399ff..d426c29ee03 100644
--- a/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/provider/DocumentationItemProviderAdapterFactory.java
+++ b/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/provider/DocumentationItemProviderAdapterFactory.java
@@ -34,6 +34,7 @@ import org.eclipse.papyrus.documentation.plugin.documentation.util.Documentation
* Note that most of the adapters are shared among multiple instances.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public class DocumentationItemProviderAdapterFactory extends DocumentationAdapterFactory implements ComposeableAdapterFactory, IChangeNotifier, IDisposable {
@@ -41,6 +42,7 @@ public class DocumentationItemProviderAdapterFactory extends DocumentationAdapte
* This keeps track of the root adapter factory that delegates to this adapter factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected ComposedAdapterFactory parentAdapterFactory;
@@ -49,6 +51,7 @@ public class DocumentationItemProviderAdapterFactory extends DocumentationAdapte
* This is used to implement {@link org.eclipse.emf.edit.provider.IChangeNotifier}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected IChangeNotifier changeNotifier = new ChangeNotifier();
@@ -57,6 +60,7 @@ public class DocumentationItemProviderAdapterFactory extends DocumentationAdapte
* This keeps track of all the supported types checked by {@link #isFactoryForType isFactoryForType}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected Collection<Object> supportedTypes = new ArrayList<Object>();
@@ -65,6 +69,7 @@ public class DocumentationItemProviderAdapterFactory extends DocumentationAdapte
* This constructs an instance.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public DocumentationItemProviderAdapterFactory() {
@@ -79,6 +84,7 @@ public class DocumentationItemProviderAdapterFactory extends DocumentationAdapte
* This keeps track of the one adapter used for all {@link org.eclipse.papyrus.documentation.plugin.documentation.Documentation} instances.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected DocumentationItemProvider documentationItemProvider;
@@ -87,6 +93,7 @@ public class DocumentationItemProviderAdapterFactory extends DocumentationAdapte
* This creates an adapter for a {@link org.eclipse.papyrus.documentation.plugin.documentation.Documentation}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -102,6 +109,7 @@ public class DocumentationItemProviderAdapterFactory extends DocumentationAdapte
* This keeps track of the one adapter used for all {@link org.eclipse.papyrus.documentation.plugin.documentation.Dependency} instances.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected DependencyItemProvider dependencyItemProvider;
@@ -110,6 +118,7 @@ public class DocumentationItemProviderAdapterFactory extends DocumentationAdapte
* This creates an adapter for a {@link org.eclipse.papyrus.documentation.plugin.documentation.Dependency}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -125,6 +134,7 @@ public class DocumentationItemProviderAdapterFactory extends DocumentationAdapte
* This keeps track of the one adapter used for all {@link org.eclipse.papyrus.documentation.plugin.documentation.FileDependency} instances.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected FileDependencyItemProvider fileDependencyItemProvider;
@@ -133,6 +143,7 @@ public class DocumentationItemProviderAdapterFactory extends DocumentationAdapte
* This creates an adapter for a {@link org.eclipse.papyrus.documentation.plugin.documentation.FileDependency}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -148,6 +159,7 @@ public class DocumentationItemProviderAdapterFactory extends DocumentationAdapte
* This keeps track of the one adapter used for all {@link org.eclipse.papyrus.documentation.plugin.documentation.Person} instances.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected PersonItemProvider personItemProvider;
@@ -156,6 +168,7 @@ public class DocumentationItemProviderAdapterFactory extends DocumentationAdapte
* This creates an adapter for a {@link org.eclipse.papyrus.documentation.plugin.documentation.Person}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -171,6 +184,7 @@ public class DocumentationItemProviderAdapterFactory extends DocumentationAdapte
* This keeps track of the one adapter used for all {@link org.eclipse.papyrus.documentation.plugin.documentation.Comment} instances.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected CommentItemProvider commentItemProvider;
@@ -179,6 +193,7 @@ public class DocumentationItemProviderAdapterFactory extends DocumentationAdapte
* This creates an adapter for a {@link org.eclipse.papyrus.documentation.plugin.documentation.Comment}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -194,8 +209,10 @@ public class DocumentationItemProviderAdapterFactory extends DocumentationAdapte
* This returns the root adapter factory that contains this factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public ComposeableAdapterFactory getRootAdapterFactory() {
return parentAdapterFactory == null ? this : parentAdapterFactory.getRootAdapterFactory();
}
@@ -204,8 +221,10 @@ public class DocumentationItemProviderAdapterFactory extends DocumentationAdapte
* This sets the composed adapter factory that contains this factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setParentAdapterFactory(ComposedAdapterFactory parentAdapterFactory) {
this.parentAdapterFactory = parentAdapterFactory;
}
@@ -213,6 +232,7 @@ public class DocumentationItemProviderAdapterFactory extends DocumentationAdapte
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -224,6 +244,7 @@ public class DocumentationItemProviderAdapterFactory extends DocumentationAdapte
* This implementation substitutes the factory itself as the key for the adapter.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -234,13 +255,14 @@ public class DocumentationItemProviderAdapterFactory extends DocumentationAdapte
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object adapt(Object object, Object type) {
if (isFactoryForType(type)) {
Object adapter = super.adapt(object, type);
- if (!(type instanceof Class<?>) || (((Class<?>)type).isInstance(adapter))) {
+ if (!(type instanceof Class<?>) || (((Class<?>) type).isInstance(adapter))) {
return adapter;
}
}
@@ -252,8 +274,10 @@ public class DocumentationItemProviderAdapterFactory extends DocumentationAdapte
* This adds a listener.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void addListener(INotifyChangedListener notifyChangedListener) {
changeNotifier.addListener(notifyChangedListener);
}
@@ -262,8 +286,10 @@ public class DocumentationItemProviderAdapterFactory extends DocumentationAdapte
* This removes a listener.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void removeListener(INotifyChangedListener notifyChangedListener) {
changeNotifier.removeListener(notifyChangedListener);
}
@@ -272,8 +298,10 @@ public class DocumentationItemProviderAdapterFactory extends DocumentationAdapte
* This delegates to {@link #changeNotifier} and to {@link #parentAdapterFactory}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void fireNotifyChanged(Notification notification) {
changeNotifier.fireNotifyChanged(notification);
@@ -283,17 +311,29 @@ public class DocumentationItemProviderAdapterFactory extends DocumentationAdapte
}
/**
- * This disposes all of the item providers created by this factory.
+ * This disposes all of the item providers created by this factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void dispose() {
- if (documentationItemProvider != null) documentationItemProvider.dispose();
- if (dependencyItemProvider != null) dependencyItemProvider.dispose();
- if (fileDependencyItemProvider != null) fileDependencyItemProvider.dispose();
- if (personItemProvider != null) personItemProvider.dispose();
- if (commentItemProvider != null) commentItemProvider.dispose();
+ if (documentationItemProvider != null) {
+ documentationItemProvider.dispose();
+ }
+ if (dependencyItemProvider != null) {
+ dependencyItemProvider.dispose();
+ }
+ if (fileDependencyItemProvider != null) {
+ fileDependencyItemProvider.dispose();
+ }
+ if (personItemProvider != null) {
+ personItemProvider.dispose();
+ }
+ if (commentItemProvider != null) {
+ commentItemProvider.dispose();
+ }
}
}
diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/provider/FileDependencyItemProvider.java b/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/provider/FileDependencyItemProvider.java
index 9c758c65864..e8a1343f450 100644
--- a/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/provider/FileDependencyItemProvider.java
+++ b/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/provider/FileDependencyItemProvider.java
@@ -30,11 +30,12 @@ import org.eclipse.papyrus.documentation.plugin.documentation.FileDependency;
* This is the item provider adapter for a {@link org.eclipse.papyrus.documentation.plugin.documentation.FileDependency} object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public class FileDependencyItemProvider
- extends DependencyItemProvider
- implements
+ extends DependencyItemProvider
+ implements
IEditingDomainItemProvider,
IStructuredItemContentProvider,
ITreeItemContentProvider,
@@ -44,6 +45,7 @@ public class FileDependencyItemProvider
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public FileDependencyItemProvider(AdapterFactory adapterFactory) {
@@ -54,6 +56,7 @@ public class FileDependencyItemProvider
* This returns the property descriptors for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -70,28 +73,30 @@ public class FileDependencyItemProvider
* This adds a property descriptor for the File feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected void addFilePropertyDescriptor(Object object) {
itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_FileDependency_file_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_FileDependency_file_feature", "_UI_FileDependency_type"),
- DocumentationPackage.Literals.FILE_DEPENDENCY__FILE,
- true,
- false,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null));
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_FileDependency_file_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_FileDependency_file_feature", "_UI_FileDependency_type"),
+ DocumentationPackage.Literals.FILE_DEPENDENCY__FILE,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
}
/**
* This returns FileDependency.gif.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -103,14 +108,15 @@ public class FileDependencyItemProvider
* This returns the label text for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public String getText(Object object) {
- String label = ((FileDependency)object).getPlugin();
+ String label = ((FileDependency) object).getPlugin();
return label == null || label.length() == 0 ?
- getString("_UI_FileDependency_type") :
- getString("_UI_FileDependency_type") + " " + label;
+ getString("_UI_FileDependency_type") :
+ getString("_UI_FileDependency_type") + " " + label;
}
/**
@@ -118,6 +124,7 @@ public class FileDependencyItemProvider
* children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -125,9 +132,9 @@ public class FileDependencyItemProvider
updateChildren(notification);
switch (notification.getFeatureID(FileDependency.class)) {
- case DocumentationPackage.FILE_DEPENDENCY__FILE:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
- return;
+ case DocumentationPackage.FILE_DEPENDENCY__FILE:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+ return;
}
super.notifyChanged(notification);
}
@@ -137,6 +144,7 @@ public class FileDependencyItemProvider
* that can be created under this object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/provider/PersonItemProvider.java b/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/provider/PersonItemProvider.java
index 8e93b056524..43e716d027b 100644
--- a/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/provider/PersonItemProvider.java
+++ b/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/provider/PersonItemProvider.java
@@ -34,11 +34,12 @@ import org.eclipse.papyrus.documentation.plugin.documentation.Person;
* This is the item provider adapter for a {@link org.eclipse.papyrus.documentation.plugin.documentation.Person} object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public class PersonItemProvider
- extends EModelElementItemProvider
- implements
+ extends EModelElementItemProvider
+ implements
IEditingDomainItemProvider,
IStructuredItemContentProvider,
ITreeItemContentProvider,
@@ -48,6 +49,7 @@ public class PersonItemProvider
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public PersonItemProvider(AdapterFactory adapterFactory) {
@@ -58,6 +60,7 @@ public class PersonItemProvider
* This returns the property descriptors for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -77,94 +80,99 @@ public class PersonItemProvider
* This adds a property descriptor for the First Name feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected void addFirstNamePropertyDescriptor(Object object) {
itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_Person_firstName_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_Person_firstName_feature", "_UI_Person_type"),
- DocumentationPackage.Literals.PERSON__FIRST_NAME,
- true,
- false,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null));
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_Person_firstName_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_Person_firstName_feature", "_UI_Person_type"),
+ DocumentationPackage.Literals.PERSON__FIRST_NAME,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
}
/**
* This adds a property descriptor for the Last Name feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected void addLastNamePropertyDescriptor(Object object) {
itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_Person_lastName_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_Person_lastName_feature", "_UI_Person_type"),
- DocumentationPackage.Literals.PERSON__LAST_NAME,
- true,
- false,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null));
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_Person_lastName_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_Person_lastName_feature", "_UI_Person_type"),
+ DocumentationPackage.Literals.PERSON__LAST_NAME,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
}
/**
* This adds a property descriptor for the EMail feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected void addEMailPropertyDescriptor(Object object) {
itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_Person_eMail_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_Person_eMail_feature", "_UI_Person_type"),
- DocumentationPackage.Literals.PERSON__EMAIL,
- true,
- false,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null));
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_Person_eMail_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_Person_eMail_feature", "_UI_Person_type"),
+ DocumentationPackage.Literals.PERSON__EMAIL,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
}
/**
* This adds a property descriptor for the Current Company feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected void addCurrentCompanyPropertyDescriptor(Object object) {
itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_Person_currentCompany_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_Person_currentCompany_feature", "_UI_Person_type"),
- DocumentationPackage.Literals.PERSON__CURRENT_COMPANY,
- true,
- false,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null));
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_Person_currentCompany_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_Person_currentCompany_feature", "_UI_Person_type"),
+ DocumentationPackage.Literals.PERSON__CURRENT_COMPANY,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
}
/**
* This returns Person.gif.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -176,14 +184,15 @@ public class PersonItemProvider
* This returns the label text for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public String getText(Object object) {
- String label = ((Person)object).getFirstName();
+ String label = ((Person) object).getFirstName();
return label == null || label.length() == 0 ?
- getString("_UI_Person_type") :
- getString("_UI_Person_type") + " " + label;
+ getString("_UI_Person_type") :
+ getString("_UI_Person_type") + " " + label;
}
/**
@@ -191,6 +200,7 @@ public class PersonItemProvider
* children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -198,12 +208,12 @@ public class PersonItemProvider
updateChildren(notification);
switch (notification.getFeatureID(Person.class)) {
- case DocumentationPackage.PERSON__FIRST_NAME:
- case DocumentationPackage.PERSON__LAST_NAME:
- case DocumentationPackage.PERSON__EMAIL:
- case DocumentationPackage.PERSON__CURRENT_COMPANY:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
- return;
+ case DocumentationPackage.PERSON__FIRST_NAME:
+ case DocumentationPackage.PERSON__LAST_NAME:
+ case DocumentationPackage.PERSON__EMAIL:
+ case DocumentationPackage.PERSON__CURRENT_COMPANY:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+ return;
}
super.notifyChanged(notification);
}
@@ -213,6 +223,7 @@ public class PersonItemProvider
* that can be created under this object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -224,6 +235,7 @@ public class PersonItemProvider
* Return the resource locator for this item provider's resources.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/provider/PluginDocEditPlugin.java b/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/provider/PluginDocEditPlugin.java
index f81165bb8a1..eceb967d48d 100644
--- a/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/provider/PluginDocEditPlugin.java
+++ b/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/provider/PluginDocEditPlugin.java
@@ -16,6 +16,7 @@ import org.eclipse.emf.ecore.provider.EcoreEditPlugin;
* This is the central singleton for the PluginDoc edit plugin.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public final class PluginDocEditPlugin extends EMFPlugin {
@@ -23,6 +24,7 @@ public final class PluginDocEditPlugin extends EMFPlugin {
* Keep track of the singleton.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public static final PluginDocEditPlugin INSTANCE = new PluginDocEditPlugin();
@@ -31,6 +33,7 @@ public final class PluginDocEditPlugin extends EMFPlugin {
* Keep track of the singleton.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private static Implementation plugin;
@@ -39,19 +42,20 @@ public final class PluginDocEditPlugin extends EMFPlugin {
* Create the instance.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public PluginDocEditPlugin() {
- super
- (new ResourceLocator [] {
- EcoreEditPlugin.INSTANCE,
- });
+ super(new ResourceLocator[] {
+ EcoreEditPlugin.INSTANCE,
+ });
}
/**
* Returns the singleton instance of the Eclipse plugin.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the singleton instance.
* @generated
*/
@@ -64,6 +68,7 @@ public final class PluginDocEditPlugin extends EMFPlugin {
* Returns the singleton instance of the Eclipse plugin.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the singleton instance.
* @generated
*/
@@ -75,6 +80,7 @@ public final class PluginDocEditPlugin extends EMFPlugin {
* The actual implementation of the Eclipse <b>Plugin</b>.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public static class Implementation extends EclipsePlugin {
@@ -82,6 +88,7 @@ public final class PluginDocEditPlugin extends EMFPlugin {
* Creates an instance.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public Implementation() {
diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin.editor/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/presentation/DocumentationActionBarContributor.java b/plugins/developer/org.eclipse.papyrus.documentation.plugin.editor/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/presentation/DocumentationActionBarContributor.java
index 04fdcae5549..72db2426b41 100644
--- a/plugins/developer/org.eclipse.papyrus.documentation.plugin.editor/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/presentation/DocumentationActionBarContributor.java
+++ b/plugins/developer/org.eclipse.papyrus.documentation.plugin.editor/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/presentation/DocumentationActionBarContributor.java
@@ -47,15 +47,17 @@ import org.eclipse.ui.PartInitException;
* This is the action bar contributor for the Documentation model editor.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public class DocumentationActionBarContributor
- extends EditingDomainActionBarContributor
- implements ISelectionChangedListener {
+ extends EditingDomainActionBarContributor
+ implements ISelectionChangedListener {
/**
* This keeps track of the active editor.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected IEditorPart activeEditorPart;
@@ -64,6 +66,7 @@ public class DocumentationActionBarContributor
* This keeps track of the current selection provider.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected ISelectionProvider selectionProvider;
@@ -72,51 +75,54 @@ public class DocumentationActionBarContributor
* This action opens the Properties view.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected IAction showPropertiesViewAction =
- new Action(PluginDocEditorPlugin.INSTANCE.getString("_UI_ShowPropertiesView_menu_item")) {
- @Override
- public void run() {
- try {
- getPage().showView("org.eclipse.ui.views.PropertySheet");
- }
- catch (PartInitException exception) {
- PluginDocEditorPlugin.INSTANCE.log(exception);
+ new Action(PluginDocEditorPlugin.INSTANCE.getString("_UI_ShowPropertiesView_menu_item")) {
+ @Override
+ public void run() {
+ try {
+ getPage().showView("org.eclipse.ui.views.PropertySheet");
+ }
+ catch (PartInitException exception) {
+ PluginDocEditorPlugin.INSTANCE.log(exception);
+ }
}
- }
- };
+ };
/**
* This action refreshes the viewer of the current editor if the editor
* implements {@link org.eclipse.emf.common.ui.viewer.IViewerProvider}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected IAction refreshViewerAction =
- new Action(PluginDocEditorPlugin.INSTANCE.getString("_UI_RefreshViewer_menu_item")) {
- @Override
- public boolean isEnabled() {
- return activeEditorPart instanceof IViewerProvider;
- }
+ new Action(PluginDocEditorPlugin.INSTANCE.getString("_UI_RefreshViewer_menu_item")) {
+ @Override
+ public boolean isEnabled() {
+ return activeEditorPart instanceof IViewerProvider;
+ }
- @Override
- public void run() {
- if (activeEditorPart instanceof IViewerProvider) {
- Viewer viewer = ((IViewerProvider)activeEditorPart).getViewer();
- if (viewer != null) {
- viewer.refresh();
+ @Override
+ public void run() {
+ if (activeEditorPart instanceof IViewerProvider) {
+ Viewer viewer = ((IViewerProvider) activeEditorPart).getViewer();
+ if (viewer != null) {
+ viewer.refresh();
+ }
}
}
- }
- };
+ };
/**
* This will contain one {@link org.eclipse.emf.edit.ui.action.CreateChildAction} corresponding to each descriptor
* generated for the current selection by the item provider.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected Collection<IAction> createChildActions;
@@ -125,6 +131,7 @@ public class DocumentationActionBarContributor
* This is the menu manager into which menu contribution items should be added for CreateChild actions.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected IMenuManager createChildMenuManager;
@@ -134,6 +141,7 @@ public class DocumentationActionBarContributor
* generated for the current selection by the item provider.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected Collection<IAction> createSiblingActions;
@@ -142,6 +150,7 @@ public class DocumentationActionBarContributor
* This is the menu manager into which menu contribution items should be added for CreateSibling actions.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected IMenuManager createSiblingMenuManager;
@@ -150,6 +159,7 @@ public class DocumentationActionBarContributor
* This creates an instance of the contributor.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public DocumentationActionBarContributor() {
@@ -163,6 +173,7 @@ public class DocumentationActionBarContributor
* This adds Separators for editor additions to the tool bar.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -176,6 +187,7 @@ public class DocumentationActionBarContributor
* as well as the sub-menus for object creation items.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -202,11 +214,12 @@ public class DocumentationActionBarContributor
// Force an update because Eclipse hides empty menus now.
//
submenuManager.addMenuListener
- (new IMenuListener() {
- public void menuAboutToShow(IMenuManager menuManager) {
- menuManager.updateAll(true);
- }
- });
+ (new IMenuListener() {
+ @Override
+ public void menuAboutToShow(IMenuManager menuManager) {
+ menuManager.updateAll(true);
+ }
+ });
addGlobalActions(submenuManager);
}
@@ -215,6 +228,7 @@ public class DocumentationActionBarContributor
* When the active editor changes, this remembers the change and registers with it as a selection provider.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -248,8 +262,10 @@ public class DocumentationActionBarContributor
* that can be added to the selected object and updating the menus accordingly.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void selectionChanged(SelectionChangedEvent event) {
// Remove any menu items for old selection.
//
@@ -266,10 +282,10 @@ public class DocumentationActionBarContributor
Collection<?> newSiblingDescriptors = null;
ISelection selection = event.getSelection();
- if (selection instanceof IStructuredSelection && ((IStructuredSelection)selection).size() == 1) {
- Object object = ((IStructuredSelection)selection).getFirstElement();
+ if (selection instanceof IStructuredSelection && ((IStructuredSelection) selection).size() == 1) {
+ Object object = ((IStructuredSelection) selection).getFirstElement();
- EditingDomain domain = ((IEditingDomainProvider)activeEditorPart).getEditingDomain();
+ EditingDomain domain = ((IEditingDomainProvider) activeEditorPart).getEditingDomain();
newChildDescriptors = domain.getNewChildDescriptors(object, null);
newSiblingDescriptors = domain.getNewChildDescriptors(null, object);
@@ -295,6 +311,7 @@ public class DocumentationActionBarContributor
* and returns the collection of these actions.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected Collection<IAction> generateCreateChildActions(Collection<?> descriptors, ISelection selection) {
@@ -312,6 +329,7 @@ public class DocumentationActionBarContributor
* and returns the collection of these actions.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected Collection<IAction> generateCreateSiblingActions(Collection<?> descriptors, ISelection selection) {
@@ -331,6 +349,7 @@ public class DocumentationActionBarContributor
* If <code>contributionID</code> is <code>null</code>, they are simply added.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected void populateManager(IContributionManager manager, Collection<? extends IAction> actions, String contributionID) {
@@ -345,12 +364,13 @@ public class DocumentationActionBarContributor
}
}
}
-
+
/**
* This removes from the specified <code>manager</code> all {@link org.eclipse.jface.action.ActionContributionItem}s
* based on the {@link org.eclipse.jface.action.IAction}s contained in the <code>actions</code> collection.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected void depopulateManager(IContributionManager manager, Collection<? extends IAction> actions) {
@@ -361,13 +381,13 @@ public class DocumentationActionBarContributor
//
IContributionItem contributionItem = items[i];
while (contributionItem instanceof SubContributionItem) {
- contributionItem = ((SubContributionItem)contributionItem).getInnerItem();
+ contributionItem = ((SubContributionItem) contributionItem).getInnerItem();
}
// Delete the ActionContributionItems with matching action.
//
if (contributionItem instanceof ActionContributionItem) {
- IAction action = ((ActionContributionItem)contributionItem).getAction();
+ IAction action = ((ActionContributionItem) contributionItem).getAction();
if (actions.contains(action)) {
manager.remove(contributionItem);
}
@@ -380,6 +400,7 @@ public class DocumentationActionBarContributor
* This populates the pop-up menu before it appears.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -400,6 +421,7 @@ public class DocumentationActionBarContributor
* This inserts global actions before the "additions-end" separator.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -407,7 +429,7 @@ public class DocumentationActionBarContributor
menuManager.insertAfter("additions-end", new Separator("ui-actions"));
menuManager.insertAfter("ui-actions", showPropertiesViewAction);
- refreshViewerAction.setEnabled(refreshViewerAction.isEnabled());
+ refreshViewerAction.setEnabled(refreshViewerAction.isEnabled());
menuManager.insertAfter("ui-actions", refreshViewerAction);
super.addGlobalActions(menuManager);
@@ -417,6 +439,7 @@ public class DocumentationActionBarContributor
* This ensures that a delete action will clean up all references to deleted objects.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin.editor/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/presentation/DocumentationEditor.java b/plugins/developer/org.eclipse.papyrus.documentation.plugin.editor/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/presentation/DocumentationEditor.java
index bd135cb8030..ecc3dcfa977 100644
--- a/plugins/developer/org.eclipse.papyrus.documentation.plugin.editor/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/presentation/DocumentationEditor.java
+++ b/plugins/developer/org.eclipse.papyrus.documentation.plugin.editor/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/presentation/DocumentationEditor.java
@@ -168,15 +168,17 @@ import org.eclipse.ui.actions.WorkspaceModifyOperation;
* This is an example of a Documentation model editor.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public class DocumentationEditor
- extends MultiPageEditorPart
- implements IEditingDomainProvider, ISelectionProvider, IMenuListener, IViewerProvider, IGotoMarker {
+ extends MultiPageEditorPart
+ implements IEditingDomainProvider, ISelectionProvider, IMenuListener, IViewerProvider, IGotoMarker {
/**
* This keeps track of the editing domain that is used to track all changes to the model.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected AdapterFactoryEditingDomain editingDomain;
@@ -185,6 +187,7 @@ public class DocumentationEditor
* This is the one adapter factory used for providing views of the model.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected ComposedAdapterFactory adapterFactory;
@@ -193,6 +196,7 @@ public class DocumentationEditor
* This is the content outline page.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected IContentOutlinePage contentOutlinePage;
@@ -201,6 +205,7 @@ public class DocumentationEditor
* This is a kludge...
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected IStatusLineManager contentOutlineStatusLineManager;
@@ -209,6 +214,7 @@ public class DocumentationEditor
* This is the content outline page's viewer.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected TreeViewer contentOutlineViewer;
@@ -217,6 +223,7 @@ public class DocumentationEditor
* This is the property sheet page.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected PropertySheetPage propertySheetPage;
@@ -226,6 +233,7 @@ public class DocumentationEditor
* The parent relation must be correctly defined for this to work.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected TreeViewer selectionViewer;
@@ -234,6 +242,7 @@ public class DocumentationEditor
* This inverts the roll of parent and child in the content provider and show parents as a tree.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected TreeViewer parentViewer;
@@ -242,6 +251,7 @@ public class DocumentationEditor
* This shows how a tree view works.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected TreeViewer treeViewer;
@@ -251,6 +261,7 @@ public class DocumentationEditor
* A list viewer doesn't support icons.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected ListViewer listViewer;
@@ -260,6 +271,7 @@ public class DocumentationEditor
* A table can be used as a list with icons.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected TableViewer tableViewer;
@@ -268,6 +280,7 @@ public class DocumentationEditor
* This shows how a tree view with columns works.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected TreeViewer treeViewerWithColumns;
@@ -276,6 +289,7 @@ public class DocumentationEditor
* This keeps track of the active viewer pane, in the book.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected ViewerPane currentViewerPane;
@@ -284,6 +298,7 @@ public class DocumentationEditor
* This keeps track of the active content viewer, which may be either one of the viewers in the pages or the content outline viewer.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected Viewer currentViewer;
@@ -292,6 +307,7 @@ public class DocumentationEditor
* This listens to which ever viewer is active.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected ISelectionChangedListener selectionChangedListener;
@@ -300,6 +316,7 @@ public class DocumentationEditor
* This keeps track of all the {@link org.eclipse.jface.viewers.ISelectionChangedListener}s that are listening to this editor.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected Collection<ISelectionChangedListener> selectionChangedListeners = new ArrayList<ISelectionChangedListener>();
@@ -308,6 +325,7 @@ public class DocumentationEditor
* This keeps track of the selection of the editor as a whole.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected ISelection editorSelection = StructuredSelection.EMPTY;
@@ -317,6 +335,7 @@ public class DocumentationEditor
* in Eclipse's Problems View.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected MarkerHelper markerHelper = new EditUIMarkerHelper();
@@ -325,46 +344,57 @@ public class DocumentationEditor
* This listens for when the outline becomes active
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected IPartListener partListener =
- new IPartListener() {
- public void partActivated(IWorkbenchPart p) {
- if (p instanceof ContentOutline) {
- if (((ContentOutline)p).getCurrentPage() == contentOutlinePage) {
- getActionBarContributor().setActiveEditor(DocumentationEditor.this);
+ new IPartListener() {
+ @Override
+ public void partActivated(IWorkbenchPart p) {
+ if (p instanceof ContentOutline) {
+ if (((ContentOutline) p).getCurrentPage() == contentOutlinePage) {
+ getActionBarContributor().setActiveEditor(DocumentationEditor.this);
- setCurrentViewer(contentOutlineViewer);
+ setCurrentViewer(contentOutlineViewer);
+ }
}
- }
- else if (p instanceof PropertySheet) {
- if (((PropertySheet)p).getCurrentPage() == propertySheetPage) {
- getActionBarContributor().setActiveEditor(DocumentationEditor.this);
+ else if (p instanceof PropertySheet) {
+ if (((PropertySheet) p).getCurrentPage() == propertySheetPage) {
+ getActionBarContributor().setActiveEditor(DocumentationEditor.this);
+ handleActivate();
+ }
+ }
+ else if (p == DocumentationEditor.this) {
handleActivate();
}
}
- else if (p == DocumentationEditor.this) {
- handleActivate();
+
+ @Override
+ public void partBroughtToTop(IWorkbenchPart p) {
+ // Ignore.
}
- }
- public void partBroughtToTop(IWorkbenchPart p) {
- // Ignore.
- }
- public void partClosed(IWorkbenchPart p) {
- // Ignore.
- }
- public void partDeactivated(IWorkbenchPart p) {
- // Ignore.
- }
- public void partOpened(IWorkbenchPart p) {
- // Ignore.
- }
- };
+
+ @Override
+ public void partClosed(IWorkbenchPart p) {
+ // Ignore.
+ }
+
+ @Override
+ public void partDeactivated(IWorkbenchPart p) {
+ // Ignore.
+ }
+
+ @Override
+ public void partOpened(IWorkbenchPart p) {
+ // Ignore.
+ }
+ };
/**
* Resources that have been removed since last activation.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected Collection<Resource> removedResources = new ArrayList<Resource>();
@@ -373,6 +403,7 @@ public class DocumentationEditor
* Resources that have been changed since last activation.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected Collection<Resource> changedResources = new ArrayList<Resource>();
@@ -381,6 +412,7 @@ public class DocumentationEditor
* Resources that have been saved.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected Collection<Resource> savedResources = new ArrayList<Resource>();
@@ -389,6 +421,7 @@ public class DocumentationEditor
* Map to store the diagnostic associated with a resource.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected Map<Resource, Diagnostic> resourceToDiagnosticMap = new LinkedHashMap<Resource, Diagnostic>();
@@ -397,6 +430,7 @@ public class DocumentationEditor
* Controls whether the problem indication should be updated.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected boolean updateProblemIndication = true;
@@ -405,18 +439,19 @@ public class DocumentationEditor
* Adapter used to update the problem indication when resources are demanded loaded.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
- protected EContentAdapter problemIndicationAdapter =
- new EContentAdapter() {
- @Override
- public void notifyChanged(Notification notification) {
- if (notification.getNotifier() instanceof Resource) {
- switch (notification.getFeatureID(Resource.class)) {
+ protected EContentAdapter problemIndicationAdapter =
+ new EContentAdapter() {
+ @Override
+ public void notifyChanged(Notification notification) {
+ if (notification.getNotifier() instanceof Resource) {
+ switch (notification.getFeatureID(Resource.class)) {
case Resource.RESOURCE__IS_LOADED:
case Resource.RESOURCE__ERRORS:
case Resource.RESOURCE__WARNINGS: {
- Resource resource = (Resource)notification.getNotifier();
+ Resource resource = (Resource) notification.getNotifier();
Diagnostic diagnostic = analyzeResourceProblems(resource, null);
if (diagnostic.getSeverity() != Diagnostic.OK) {
resourceToDiagnosticMap.put(resource, diagnostic);
@@ -427,124 +462,131 @@ public class DocumentationEditor
if (updateProblemIndication) {
getSite().getShell().getDisplay().asyncExec
- (new Runnable() {
- public void run() {
- updateProblemIndication();
- }
- });
+ (new Runnable() {
+ @Override
+ public void run() {
+ updateProblemIndication();
+ }
+ });
}
break;
}
+ }
+ }
+ else {
+ super.notifyChanged(notification);
}
}
- else {
- super.notifyChanged(notification);
- }
- }
- @Override
- protected void setTarget(Resource target) {
- basicSetTarget(target);
- }
+ @Override
+ protected void setTarget(Resource target) {
+ basicSetTarget(target);
+ }
- @Override
- protected void unsetTarget(Resource target) {
- basicUnsetTarget(target);
- }
- };
+ @Override
+ protected void unsetTarget(Resource target) {
+ basicUnsetTarget(target);
+ }
+ };
/**
* This listens for workspace changes.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected IResourceChangeListener resourceChangeListener =
- new IResourceChangeListener() {
- public void resourceChanged(IResourceChangeEvent event) {
- IResourceDelta delta = event.getDelta();
- try {
- class ResourceDeltaVisitor implements IResourceDeltaVisitor {
- protected ResourceSet resourceSet = editingDomain.getResourceSet();
- protected Collection<Resource> changedResources = new ArrayList<Resource>();
- protected Collection<Resource> removedResources = new ArrayList<Resource>();
-
- public boolean visit(IResourceDelta delta) {
- if (delta.getResource().getType() == IResource.FILE) {
- if (delta.getKind() == IResourceDelta.REMOVED ||
- delta.getKind() == IResourceDelta.CHANGED && delta.getFlags() != IResourceDelta.MARKERS) {
- Resource resource = resourceSet.getResource(URI.createPlatformResourceURI(delta.getFullPath().toString(), true), false);
- if (resource != null) {
- if (delta.getKind() == IResourceDelta.REMOVED) {
- removedResources.add(resource);
- }
- else if (!savedResources.remove(resource)) {
- changedResources.add(resource);
+ new IResourceChangeListener() {
+ @Override
+ public void resourceChanged(IResourceChangeEvent event) {
+ IResourceDelta delta = event.getDelta();
+ try {
+ class ResourceDeltaVisitor implements IResourceDeltaVisitor {
+ protected ResourceSet resourceSet = editingDomain.getResourceSet();
+ protected Collection<Resource> changedResources = new ArrayList<Resource>();
+ protected Collection<Resource> removedResources = new ArrayList<Resource>();
+
+ @Override
+ public boolean visit(IResourceDelta delta) {
+ if (delta.getResource().getType() == IResource.FILE) {
+ if (delta.getKind() == IResourceDelta.REMOVED ||
+ delta.getKind() == IResourceDelta.CHANGED && delta.getFlags() != IResourceDelta.MARKERS) {
+ Resource resource = resourceSet.getResource(URI.createPlatformResourceURI(delta.getFullPath().toString(), true), false);
+ if (resource != null) {
+ if (delta.getKind() == IResourceDelta.REMOVED) {
+ removedResources.add(resource);
+ }
+ else if (!savedResources.remove(resource)) {
+ changedResources.add(resource);
+ }
}
}
}
+
+ return true;
}
- return true;
- }
+ public Collection<Resource> getChangedResources() {
+ return changedResources;
+ }
- public Collection<Resource> getChangedResources() {
- return changedResources;
+ public Collection<Resource> getRemovedResources() {
+ return removedResources;
+ }
}
- public Collection<Resource> getRemovedResources() {
- return removedResources;
+ final ResourceDeltaVisitor visitor = new ResourceDeltaVisitor();
+ delta.accept(visitor);
+
+ if (!visitor.getRemovedResources().isEmpty()) {
+ getSite().getShell().getDisplay().asyncExec
+ (new Runnable() {
+ @Override
+ public void run() {
+ removedResources.addAll(visitor.getRemovedResources());
+ if (!isDirty()) {
+ getSite().getPage().closeEditor(DocumentationEditor.this, false);
+ }
+ }
+ });
}
- }
- final ResourceDeltaVisitor visitor = new ResourceDeltaVisitor();
- delta.accept(visitor);
-
- if (!visitor.getRemovedResources().isEmpty()) {
- getSite().getShell().getDisplay().asyncExec
- (new Runnable() {
- public void run() {
- removedResources.addAll(visitor.getRemovedResources());
- if (!isDirty()) {
- getSite().getPage().closeEditor(DocumentationEditor.this, false);
- }
- }
- });
+ if (!visitor.getChangedResources().isEmpty()) {
+ getSite().getShell().getDisplay().asyncExec
+ (new Runnable() {
+ @Override
+ public void run() {
+ changedResources.addAll(visitor.getChangedResources());
+ if (getSite().getPage().getActiveEditor() == DocumentationEditor.this) {
+ handleActivate();
+ }
+ }
+ });
+ }
}
-
- if (!visitor.getChangedResources().isEmpty()) {
- getSite().getShell().getDisplay().asyncExec
- (new Runnable() {
- public void run() {
- changedResources.addAll(visitor.getChangedResources());
- if (getSite().getPage().getActiveEditor() == DocumentationEditor.this) {
- handleActivate();
- }
- }
- });
+ catch (CoreException exception) {
+ PluginDocEditorPlugin.INSTANCE.log(exception);
}
}
- catch (CoreException exception) {
- PluginDocEditorPlugin.INSTANCE.log(exception);
- }
- }
- };
+ };
/**
* Handles activation of the editor or it's associated views.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected void handleActivate() {
// Recompute the read only state.
//
if (editingDomain.getResourceToReadOnlyMap() != null) {
- editingDomain.getResourceToReadOnlyMap().clear();
+ editingDomain.getResourceToReadOnlyMap().clear();
- // Refresh any actions that may become enabled or disabled.
- //
- setSelection(getSelection());
+ // Refresh any actions that may become enabled or disabled.
+ //
+ setSelection(getSelection());
}
if (!removedResources.isEmpty()) {
@@ -569,6 +611,7 @@ public class DocumentationEditor
* Handles what to do with changed resources on activation.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected void handleChangedResources() {
@@ -584,8 +627,7 @@ public class DocumentationEditor
resource.unload();
try {
resource.load(Collections.EMPTY_MAP);
- }
- catch (IOException exception) {
+ } catch (IOException exception) {
if (!resourceToDiagnosticMap.containsKey(resource)) {
resourceToDiagnosticMap.put(resource, analyzeResourceProblems(resource, exception));
}
@@ -601,22 +643,23 @@ public class DocumentationEditor
updateProblemIndication();
}
}
-
+
/**
* Updates the problems indication with the information described in the specified diagnostic.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected void updateProblemIndication() {
if (updateProblemIndication) {
BasicDiagnostic diagnostic =
- new BasicDiagnostic
+ new BasicDiagnostic
(Diagnostic.OK,
- "org.eclipse.papyrus.documentation.plugin.editor",
- 0,
- null,
- new Object [] { editingDomain.getResourceSet() });
+ "org.eclipse.papyrus.documentation.plugin.editor",
+ 0,
+ null,
+ new Object[] { editingDomain.getResourceSet() });
for (Diagnostic childDiagnostic : resourceToDiagnosticMap.values()) {
if (childDiagnostic.getSeverity() != Diagnostic.OK) {
diagnostic.add(childDiagnostic);
@@ -625,7 +668,7 @@ public class DocumentationEditor
int lastEditorPage = getPageCount() - 1;
if (lastEditorPage >= 0 && getEditor(lastEditorPage) instanceof ProblemEditorPart) {
- ((ProblemEditorPart)getEditor(lastEditorPage)).setDiagnostic(diagnostic);
+ ((ProblemEditorPart) getEditor(lastEditorPage)).setDiagnostic(diagnostic);
if (diagnostic.getSeverity() != Diagnostic.OK) {
setActivePage(lastEditorPage);
}
@@ -639,8 +682,7 @@ public class DocumentationEditor
setPageText(lastEditorPage, problemEditorPart.getPartName());
setActivePage(lastEditorPage);
showTabs();
- }
- catch (PartInitException exception) {
+ } catch (PartInitException exception) {
PluginDocEditorPlugin.INSTANCE.log(exception);
}
}
@@ -650,8 +692,7 @@ public class DocumentationEditor
if (diagnostic.getSeverity() != Diagnostic.OK) {
try {
markerHelper.createMarkers(diagnostic);
- }
- catch (CoreException exception) {
+ } catch (CoreException exception) {
PluginDocEditorPlugin.INSTANCE.log(exception);
}
}
@@ -663,20 +704,21 @@ public class DocumentationEditor
* Shows a dialog that asks if conflicting changes should be discarded.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected boolean handleDirtyConflict() {
- return
- MessageDialog.openQuestion
+ return MessageDialog.openQuestion
(getSite().getShell(),
- getString("_UI_FileConflict_label"),
- getString("_WARN_FileConflict"));
+ getString("_UI_FileConflict_label"),
+ getString("_WARN_FileConflict"));
}
/**
* This creates a model editor.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public DocumentationEditor() {
@@ -688,6 +730,7 @@ public class DocumentationEditor
* This sets up the editing domain for the model editor.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected void initializeEditingDomain() {
@@ -707,26 +750,28 @@ public class DocumentationEditor
// Add a listener to set the most recent command's affected objects to be the selection of the viewer with focus.
//
commandStack.addCommandStackListener
- (new CommandStackListener() {
- public void commandStackChanged(final EventObject event) {
- getContainer().getDisplay().asyncExec
- (new Runnable() {
- public void run() {
- firePropertyChange(IEditorPart.PROP_DIRTY);
-
- // Try to select the affected objects.
- //
- Command mostRecentCommand = ((CommandStack)event.getSource()).getMostRecentCommand();
- if (mostRecentCommand != null) {
- setSelectionToViewer(mostRecentCommand.getAffectedObjects());
- }
- if (propertySheetPage != null && !propertySheetPage.getControl().isDisposed()) {
- propertySheetPage.refresh();
- }
- }
- });
- }
- });
+ (new CommandStackListener() {
+ @Override
+ public void commandStackChanged(final EventObject event) {
+ getContainer().getDisplay().asyncExec
+ (new Runnable() {
+ @Override
+ public void run() {
+ firePropertyChange(IEditorPart.PROP_DIRTY);
+
+ // Try to select the affected objects.
+ //
+ Command mostRecentCommand = ((CommandStack) event.getSource()).getMostRecentCommand();
+ if (mostRecentCommand != null) {
+ setSelectionToViewer(mostRecentCommand.getAffectedObjects());
+ }
+ if (propertySheetPage != null && !propertySheetPage.getControl().isDisposed()) {
+ propertySheetPage.refresh();
+ }
+ }
+ });
+ }
+ });
// Create the editing domain with a special command stack.
//
@@ -737,9 +782,10 @@ public class DocumentationEditor
* This is here for the listener to be able to call it.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
- @Override
+ @Override
protected void firePropertyChange(int action) {
super.firePropertyChange(action);
}
@@ -748,6 +794,7 @@ public class DocumentationEditor
* This sets the selection into whichever viewer is active.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public void setSelectionToViewer(Collection<?> collection) {
@@ -756,27 +803,29 @@ public class DocumentationEditor
//
if (theSelection != null && !theSelection.isEmpty()) {
Runnable runnable =
- new Runnable() {
- public void run() {
- // Try to select the items in the current content viewer of the editor.
- //
- if (currentViewer != null) {
- currentViewer.setSelection(new StructuredSelection(theSelection.toArray()), true);
+ new Runnable() {
+ @Override
+ public void run() {
+ // Try to select the items in the current content viewer of the editor.
+ //
+ if (currentViewer != null) {
+ currentViewer.setSelection(new StructuredSelection(theSelection.toArray()), true);
+ }
}
- }
- };
+ };
getSite().getShell().getDisplay().asyncExec(runnable);
}
}
/**
* This returns the editing domain as required by the {@link IEditingDomainProvider} interface.
- * This is important for implementing the static methods of {@link AdapterFactoryEditingDomain}
- * and for supporting {@link org.eclipse.emf.edit.ui.action.CommandAction}.
+ * This is important for implementing the static methods of {@link AdapterFactoryEditingDomain} and for supporting {@link org.eclipse.emf.edit.ui.action.CommandAction}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EditingDomain getEditingDomain() {
return editingDomain;
}
@@ -784,12 +833,14 @@ public class DocumentationEditor
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public class ReverseAdapterFactoryContentProvider extends AdapterFactoryContentProvider {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public ReverseAdapterFactoryContentProvider(AdapterFactory adapterFactory) {
@@ -799,10 +850,11 @@ public class DocumentationEditor
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
- public Object [] getElements(Object object) {
+ public Object[] getElements(Object object) {
Object parent = super.getParent(object);
return (parent == null ? Collections.EMPTY_SET : Collections.singleton(parent)).toArray();
}
@@ -810,10 +862,11 @@ public class DocumentationEditor
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
- public Object [] getChildren(Object object) {
+ public Object[] getChildren(Object object) {
Object parent = super.getParent(object);
return (parent == null ? Collections.EMPTY_SET : Collections.singleton(parent)).toArray();
}
@@ -821,6 +874,7 @@ public class DocumentationEditor
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -832,6 +886,7 @@ public class DocumentationEditor
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -843,6 +898,7 @@ public class DocumentationEditor
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public void setCurrentViewerPane(ViewerPane viewerPane) {
@@ -860,6 +916,7 @@ public class DocumentationEditor
* is the current one.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public void setCurrentViewer(Viewer viewer) {
@@ -870,13 +927,14 @@ public class DocumentationEditor
// Create the listener on demand.
//
selectionChangedListener =
- new ISelectionChangedListener() {
- // This just notifies those things that are affected by the section.
- //
- public void selectionChanged(SelectionChangedEvent selectionChangedEvent) {
- setSelection(selectionChangedEvent.getSelection());
- }
- };
+ new ISelectionChangedListener() {
+ // This just notifies those things that are affected by the section.
+ //
+ @Override
+ public void selectionChanged(SelectionChangedEvent selectionChangedEvent) {
+ setSelection(selectionChangedEvent.getSelection());
+ }
+ };
}
// Stop listening to the old one.
@@ -905,8 +963,10 @@ public class DocumentationEditor
* This returns the viewer as required by the {@link IViewerProvider} interface.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public Viewer getViewer() {
return currentViewer;
}
@@ -915,6 +975,7 @@ public class DocumentationEditor
* This creates a context menu for the viewer and adds a listener as well registering the menu for extension.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected void createContextMenuFor(StructuredViewer viewer) {
@@ -922,7 +983,7 @@ public class DocumentationEditor
contextMenu.add(new Separator("additions"));
contextMenu.setRemoveAllWhenShown(true);
contextMenu.addMenuListener(this);
- Menu menu= contextMenu.createContextMenu(viewer.getControl());
+ Menu menu = contextMenu.createContextMenu(viewer.getControl());
viewer.getControl().setMenu(menu);
getSite().registerContextMenu(contextMenu, new UnwrappingSelectionProvider(viewer));
@@ -936,6 +997,7 @@ public class DocumentationEditor
* This is the method called to load a resource into the editing domain's resource set based on the editor's input.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public void createModel() {
@@ -946,15 +1008,14 @@ public class DocumentationEditor
// Load the resource through the editing domain.
//
resource = editingDomain.getResourceSet().getResource(resourceURI, true);
- }
- catch (Exception e) {
+ } catch (Exception e) {
exception = e;
resource = editingDomain.getResourceSet().getResource(resourceURI, false);
}
Diagnostic diagnostic = analyzeResourceProblems(resource, exception);
if (diagnostic.getSeverity() != Diagnostic.OK) {
- resourceToDiagnosticMap.put(resource, analyzeResourceProblems(resource, exception));
+ resourceToDiagnosticMap.put(resource, analyzeResourceProblems(resource, exception));
}
editingDomain.getResourceSet().eAdapters().add(problemIndicationAdapter);
}
@@ -964,28 +1025,27 @@ public class DocumentationEditor
* and the specified exception (if any).
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public Diagnostic analyzeResourceProblems(Resource resource, Exception exception) {
if (!resource.getErrors().isEmpty() || !resource.getWarnings().isEmpty()) {
BasicDiagnostic basicDiagnostic =
- new BasicDiagnostic
+ new BasicDiagnostic
(Diagnostic.ERROR,
- "org.eclipse.papyrus.documentation.plugin.editor",
- 0,
- getString("_UI_CreateModelError_message", resource.getURI()),
- new Object [] { exception == null ? (Object)resource : exception });
+ "org.eclipse.papyrus.documentation.plugin.editor",
+ 0,
+ getString("_UI_CreateModelError_message", resource.getURI()),
+ new Object[] { exception == null ? (Object) resource : exception });
basicDiagnostic.merge(EcoreUtil.computeDiagnostic(resource, true));
return basicDiagnostic;
}
else if (exception != null) {
- return
- new BasicDiagnostic
- (Diagnostic.ERROR,
- "org.eclipse.papyrus.documentation.plugin.editor",
- 0,
- getString("_UI_CreateModelError_message", resource.getURI()),
- new Object[] { exception });
+ return new BasicDiagnostic(Diagnostic.ERROR,
+ "org.eclipse.papyrus.documentation.plugin.editor",
+ 0,
+ getString("_UI_CreateModelError_message", resource.getURI()),
+ new Object[] { exception });
}
else {
return Diagnostic.OK_INSTANCE;
@@ -996,6 +1056,7 @@ public class DocumentationEditor
* This is the method used by the framework to install your own controls.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -1011,22 +1072,23 @@ public class DocumentationEditor
//
{
ViewerPane viewerPane =
- new ViewerPane(getSite().getPage(), DocumentationEditor.this) {
- @Override
- public Viewer createViewer(Composite composite) {
- Tree tree = new Tree(composite, SWT.MULTI);
- TreeViewer newTreeViewer = new TreeViewer(tree);
- return newTreeViewer;
- }
- @Override
- public void requestActivation() {
- super.requestActivation();
- setCurrentViewerPane(this);
- }
- };
+ new ViewerPane(getSite().getPage(), DocumentationEditor.this) {
+ @Override
+ public Viewer createViewer(Composite composite) {
+ Tree tree = new Tree(composite, SWT.MULTI);
+ TreeViewer newTreeViewer = new TreeViewer(tree);
+ return newTreeViewer;
+ }
+
+ @Override
+ public void requestActivation() {
+ super.requestActivation();
+ setCurrentViewerPane(this);
+ }
+ };
viewerPane.createControl(getContainer());
- selectionViewer = (TreeViewer)viewerPane.getViewer();
+ selectionViewer = (TreeViewer) viewerPane.getViewer();
selectionViewer.setContentProvider(new AdapterFactoryContentProvider(adapterFactory));
selectionViewer.setLabelProvider(new AdapterFactoryLabelProvider(adapterFactory));
@@ -1045,22 +1107,23 @@ public class DocumentationEditor
//
{
ViewerPane viewerPane =
- new ViewerPane(getSite().getPage(), DocumentationEditor.this) {
- @Override
- public Viewer createViewer(Composite composite) {
- Tree tree = new Tree(composite, SWT.MULTI);
- TreeViewer newTreeViewer = new TreeViewer(tree);
- return newTreeViewer;
- }
- @Override
- public void requestActivation() {
- super.requestActivation();
- setCurrentViewerPane(this);
- }
- };
+ new ViewerPane(getSite().getPage(), DocumentationEditor.this) {
+ @Override
+ public Viewer createViewer(Composite composite) {
+ Tree tree = new Tree(composite, SWT.MULTI);
+ TreeViewer newTreeViewer = new TreeViewer(tree);
+ return newTreeViewer;
+ }
+
+ @Override
+ public void requestActivation() {
+ super.requestActivation();
+ setCurrentViewerPane(this);
+ }
+ };
viewerPane.createControl(getContainer());
- parentViewer = (TreeViewer)viewerPane.getViewer();
+ parentViewer = (TreeViewer) viewerPane.getViewer();
parentViewer.setAutoExpandLevel(30);
parentViewer.setContentProvider(new ReverseAdapterFactoryContentProvider(adapterFactory));
parentViewer.setLabelProvider(new AdapterFactoryLabelProvider(adapterFactory));
@@ -1074,19 +1137,20 @@ public class DocumentationEditor
//
{
ViewerPane viewerPane =
- new ViewerPane(getSite().getPage(), DocumentationEditor.this) {
- @Override
- public Viewer createViewer(Composite composite) {
- return new ListViewer(composite);
- }
- @Override
- public void requestActivation() {
- super.requestActivation();
- setCurrentViewerPane(this);
- }
- };
+ new ViewerPane(getSite().getPage(), DocumentationEditor.this) {
+ @Override
+ public Viewer createViewer(Composite composite) {
+ return new ListViewer(composite);
+ }
+
+ @Override
+ public void requestActivation() {
+ super.requestActivation();
+ setCurrentViewerPane(this);
+ }
+ };
viewerPane.createControl(getContainer());
- listViewer = (ListViewer)viewerPane.getViewer();
+ listViewer = (ListViewer) viewerPane.getViewer();
listViewer.setContentProvider(new AdapterFactoryContentProvider(adapterFactory));
listViewer.setLabelProvider(new AdapterFactoryLabelProvider(adapterFactory));
@@ -1099,19 +1163,20 @@ public class DocumentationEditor
//
{
ViewerPane viewerPane =
- new ViewerPane(getSite().getPage(), DocumentationEditor.this) {
- @Override
- public Viewer createViewer(Composite composite) {
- return new TreeViewer(composite);
- }
- @Override
- public void requestActivation() {
- super.requestActivation();
- setCurrentViewerPane(this);
- }
- };
+ new ViewerPane(getSite().getPage(), DocumentationEditor.this) {
+ @Override
+ public Viewer createViewer(Composite composite) {
+ return new TreeViewer(composite);
+ }
+
+ @Override
+ public void requestActivation() {
+ super.requestActivation();
+ setCurrentViewerPane(this);
+ }
+ };
viewerPane.createControl(getContainer());
- treeViewer = (TreeViewer)viewerPane.getViewer();
+ treeViewer = (TreeViewer) viewerPane.getViewer();
treeViewer.setContentProvider(new AdapterFactoryContentProvider(adapterFactory));
treeViewer.setLabelProvider(new AdapterFactoryLabelProvider(adapterFactory));
@@ -1126,19 +1191,20 @@ public class DocumentationEditor
//
{
ViewerPane viewerPane =
- new ViewerPane(getSite().getPage(), DocumentationEditor.this) {
- @Override
- public Viewer createViewer(Composite composite) {
- return new TableViewer(composite);
- }
- @Override
- public void requestActivation() {
- super.requestActivation();
- setCurrentViewerPane(this);
- }
- };
+ new ViewerPane(getSite().getPage(), DocumentationEditor.this) {
+ @Override
+ public Viewer createViewer(Composite composite) {
+ return new TableViewer(composite);
+ }
+
+ @Override
+ public void requestActivation() {
+ super.requestActivation();
+ setCurrentViewerPane(this);
+ }
+ };
viewerPane.createControl(getContainer());
- tableViewer = (TableViewer)viewerPane.getViewer();
+ tableViewer = (TableViewer) viewerPane.getViewer();
Table table = tableViewer.getTable();
TableLayout layout = new TableLayout();
@@ -1156,7 +1222,7 @@ public class DocumentationEditor
selfColumn.setText(getString("_UI_SelfColumn_label"));
selfColumn.setResizable(true);
- tableViewer.setColumnProperties(new String [] {"a", "b"});
+ tableViewer.setColumnProperties(new String[] { "a", "b" });
tableViewer.setContentProvider(new AdapterFactoryContentProvider(adapterFactory));
tableViewer.setLabelProvider(new AdapterFactoryLabelProvider(adapterFactory));
@@ -1169,20 +1235,21 @@ public class DocumentationEditor
//
{
ViewerPane viewerPane =
- new ViewerPane(getSite().getPage(), DocumentationEditor.this) {
- @Override
- public Viewer createViewer(Composite composite) {
- return new TreeViewer(composite);
- }
- @Override
- public void requestActivation() {
- super.requestActivation();
- setCurrentViewerPane(this);
- }
- };
+ new ViewerPane(getSite().getPage(), DocumentationEditor.this) {
+ @Override
+ public Viewer createViewer(Composite composite) {
+ return new TreeViewer(composite);
+ }
+
+ @Override
+ public void requestActivation() {
+ super.requestActivation();
+ setCurrentViewerPane(this);
+ }
+ };
viewerPane.createControl(getContainer());
- treeViewerWithColumns = (TreeViewer)viewerPane.getViewer();
+ treeViewerWithColumns = (TreeViewer) viewerPane.getViewer();
Tree tree = treeViewerWithColumns.getTree();
tree.setLayoutData(new FillLayout());
@@ -1199,7 +1266,7 @@ public class DocumentationEditor
selfColumn.setResizable(true);
selfColumn.setWidth(200);
- treeViewerWithColumns.setColumnProperties(new String [] {"a", "b"});
+ treeViewerWithColumns.setColumnProperties(new String[] { "a", "b" });
treeViewerWithColumns.setContentProvider(new AdapterFactoryContentProvider(adapterFactory));
treeViewerWithColumns.setLabelProvider(new AdapterFactoryLabelProvider(adapterFactory));
@@ -1209,35 +1276,38 @@ public class DocumentationEditor
}
getSite().getShell().getDisplay().asyncExec
- (new Runnable() {
- public void run() {
- setActivePage(0);
- }
- });
+ (new Runnable() {
+ @Override
+ public void run() {
+ setActivePage(0);
+ }
+ });
}
// Ensures that this editor will only display the page's tab
// area if there are more than one page
//
getContainer().addControlListener
- (new ControlAdapter() {
- boolean guard = false;
- @Override
- public void controlResized(ControlEvent event) {
- if (!guard) {
- guard = true;
- hideTabs();
- guard = false;
+ (new ControlAdapter() {
+ boolean guard = false;
+
+ @Override
+ public void controlResized(ControlEvent event) {
+ if (!guard) {
+ guard = true;
+ hideTabs();
+ guard = false;
+ }
}
- }
- });
+ });
getSite().getShell().getDisplay().asyncExec
- (new Runnable() {
- public void run() {
- updateProblemIndication();
- }
- });
+ (new Runnable() {
+ @Override
+ public void run() {
+ updateProblemIndication();
+ }
+ });
}
/**
@@ -1245,13 +1315,14 @@ public class DocumentationEditor
* this hides the single tab at the bottom.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected void hideTabs() {
if (getPageCount() <= 1) {
setPageText(0, "");
if (getContainer() instanceof CTabFolder) {
- ((CTabFolder)getContainer()).setTabHeight(1);
+ ((CTabFolder) getContainer()).setTabHeight(1);
Point point = getContainer().getSize();
getContainer().setSize(point.x, point.y + 6);
}
@@ -1263,13 +1334,14 @@ public class DocumentationEditor
* this shows the tabs at the bottom.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected void showTabs() {
if (getPageCount() > 1) {
setPageText(0, getString("_UI_SelectionPage_label"));
if (getContainer() instanceof CTabFolder) {
- ((CTabFolder)getContainer()).setTabHeight(SWT.DEFAULT);
+ ((CTabFolder) getContainer()).setTabHeight(SWT.DEFAULT);
Point point = getContainer().getSize();
getContainer().setSize(point.x, point.y - 6);
}
@@ -1280,6 +1352,7 @@ public class DocumentationEditor
* This is used to track the active viewer.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -1295,6 +1368,7 @@ public class DocumentationEditor
* This is how the framework determines which interfaces we implement.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@SuppressWarnings("rawtypes")
@@ -1318,6 +1392,7 @@ public class DocumentationEditor
* This accesses a cached version of the content outliner.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public IContentOutlinePage getContentOutlinePage() {
@@ -1342,9 +1417,9 @@ public class DocumentationEditor
createContextMenuFor(contentOutlineViewer);
if (!editingDomain.getResourceSet().getResources().isEmpty()) {
- // Select the root object in the view.
- //
- contentOutlineViewer.setSelection(new StructuredSelection(editingDomain.getResourceSet().getResources().get(0)), true);
+ // Select the root object in the view.
+ //
+ contentOutlineViewer.setSelection(new StructuredSelection(editingDomain.getResourceSet().getResources().get(0)), true);
}
}
@@ -1366,13 +1441,14 @@ public class DocumentationEditor
// Listen to selection so that we can handle it is a special way.
//
contentOutlinePage.addSelectionChangedListener
- (new ISelectionChangedListener() {
- // This ensures that we handle selections correctly.
- //
- public void selectionChanged(SelectionChangedEvent event) {
- handleContentOutlineSelection(event.getSelection());
- }
- });
+ (new ISelectionChangedListener() {
+ // This ensures that we handle selections correctly.
+ //
+ @Override
+ public void selectionChanged(SelectionChangedEvent event) {
+ handleContentOutlineSelection(event.getSelection());
+ }
+ });
}
return contentOutlinePage;
@@ -1382,24 +1458,25 @@ public class DocumentationEditor
* This accesses a cached version of the property sheet.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public IPropertySheetPage getPropertySheetPage() {
if (propertySheetPage == null) {
propertySheetPage =
- new ExtendedPropertySheetPage(editingDomain) {
- @Override
- public void setSelectionToViewer(List<?> selection) {
- DocumentationEditor.this.setSelectionToViewer(selection);
- DocumentationEditor.this.setFocus();
- }
+ new ExtendedPropertySheetPage(editingDomain) {
+ @Override
+ public void setSelectionToViewer(List<?> selection) {
+ DocumentationEditor.this.setSelectionToViewer(selection);
+ DocumentationEditor.this.setFocus();
+ }
- @Override
- public void setActionBars(IActionBars actionBars) {
- super.setActionBars(actionBars);
- getActionBarContributor().shareGlobalActions(this, actionBars);
- }
- };
+ @Override
+ public void setActionBars(IActionBars actionBars) {
+ super.setActionBars(actionBars);
+ getActionBarContributor().shareGlobalActions(this, actionBars);
+ }
+ };
propertySheetPage.setPropertySourceProvider(new AdapterFactoryContentProvider(adapterFactory));
}
@@ -1410,11 +1487,12 @@ public class DocumentationEditor
* This deals with how we want selection in the outliner to affect the other views.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public void handleContentOutlineSelection(ISelection selection) {
if (currentViewerPane != null && !selection.isEmpty() && selection instanceof IStructuredSelection) {
- Iterator<?> selectedElements = ((IStructuredSelection)selection).iterator();
+ Iterator<?> selectedElements = ((IStructuredSelection) selection).iterator();
if (selectedElements.hasNext()) {
// Get the first selected element.
//
@@ -1449,17 +1527,19 @@ public class DocumentationEditor
* This is for implementing {@link IEditorPart} and simply tests the command stack.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean isDirty() {
- return ((BasicCommandStack)editingDomain.getCommandStack()).isSaveNeeded();
+ return ((BasicCommandStack) editingDomain.getCommandStack()).isSaveNeeded();
}
/**
* This is for implementing {@link IEditorPart} and simply saves the model file.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -1472,31 +1552,31 @@ public class DocumentationEditor
// Do the work within an operation because this is a long running activity that modifies the workbench.
//
WorkspaceModifyOperation operation =
- new WorkspaceModifyOperation() {
- // This is the method that gets invoked when the operation runs.
- //
- @Override
- public void execute(IProgressMonitor monitor) {
- // Save the resources to the file system.
+ new WorkspaceModifyOperation() {
+ // This is the method that gets invoked when the operation runs.
//
- boolean first = true;
- for (Resource resource : editingDomain.getResourceSet().getResources()) {
- if ((first || !resource.getContents().isEmpty() || isPersisted(resource)) && !editingDomain.isReadOnly(resource)) {
- try {
- long timeStamp = resource.getTimeStamp();
- resource.save(saveOptions);
- if (resource.getTimeStamp() != timeStamp) {
- savedResources.add(resource);
+ @Override
+ public void execute(IProgressMonitor monitor) {
+ // Save the resources to the file system.
+ //
+ boolean first = true;
+ for (Resource resource : editingDomain.getResourceSet().getResources()) {
+ if ((first || !resource.getContents().isEmpty() || isPersisted(resource)) && !editingDomain.isReadOnly(resource)) {
+ try {
+ long timeStamp = resource.getTimeStamp();
+ resource.save(saveOptions);
+ if (resource.getTimeStamp() != timeStamp) {
+ savedResources.add(resource);
+ }
}
+ catch (Exception exception) {
+ resourceToDiagnosticMap.put(resource, analyzeResourceProblems(resource, exception));
+ }
+ first = false;
}
- catch (Exception exception) {
- resourceToDiagnosticMap.put(resource, analyzeResourceProblems(resource, exception));
- }
- first = false;
}
}
- }
- };
+ };
updateProblemIndication = false;
try {
@@ -1506,10 +1586,9 @@ public class DocumentationEditor
// Refresh the necessary state.
//
- ((BasicCommandStack)editingDomain.getCommandStack()).saveIsDone();
+ ((BasicCommandStack) editingDomain.getCommandStack()).saveIsDone();
firePropertyChange(IEditorPart.PROP_DIRTY);
- }
- catch (Exception exception) {
+ } catch (Exception exception) {
// Something went wrong that shouldn't.
//
PluginDocEditorPlugin.INSTANCE.log(exception);
@@ -1520,9 +1599,10 @@ public class DocumentationEditor
/**
* This returns whether something has been persisted to the URI of the specified resource.
- * The implementation uses the URI converter from the editor's resource set to try to open an input stream.
+ * The implementation uses the URI converter from the editor's resource set to try to open an input stream.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected boolean isPersisted(Resource resource) {
@@ -1533,8 +1613,7 @@ public class DocumentationEditor
result = true;
stream.close();
}
- }
- catch (IOException e) {
+ } catch (IOException e) {
// Ignore
}
return result;
@@ -1544,6 +1623,7 @@ public class DocumentationEditor
* This always returns true because it is not currently supported.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -1555,6 +1635,7 @@ public class DocumentationEditor
* This also changes the editor's input.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -1573,6 +1654,7 @@ public class DocumentationEditor
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected void doSaveAs(URI uri, IEditorInput editorInput) {
@@ -1580,17 +1662,19 @@ public class DocumentationEditor
setInputWithNotify(editorInput);
setPartName(editorInput.getName());
IProgressMonitor progressMonitor =
- getActionBars().getStatusLineManager() != null ?
- getActionBars().getStatusLineManager().getProgressMonitor() :
- new NullProgressMonitor();
+ getActionBars().getStatusLineManager() != null ?
+ getActionBars().getStatusLineManager().getProgressMonitor() :
+ new NullProgressMonitor();
doSave(progressMonitor);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void gotoMarker(IMarker marker) {
try {
if (marker.getType().equals(EValidator.MARKER)) {
@@ -1599,12 +1683,11 @@ public class DocumentationEditor
URI uri = URI.createURI(uriAttribute);
EObject eObject = editingDomain.getResourceSet().getEObject(uri, true);
if (eObject != null) {
- setSelectionToViewer(Collections.singleton(editingDomain.getWrapper(eObject)));
+ setSelectionToViewer(Collections.singleton(editingDomain.getWrapper(eObject)));
}
}
}
- }
- catch (CoreException exception) {
+ } catch (CoreException exception) {
PluginDocEditorPlugin.INSTANCE.log(exception);
}
}
@@ -1613,6 +1696,7 @@ public class DocumentationEditor
* This is called during startup.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -1628,6 +1712,7 @@ public class DocumentationEditor
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -1644,8 +1729,10 @@ public class DocumentationEditor
* This implements {@link org.eclipse.jface.viewers.ISelectionProvider}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void addSelectionChangedListener(ISelectionChangedListener listener) {
selectionChangedListeners.add(listener);
}
@@ -1654,8 +1741,10 @@ public class DocumentationEditor
* This implements {@link org.eclipse.jface.viewers.ISelectionProvider}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void removeSelectionChangedListener(ISelectionChangedListener listener) {
selectionChangedListeners.remove(listener);
}
@@ -1664,8 +1753,10 @@ public class DocumentationEditor
* This implements {@link org.eclipse.jface.viewers.ISelectionProvider} to return this editor's overall selection.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public ISelection getSelection() {
return editorSelection;
}
@@ -1675,8 +1766,10 @@ public class DocumentationEditor
* Calling this result will notify the listeners.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setSelection(ISelection selection) {
editorSelection = selection;
@@ -1689,29 +1782,30 @@ public class DocumentationEditor
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public void setStatusLineManager(ISelection selection) {
IStatusLineManager statusLineManager = currentViewer != null && currentViewer == contentOutlineViewer ?
- contentOutlineStatusLineManager : getActionBars().getStatusLineManager();
+ contentOutlineStatusLineManager : getActionBars().getStatusLineManager();
if (statusLineManager != null) {
if (selection instanceof IStructuredSelection) {
- Collection<?> collection = ((IStructuredSelection)selection).toList();
+ Collection<?> collection = ((IStructuredSelection) selection).toList();
switch (collection.size()) {
- case 0: {
- statusLineManager.setMessage(getString("_UI_NoObjectSelected"));
- break;
- }
- case 1: {
- String text = new AdapterFactoryItemDelegator(adapterFactory).getText(collection.iterator().next());
- statusLineManager.setMessage(getString("_UI_SingleObjectSelected", text));
- break;
- }
- default: {
- statusLineManager.setMessage(getString("_UI_MultiObjectSelected", Integer.toString(collection.size())));
- break;
- }
+ case 0: {
+ statusLineManager.setMessage(getString("_UI_NoObjectSelected"));
+ break;
+ }
+ case 1: {
+ String text = new AdapterFactoryItemDelegator(adapterFactory).getText(collection.iterator().next());
+ statusLineManager.setMessage(getString("_UI_SingleObjectSelected", text));
+ break;
+ }
+ default: {
+ statusLineManager.setMessage(getString("_UI_MultiObjectSelected", Integer.toString(collection.size())));
+ break;
+ }
}
}
else {
@@ -1724,6 +1818,7 @@ public class DocumentationEditor
* This looks up a string in the plugin's plugin.properties file.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private static String getString(String key) {
@@ -1734,34 +1829,39 @@ public class DocumentationEditor
* This looks up a string in plugin.properties, making a substitution.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private static String getString(String key, Object s1) {
- return PluginDocEditorPlugin.INSTANCE.getString(key, new Object [] { s1 });
+ return PluginDocEditorPlugin.INSTANCE.getString(key, new Object[] { s1 });
}
/**
* This implements {@link org.eclipse.jface.action.IMenuListener} to help fill the context menus with contributions from the Edit menu.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void menuAboutToShow(IMenuManager menuManager) {
- ((IMenuListener)getEditorSite().getActionBarContributor()).menuAboutToShow(menuManager);
+ ((IMenuListener) getEditorSite().getActionBarContributor()).menuAboutToShow(menuManager);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EditingDomainActionBarContributor getActionBarContributor() {
- return (EditingDomainActionBarContributor)getEditorSite().getActionBarContributor();
+ return (EditingDomainActionBarContributor) getEditorSite().getActionBarContributor();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public IActionBars getActionBars() {
@@ -1771,6 +1871,7 @@ public class DocumentationEditor
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public AdapterFactory getAdapterFactory() {
@@ -1780,6 +1881,7 @@ public class DocumentationEditor
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -1811,6 +1913,7 @@ public class DocumentationEditor
* Returns whether the outline view should be presented to the user.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected boolean showOutlineView() {
diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin.editor/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/presentation/DocumentationModelWizard.java b/plugins/developer/org.eclipse.papyrus.documentation.plugin.editor/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/presentation/DocumentationModelWizard.java
index a9fe67689f2..5a98010232f 100644
--- a/plugins/developer/org.eclipse.papyrus.documentation.plugin.editor/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/presentation/DocumentationModelWizard.java
+++ b/plugins/developer/org.eclipse.papyrus.documentation.plugin.editor/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/presentation/DocumentationModelWizard.java
@@ -68,7 +68,7 @@ import org.eclipse.ui.part.ISetSelectionTarget;
* This is a simple wizard for creating a new model file.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public class DocumentationModelWizard extends Wizard implements INewWizard {
@@ -77,7 +77,7 @@ public class DocumentationModelWizard extends Wizard implements INewWizard {
* The supported extensions for created files.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public static final List<String> FILE_EXTENSIONS = Collections.unmodifiableList(Arrays.asList(PluginDocEditorPlugin.INSTANCE.getString("_UI_DocumentationEditorFilenameExtensions").split("\\s*,\\s*")));
@@ -86,7 +86,7 @@ public class DocumentationModelWizard extends Wizard implements INewWizard {
* A formatted list of supported file extensions, suitable for display.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public static final String FORMATTED_FILE_EXTENSIONS = PluginDocEditorPlugin.INSTANCE.getString("_UI_DocumentationEditorFilenameExtensions").replaceAll("\\s*,\\s*", ", ");
@@ -95,7 +95,7 @@ public class DocumentationModelWizard extends Wizard implements INewWizard {
* This caches an instance of the model package.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected DocumentationPackage documentationPackage = DocumentationPackage.eINSTANCE;
@@ -104,7 +104,7 @@ public class DocumentationModelWizard extends Wizard implements INewWizard {
* This caches an instance of the model factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected DocumentationFactory documentationFactory = documentationPackage.getDocumentationFactory();
@@ -113,7 +113,7 @@ public class DocumentationModelWizard extends Wizard implements INewWizard {
* This is the file creation page.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected DocumentationModelWizardNewFileCreationPage newFileCreationPage;
@@ -122,7 +122,7 @@ public class DocumentationModelWizard extends Wizard implements INewWizard {
* This is the initial object creation page.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected DocumentationModelWizardInitialObjectCreationPage initialObjectCreationPage;
@@ -131,7 +131,7 @@ public class DocumentationModelWizard extends Wizard implements INewWizard {
* Remember the selection during initialization for populating the default container.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected IStructuredSelection selection;
@@ -140,7 +140,7 @@ public class DocumentationModelWizard extends Wizard implements INewWizard {
* Remember the workbench during initialization.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected IWorkbench workbench;
@@ -149,7 +149,7 @@ public class DocumentationModelWizard extends Wizard implements INewWizard {
* Caches the names of the types that can be created as the root object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected List<String> initialObjectNames;
@@ -158,9 +158,10 @@ public class DocumentationModelWizard extends Wizard implements INewWizard {
* This just records the information.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
+ @Override
public void init(IWorkbench workbench, IStructuredSelection selection) {
this.workbench = workbench;
this.selection = selection;
@@ -172,16 +173,16 @@ public class DocumentationModelWizard extends Wizard implements INewWizard {
* Returns the names of the types that can be created as the root object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected Collection<String> getInitialObjectNames() {
- if(initialObjectNames == null) {
+ if (initialObjectNames == null) {
initialObjectNames = new ArrayList<String>();
- for(EClassifier eClassifier : documentationPackage.getEClassifiers()) {
- if(eClassifier instanceof EClass) {
- EClass eClass = (EClass)eClassifier;
- if(!eClass.isAbstract()) {
+ for (EClassifier eClassifier : documentationPackage.getEClassifiers()) {
+ if (eClassifier instanceof EClass) {
+ EClass eClass = (EClass) eClassifier;
+ if (!eClass.isAbstract()) {
initialObjectNames.add(eClass.getName());
}
}
@@ -195,7 +196,7 @@ public class DocumentationModelWizard extends Wizard implements INewWizard {
* Create a new model.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated NOT
*/
protected EObject createInitialModel() {
@@ -206,7 +207,7 @@ public class DocumentationModelWizard extends Wizard implements INewWizard {
* Do the work after everything is specified.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -238,7 +239,7 @@ public class DocumentationModelWizard extends Wizard implements INewWizard {
// Add the initial model object to the contents.
//
EObject rootObject = createInitialModel();
- if(rootObject != null) {
+ if (rootObject != null) {
resource.getContents().add(rootObject);
}
@@ -262,12 +263,13 @@ public class DocumentationModelWizard extends Wizard implements INewWizard {
IWorkbenchWindow workbenchWindow = workbench.getActiveWorkbenchWindow();
IWorkbenchPage page = workbenchWindow.getActivePage();
final IWorkbenchPart activePart = page.getActivePart();
- if(activePart instanceof ISetSelectionTarget) {
+ if (activePart instanceof ISetSelectionTarget) {
final ISelection targetSelection = new StructuredSelection(modelFile);
getShell().getDisplay().asyncExec(new Runnable() {
+ @Override
public void run() {
- ((ISetSelectionTarget)activePart).selectReveal(targetSelection);
+ ((ISetSelectionTarget) activePart).selectReveal(targetSelection);
}
});
}
@@ -292,7 +294,7 @@ public class DocumentationModelWizard extends Wizard implements INewWizard {
* This is the one page of the wizard.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public class DocumentationModelWizardNewFileCreationPage extends WizardNewFileCreationPage {
@@ -301,7 +303,7 @@ public class DocumentationModelWizard extends Wizard implements INewWizard {
* Pass in the selection.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public DocumentationModelWizardNewFileCreationPage(String pageId, IStructuredSelection selection) {
@@ -312,16 +314,16 @@ public class DocumentationModelWizard extends Wizard implements INewWizard {
* The framework calls this to see if the file is correct.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
protected boolean validatePage() {
- if(super.validatePage()) {
+ if (super.validatePage()) {
String extension = new Path(getFileName()).getFileExtension();
- if(extension == null || !FILE_EXTENSIONS.contains(extension)) {
+ if (extension == null || !FILE_EXTENSIONS.contains(extension)) {
String key = FILE_EXTENSIONS.size() > 1 ? "_WARN_FilenameExtensions" : "_WARN_FilenameExtension";
- setErrorMessage(PluginDocEditorPlugin.INSTANCE.getString(key, new Object[]{ FORMATTED_FILE_EXTENSIONS }));
+ setErrorMessage(PluginDocEditorPlugin.INSTANCE.getString(key, new Object[] { FORMATTED_FILE_EXTENSIONS }));
return false;
}
return true;
@@ -332,7 +334,7 @@ public class DocumentationModelWizard extends Wizard implements INewWizard {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public IFile getModelFile() {
@@ -344,7 +346,7 @@ public class DocumentationModelWizard extends Wizard implements INewWizard {
* This is the page where the type of object to create is selected.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public class DocumentationModelWizardInitialObjectCreationPage extends WizardPage {
@@ -352,7 +354,7 @@ public class DocumentationModelWizard extends Wizard implements INewWizard {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected Combo initialObjectField;
@@ -367,7 +369,7 @@ public class DocumentationModelWizard extends Wizard implements INewWizard {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected Combo encodingField;
@@ -376,7 +378,7 @@ public class DocumentationModelWizard extends Wizard implements INewWizard {
* Pass in the selection.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public DocumentationModelWizardInitialObjectCreationPage(String pageId) {
@@ -386,9 +388,10 @@ public class DocumentationModelWizard extends Wizard implements INewWizard {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
+ @Override
public void createControl(Composite parent) {
Composite composite = new Composite(parent, SWT.NONE);
{
@@ -421,11 +424,11 @@ public class DocumentationModelWizard extends Wizard implements INewWizard {
initialObjectField.setLayoutData(data);
}
- for(String objectName : getInitialObjectNames()) {
+ for (String objectName : getInitialObjectNames()) {
initialObjectField.add(getLabel(objectName));
}
- if(initialObjectField.getItemCount() == 1) {
+ if (initialObjectField.getItemCount() == 1) {
initialObjectField.select(0);
}
initialObjectField.addModifyListener(validator);
@@ -446,7 +449,7 @@ public class DocumentationModelWizard extends Wizard implements INewWizard {
encodingField.setLayoutData(data);
}
- for(String encoding : getEncodings()) {
+ for (String encoding : getEncodings()) {
encodingField.add(encoding);
}
@@ -460,11 +463,12 @@ public class DocumentationModelWizard extends Wizard implements INewWizard {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected ModifyListener validator = new ModifyListener() {
+ @Override
public void modifyText(ModifyEvent e) {
setPageComplete(validatePage());
}
@@ -473,7 +477,7 @@ public class DocumentationModelWizard extends Wizard implements INewWizard {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected boolean validatePage() {
@@ -483,14 +487,14 @@ public class DocumentationModelWizard extends Wizard implements INewWizard {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void setVisible(boolean visible) {
super.setVisible(visible);
- if(visible) {
- if(initialObjectField.getItemCount() == 1) {
+ if (visible) {
+ if (initialObjectField.getItemCount() == 1) {
initialObjectField.clearSelection();
encodingField.setFocus();
} else {
@@ -503,14 +507,14 @@ public class DocumentationModelWizard extends Wizard implements INewWizard {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String getInitialObjectName() {
String label = initialObjectField.getText();
- for(String name : getInitialObjectNames()) {
- if(getLabel(name).equals(label)) {
+ for (String name : getInitialObjectNames()) {
+ if (getLabel(name).equals(label)) {
return name;
}
}
@@ -520,7 +524,7 @@ public class DocumentationModelWizard extends Wizard implements INewWizard {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated NOT
*/
public String getEncoding() {
@@ -531,7 +535,7 @@ public class DocumentationModelWizard extends Wizard implements INewWizard {
* Returns the label for the specified type name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected String getLabel(String typeName) {
@@ -546,13 +550,13 @@ public class DocumentationModelWizard extends Wizard implements INewWizard {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected Collection<String> getEncodings() {
- if(encodings == null) {
+ if (encodings == null) {
encodings = new ArrayList<String>();
- for(StringTokenizer stringTokenizer = new StringTokenizer(PluginDocEditorPlugin.INSTANCE.getString("_UI_XMLEncodingChoices")); stringTokenizer.hasMoreTokens();) {
+ for (StringTokenizer stringTokenizer = new StringTokenizer(PluginDocEditorPlugin.INSTANCE.getString("_UI_XMLEncodingChoices")); stringTokenizer.hasMoreTokens();) {
encodings.add(stringTokenizer.nextToken());
}
}
@@ -564,7 +568,7 @@ public class DocumentationModelWizard extends Wizard implements INewWizard {
* The framework calls this to create the contents of the wizard.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated NOT
*/
@Override
@@ -579,21 +583,21 @@ public class DocumentationModelWizard extends Wizard implements INewWizard {
// Try and get the resource selection to determine a current directory for the file dialog.
//
- if(selection != null && !selection.isEmpty()) {
+ if (selection != null && !selection.isEmpty()) {
// Get the resource...
//
Object selectedElement = selection.iterator().next();
- if(selectedElement instanceof IResource) {
+ if (selectedElement instanceof IResource) {
// Get the resource parent, if its a file.
//
- IResource selectedResource = (IResource)selectedElement;
- if(selectedResource.getType() == IResource.FILE) {
+ IResource selectedResource = (IResource) selectedElement;
+ if (selectedResource.getType() == IResource.FILE) {
selectedResource = selectedResource.getParent();
}
// This gives us a directory...
//
- if(selectedResource instanceof IFolder || selectedResource instanceof IProject) {
+ if (selectedResource instanceof IFolder || selectedResource instanceof IProject) {
// Set this for the container.
//
newFileCreationPage.setContainerFullPath(selectedResource.getFullPath());
@@ -603,7 +607,7 @@ public class DocumentationModelWizard extends Wizard implements INewWizard {
String defaultModelBaseFilename = PluginDocEditorPlugin.INSTANCE.getString("_UI_DocumentationEditorFilenameDefaultBase");
String defaultModelFilenameExtension = FILE_EXTENSIONS.get(0);
String modelFilename = defaultModelBaseFilename + "." + defaultModelFilenameExtension;
- for(int i = 1; ((IContainer)selectedResource).findMember(modelFilename) != null; ++i) {
+ for (int i = 1; ((IContainer) selectedResource).findMember(modelFilename) != null; ++i) {
modelFilename = defaultModelBaseFilename + i + "." + defaultModelFilenameExtension;
}
newFileCreationPage.setFileName(modelFilename);
@@ -611,16 +615,16 @@ public class DocumentationModelWizard extends Wizard implements INewWizard {
}
}
initialObjectCreationPage = new DocumentationModelWizardInitialObjectCreationPage("Whatever2");
- // initialObjectCreationPage.setTitle(PluginDocEditorPlugin.INSTANCE.getString("_UI_DocumentationModelWizard_label"));
- // initialObjectCreationPage.setDescription(PluginDocEditorPlugin.INSTANCE.getString("_UI_Wizard_initial_object_description"));
- // addPage(initialObjectCreationPage);
+ // initialObjectCreationPage.setTitle(PluginDocEditorPlugin.INSTANCE.getString("_UI_DocumentationModelWizard_label"));
+ // initialObjectCreationPage.setDescription(PluginDocEditorPlugin.INSTANCE.getString("_UI_Wizard_initial_object_description"));
+ // addPage(initialObjectCreationPage);
}
/**
* Get the file from the page.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public IFile getModelFile() {
diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin.editor/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/presentation/PluginDocEditorPlugin.java b/plugins/developer/org.eclipse.papyrus.documentation.plugin.editor/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/presentation/PluginDocEditorPlugin.java
index 33e0695ff63..0e8f429e64f 100644
--- a/plugins/developer/org.eclipse.papyrus.documentation.plugin.editor/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/presentation/PluginDocEditorPlugin.java
+++ b/plugins/developer/org.eclipse.papyrus.documentation.plugin.editor/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/presentation/PluginDocEditorPlugin.java
@@ -18,6 +18,7 @@ import org.eclipse.emf.ecore.provider.EcoreEditPlugin;
* This is the central singleton for the PluginDoc editor plugin.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public final class PluginDocEditorPlugin extends EMFPlugin {
@@ -25,14 +26,16 @@ public final class PluginDocEditorPlugin extends EMFPlugin {
* Keep track of the singleton.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public static final PluginDocEditorPlugin INSTANCE = new PluginDocEditorPlugin();
-
+
/**
* Keep track of the singleton.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private static Implementation plugin;
@@ -41,19 +44,20 @@ public final class PluginDocEditorPlugin extends EMFPlugin {
* Create the instance.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public PluginDocEditorPlugin() {
- super
- (new ResourceLocator [] {
+ super(new ResourceLocator[] {
EcoreEditPlugin.INSTANCE,
- });
+ });
}
/**
* Returns the singleton instance of the Eclipse plugin.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the singleton instance.
* @generated
*/
@@ -61,22 +65,24 @@ public final class PluginDocEditorPlugin extends EMFPlugin {
public ResourceLocator getPluginResourceLocator() {
return plugin;
}
-
+
/**
* Returns the singleton instance of the Eclipse plugin.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the singleton instance.
* @generated
*/
public static Implementation getPlugin() {
return plugin;
}
-
+
/**
* The actual implementation of the Eclipse <b>Plugin</b>.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public static class Implementation extends EclipseUIPlugin {
@@ -84,11 +90,12 @@ public final class PluginDocEditorPlugin extends EMFPlugin {
* Creates an instance.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public Implementation() {
super();
-
+
// Remember the static instance.
//
plugin = this;
diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/Comment.java b/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/Comment.java
index 32b10acfbd4..b5fe8658923 100644
--- a/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/Comment.java
+++ b/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/Comment.java
@@ -20,8 +20,8 @@ import org.eclipse.emf.ecore.EModelElement;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.documentation.plugin.documentation.Comment#getTitle <em>Title</em>}</li>
- * <li>{@link org.eclipse.papyrus.documentation.plugin.documentation.Comment#getContents <em>Contents</em>}</li>
+ * <li>{@link org.eclipse.papyrus.documentation.plugin.documentation.Comment#getTitle <em>Title</em>}</li>
+ * <li>{@link org.eclipse.papyrus.documentation.plugin.documentation.Comment#getContents <em>Contents</em>}</li>
* </ul>
* </p>
*
@@ -34,10 +34,10 @@ public interface Comment extends EModelElement {
* Returns the value of the '<em><b>Title</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Title</em>' attribute isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Title</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Title</em>' attribute.
* @see #setTitle(String)
* @see org.eclipse.papyrus.documentation.plugin.documentation.DocumentationPackage#getComment_Title()
@@ -50,7 +50,9 @@ public interface Comment extends EModelElement {
* Sets the value of the '{@link org.eclipse.papyrus.documentation.plugin.documentation.Comment#getTitle <em>Title</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Title</em>' attribute.
+ *
+ * @param value
+ * the new value of the '<em>Title</em>' attribute.
* @see #getTitle()
* @generated
*/
@@ -60,10 +62,10 @@ public interface Comment extends EModelElement {
* Returns the value of the '<em><b>Contents</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Contents</em>' attribute isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Contents</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Contents</em>' attribute.
* @see #setContents(String)
* @see org.eclipse.papyrus.documentation.plugin.documentation.DocumentationPackage#getComment_Contents()
@@ -76,7 +78,9 @@ public interface Comment extends EModelElement {
* Sets the value of the '{@link org.eclipse.papyrus.documentation.plugin.documentation.Comment#getContents <em>Contents</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Contents</em>' attribute.
+ *
+ * @param value
+ * the new value of the '<em>Contents</em>' attribute.
* @see #getContents()
* @generated
*/
diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/Dependency.java b/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/Dependency.java
index 7e5e9ecb1cb..4277832c989 100644
--- a/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/Dependency.java
+++ b/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/Dependency.java
@@ -15,17 +15,17 @@ import org.eclipse.emf.ecore.EModelElement;
*
* <!-- begin-model-doc -->
* Describes a non-Java dependency, i.e. a dependency which cannot be automatically handled by the Eclipse tooling.
- *
+ *
* This is typically a resource dependency (Model, Icon, ...).
- *
+ *
* The dependency refers to a plug-in (which should always be present in the plug-in dependencies), and has a comment to explain why this dependency is required.
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.documentation.plugin.documentation.Dependency#getPlugin <em>Plugin</em>}</li>
- * <li>{@link org.eclipse.papyrus.documentation.plugin.documentation.Dependency#getComment <em>Comment</em>}</li>
+ * <li>{@link org.eclipse.papyrus.documentation.plugin.documentation.Dependency#getPlugin <em>Plugin</em>}</li>
+ * <li>{@link org.eclipse.papyrus.documentation.plugin.documentation.Dependency#getComment <em>Comment</em>}</li>
* </ul>
* </p>
*
@@ -38,10 +38,10 @@ public interface Dependency extends EModelElement {
* Returns the value of the '<em><b>Plugin</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Plugin</em>' attribute isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Plugin</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Plugin</em>' attribute.
* @see #setPlugin(String)
* @see org.eclipse.papyrus.documentation.plugin.documentation.DocumentationPackage#getDependency_Plugin()
@@ -54,7 +54,9 @@ public interface Dependency extends EModelElement {
* Sets the value of the '{@link org.eclipse.papyrus.documentation.plugin.documentation.Dependency#getPlugin <em>Plugin</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Plugin</em>' attribute.
+ *
+ * @param value
+ * the new value of the '<em>Plugin</em>' attribute.
* @see #getPlugin()
* @generated
*/
@@ -64,10 +66,10 @@ public interface Dependency extends EModelElement {
* Returns the value of the '<em><b>Comment</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Comment</em>' attribute isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Comment</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Comment</em>' attribute.
* @see #setComment(String)
* @see org.eclipse.papyrus.documentation.plugin.documentation.DocumentationPackage#getDependency_Comment()
@@ -80,7 +82,9 @@ public interface Dependency extends EModelElement {
* Sets the value of the '{@link org.eclipse.papyrus.documentation.plugin.documentation.Dependency#getComment <em>Comment</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Comment</em>' attribute.
+ *
+ * @param value
+ * the new value of the '<em>Comment</em>' attribute.
* @see #getComment()
* @generated
*/
diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/Documentation.java b/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/Documentation.java
index 88f538b4114..523411cf68a 100644
--- a/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/Documentation.java
+++ b/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/Documentation.java
@@ -17,17 +17,17 @@ import org.eclipse.emf.ecore.EModelElement;
*
* <!-- begin-model-doc -->
* The root for a plug-in documentation
- *
+ *
* Contains a description of the plug-in
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.documentation.plugin.documentation.Documentation#getDescription <em>Description</em>}</li>
- * <li>{@link org.eclipse.papyrus.documentation.plugin.documentation.Documentation#getImplicitDependencies <em>Implicit Dependencies</em>}</li>
- * <li>{@link org.eclipse.papyrus.documentation.plugin.documentation.Documentation#getReferent <em>Referent</em>}</li>
- * <li>{@link org.eclipse.papyrus.documentation.plugin.documentation.Documentation#getAdditionalComments <em>Additional Comments</em>}</li>
+ * <li>{@link org.eclipse.papyrus.documentation.plugin.documentation.Documentation#getDescription <em>Description</em>}</li>
+ * <li>{@link org.eclipse.papyrus.documentation.plugin.documentation.Documentation#getImplicitDependencies <em>Implicit Dependencies</em>}</li>
+ * <li>{@link org.eclipse.papyrus.documentation.plugin.documentation.Documentation#getReferent <em>Referent</em>}</li>
+ * <li>{@link org.eclipse.papyrus.documentation.plugin.documentation.Documentation#getAdditionalComments <em>Additional Comments</em>}</li>
* </ul>
* </p>
*
@@ -40,10 +40,10 @@ public interface Documentation extends EModelElement {
* Returns the value of the '<em><b>Description</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Description</em>' attribute isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Description</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Description</em>' attribute.
* @see #setDescription(String)
* @see org.eclipse.papyrus.documentation.plugin.documentation.DocumentationPackage#getDocumentation_Description()
@@ -56,7 +56,9 @@ public interface Documentation extends EModelElement {
* Sets the value of the '{@link org.eclipse.papyrus.documentation.plugin.documentation.Documentation#getDescription <em>Description</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Description</em>' attribute.
+ *
+ * @param value
+ * the new value of the '<em>Description</em>' attribute.
* @see #getDescription()
* @generated
*/
@@ -67,10 +69,10 @@ public interface Documentation extends EModelElement {
* The list contents are of type {@link org.eclipse.papyrus.documentation.plugin.documentation.Dependency}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Implicit Dependencies</em>' containment reference list isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Implicit Dependencies</em>' containment reference list isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Implicit Dependencies</em>' containment reference list.
* @see org.eclipse.papyrus.documentation.plugin.documentation.DocumentationPackage#getDocumentation_ImplicitDependencies()
* @model containment="true"
@@ -83,10 +85,10 @@ public interface Documentation extends EModelElement {
* The list contents are of type {@link org.eclipse.papyrus.documentation.plugin.documentation.Person}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Referent</em>' containment reference list isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Referent</em>' containment reference list isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Referent</em>' containment reference list.
* @see org.eclipse.papyrus.documentation.plugin.documentation.DocumentationPackage#getDocumentation_Referent()
* @model containment="true"
@@ -99,10 +101,10 @@ public interface Documentation extends EModelElement {
* The list contents are of type {@link org.eclipse.papyrus.documentation.plugin.documentation.Comment}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Additional Comments</em>' containment reference list isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Additional Comments</em>' containment reference list isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Additional Comments</em>' containment reference list.
* @see org.eclipse.papyrus.documentation.plugin.documentation.DocumentationPackage#getDocumentation_AdditionalComments()
* @model containment="true"
diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/DocumentationFactory.java b/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/DocumentationFactory.java
index f3e2cb58b2e..cfa5794c049 100644
--- a/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/DocumentationFactory.java
+++ b/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/DocumentationFactory.java
@@ -13,6 +13,7 @@ import org.eclipse.emf.ecore.EFactory;
* The <b>Factory</b> for the model.
* It provides a create method for each non-abstract class of the model.
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.documentation.plugin.documentation.DocumentationPackage
* @generated
*/
@@ -21,6 +22,7 @@ public interface DocumentationFactory extends EFactory {
* The singleton instance of the factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
DocumentationFactory eINSTANCE = org.eclipse.papyrus.documentation.plugin.documentation.impl.DocumentationFactoryImpl.init();
@@ -29,6 +31,7 @@ public interface DocumentationFactory extends EFactory {
* Returns a new object of class '<em>Documentation</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Documentation</em>'.
* @generated
*/
@@ -38,6 +41,7 @@ public interface DocumentationFactory extends EFactory {
* Returns a new object of class '<em>Dependency</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Dependency</em>'.
* @generated
*/
@@ -47,6 +51,7 @@ public interface DocumentationFactory extends EFactory {
* Returns a new object of class '<em>File Dependency</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>File Dependency</em>'.
* @generated
*/
@@ -56,6 +61,7 @@ public interface DocumentationFactory extends EFactory {
* Returns a new object of class '<em>Person</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Person</em>'.
* @generated
*/
@@ -65,6 +71,7 @@ public interface DocumentationFactory extends EFactory {
* Returns a new object of class '<em>Comment</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Comment</em>'.
* @generated
*/
@@ -74,9 +81,10 @@ public interface DocumentationFactory extends EFactory {
* Returns the package supported by this factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the package supported by this factory.
* @generated
*/
DocumentationPackage getDocumentationPackage();
-} //DocumentationFactory
+} // DocumentationFactory
diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/DocumentationPackage.java b/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/DocumentationPackage.java
index 918ac17941d..43f94ab0920 100644
--- a/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/DocumentationPackage.java
+++ b/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/DocumentationPackage.java
@@ -17,12 +17,13 @@ import org.eclipse.emf.ecore.EcorePackage;
* The <b>Package</b> for the model.
* It contains accessors for the meta objects to represent
* <ul>
- * <li>each class,</li>
- * <li>each feature of each class,</li>
- * <li>each enum,</li>
- * <li>and each data type</li>
+ * <li>each class,</li>
+ * <li>each feature of each class,</li>
+ * <li>each enum,</li>
+ * <li>and each data type</li>
* </ul>
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.documentation.plugin.documentation.DocumentationFactory
* @model kind="package"
* @generated
@@ -32,6 +33,7 @@ public interface DocumentationPackage extends EPackage {
* The package name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
String eNAME = "documentation";
@@ -40,6 +42,7 @@ public interface DocumentationPackage extends EPackage {
* The package namespace URI.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
String eNS_URI = "http://www.eclipse.org/papyrus/documentation/plugin/documentation";
@@ -48,6 +51,7 @@ public interface DocumentationPackage extends EPackage {
* The package namespace name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
String eNS_PREFIX = "doc";
@@ -56,6 +60,7 @@ public interface DocumentationPackage extends EPackage {
* The singleton instance of the package.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
DocumentationPackage eINSTANCE = org.eclipse.papyrus.documentation.plugin.documentation.impl.DocumentationPackageImpl.init();
@@ -64,6 +69,7 @@ public interface DocumentationPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.documentation.plugin.documentation.impl.DocumentationImpl <em>Documentation</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.documentation.plugin.documentation.impl.DocumentationImpl
* @see org.eclipse.papyrus.documentation.plugin.documentation.impl.DocumentationPackageImpl#getDocumentation()
* @generated
@@ -74,6 +80,7 @@ public interface DocumentationPackage extends EPackage {
* The feature id for the '<em><b>EAnnotations</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -83,6 +90,7 @@ public interface DocumentationPackage extends EPackage {
* The feature id for the '<em><b>Description</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -92,6 +100,7 @@ public interface DocumentationPackage extends EPackage {
* The feature id for the '<em><b>Implicit Dependencies</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -101,6 +110,7 @@ public interface DocumentationPackage extends EPackage {
* The feature id for the '<em><b>Referent</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -110,6 +120,7 @@ public interface DocumentationPackage extends EPackage {
* The feature id for the '<em><b>Additional Comments</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -119,6 +130,7 @@ public interface DocumentationPackage extends EPackage {
* The number of structural features of the '<em>Documentation</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -128,6 +140,7 @@ public interface DocumentationPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.documentation.plugin.documentation.impl.DependencyImpl <em>Dependency</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.documentation.plugin.documentation.impl.DependencyImpl
* @see org.eclipse.papyrus.documentation.plugin.documentation.impl.DocumentationPackageImpl#getDependency()
* @generated
@@ -138,6 +151,7 @@ public interface DocumentationPackage extends EPackage {
* The feature id for the '<em><b>EAnnotations</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -147,6 +161,7 @@ public interface DocumentationPackage extends EPackage {
* The feature id for the '<em><b>Plugin</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -156,6 +171,7 @@ public interface DocumentationPackage extends EPackage {
* The feature id for the '<em><b>Comment</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -165,6 +181,7 @@ public interface DocumentationPackage extends EPackage {
* The number of structural features of the '<em>Dependency</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -174,6 +191,7 @@ public interface DocumentationPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.documentation.plugin.documentation.impl.FileDependencyImpl <em>File Dependency</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.documentation.plugin.documentation.impl.FileDependencyImpl
* @see org.eclipse.papyrus.documentation.plugin.documentation.impl.DocumentationPackageImpl#getFileDependency()
* @generated
@@ -184,6 +202,7 @@ public interface DocumentationPackage extends EPackage {
* The feature id for the '<em><b>EAnnotations</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -193,6 +212,7 @@ public interface DocumentationPackage extends EPackage {
* The feature id for the '<em><b>Plugin</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -202,6 +222,7 @@ public interface DocumentationPackage extends EPackage {
* The feature id for the '<em><b>Comment</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -211,6 +232,7 @@ public interface DocumentationPackage extends EPackage {
* The feature id for the '<em><b>File</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -220,6 +242,7 @@ public interface DocumentationPackage extends EPackage {
* The number of structural features of the '<em>File Dependency</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -229,6 +252,7 @@ public interface DocumentationPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.documentation.plugin.documentation.impl.PersonImpl <em>Person</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.documentation.plugin.documentation.impl.PersonImpl
* @see org.eclipse.papyrus.documentation.plugin.documentation.impl.DocumentationPackageImpl#getPerson()
* @generated
@@ -239,6 +263,7 @@ public interface DocumentationPackage extends EPackage {
* The feature id for the '<em><b>EAnnotations</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -248,6 +273,7 @@ public interface DocumentationPackage extends EPackage {
* The feature id for the '<em><b>First Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -257,6 +283,7 @@ public interface DocumentationPackage extends EPackage {
* The feature id for the '<em><b>Last Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -266,6 +293,7 @@ public interface DocumentationPackage extends EPackage {
* The feature id for the '<em><b>EMail</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -275,6 +303,7 @@ public interface DocumentationPackage extends EPackage {
* The feature id for the '<em><b>Current Company</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -284,6 +313,7 @@ public interface DocumentationPackage extends EPackage {
* The number of structural features of the '<em>Person</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -293,6 +323,7 @@ public interface DocumentationPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.documentation.plugin.documentation.impl.CommentImpl <em>Comment</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.documentation.plugin.documentation.impl.CommentImpl
* @see org.eclipse.papyrus.documentation.plugin.documentation.impl.DocumentationPackageImpl#getComment()
* @generated
@@ -303,6 +334,7 @@ public interface DocumentationPackage extends EPackage {
* The feature id for the '<em><b>EAnnotations</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -312,6 +344,7 @@ public interface DocumentationPackage extends EPackage {
* The feature id for the '<em><b>Title</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -321,6 +354,7 @@ public interface DocumentationPackage extends EPackage {
* The feature id for the '<em><b>Contents</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -330,6 +364,7 @@ public interface DocumentationPackage extends EPackage {
* The number of structural features of the '<em>Comment</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -340,6 +375,7 @@ public interface DocumentationPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.documentation.plugin.documentation.Documentation <em>Documentation</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Documentation</em>'.
* @see org.eclipse.papyrus.documentation.plugin.documentation.Documentation
* @generated
@@ -350,6 +386,7 @@ public interface DocumentationPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.documentation.plugin.documentation.Documentation#getDescription <em>Description</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the attribute '<em>Description</em>'.
* @see org.eclipse.papyrus.documentation.plugin.documentation.Documentation#getDescription()
* @see #getDocumentation()
@@ -361,6 +398,7 @@ public interface DocumentationPackage extends EPackage {
* Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.documentation.plugin.documentation.Documentation#getImplicitDependencies <em>Implicit Dependencies</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the containment reference list '<em>Implicit Dependencies</em>'.
* @see org.eclipse.papyrus.documentation.plugin.documentation.Documentation#getImplicitDependencies()
* @see #getDocumentation()
@@ -372,6 +410,7 @@ public interface DocumentationPackage extends EPackage {
* Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.documentation.plugin.documentation.Documentation#getReferent <em>Referent</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the containment reference list '<em>Referent</em>'.
* @see org.eclipse.papyrus.documentation.plugin.documentation.Documentation#getReferent()
* @see #getDocumentation()
@@ -383,6 +422,7 @@ public interface DocumentationPackage extends EPackage {
* Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.documentation.plugin.documentation.Documentation#getAdditionalComments <em>Additional Comments</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the containment reference list '<em>Additional Comments</em>'.
* @see org.eclipse.papyrus.documentation.plugin.documentation.Documentation#getAdditionalComments()
* @see #getDocumentation()
@@ -394,6 +434,7 @@ public interface DocumentationPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.documentation.plugin.documentation.Dependency <em>Dependency</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Dependency</em>'.
* @see org.eclipse.papyrus.documentation.plugin.documentation.Dependency
* @generated
@@ -404,6 +445,7 @@ public interface DocumentationPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.documentation.plugin.documentation.Dependency#getPlugin <em>Plugin</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the attribute '<em>Plugin</em>'.
* @see org.eclipse.papyrus.documentation.plugin.documentation.Dependency#getPlugin()
* @see #getDependency()
@@ -415,6 +457,7 @@ public interface DocumentationPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.documentation.plugin.documentation.Dependency#getComment <em>Comment</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the attribute '<em>Comment</em>'.
* @see org.eclipse.papyrus.documentation.plugin.documentation.Dependency#getComment()
* @see #getDependency()
@@ -426,6 +469,7 @@ public interface DocumentationPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.documentation.plugin.documentation.FileDependency <em>File Dependency</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>File Dependency</em>'.
* @see org.eclipse.papyrus.documentation.plugin.documentation.FileDependency
* @generated
@@ -436,6 +480,7 @@ public interface DocumentationPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.documentation.plugin.documentation.FileDependency#getFile <em>File</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the attribute '<em>File</em>'.
* @see org.eclipse.papyrus.documentation.plugin.documentation.FileDependency#getFile()
* @see #getFileDependency()
@@ -447,6 +492,7 @@ public interface DocumentationPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.documentation.plugin.documentation.Person <em>Person</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Person</em>'.
* @see org.eclipse.papyrus.documentation.plugin.documentation.Person
* @generated
@@ -457,6 +503,7 @@ public interface DocumentationPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.documentation.plugin.documentation.Person#getFirstName <em>First Name</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the attribute '<em>First Name</em>'.
* @see org.eclipse.papyrus.documentation.plugin.documentation.Person#getFirstName()
* @see #getPerson()
@@ -468,6 +515,7 @@ public interface DocumentationPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.documentation.plugin.documentation.Person#getLastName <em>Last Name</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the attribute '<em>Last Name</em>'.
* @see org.eclipse.papyrus.documentation.plugin.documentation.Person#getLastName()
* @see #getPerson()
@@ -479,6 +527,7 @@ public interface DocumentationPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.documentation.plugin.documentation.Person#getEMail <em>EMail</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the attribute '<em>EMail</em>'.
* @see org.eclipse.papyrus.documentation.plugin.documentation.Person#getEMail()
* @see #getPerson()
@@ -490,6 +539,7 @@ public interface DocumentationPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.documentation.plugin.documentation.Person#getCurrentCompany <em>Current Company</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the attribute '<em>Current Company</em>'.
* @see org.eclipse.papyrus.documentation.plugin.documentation.Person#getCurrentCompany()
* @see #getPerson()
@@ -501,6 +551,7 @@ public interface DocumentationPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.documentation.plugin.documentation.Comment <em>Comment</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Comment</em>'.
* @see org.eclipse.papyrus.documentation.plugin.documentation.Comment
* @generated
@@ -511,6 +562,7 @@ public interface DocumentationPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.documentation.plugin.documentation.Comment#getTitle <em>Title</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the attribute '<em>Title</em>'.
* @see org.eclipse.papyrus.documentation.plugin.documentation.Comment#getTitle()
* @see #getComment()
@@ -522,6 +574,7 @@ public interface DocumentationPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.documentation.plugin.documentation.Comment#getContents <em>Contents</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the attribute '<em>Contents</em>'.
* @see org.eclipse.papyrus.documentation.plugin.documentation.Comment#getContents()
* @see #getComment()
@@ -533,6 +586,7 @@ public interface DocumentationPackage extends EPackage {
* Returns the factory that creates the instances of the model.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the factory that creates the instances of the model.
* @generated
*/
@@ -542,12 +596,13 @@ public interface DocumentationPackage extends EPackage {
* <!-- begin-user-doc -->
* Defines literals for the meta objects that represent
* <ul>
- * <li>each class,</li>
- * <li>each feature of each class,</li>
- * <li>each enum,</li>
- * <li>and each data type</li>
+ * <li>each class,</li>
+ * <li>each feature of each class,</li>
+ * <li>each enum,</li>
+ * <li>and each data type</li>
* </ul>
* <!-- end-user-doc -->
+ *
* @generated
*/
interface Literals {
@@ -555,6 +610,7 @@ public interface DocumentationPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.documentation.plugin.documentation.impl.DocumentationImpl <em>Documentation</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.documentation.plugin.documentation.impl.DocumentationImpl
* @see org.eclipse.papyrus.documentation.plugin.documentation.impl.DocumentationPackageImpl#getDocumentation()
* @generated
@@ -565,6 +621,7 @@ public interface DocumentationPackage extends EPackage {
* The meta object literal for the '<em><b>Description</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EAttribute DOCUMENTATION__DESCRIPTION = eINSTANCE.getDocumentation_Description();
@@ -573,6 +630,7 @@ public interface DocumentationPackage extends EPackage {
* The meta object literal for the '<em><b>Implicit Dependencies</b></em>' containment reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference DOCUMENTATION__IMPLICIT_DEPENDENCIES = eINSTANCE.getDocumentation_ImplicitDependencies();
@@ -581,6 +639,7 @@ public interface DocumentationPackage extends EPackage {
* The meta object literal for the '<em><b>Referent</b></em>' containment reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference DOCUMENTATION__REFERENT = eINSTANCE.getDocumentation_Referent();
@@ -589,6 +648,7 @@ public interface DocumentationPackage extends EPackage {
* The meta object literal for the '<em><b>Additional Comments</b></em>' containment reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference DOCUMENTATION__ADDITIONAL_COMMENTS = eINSTANCE.getDocumentation_AdditionalComments();
@@ -597,6 +657,7 @@ public interface DocumentationPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.documentation.plugin.documentation.impl.DependencyImpl <em>Dependency</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.documentation.plugin.documentation.impl.DependencyImpl
* @see org.eclipse.papyrus.documentation.plugin.documentation.impl.DocumentationPackageImpl#getDependency()
* @generated
@@ -607,6 +668,7 @@ public interface DocumentationPackage extends EPackage {
* The meta object literal for the '<em><b>Plugin</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EAttribute DEPENDENCY__PLUGIN = eINSTANCE.getDependency_Plugin();
@@ -615,6 +677,7 @@ public interface DocumentationPackage extends EPackage {
* The meta object literal for the '<em><b>Comment</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EAttribute DEPENDENCY__COMMENT = eINSTANCE.getDependency_Comment();
@@ -623,6 +686,7 @@ public interface DocumentationPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.documentation.plugin.documentation.impl.FileDependencyImpl <em>File Dependency</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.documentation.plugin.documentation.impl.FileDependencyImpl
* @see org.eclipse.papyrus.documentation.plugin.documentation.impl.DocumentationPackageImpl#getFileDependency()
* @generated
@@ -633,6 +697,7 @@ public interface DocumentationPackage extends EPackage {
* The meta object literal for the '<em><b>File</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EAttribute FILE_DEPENDENCY__FILE = eINSTANCE.getFileDependency_File();
@@ -641,6 +706,7 @@ public interface DocumentationPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.documentation.plugin.documentation.impl.PersonImpl <em>Person</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.documentation.plugin.documentation.impl.PersonImpl
* @see org.eclipse.papyrus.documentation.plugin.documentation.impl.DocumentationPackageImpl#getPerson()
* @generated
@@ -651,6 +717,7 @@ public interface DocumentationPackage extends EPackage {
* The meta object literal for the '<em><b>First Name</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EAttribute PERSON__FIRST_NAME = eINSTANCE.getPerson_FirstName();
@@ -659,6 +726,7 @@ public interface DocumentationPackage extends EPackage {
* The meta object literal for the '<em><b>Last Name</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EAttribute PERSON__LAST_NAME = eINSTANCE.getPerson_LastName();
@@ -667,6 +735,7 @@ public interface DocumentationPackage extends EPackage {
* The meta object literal for the '<em><b>EMail</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EAttribute PERSON__EMAIL = eINSTANCE.getPerson_EMail();
@@ -675,6 +744,7 @@ public interface DocumentationPackage extends EPackage {
* The meta object literal for the '<em><b>Current Company</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EAttribute PERSON__CURRENT_COMPANY = eINSTANCE.getPerson_CurrentCompany();
@@ -683,6 +753,7 @@ public interface DocumentationPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.documentation.plugin.documentation.impl.CommentImpl <em>Comment</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.documentation.plugin.documentation.impl.CommentImpl
* @see org.eclipse.papyrus.documentation.plugin.documentation.impl.DocumentationPackageImpl#getComment()
* @generated
@@ -693,6 +764,7 @@ public interface DocumentationPackage extends EPackage {
* The meta object literal for the '<em><b>Title</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EAttribute COMMENT__TITLE = eINSTANCE.getComment_Title();
@@ -701,10 +773,11 @@ public interface DocumentationPackage extends EPackage {
* The meta object literal for the '<em><b>Contents</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EAttribute COMMENT__CONTENTS = eINSTANCE.getComment_Contents();
}
-} //DocumentationPackage
+} // DocumentationPackage
diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/FileDependency.java b/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/FileDependency.java
index ede9546400d..3ede298fe17 100644
--- a/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/FileDependency.java
+++ b/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/FileDependency.java
@@ -14,16 +14,16 @@ package org.eclipse.papyrus.documentation.plugin.documentation;
*
* <!-- begin-model-doc -->
* Specify a dependency when a plug-in needs a non-java file in another plug-in.
- *
+ *
* For example, this dependency can be used when a plug-in needs to have an access to a model in another plug-in.
- *
+ *
* The file can be either a file or a folder
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.documentation.plugin.documentation.FileDependency#getFile <em>File</em>}</li>
+ * <li>{@link org.eclipse.papyrus.documentation.plugin.documentation.FileDependency#getFile <em>File</em>}</li>
* </ul>
* </p>
*
@@ -36,10 +36,10 @@ public interface FileDependency extends Dependency {
* Returns the value of the '<em><b>File</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>File</em>' attribute isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>File</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>File</em>' attribute.
* @see #setFile(String)
* @see org.eclipse.papyrus.documentation.plugin.documentation.DocumentationPackage#getFileDependency_File()
@@ -52,7 +52,9 @@ public interface FileDependency extends Dependency {
* Sets the value of the '{@link org.eclipse.papyrus.documentation.plugin.documentation.FileDependency#getFile <em>File</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>File</em>' attribute.
+ *
+ * @param value
+ * the new value of the '<em>File</em>' attribute.
* @see #getFile()
* @generated
*/
diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/Person.java b/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/Person.java
index cf17215ac73..a3bec4e8361 100644
--- a/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/Person.java
+++ b/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/Person.java
@@ -20,10 +20,10 @@ import org.eclipse.emf.ecore.EModelElement;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.documentation.plugin.documentation.Person#getFirstName <em>First Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.documentation.plugin.documentation.Person#getLastName <em>Last Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.documentation.plugin.documentation.Person#getEMail <em>EMail</em>}</li>
- * <li>{@link org.eclipse.papyrus.documentation.plugin.documentation.Person#getCurrentCompany <em>Current Company</em>}</li>
+ * <li>{@link org.eclipse.papyrus.documentation.plugin.documentation.Person#getFirstName <em>First Name</em>}</li>
+ * <li>{@link org.eclipse.papyrus.documentation.plugin.documentation.Person#getLastName <em>Last Name</em>}</li>
+ * <li>{@link org.eclipse.papyrus.documentation.plugin.documentation.Person#getEMail <em>EMail</em>}</li>
+ * <li>{@link org.eclipse.papyrus.documentation.plugin.documentation.Person#getCurrentCompany <em>Current Company</em>}</li>
* </ul>
* </p>
*
@@ -36,10 +36,10 @@ public interface Person extends EModelElement {
* Returns the value of the '<em><b>First Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>First Name</em>' attribute isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>First Name</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>First Name</em>' attribute.
* @see #setFirstName(String)
* @see org.eclipse.papyrus.documentation.plugin.documentation.DocumentationPackage#getPerson_FirstName()
@@ -52,7 +52,9 @@ public interface Person extends EModelElement {
* Sets the value of the '{@link org.eclipse.papyrus.documentation.plugin.documentation.Person#getFirstName <em>First Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>First Name</em>' attribute.
+ *
+ * @param value
+ * the new value of the '<em>First Name</em>' attribute.
* @see #getFirstName()
* @generated
*/
@@ -62,10 +64,10 @@ public interface Person extends EModelElement {
* Returns the value of the '<em><b>Last Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Last Name</em>' attribute isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Last Name</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Last Name</em>' attribute.
* @see #setLastName(String)
* @see org.eclipse.papyrus.documentation.plugin.documentation.DocumentationPackage#getPerson_LastName()
@@ -78,7 +80,9 @@ public interface Person extends EModelElement {
* Sets the value of the '{@link org.eclipse.papyrus.documentation.plugin.documentation.Person#getLastName <em>Last Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Last Name</em>' attribute.
+ *
+ * @param value
+ * the new value of the '<em>Last Name</em>' attribute.
* @see #getLastName()
* @generated
*/
@@ -88,10 +92,10 @@ public interface Person extends EModelElement {
* Returns the value of the '<em><b>EMail</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>EMail</em>' attribute isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>EMail</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>EMail</em>' attribute.
* @see #setEMail(String)
* @see org.eclipse.papyrus.documentation.plugin.documentation.DocumentationPackage#getPerson_EMail()
@@ -104,7 +108,9 @@ public interface Person extends EModelElement {
* Sets the value of the '{@link org.eclipse.papyrus.documentation.plugin.documentation.Person#getEMail <em>EMail</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>EMail</em>' attribute.
+ *
+ * @param value
+ * the new value of the '<em>EMail</em>' attribute.
* @see #getEMail()
* @generated
*/
@@ -114,10 +120,10 @@ public interface Person extends EModelElement {
* Returns the value of the '<em><b>Current Company</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Current Company</em>' attribute isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Current Company</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Current Company</em>' attribute.
* @see #setCurrentCompany(String)
* @see org.eclipse.papyrus.documentation.plugin.documentation.DocumentationPackage#getPerson_CurrentCompany()
@@ -130,7 +136,9 @@ public interface Person extends EModelElement {
* Sets the value of the '{@link org.eclipse.papyrus.documentation.plugin.documentation.Person#getCurrentCompany <em>Current Company</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Current Company</em>' attribute.
+ *
+ * @param value
+ * the new value of the '<em>Current Company</em>' attribute.
* @see #getCurrentCompany()
* @generated
*/
diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/impl/CommentImpl.java b/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/impl/CommentImpl.java
index 1fe31528472..cb2037c4a73 100644
--- a/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/impl/CommentImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/impl/CommentImpl.java
@@ -23,8 +23,8 @@ import org.eclipse.papyrus.documentation.plugin.documentation.DocumentationPacka
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.documentation.plugin.documentation.impl.CommentImpl#getTitle <em>Title</em>}</li>
- * <li>{@link org.eclipse.papyrus.documentation.plugin.documentation.impl.CommentImpl#getContents <em>Contents</em>}</li>
+ * <li>{@link org.eclipse.papyrus.documentation.plugin.documentation.impl.CommentImpl#getTitle <em>Title</em>}</li>
+ * <li>{@link org.eclipse.papyrus.documentation.plugin.documentation.impl.CommentImpl#getContents <em>Contents</em>}</li>
* </ul>
* </p>
*
@@ -35,6 +35,7 @@ public class CommentImpl extends EModelElementImpl implements Comment {
* The default value of the '{@link #getTitle() <em>Title</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getTitle()
* @generated
* @ordered
@@ -45,6 +46,7 @@ public class CommentImpl extends EModelElementImpl implements Comment {
* The cached value of the '{@link #getTitle() <em>Title</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getTitle()
* @generated
* @ordered
@@ -55,6 +57,7 @@ public class CommentImpl extends EModelElementImpl implements Comment {
* The default value of the '{@link #getContents() <em>Contents</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getContents()
* @generated
* @ordered
@@ -65,6 +68,7 @@ public class CommentImpl extends EModelElementImpl implements Comment {
* The cached value of the '{@link #getContents() <em>Contents</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getContents()
* @generated
* @ordered
@@ -74,6 +78,7 @@ public class CommentImpl extends EModelElementImpl implements Comment {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected CommentImpl() {
@@ -83,6 +88,7 @@ public class CommentImpl extends EModelElementImpl implements Comment {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -93,6 +99,7 @@ public class CommentImpl extends EModelElementImpl implements Comment {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public String getTitle() {
@@ -102,18 +109,21 @@ public class CommentImpl extends EModelElementImpl implements Comment {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public void setTitle(String newTitle) {
String oldTitle = title;
title = newTitle;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DocumentationPackage.COMMENT__TITLE, oldTitle, title));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public String getContents() {
@@ -123,27 +133,30 @@ public class CommentImpl extends EModelElementImpl implements Comment {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public void setContents(String newContents) {
String oldContents = contents;
contents = newContents;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DocumentationPackage.COMMENT__CONTENTS, oldContents, contents));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case DocumentationPackage.COMMENT__TITLE:
- return getTitle();
- case DocumentationPackage.COMMENT__CONTENTS:
- return getContents();
+ case DocumentationPackage.COMMENT__TITLE:
+ return getTitle();
+ case DocumentationPackage.COMMENT__CONTENTS:
+ return getContents();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -151,17 +164,18 @@ public class CommentImpl extends EModelElementImpl implements Comment {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case DocumentationPackage.COMMENT__TITLE:
- setTitle((String)newValue);
- return;
- case DocumentationPackage.COMMENT__CONTENTS:
- setContents((String)newValue);
- return;
+ case DocumentationPackage.COMMENT__TITLE:
+ setTitle((String) newValue);
+ return;
+ case DocumentationPackage.COMMENT__CONTENTS:
+ setContents((String) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -169,17 +183,18 @@ public class CommentImpl extends EModelElementImpl implements Comment {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case DocumentationPackage.COMMENT__TITLE:
- setTitle(TITLE_EDEFAULT);
- return;
- case DocumentationPackage.COMMENT__CONTENTS:
- setContents(CONTENTS_EDEFAULT);
- return;
+ case DocumentationPackage.COMMENT__TITLE:
+ setTitle(TITLE_EDEFAULT);
+ return;
+ case DocumentationPackage.COMMENT__CONTENTS:
+ setContents(CONTENTS_EDEFAULT);
+ return;
}
super.eUnset(featureID);
}
@@ -187,15 +202,16 @@ public class CommentImpl extends EModelElementImpl implements Comment {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case DocumentationPackage.COMMENT__TITLE:
- return TITLE_EDEFAULT == null ? title != null : !TITLE_EDEFAULT.equals(title);
- case DocumentationPackage.COMMENT__CONTENTS:
- return CONTENTS_EDEFAULT == null ? contents != null : !CONTENTS_EDEFAULT.equals(contents);
+ case DocumentationPackage.COMMENT__TITLE:
+ return TITLE_EDEFAULT == null ? title != null : !TITLE_EDEFAULT.equals(title);
+ case DocumentationPackage.COMMENT__CONTENTS:
+ return CONTENTS_EDEFAULT == null ? contents != null : !CONTENTS_EDEFAULT.equals(contents);
}
return super.eIsSet(featureID);
}
@@ -203,11 +219,14 @@ public class CommentImpl extends EModelElementImpl implements Comment {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public String toString() {
- if (eIsProxy()) return super.toString();
+ if (eIsProxy()) {
+ return super.toString();
+ }
StringBuffer result = new StringBuffer(super.toString());
result.append(" (title: ");
@@ -218,4 +237,4 @@ public class CommentImpl extends EModelElementImpl implements Comment {
return result.toString();
}
-} //CommentImpl
+} // CommentImpl
diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/impl/DependencyImpl.java b/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/impl/DependencyImpl.java
index e5cdd7b2930..e07f285ad9a 100644
--- a/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/impl/DependencyImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/impl/DependencyImpl.java
@@ -23,8 +23,8 @@ import org.eclipse.papyrus.documentation.plugin.documentation.DocumentationPacka
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.documentation.plugin.documentation.impl.DependencyImpl#getPlugin <em>Plugin</em>}</li>
- * <li>{@link org.eclipse.papyrus.documentation.plugin.documentation.impl.DependencyImpl#getComment <em>Comment</em>}</li>
+ * <li>{@link org.eclipse.papyrus.documentation.plugin.documentation.impl.DependencyImpl#getPlugin <em>Plugin</em>}</li>
+ * <li>{@link org.eclipse.papyrus.documentation.plugin.documentation.impl.DependencyImpl#getComment <em>Comment</em>}</li>
* </ul>
* </p>
*
@@ -35,6 +35,7 @@ public class DependencyImpl extends EModelElementImpl implements Dependency {
* The default value of the '{@link #getPlugin() <em>Plugin</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getPlugin()
* @generated
* @ordered
@@ -45,6 +46,7 @@ public class DependencyImpl extends EModelElementImpl implements Dependency {
* The cached value of the '{@link #getPlugin() <em>Plugin</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getPlugin()
* @generated
* @ordered
@@ -55,6 +57,7 @@ public class DependencyImpl extends EModelElementImpl implements Dependency {
* The default value of the '{@link #getComment() <em>Comment</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getComment()
* @generated
* @ordered
@@ -65,6 +68,7 @@ public class DependencyImpl extends EModelElementImpl implements Dependency {
* The cached value of the '{@link #getComment() <em>Comment</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getComment()
* @generated
* @ordered
@@ -74,6 +78,7 @@ public class DependencyImpl extends EModelElementImpl implements Dependency {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected DependencyImpl() {
@@ -83,6 +88,7 @@ public class DependencyImpl extends EModelElementImpl implements Dependency {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -93,6 +99,7 @@ public class DependencyImpl extends EModelElementImpl implements Dependency {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public String getPlugin() {
@@ -102,18 +109,21 @@ public class DependencyImpl extends EModelElementImpl implements Dependency {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public void setPlugin(String newPlugin) {
String oldPlugin = plugin;
plugin = newPlugin;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DocumentationPackage.DEPENDENCY__PLUGIN, oldPlugin, plugin));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public String getComment() {
@@ -123,27 +133,30 @@ public class DependencyImpl extends EModelElementImpl implements Dependency {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public void setComment(String newComment) {
String oldComment = comment;
comment = newComment;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DocumentationPackage.DEPENDENCY__COMMENT, oldComment, comment));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case DocumentationPackage.DEPENDENCY__PLUGIN:
- return getPlugin();
- case DocumentationPackage.DEPENDENCY__COMMENT:
- return getComment();
+ case DocumentationPackage.DEPENDENCY__PLUGIN:
+ return getPlugin();
+ case DocumentationPackage.DEPENDENCY__COMMENT:
+ return getComment();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -151,17 +164,18 @@ public class DependencyImpl extends EModelElementImpl implements Dependency {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case DocumentationPackage.DEPENDENCY__PLUGIN:
- setPlugin((String)newValue);
- return;
- case DocumentationPackage.DEPENDENCY__COMMENT:
- setComment((String)newValue);
- return;
+ case DocumentationPackage.DEPENDENCY__PLUGIN:
+ setPlugin((String) newValue);
+ return;
+ case DocumentationPackage.DEPENDENCY__COMMENT:
+ setComment((String) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -169,17 +183,18 @@ public class DependencyImpl extends EModelElementImpl implements Dependency {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case DocumentationPackage.DEPENDENCY__PLUGIN:
- setPlugin(PLUGIN_EDEFAULT);
- return;
- case DocumentationPackage.DEPENDENCY__COMMENT:
- setComment(COMMENT_EDEFAULT);
- return;
+ case DocumentationPackage.DEPENDENCY__PLUGIN:
+ setPlugin(PLUGIN_EDEFAULT);
+ return;
+ case DocumentationPackage.DEPENDENCY__COMMENT:
+ setComment(COMMENT_EDEFAULT);
+ return;
}
super.eUnset(featureID);
}
@@ -187,15 +202,16 @@ public class DependencyImpl extends EModelElementImpl implements Dependency {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case DocumentationPackage.DEPENDENCY__PLUGIN:
- return PLUGIN_EDEFAULT == null ? plugin != null : !PLUGIN_EDEFAULT.equals(plugin);
- case DocumentationPackage.DEPENDENCY__COMMENT:
- return COMMENT_EDEFAULT == null ? comment != null : !COMMENT_EDEFAULT.equals(comment);
+ case DocumentationPackage.DEPENDENCY__PLUGIN:
+ return PLUGIN_EDEFAULT == null ? plugin != null : !PLUGIN_EDEFAULT.equals(plugin);
+ case DocumentationPackage.DEPENDENCY__COMMENT:
+ return COMMENT_EDEFAULT == null ? comment != null : !COMMENT_EDEFAULT.equals(comment);
}
return super.eIsSet(featureID);
}
@@ -203,11 +219,14 @@ public class DependencyImpl extends EModelElementImpl implements Dependency {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public String toString() {
- if (eIsProxy()) return super.toString();
+ if (eIsProxy()) {
+ return super.toString();
+ }
StringBuffer result = new StringBuffer(super.toString());
result.append(" (plugin: ");
@@ -218,4 +237,4 @@ public class DependencyImpl extends EModelElementImpl implements Dependency {
return result.toString();
}
-} //DependencyImpl
+} // DependencyImpl
diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/impl/DocumentationFactoryImpl.java b/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/impl/DocumentationFactoryImpl.java
index 047d3ad01a1..7ddae7d3bcf 100644
--- a/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/impl/DocumentationFactoryImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/impl/DocumentationFactoryImpl.java
@@ -20,6 +20,7 @@ import org.eclipse.papyrus.documentation.plugin.documentation.*;
* <!-- begin-user-doc -->
* An implementation of the model <b>Factory</b>.
* <!-- end-user-doc -->
+ *
* @generated
*/
public class DocumentationFactoryImpl extends EFactoryImpl implements DocumentationFactory {
@@ -27,16 +28,16 @@ public class DocumentationFactoryImpl extends EFactoryImpl implements Documentat
* Creates the default factory implementation.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public static DocumentationFactory init() {
try {
- DocumentationFactory theDocumentationFactory = (DocumentationFactory)EPackage.Registry.INSTANCE.getEFactory("http://www.eclipse.org/papyrus/documentation/plugin/documentation");
+ DocumentationFactory theDocumentationFactory = (DocumentationFactory) EPackage.Registry.INSTANCE.getEFactory("http://www.eclipse.org/papyrus/documentation/plugin/documentation");
if (theDocumentationFactory != null) {
return theDocumentationFactory;
}
- }
- catch (Exception exception) {
+ } catch (Exception exception) {
EcorePlugin.INSTANCE.log(exception);
}
return new DocumentationFactoryImpl();
@@ -46,6 +47,7 @@ public class DocumentationFactoryImpl extends EFactoryImpl implements Documentat
* Creates an instance of the factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public DocumentationFactoryImpl() {
@@ -55,24 +57,31 @@ public class DocumentationFactoryImpl extends EFactoryImpl implements Documentat
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public EObject create(EClass eClass) {
switch (eClass.getClassifierID()) {
- case DocumentationPackage.DOCUMENTATION: return createDocumentation();
- case DocumentationPackage.DEPENDENCY: return createDependency();
- case DocumentationPackage.FILE_DEPENDENCY: return createFileDependency();
- case DocumentationPackage.PERSON: return createPerson();
- case DocumentationPackage.COMMENT: return createComment();
- default:
- throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
+ case DocumentationPackage.DOCUMENTATION:
+ return createDocumentation();
+ case DocumentationPackage.DEPENDENCY:
+ return createDependency();
+ case DocumentationPackage.FILE_DEPENDENCY:
+ return createFileDependency();
+ case DocumentationPackage.PERSON:
+ return createPerson();
+ case DocumentationPackage.COMMENT:
+ return createComment();
+ default:
+ throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
}
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public Documentation createDocumentation() {
@@ -83,6 +92,7 @@ public class DocumentationFactoryImpl extends EFactoryImpl implements Documentat
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public Dependency createDependency() {
@@ -93,6 +103,7 @@ public class DocumentationFactoryImpl extends EFactoryImpl implements Documentat
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public FileDependency createFileDependency() {
@@ -103,6 +114,7 @@ public class DocumentationFactoryImpl extends EFactoryImpl implements Documentat
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public Person createPerson() {
@@ -113,6 +125,7 @@ public class DocumentationFactoryImpl extends EFactoryImpl implements Documentat
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public Comment createComment() {
@@ -123,15 +136,17 @@ public class DocumentationFactoryImpl extends EFactoryImpl implements Documentat
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public DocumentationPackage getDocumentationPackage() {
- return (DocumentationPackage)getEPackage();
+ return (DocumentationPackage) getEPackage();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @deprecated
* @generated
*/
@@ -140,4 +155,4 @@ public class DocumentationFactoryImpl extends EFactoryImpl implements Documentat
return DocumentationPackage.eINSTANCE;
}
-} //DocumentationFactoryImpl
+} // DocumentationFactoryImpl
diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/impl/DocumentationImpl.java b/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/impl/DocumentationImpl.java
index aed6d97844b..c009fc26a6c 100644
--- a/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/impl/DocumentationImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/impl/DocumentationImpl.java
@@ -35,10 +35,10 @@ import org.eclipse.papyrus.documentation.plugin.documentation.Person;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.documentation.plugin.documentation.impl.DocumentationImpl#getDescription <em>Description</em>}</li>
- * <li>{@link org.eclipse.papyrus.documentation.plugin.documentation.impl.DocumentationImpl#getImplicitDependencies <em>Implicit Dependencies</em>}</li>
- * <li>{@link org.eclipse.papyrus.documentation.plugin.documentation.impl.DocumentationImpl#getReferent <em>Referent</em>}</li>
- * <li>{@link org.eclipse.papyrus.documentation.plugin.documentation.impl.DocumentationImpl#getAdditionalComments <em>Additional Comments</em>}</li>
+ * <li>{@link org.eclipse.papyrus.documentation.plugin.documentation.impl.DocumentationImpl#getDescription <em>Description</em>}</li>
+ * <li>{@link org.eclipse.papyrus.documentation.plugin.documentation.impl.DocumentationImpl#getImplicitDependencies <em>Implicit Dependencies</em>}</li>
+ * <li>{@link org.eclipse.papyrus.documentation.plugin.documentation.impl.DocumentationImpl#getReferent <em>Referent</em>}</li>
+ * <li>{@link org.eclipse.papyrus.documentation.plugin.documentation.impl.DocumentationImpl#getAdditionalComments <em>Additional Comments</em>}</li>
* </ul>
* </p>
*
@@ -49,6 +49,7 @@ public class DocumentationImpl extends EModelElementImpl implements Documentatio
* The default value of the '{@link #getDescription() <em>Description</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getDescription()
* @generated
* @ordered
@@ -59,6 +60,7 @@ public class DocumentationImpl extends EModelElementImpl implements Documentatio
* The cached value of the '{@link #getDescription() <em>Description</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getDescription()
* @generated
* @ordered
@@ -69,6 +71,7 @@ public class DocumentationImpl extends EModelElementImpl implements Documentatio
* The cached value of the '{@link #getImplicitDependencies() <em>Implicit Dependencies</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getImplicitDependencies()
* @generated
* @ordered
@@ -79,6 +82,7 @@ public class DocumentationImpl extends EModelElementImpl implements Documentatio
* The cached value of the '{@link #getReferent() <em>Referent</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getReferent()
* @generated
* @ordered
@@ -89,6 +93,7 @@ public class DocumentationImpl extends EModelElementImpl implements Documentatio
* The cached value of the '{@link #getAdditionalComments() <em>Additional Comments</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getAdditionalComments()
* @generated
* @ordered
@@ -98,6 +103,7 @@ public class DocumentationImpl extends EModelElementImpl implements Documentatio
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected DocumentationImpl() {
@@ -107,6 +113,7 @@ public class DocumentationImpl extends EModelElementImpl implements Documentatio
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -117,6 +124,7 @@ public class DocumentationImpl extends EModelElementImpl implements Documentatio
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public String getDescription() {
@@ -126,18 +134,21 @@ public class DocumentationImpl extends EModelElementImpl implements Documentatio
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public void setDescription(String newDescription) {
String oldDescription = description;
description = newDescription;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DocumentationPackage.DOCUMENTATION__DESCRIPTION, oldDescription, description));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EList<Dependency> getImplicitDependencies() {
@@ -150,6 +161,7 @@ public class DocumentationImpl extends EModelElementImpl implements Documentatio
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EList<Person> getReferent() {
@@ -162,6 +174,7 @@ public class DocumentationImpl extends EModelElementImpl implements Documentatio
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EList<Comment> getAdditionalComments() {
@@ -174,17 +187,18 @@ public class DocumentationImpl extends EModelElementImpl implements Documentatio
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
- case DocumentationPackage.DOCUMENTATION__IMPLICIT_DEPENDENCIES:
- return ((InternalEList<?>)getImplicitDependencies()).basicRemove(otherEnd, msgs);
- case DocumentationPackage.DOCUMENTATION__REFERENT:
- return ((InternalEList<?>)getReferent()).basicRemove(otherEnd, msgs);
- case DocumentationPackage.DOCUMENTATION__ADDITIONAL_COMMENTS:
- return ((InternalEList<?>)getAdditionalComments()).basicRemove(otherEnd, msgs);
+ case DocumentationPackage.DOCUMENTATION__IMPLICIT_DEPENDENCIES:
+ return ((InternalEList<?>) getImplicitDependencies()).basicRemove(otherEnd, msgs);
+ case DocumentationPackage.DOCUMENTATION__REFERENT:
+ return ((InternalEList<?>) getReferent()).basicRemove(otherEnd, msgs);
+ case DocumentationPackage.DOCUMENTATION__ADDITIONAL_COMMENTS:
+ return ((InternalEList<?>) getAdditionalComments()).basicRemove(otherEnd, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
@@ -192,19 +206,20 @@ public class DocumentationImpl extends EModelElementImpl implements Documentatio
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case DocumentationPackage.DOCUMENTATION__DESCRIPTION:
- return getDescription();
- case DocumentationPackage.DOCUMENTATION__IMPLICIT_DEPENDENCIES:
- return getImplicitDependencies();
- case DocumentationPackage.DOCUMENTATION__REFERENT:
- return getReferent();
- case DocumentationPackage.DOCUMENTATION__ADDITIONAL_COMMENTS:
- return getAdditionalComments();
+ case DocumentationPackage.DOCUMENTATION__DESCRIPTION:
+ return getDescription();
+ case DocumentationPackage.DOCUMENTATION__IMPLICIT_DEPENDENCIES:
+ return getImplicitDependencies();
+ case DocumentationPackage.DOCUMENTATION__REFERENT:
+ return getReferent();
+ case DocumentationPackage.DOCUMENTATION__ADDITIONAL_COMMENTS:
+ return getAdditionalComments();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -212,27 +227,28 @@ public class DocumentationImpl extends EModelElementImpl implements Documentatio
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case DocumentationPackage.DOCUMENTATION__DESCRIPTION:
- setDescription((String)newValue);
- return;
- case DocumentationPackage.DOCUMENTATION__IMPLICIT_DEPENDENCIES:
- getImplicitDependencies().clear();
- getImplicitDependencies().addAll((Collection<? extends Dependency>)newValue);
- return;
- case DocumentationPackage.DOCUMENTATION__REFERENT:
- getReferent().clear();
- getReferent().addAll((Collection<? extends Person>)newValue);
- return;
- case DocumentationPackage.DOCUMENTATION__ADDITIONAL_COMMENTS:
- getAdditionalComments().clear();
- getAdditionalComments().addAll((Collection<? extends Comment>)newValue);
- return;
+ case DocumentationPackage.DOCUMENTATION__DESCRIPTION:
+ setDescription((String) newValue);
+ return;
+ case DocumentationPackage.DOCUMENTATION__IMPLICIT_DEPENDENCIES:
+ getImplicitDependencies().clear();
+ getImplicitDependencies().addAll((Collection<? extends Dependency>) newValue);
+ return;
+ case DocumentationPackage.DOCUMENTATION__REFERENT:
+ getReferent().clear();
+ getReferent().addAll((Collection<? extends Person>) newValue);
+ return;
+ case DocumentationPackage.DOCUMENTATION__ADDITIONAL_COMMENTS:
+ getAdditionalComments().clear();
+ getAdditionalComments().addAll((Collection<? extends Comment>) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -240,23 +256,24 @@ public class DocumentationImpl extends EModelElementImpl implements Documentatio
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case DocumentationPackage.DOCUMENTATION__DESCRIPTION:
- setDescription(DESCRIPTION_EDEFAULT);
- return;
- case DocumentationPackage.DOCUMENTATION__IMPLICIT_DEPENDENCIES:
- getImplicitDependencies().clear();
- return;
- case DocumentationPackage.DOCUMENTATION__REFERENT:
- getReferent().clear();
- return;
- case DocumentationPackage.DOCUMENTATION__ADDITIONAL_COMMENTS:
- getAdditionalComments().clear();
- return;
+ case DocumentationPackage.DOCUMENTATION__DESCRIPTION:
+ setDescription(DESCRIPTION_EDEFAULT);
+ return;
+ case DocumentationPackage.DOCUMENTATION__IMPLICIT_DEPENDENCIES:
+ getImplicitDependencies().clear();
+ return;
+ case DocumentationPackage.DOCUMENTATION__REFERENT:
+ getReferent().clear();
+ return;
+ case DocumentationPackage.DOCUMENTATION__ADDITIONAL_COMMENTS:
+ getAdditionalComments().clear();
+ return;
}
super.eUnset(featureID);
}
@@ -264,19 +281,20 @@ public class DocumentationImpl extends EModelElementImpl implements Documentatio
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case DocumentationPackage.DOCUMENTATION__DESCRIPTION:
- return DESCRIPTION_EDEFAULT == null ? description != null : !DESCRIPTION_EDEFAULT.equals(description);
- case DocumentationPackage.DOCUMENTATION__IMPLICIT_DEPENDENCIES:
- return implicitDependencies != null && !implicitDependencies.isEmpty();
- case DocumentationPackage.DOCUMENTATION__REFERENT:
- return referent != null && !referent.isEmpty();
- case DocumentationPackage.DOCUMENTATION__ADDITIONAL_COMMENTS:
- return additionalComments != null && !additionalComments.isEmpty();
+ case DocumentationPackage.DOCUMENTATION__DESCRIPTION:
+ return DESCRIPTION_EDEFAULT == null ? description != null : !DESCRIPTION_EDEFAULT.equals(description);
+ case DocumentationPackage.DOCUMENTATION__IMPLICIT_DEPENDENCIES:
+ return implicitDependencies != null && !implicitDependencies.isEmpty();
+ case DocumentationPackage.DOCUMENTATION__REFERENT:
+ return referent != null && !referent.isEmpty();
+ case DocumentationPackage.DOCUMENTATION__ADDITIONAL_COMMENTS:
+ return additionalComments != null && !additionalComments.isEmpty();
}
return super.eIsSet(featureID);
}
@@ -284,11 +302,14 @@ public class DocumentationImpl extends EModelElementImpl implements Documentatio
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public String toString() {
- if (eIsProxy()) return super.toString();
+ if (eIsProxy()) {
+ return super.toString();
+ }
StringBuffer result = new StringBuffer(super.toString());
result.append(" (description: ");
@@ -297,4 +318,4 @@ public class DocumentationImpl extends EModelElementImpl implements Documentatio
return result.toString();
}
-} //DocumentationImpl
+} // DocumentationImpl
diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/impl/DocumentationPackageImpl.java b/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/impl/DocumentationPackageImpl.java
index 54674fe8ab3..b51ff999955 100644
--- a/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/impl/DocumentationPackageImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/impl/DocumentationPackageImpl.java
@@ -26,12 +26,14 @@ import org.eclipse.papyrus.documentation.plugin.documentation.Person;
* <!-- begin-user-doc -->
* An implementation of the model <b>Package</b>.
* <!-- end-user-doc -->
+ *
* @generated
*/
public class DocumentationPackageImpl extends EPackageImpl implements DocumentationPackage {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass documentationEClass = null;
@@ -39,6 +41,7 @@ public class DocumentationPackageImpl extends EPackageImpl implements Documentat
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass dependencyEClass = null;
@@ -46,6 +49,7 @@ public class DocumentationPackageImpl extends EPackageImpl implements Documentat
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass fileDependencyEClass = null;
@@ -53,6 +57,7 @@ public class DocumentationPackageImpl extends EPackageImpl implements Documentat
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass personEClass = null;
@@ -60,20 +65,17 @@ public class DocumentationPackageImpl extends EPackageImpl implements Documentat
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass commentEClass = null;
/**
- * Creates an instance of the model <b>Package</b>, registered with
- * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
+ * Creates an instance of the model <b>Package</b>, registered with {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
* package URI value.
- * <p>Note: the correct way to create the package is via the static
- * factory method {@link #init init()}, which also performs
- * initialization of the package, or returns the registered package,
- * if one already exists.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <p>
+ * Note: the correct way to create the package is via the static factory method {@link #init init()}, which also performs initialization of the package, or returns the registered package, if one already exists. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see org.eclipse.emf.ecore.EPackage.Registry
* @see org.eclipse.papyrus.documentation.plugin.documentation.DocumentationPackage#eNS_URI
* @see #init()
@@ -86,27 +88,30 @@ public class DocumentationPackageImpl extends EPackageImpl implements Documentat
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private static boolean isInited = false;
/**
* Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
+ *
+ * <p>
+ * This method is used to initialize {@link DocumentationPackage#eINSTANCE} when that field is accessed. Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
*
- * <p>This method is used to initialize {@link DocumentationPackage#eINSTANCE} when that field is accessed.
- * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
* @see #eNS_URI
* @see #createPackageContents()
* @see #initializePackageContents()
* @generated
*/
public static DocumentationPackage init() {
- if (isInited) return (DocumentationPackage)EPackage.Registry.INSTANCE.getEPackage(DocumentationPackage.eNS_URI);
+ if (isInited) {
+ return (DocumentationPackage) EPackage.Registry.INSTANCE.getEPackage(DocumentationPackage.eNS_URI);
+ }
// Obtain or create and register package
- DocumentationPackageImpl theDocumentationPackage = (DocumentationPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof DocumentationPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new DocumentationPackageImpl());
+ DocumentationPackageImpl theDocumentationPackage = (DocumentationPackageImpl) (EPackage.Registry.INSTANCE.get(eNS_URI) instanceof DocumentationPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new DocumentationPackageImpl());
isInited = true;
@@ -122,7 +127,7 @@ public class DocumentationPackageImpl extends EPackageImpl implements Documentat
// Mark meta-data to indicate it can't be changed
theDocumentationPackage.freeze();
-
+
// Update the registry and return the package
EPackage.Registry.INSTANCE.put(DocumentationPackage.eNS_URI, theDocumentationPackage);
return theDocumentationPackage;
@@ -131,6 +136,7 @@ public class DocumentationPackageImpl extends EPackageImpl implements Documentat
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EClass getDocumentation() {
@@ -140,42 +146,47 @@ public class DocumentationPackageImpl extends EPackageImpl implements Documentat
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EAttribute getDocumentation_Description() {
- return (EAttribute)documentationEClass.getEStructuralFeatures().get(0);
+ return (EAttribute) documentationEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getDocumentation_ImplicitDependencies() {
- return (EReference)documentationEClass.getEStructuralFeatures().get(1);
+ return (EReference) documentationEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getDocumentation_Referent() {
- return (EReference)documentationEClass.getEStructuralFeatures().get(2);
+ return (EReference) documentationEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getDocumentation_AdditionalComments() {
- return (EReference)documentationEClass.getEStructuralFeatures().get(3);
+ return (EReference) documentationEClass.getEStructuralFeatures().get(3);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EClass getDependency() {
@@ -185,24 +196,27 @@ public class DocumentationPackageImpl extends EPackageImpl implements Documentat
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EAttribute getDependency_Plugin() {
- return (EAttribute)dependencyEClass.getEStructuralFeatures().get(0);
+ return (EAttribute) dependencyEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EAttribute getDependency_Comment() {
- return (EAttribute)dependencyEClass.getEStructuralFeatures().get(1);
+ return (EAttribute) dependencyEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EClass getFileDependency() {
@@ -212,15 +226,17 @@ public class DocumentationPackageImpl extends EPackageImpl implements Documentat
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EAttribute getFileDependency_File() {
- return (EAttribute)fileDependencyEClass.getEStructuralFeatures().get(0);
+ return (EAttribute) fileDependencyEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EClass getPerson() {
@@ -230,42 +246,47 @@ public class DocumentationPackageImpl extends EPackageImpl implements Documentat
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EAttribute getPerson_FirstName() {
- return (EAttribute)personEClass.getEStructuralFeatures().get(0);
+ return (EAttribute) personEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EAttribute getPerson_LastName() {
- return (EAttribute)personEClass.getEStructuralFeatures().get(1);
+ return (EAttribute) personEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EAttribute getPerson_EMail() {
- return (EAttribute)personEClass.getEStructuralFeatures().get(2);
+ return (EAttribute) personEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EAttribute getPerson_CurrentCompany() {
- return (EAttribute)personEClass.getEStructuralFeatures().get(3);
+ return (EAttribute) personEClass.getEStructuralFeatures().get(3);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EClass getComment() {
@@ -275,46 +296,53 @@ public class DocumentationPackageImpl extends EPackageImpl implements Documentat
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EAttribute getComment_Title() {
- return (EAttribute)commentEClass.getEStructuralFeatures().get(0);
+ return (EAttribute) commentEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EAttribute getComment_Contents() {
- return (EAttribute)commentEClass.getEStructuralFeatures().get(1);
+ return (EAttribute) commentEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public DocumentationFactory getDocumentationFactory() {
- return (DocumentationFactory)getEFactoryInstance();
+ return (DocumentationFactory) getEFactoryInstance();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private boolean isCreated = false;
/**
- * Creates the meta-model objects for the package. This method is
+ * Creates the meta-model objects for the package. This method is
* guarded to have no affect on any invocation but its first.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public void createPackageContents() {
- if (isCreated) return;
+ if (isCreated) {
+ return;
+ }
isCreated = true;
// Create classes and their features
@@ -345,19 +373,23 @@ public class DocumentationPackageImpl extends EPackageImpl implements Documentat
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private boolean isInitialized = false;
/**
- * Complete the initialization of the package and its meta-model. This
+ * Complete the initialization of the package and its meta-model. This
* method is guarded to have no affect on any invocation but its first.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public void initializePackageContents() {
- if (isInitialized) return;
+ if (isInitialized) {
+ return;
+ }
isInitialized = true;
// Initialize package
@@ -366,7 +398,7 @@ public class DocumentationPackageImpl extends EPackageImpl implements Documentat
setNsURI(eNS_URI);
// Obtain other dependent packages
- EcorePackage theEcorePackage = (EcorePackage)EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI);
+ EcorePackage theEcorePackage = (EcorePackage) EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI);
// Create type parameters
@@ -382,9 +414,11 @@ public class DocumentationPackageImpl extends EPackageImpl implements Documentat
// Initialize classes and features; add operations and parameters
initEClass(documentationEClass, Documentation.class, "Documentation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getDocumentation_Description(), ecorePackage.getEString(), "description", null, 1, 1, Documentation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getDocumentation_ImplicitDependencies(), this.getDependency(), null, "implicitDependencies", null, 0, -1, Documentation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getDocumentation_ImplicitDependencies(), this.getDependency(), null, "implicitDependencies", null, 0, -1, Documentation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
initEReference(getDocumentation_Referent(), this.getPerson(), null, "referent", null, 0, -1, Documentation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getDocumentation_AdditionalComments(), this.getComment(), null, "additionalComments", null, 0, -1, Documentation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getDocumentation_AdditionalComments(), this.getComment(), null, "additionalComments", null, 0, -1, Documentation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
initEClass(dependencyEClass, Dependency.class, "Dependency", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getDependency_Plugin(), ecorePackage.getEString(), "plugin", null, 1, 1, Dependency.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
@@ -407,4 +441,4 @@ public class DocumentationPackageImpl extends EPackageImpl implements Documentat
createResource(eNS_URI);
}
-} //DocumentationPackageImpl
+} // DocumentationPackageImpl
diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/impl/FileDependencyImpl.java b/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/impl/FileDependencyImpl.java
index e1039320058..92790308fa0 100644
--- a/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/impl/FileDependencyImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/impl/FileDependencyImpl.java
@@ -22,7 +22,7 @@ import org.eclipse.papyrus.documentation.plugin.documentation.FileDependency;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.documentation.plugin.documentation.impl.FileDependencyImpl#getFile <em>File</em>}</li>
+ * <li>{@link org.eclipse.papyrus.documentation.plugin.documentation.impl.FileDependencyImpl#getFile <em>File</em>}</li>
* </ul>
* </p>
*
@@ -33,6 +33,7 @@ public class FileDependencyImpl extends DependencyImpl implements FileDependency
* The default value of the '{@link #getFile() <em>File</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getFile()
* @generated
* @ordered
@@ -43,6 +44,7 @@ public class FileDependencyImpl extends DependencyImpl implements FileDependency
* The cached value of the '{@link #getFile() <em>File</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getFile()
* @generated
* @ordered
@@ -52,6 +54,7 @@ public class FileDependencyImpl extends DependencyImpl implements FileDependency
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected FileDependencyImpl() {
@@ -61,6 +64,7 @@ public class FileDependencyImpl extends DependencyImpl implements FileDependency
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -71,6 +75,7 @@ public class FileDependencyImpl extends DependencyImpl implements FileDependency
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public String getFile() {
@@ -80,25 +85,28 @@ public class FileDependencyImpl extends DependencyImpl implements FileDependency
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public void setFile(String newFile) {
String oldFile = file;
file = newFile;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DocumentationPackage.FILE_DEPENDENCY__FILE, oldFile, file));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case DocumentationPackage.FILE_DEPENDENCY__FILE:
- return getFile();
+ case DocumentationPackage.FILE_DEPENDENCY__FILE:
+ return getFile();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -106,14 +114,15 @@ public class FileDependencyImpl extends DependencyImpl implements FileDependency
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case DocumentationPackage.FILE_DEPENDENCY__FILE:
- setFile((String)newValue);
- return;
+ case DocumentationPackage.FILE_DEPENDENCY__FILE:
+ setFile((String) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -121,14 +130,15 @@ public class FileDependencyImpl extends DependencyImpl implements FileDependency
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case DocumentationPackage.FILE_DEPENDENCY__FILE:
- setFile(FILE_EDEFAULT);
- return;
+ case DocumentationPackage.FILE_DEPENDENCY__FILE:
+ setFile(FILE_EDEFAULT);
+ return;
}
super.eUnset(featureID);
}
@@ -136,13 +146,14 @@ public class FileDependencyImpl extends DependencyImpl implements FileDependency
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case DocumentationPackage.FILE_DEPENDENCY__FILE:
- return FILE_EDEFAULT == null ? file != null : !FILE_EDEFAULT.equals(file);
+ case DocumentationPackage.FILE_DEPENDENCY__FILE:
+ return FILE_EDEFAULT == null ? file != null : !FILE_EDEFAULT.equals(file);
}
return super.eIsSet(featureID);
}
@@ -150,11 +161,14 @@ public class FileDependencyImpl extends DependencyImpl implements FileDependency
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public String toString() {
- if (eIsProxy()) return super.toString();
+ if (eIsProxy()) {
+ return super.toString();
+ }
StringBuffer result = new StringBuffer(super.toString());
result.append(" (file: ");
@@ -163,4 +177,4 @@ public class FileDependencyImpl extends DependencyImpl implements FileDependency
return result.toString();
}
-} //FileDependencyImpl
+} // FileDependencyImpl
diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/impl/PersonImpl.java b/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/impl/PersonImpl.java
index fb826266397..54c3a5c101e 100644
--- a/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/impl/PersonImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/impl/PersonImpl.java
@@ -23,10 +23,10 @@ import org.eclipse.papyrus.documentation.plugin.documentation.Person;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.documentation.plugin.documentation.impl.PersonImpl#getFirstName <em>First Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.documentation.plugin.documentation.impl.PersonImpl#getLastName <em>Last Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.documentation.plugin.documentation.impl.PersonImpl#getEMail <em>EMail</em>}</li>
- * <li>{@link org.eclipse.papyrus.documentation.plugin.documentation.impl.PersonImpl#getCurrentCompany <em>Current Company</em>}</li>
+ * <li>{@link org.eclipse.papyrus.documentation.plugin.documentation.impl.PersonImpl#getFirstName <em>First Name</em>}</li>
+ * <li>{@link org.eclipse.papyrus.documentation.plugin.documentation.impl.PersonImpl#getLastName <em>Last Name</em>}</li>
+ * <li>{@link org.eclipse.papyrus.documentation.plugin.documentation.impl.PersonImpl#getEMail <em>EMail</em>}</li>
+ * <li>{@link org.eclipse.papyrus.documentation.plugin.documentation.impl.PersonImpl#getCurrentCompany <em>Current Company</em>}</li>
* </ul>
* </p>
*
@@ -37,6 +37,7 @@ public class PersonImpl extends EModelElementImpl implements Person {
* The default value of the '{@link #getFirstName() <em>First Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getFirstName()
* @generated
* @ordered
@@ -47,6 +48,7 @@ public class PersonImpl extends EModelElementImpl implements Person {
* The cached value of the '{@link #getFirstName() <em>First Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getFirstName()
* @generated
* @ordered
@@ -57,6 +59,7 @@ public class PersonImpl extends EModelElementImpl implements Person {
* The default value of the '{@link #getLastName() <em>Last Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getLastName()
* @generated
* @ordered
@@ -67,6 +70,7 @@ public class PersonImpl extends EModelElementImpl implements Person {
* The cached value of the '{@link #getLastName() <em>Last Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getLastName()
* @generated
* @ordered
@@ -77,6 +81,7 @@ public class PersonImpl extends EModelElementImpl implements Person {
* The default value of the '{@link #getEMail() <em>EMail</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getEMail()
* @generated
* @ordered
@@ -87,6 +92,7 @@ public class PersonImpl extends EModelElementImpl implements Person {
* The cached value of the '{@link #getEMail() <em>EMail</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getEMail()
* @generated
* @ordered
@@ -97,6 +103,7 @@ public class PersonImpl extends EModelElementImpl implements Person {
* The default value of the '{@link #getCurrentCompany() <em>Current Company</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getCurrentCompany()
* @generated
* @ordered
@@ -107,6 +114,7 @@ public class PersonImpl extends EModelElementImpl implements Person {
* The cached value of the '{@link #getCurrentCompany() <em>Current Company</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getCurrentCompany()
* @generated
* @ordered
@@ -116,6 +124,7 @@ public class PersonImpl extends EModelElementImpl implements Person {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected PersonImpl() {
@@ -125,6 +134,7 @@ public class PersonImpl extends EModelElementImpl implements Person {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -135,6 +145,7 @@ public class PersonImpl extends EModelElementImpl implements Person {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public String getFirstName() {
@@ -144,18 +155,21 @@ public class PersonImpl extends EModelElementImpl implements Person {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public void setFirstName(String newFirstName) {
String oldFirstName = firstName;
firstName = newFirstName;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DocumentationPackage.PERSON__FIRST_NAME, oldFirstName, firstName));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public String getLastName() {
@@ -165,18 +179,21 @@ public class PersonImpl extends EModelElementImpl implements Person {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public void setLastName(String newLastName) {
String oldLastName = lastName;
lastName = newLastName;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DocumentationPackage.PERSON__LAST_NAME, oldLastName, lastName));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public String getEMail() {
@@ -186,18 +203,21 @@ public class PersonImpl extends EModelElementImpl implements Person {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public void setEMail(String newEMail) {
String oldEMail = eMail;
eMail = newEMail;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DocumentationPackage.PERSON__EMAIL, oldEMail, eMail));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public String getCurrentCompany() {
@@ -207,31 +227,34 @@ public class PersonImpl extends EModelElementImpl implements Person {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public void setCurrentCompany(String newCurrentCompany) {
String oldCurrentCompany = currentCompany;
currentCompany = newCurrentCompany;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DocumentationPackage.PERSON__CURRENT_COMPANY, oldCurrentCompany, currentCompany));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case DocumentationPackage.PERSON__FIRST_NAME:
- return getFirstName();
- case DocumentationPackage.PERSON__LAST_NAME:
- return getLastName();
- case DocumentationPackage.PERSON__EMAIL:
- return getEMail();
- case DocumentationPackage.PERSON__CURRENT_COMPANY:
- return getCurrentCompany();
+ case DocumentationPackage.PERSON__FIRST_NAME:
+ return getFirstName();
+ case DocumentationPackage.PERSON__LAST_NAME:
+ return getLastName();
+ case DocumentationPackage.PERSON__EMAIL:
+ return getEMail();
+ case DocumentationPackage.PERSON__CURRENT_COMPANY:
+ return getCurrentCompany();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -239,23 +262,24 @@ public class PersonImpl extends EModelElementImpl implements Person {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case DocumentationPackage.PERSON__FIRST_NAME:
- setFirstName((String)newValue);
- return;
- case DocumentationPackage.PERSON__LAST_NAME:
- setLastName((String)newValue);
- return;
- case DocumentationPackage.PERSON__EMAIL:
- setEMail((String)newValue);
- return;
- case DocumentationPackage.PERSON__CURRENT_COMPANY:
- setCurrentCompany((String)newValue);
- return;
+ case DocumentationPackage.PERSON__FIRST_NAME:
+ setFirstName((String) newValue);
+ return;
+ case DocumentationPackage.PERSON__LAST_NAME:
+ setLastName((String) newValue);
+ return;
+ case DocumentationPackage.PERSON__EMAIL:
+ setEMail((String) newValue);
+ return;
+ case DocumentationPackage.PERSON__CURRENT_COMPANY:
+ setCurrentCompany((String) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -263,23 +287,24 @@ public class PersonImpl extends EModelElementImpl implements Person {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case DocumentationPackage.PERSON__FIRST_NAME:
- setFirstName(FIRST_NAME_EDEFAULT);
- return;
- case DocumentationPackage.PERSON__LAST_NAME:
- setLastName(LAST_NAME_EDEFAULT);
- return;
- case DocumentationPackage.PERSON__EMAIL:
- setEMail(EMAIL_EDEFAULT);
- return;
- case DocumentationPackage.PERSON__CURRENT_COMPANY:
- setCurrentCompany(CURRENT_COMPANY_EDEFAULT);
- return;
+ case DocumentationPackage.PERSON__FIRST_NAME:
+ setFirstName(FIRST_NAME_EDEFAULT);
+ return;
+ case DocumentationPackage.PERSON__LAST_NAME:
+ setLastName(LAST_NAME_EDEFAULT);
+ return;
+ case DocumentationPackage.PERSON__EMAIL:
+ setEMail(EMAIL_EDEFAULT);
+ return;
+ case DocumentationPackage.PERSON__CURRENT_COMPANY:
+ setCurrentCompany(CURRENT_COMPANY_EDEFAULT);
+ return;
}
super.eUnset(featureID);
}
@@ -287,19 +312,20 @@ public class PersonImpl extends EModelElementImpl implements Person {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case DocumentationPackage.PERSON__FIRST_NAME:
- return FIRST_NAME_EDEFAULT == null ? firstName != null : !FIRST_NAME_EDEFAULT.equals(firstName);
- case DocumentationPackage.PERSON__LAST_NAME:
- return LAST_NAME_EDEFAULT == null ? lastName != null : !LAST_NAME_EDEFAULT.equals(lastName);
- case DocumentationPackage.PERSON__EMAIL:
- return EMAIL_EDEFAULT == null ? eMail != null : !EMAIL_EDEFAULT.equals(eMail);
- case DocumentationPackage.PERSON__CURRENT_COMPANY:
- return CURRENT_COMPANY_EDEFAULT == null ? currentCompany != null : !CURRENT_COMPANY_EDEFAULT.equals(currentCompany);
+ case DocumentationPackage.PERSON__FIRST_NAME:
+ return FIRST_NAME_EDEFAULT == null ? firstName != null : !FIRST_NAME_EDEFAULT.equals(firstName);
+ case DocumentationPackage.PERSON__LAST_NAME:
+ return LAST_NAME_EDEFAULT == null ? lastName != null : !LAST_NAME_EDEFAULT.equals(lastName);
+ case DocumentationPackage.PERSON__EMAIL:
+ return EMAIL_EDEFAULT == null ? eMail != null : !EMAIL_EDEFAULT.equals(eMail);
+ case DocumentationPackage.PERSON__CURRENT_COMPANY:
+ return CURRENT_COMPANY_EDEFAULT == null ? currentCompany != null : !CURRENT_COMPANY_EDEFAULT.equals(currentCompany);
}
return super.eIsSet(featureID);
}
@@ -307,11 +333,14 @@ public class PersonImpl extends EModelElementImpl implements Person {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public String toString() {
- if (eIsProxy()) return super.toString();
+ if (eIsProxy()) {
+ return super.toString();
+ }
StringBuffer result = new StringBuffer(super.toString());
result.append(" (firstName: ");
@@ -326,4 +355,4 @@ public class PersonImpl extends EModelElementImpl implements Person {
return result.toString();
}
-} //PersonImpl
+} // PersonImpl
diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/util/DocumentationAdapterFactory.java b/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/util/DocumentationAdapterFactory.java
index 93483b1721a..eeae62a8e17 100644
--- a/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/util/DocumentationAdapterFactory.java
+++ b/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/util/DocumentationAdapterFactory.java
@@ -21,6 +21,7 @@ import org.eclipse.papyrus.documentation.plugin.documentation.*;
* The <b>Adapter Factory</b> for the model.
* It provides an adapter <code>createXXX</code> method for each class of the model.
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.documentation.plugin.documentation.DocumentationPackage
* @generated
*/
@@ -29,6 +30,7 @@ public class DocumentationAdapterFactory extends AdapterFactoryImpl {
* The cached model package.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected static DocumentationPackage modelPackage;
@@ -37,6 +39,7 @@ public class DocumentationAdapterFactory extends AdapterFactoryImpl {
* Creates an instance of the adapter factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public DocumentationAdapterFactory() {
@@ -50,6 +53,7 @@ public class DocumentationAdapterFactory extends AdapterFactoryImpl {
* <!-- begin-user-doc -->
* This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
* <!-- end-user-doc -->
+ *
* @return whether this factory is applicable for the type of the object.
* @generated
*/
@@ -59,7 +63,7 @@ public class DocumentationAdapterFactory extends AdapterFactoryImpl {
return true;
}
if (object instanceof EObject) {
- return ((EObject)object).eClass().getEPackage() == modelPackage;
+ return ((EObject) object).eClass().getEPackage() == modelPackage;
}
return false;
}
@@ -68,51 +72,60 @@ public class DocumentationAdapterFactory extends AdapterFactoryImpl {
* The switch that delegates to the <code>createXXX</code> methods.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected DocumentationSwitch<Adapter> modelSwitch =
- new DocumentationSwitch<Adapter>() {
- @Override
- public Adapter caseDocumentation(Documentation object) {
- return createDocumentationAdapter();
- }
- @Override
- public Adapter caseDependency(Dependency object) {
- return createDependencyAdapter();
- }
- @Override
- public Adapter caseFileDependency(FileDependency object) {
- return createFileDependencyAdapter();
- }
- @Override
- public Adapter casePerson(Person object) {
- return createPersonAdapter();
- }
- @Override
- public Adapter caseComment(Comment object) {
- return createCommentAdapter();
- }
- @Override
- public Adapter caseEModelElement(EModelElement object) {
- return createEModelElementAdapter();
- }
- @Override
- public Adapter defaultCase(EObject object) {
- return createEObjectAdapter();
- }
- };
+ new DocumentationSwitch<Adapter>() {
+ @Override
+ public Adapter caseDocumentation(Documentation object) {
+ return createDocumentationAdapter();
+ }
+
+ @Override
+ public Adapter caseDependency(Dependency object) {
+ return createDependencyAdapter();
+ }
+
+ @Override
+ public Adapter caseFileDependency(FileDependency object) {
+ return createFileDependencyAdapter();
+ }
+
+ @Override
+ public Adapter casePerson(Person object) {
+ return createPersonAdapter();
+ }
+
+ @Override
+ public Adapter caseComment(Comment object) {
+ return createCommentAdapter();
+ }
+
+ @Override
+ public Adapter caseEModelElement(EModelElement object) {
+ return createEModelElementAdapter();
+ }
+
+ @Override
+ public Adapter defaultCase(EObject object) {
+ return createEObjectAdapter();
+ }
+ };
/**
* Creates an adapter for the <code>target</code>.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param target the object to adapt.
+ *
+ * @param target
+ * the object to adapt.
* @return the adapter for the <code>target</code>.
* @generated
*/
@Override
public Adapter createAdapter(Notifier target) {
- return modelSwitch.doSwitch((EObject)target);
+ return modelSwitch.doSwitch((EObject) target);
}
@@ -122,6 +135,7 @@ public class DocumentationAdapterFactory extends AdapterFactoryImpl {
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.documentation.plugin.documentation.Documentation
* @generated
@@ -136,6 +150,7 @@ public class DocumentationAdapterFactory extends AdapterFactoryImpl {
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.documentation.plugin.documentation.Dependency
* @generated
@@ -150,6 +165,7 @@ public class DocumentationAdapterFactory extends AdapterFactoryImpl {
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.documentation.plugin.documentation.FileDependency
* @generated
@@ -164,6 +180,7 @@ public class DocumentationAdapterFactory extends AdapterFactoryImpl {
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.documentation.plugin.documentation.Person
* @generated
@@ -178,6 +195,7 @@ public class DocumentationAdapterFactory extends AdapterFactoryImpl {
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.documentation.plugin.documentation.Comment
* @generated
@@ -192,6 +210,7 @@ public class DocumentationAdapterFactory extends AdapterFactoryImpl {
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
+ *
* @return the new adapter.
* @see org.eclipse.emf.ecore.EModelElement
* @generated
@@ -205,6 +224,7 @@ public class DocumentationAdapterFactory extends AdapterFactoryImpl {
* <!-- begin-user-doc -->
* This default implementation returns null.
* <!-- end-user-doc -->
+ *
* @return the new adapter.
* @generated
*/
@@ -212,4 +232,4 @@ public class DocumentationAdapterFactory extends AdapterFactoryImpl {
return null;
}
-} //DocumentationAdapterFactory
+} // DocumentationAdapterFactory
diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/util/DocumentationSwitch.java b/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/util/DocumentationSwitch.java
index 35007763cbe..74954ebc1ad 100644
--- a/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/util/DocumentationSwitch.java
+++ b/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/util/DocumentationSwitch.java
@@ -17,13 +17,13 @@ import org.eclipse.papyrus.documentation.plugin.documentation.*;
/**
* <!-- begin-user-doc -->
* The <b>Switch</b> for the model's inheritance hierarchy.
- * It supports the call {@link #doSwitch(EObject) doSwitch(object)}
- * to invoke the <code>caseXXX</code> method for each class of the model,
+ * It supports the call {@link #doSwitch(EObject) doSwitch(object)} to invoke the <code>caseXXX</code> method for each class of the model,
* starting with the actual class of the object
* and proceeding up the inheritance hierarchy
* until a non-null result is returned,
* which is the result of the switch.
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.documentation.plugin.documentation.DocumentationPackage
* @generated
*/
@@ -32,6 +32,7 @@ public class DocumentationSwitch<T> extends Switch<T> {
* The cached model package
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected static DocumentationPackage modelPackage;
@@ -40,6 +41,7 @@ public class DocumentationSwitch<T> extends Switch<T> {
* Creates an instance of the switch.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public DocumentationSwitch() {
@@ -52,6 +54,7 @@ public class DocumentationSwitch<T> extends Switch<T> {
* Checks whether this is a switch for the given package.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @parameter ePackage the package in question.
* @return whether this is a switch for the given package.
* @generated
@@ -65,49 +68,73 @@ public class DocumentationSwitch<T> extends Switch<T> {
* Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the first non-null result returned by a <code>caseXXX</code> call.
* @generated
*/
@Override
protected T doSwitch(int classifierID, EObject theEObject) {
switch (classifierID) {
- case DocumentationPackage.DOCUMENTATION: {
- Documentation documentation = (Documentation)theEObject;
- T result = caseDocumentation(documentation);
- if (result == null) result = caseEModelElement(documentation);
- if (result == null) result = defaultCase(theEObject);
- return result;
+ case DocumentationPackage.DOCUMENTATION: {
+ Documentation documentation = (Documentation) theEObject;
+ T result = caseDocumentation(documentation);
+ if (result == null) {
+ result = caseEModelElement(documentation);
}
- case DocumentationPackage.DEPENDENCY: {
- Dependency dependency = (Dependency)theEObject;
- T result = caseDependency(dependency);
- if (result == null) result = caseEModelElement(dependency);
- if (result == null) result = defaultCase(theEObject);
- return result;
+ if (result == null) {
+ result = defaultCase(theEObject);
}
- case DocumentationPackage.FILE_DEPENDENCY: {
- FileDependency fileDependency = (FileDependency)theEObject;
- T result = caseFileDependency(fileDependency);
- if (result == null) result = caseDependency(fileDependency);
- if (result == null) result = caseEModelElement(fileDependency);
- if (result == null) result = defaultCase(theEObject);
- return result;
+ return result;
+ }
+ case DocumentationPackage.DEPENDENCY: {
+ Dependency dependency = (Dependency) theEObject;
+ T result = caseDependency(dependency);
+ if (result == null) {
+ result = caseEModelElement(dependency);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case DocumentationPackage.FILE_DEPENDENCY: {
+ FileDependency fileDependency = (FileDependency) theEObject;
+ T result = caseFileDependency(fileDependency);
+ if (result == null) {
+ result = caseDependency(fileDependency);
+ }
+ if (result == null) {
+ result = caseEModelElement(fileDependency);
}
- case DocumentationPackage.PERSON: {
- Person person = (Person)theEObject;
- T result = casePerson(person);
- if (result == null) result = caseEModelElement(person);
- if (result == null) result = defaultCase(theEObject);
- return result;
+ if (result == null) {
+ result = defaultCase(theEObject);
}
- case DocumentationPackage.COMMENT: {
- Comment comment = (Comment)theEObject;
- T result = caseComment(comment);
- if (result == null) result = caseEModelElement(comment);
- if (result == null) result = defaultCase(theEObject);
- return result;
+ return result;
+ }
+ case DocumentationPackage.PERSON: {
+ Person person = (Person) theEObject;
+ T result = casePerson(person);
+ if (result == null) {
+ result = caseEModelElement(person);
}
- default: return defaultCase(theEObject);
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case DocumentationPackage.COMMENT: {
+ Comment comment = (Comment) theEObject;
+ T result = caseComment(comment);
+ if (result == null) {
+ result = caseEModelElement(comment);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ default:
+ return defaultCase(theEObject);
}
}
@@ -117,7 +144,9 @@ public class DocumentationSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Documentation</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -132,7 +161,9 @@ public class DocumentationSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Dependency</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -147,7 +178,9 @@ public class DocumentationSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>File Dependency</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -162,7 +195,9 @@ public class DocumentationSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Person</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -177,7 +212,9 @@ public class DocumentationSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Comment</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -192,7 +229,9 @@ public class DocumentationSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>EModel Element</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -207,7 +246,9 @@ public class DocumentationSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch, but this is the last case anyway.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>EObject</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject)
* @generated
@@ -217,4 +258,4 @@ public class DocumentationSwitch<T> extends Switch<T> {
return null;
}
-} //DocumentationSwitch
+} // DocumentationSwitch
diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin/src/org/eclipse/papyrus/documentation/plugin/Activator.java b/plugins/developer/org.eclipse.papyrus.documentation.plugin/src/org/eclipse/papyrus/documentation/plugin/Activator.java
index a25882fc286..f255f567c54 100644
--- a/plugins/developer/org.eclipse.papyrus.documentation.plugin/src/org/eclipse/papyrus/documentation/plugin/Activator.java
+++ b/plugins/developer/org.eclipse.papyrus.documentation.plugin/src/org/eclipse/papyrus/documentation/plugin/Activator.java
@@ -13,7 +13,7 @@ public class Activator extends AbstractUIPlugin {
// The shared instance
private static Activator plugin;
-
+
/**
* The constructor
*/
@@ -22,8 +22,10 @@ public class Activator extends AbstractUIPlugin {
/*
* (non-Javadoc)
+ *
* @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
*/
+ @Override
public void start(BundleContext context) throws Exception {
super.start(context);
plugin = this;
@@ -31,8 +33,10 @@ public class Activator extends AbstractUIPlugin {
/*
* (non-Javadoc)
+ *
* @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
*/
+ @Override
public void stop(BundleContext context) throws Exception {
plugin = null;
super.stop(context);
diff --git a/plugins/developer/org.eclipse.papyrus.domaincodegen.ui/src/org/eclipse/papyrus/domaincodegen/ui/Activator.java b/plugins/developer/org.eclipse.papyrus.domaincodegen.ui/src/org/eclipse/papyrus/domaincodegen/ui/Activator.java
index be8efb9bf61..de717b6b8cf 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincodegen.ui/src/org/eclipse/papyrus/domaincodegen/ui/Activator.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincodegen.ui/src/org/eclipse/papyrus/domaincodegen/ui/Activator.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Obeo - initial API and implementation
*******************************************************************************/
@@ -36,10 +36,11 @@ public class Activator extends AbstractUIPlugin {
/**
* {@inheritDoc}
- *
+ *
* @see org.eclipse.core.runtime.Plugin#start(org.osgi.framework.BundleContext)
* @generated
*/
+ @Override
public void start(BundleContext context) throws Exception {
super.start(context);
plugin = this;
@@ -47,10 +48,11 @@ public class Activator extends AbstractUIPlugin {
/**
* {@inheritDoc}
- *
+ *
* @see org.eclipse.core.runtime.Plugin#stop(org.osgi.framework.BundleContext)
* @generated
*/
+ @Override
public void stop(BundleContext context) throws Exception {
plugin = null;
super.stop(context);
@@ -58,7 +60,7 @@ public class Activator extends AbstractUIPlugin {
/**
* Returns the shared instance.
- *
+ *
* @return the shared instance
*/
public static Activator getDefault() {
diff --git a/plugins/developer/org.eclipse.papyrus.domaincodegen.ui/src/org/eclipse/papyrus/domaincodegen/ui/common/GenerateHandlers.java b/plugins/developer/org.eclipse.papyrus.domaincodegen.ui/src/org/eclipse/papyrus/domaincodegen/ui/common/GenerateHandlers.java
index 1237b6359e4..b930f4d0358 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincodegen.ui/src/org/eclipse/papyrus/domaincodegen/ui/common/GenerateHandlers.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincodegen.ui/src/org/eclipse/papyrus/domaincodegen/ui/common/GenerateHandlers.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Obeo - initial API and implementation
*******************************************************************************/
@@ -41,15 +41,15 @@ public class GenerateHandlers {
/**
* Constructor.
- *
+ *
* @param modelURI
- * is the URI of the model.
+ * is the URI of the model.
* @param targetFolder
- * is the output folder
+ * is the output folder
* @param arguments
- * are the other arguments
+ * are the other arguments
* @throws IOException
- * Thrown when the output cannot be saved.
+ * Thrown when the output cannot be saved.
* @generated
*/
public GenerateHandlers(URI modelURI, File targetFolder, List<? extends Object> arguments) {
@@ -60,15 +60,15 @@ public class GenerateHandlers {
/**
* Launches the generation.
- *
+ *
* @param monitor
- * This will be used to display progress information to the user.
+ * This will be used to display progress information to the user.
* @throws IOException
- * Thrown when the output cannot be saved.
+ * Thrown when the output cannot be saved.
* @generated
*/
public void doGenerate(IProgressMonitor monitor) throws IOException {
- if(!targetFolder.exists()) {
+ if (!targetFolder.exists()) {
targetFolder.mkdirs();
}
diff --git a/plugins/developer/org.eclipse.papyrus.domaincodegen.ui/src/org/eclipse/papyrus/domaincodegen/ui/common/GenerateTypes.java b/plugins/developer/org.eclipse.papyrus.domaincodegen.ui/src/org/eclipse/papyrus/domaincodegen/ui/common/GenerateTypes.java
index 204935aeeb1..ca630d09d2f 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincodegen.ui/src/org/eclipse/papyrus/domaincodegen/ui/common/GenerateTypes.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincodegen.ui/src/org/eclipse/papyrus/domaincodegen/ui/common/GenerateTypes.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Obeo - initial API and implementation
*******************************************************************************/
@@ -41,15 +41,15 @@ public class GenerateTypes {
/**
* Constructor.
- *
+ *
* @param modelURI
- * is the URI of the model.
+ * is the URI of the model.
* @param targetFolder
- * is the output folder
+ * is the output folder
* @param arguments
- * are the other arguments
+ * are the other arguments
* @throws IOException
- * Thrown when the output cannot be saved.
+ * Thrown when the output cannot be saved.
* @generated
*/
public GenerateTypes(URI modelURI, File targetFolder, List<? extends Object> arguments) {
@@ -60,15 +60,15 @@ public class GenerateTypes {
/**
* Launches the generation.
- *
+ *
* @param monitor
- * This will be used to display progress information to the user.
+ * This will be used to display progress information to the user.
* @throws IOException
- * Thrown when the output cannot be saved.
+ * Thrown when the output cannot be saved.
* @generated
*/
public void doGenerate(IProgressMonitor monitor) throws IOException {
- if(!targetFolder.exists()) {
+ if (!targetFolder.exists()) {
targetFolder.mkdirs();
}
diff --git a/plugins/developer/org.eclipse.papyrus.domaincodegen.ui/src/org/eclipse/papyrus/domaincodegen/ui/popupMenus/AcceleoGenerateCreationHandlersAction.java b/plugins/developer/org.eclipse.papyrus.domaincodegen.ui/src/org/eclipse/papyrus/domaincodegen/ui/popupMenus/AcceleoGenerateCreationHandlersAction.java
index 9d9af6d423f..da641031e39 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincodegen.ui/src/org/eclipse/papyrus/domaincodegen/ui/popupMenus/AcceleoGenerateCreationHandlersAction.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincodegen.ui/src/org/eclipse/papyrus/domaincodegen/ui/popupMenus/AcceleoGenerateCreationHandlersAction.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Obeo - initial API and implementation
*******************************************************************************/
@@ -46,35 +46,37 @@ public class AcceleoGenerateCreationHandlersAction extends ActionDelegate implem
/**
* {@inheritDoc}
- *
+ *
* @see org.eclipse.ui.actions.ActionDelegate#selectionChanged(org.eclipse.jface.action.IAction, org.eclipse.jface.viewers.ISelection)
* @generated
*/
+ @Override
@SuppressWarnings("unchecked")
public void selectionChanged(IAction action, ISelection selection) {
- if(selection instanceof IStructuredSelection) {
- files = ((IStructuredSelection)selection).toList();
+ if (selection instanceof IStructuredSelection) {
+ files = ((IStructuredSelection) selection).toList();
}
}
/**
* {@inheritDoc}
- *
+ *
* @see org.eclipse.ui.actions.ActionDelegate#run(org.eclipse.jface.action.IAction)
* @generated
*/
+ @Override
public void run(IAction action) {
- if(files != null) {
+ if (files != null) {
IRunnableWithProgress operation = new IRunnableWithProgress() {
public void run(IProgressMonitor monitor) {
try {
Iterator<IFile> filesIt = files.iterator();
- while(filesIt.hasNext()) {
- IFile model = (IFile)filesIt.next();
+ while (filesIt.hasNext()) {
+ IFile model = filesIt.next();
URI modelURI = URI.createPlatformResourceURI(model.getFullPath().toString(), true);
try {
- //IContainer target = model.getProject().getFolder("src-gen");
+ // IContainer target = model.getProject().getFolder("src-gen");
IContainer target = model.getProject().getParent(); // target = Workspace location
GenerateHandlers generator = new GenerateHandlers(modelURI, target.getLocation().toFile(), getArguments());
generator.doGenerate(monitor);
@@ -105,7 +107,7 @@ public class AcceleoGenerateCreationHandlersAction extends ActionDelegate implem
/**
* Computes the arguments of the generator.
- *
+ *
* @return the arguments
* @generated
*/
diff --git a/plugins/developer/org.eclipse.papyrus.domaincodegen.ui/src/org/eclipse/papyrus/domaincodegen/ui/popupMenus/AcceleoGenerateElementTypeAction.java b/plugins/developer/org.eclipse.papyrus.domaincodegen.ui/src/org/eclipse/papyrus/domaincodegen/ui/popupMenus/AcceleoGenerateElementTypeAction.java
index 1f2b206b368..10f3d258694 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincodegen.ui/src/org/eclipse/papyrus/domaincodegen/ui/popupMenus/AcceleoGenerateElementTypeAction.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincodegen.ui/src/org/eclipse/papyrus/domaincodegen/ui/popupMenus/AcceleoGenerateElementTypeAction.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Obeo - initial API and implementation
*******************************************************************************/
@@ -46,36 +46,38 @@ public class AcceleoGenerateElementTypeAction extends ActionDelegate implements
/**
* {@inheritDoc}
- *
+ *
* @see org.eclipse.ui.actions.ActionDelegate#selectionChanged(org.eclipse.jface.action.IAction, org.eclipse.jface.viewers.ISelection)
* @generated
*/
+ @Override
@SuppressWarnings("unchecked")
public void selectionChanged(IAction action, ISelection selection) {
- if(selection instanceof IStructuredSelection) {
- files = ((IStructuredSelection)selection).toList();
+ if (selection instanceof IStructuredSelection) {
+ files = ((IStructuredSelection) selection).toList();
}
}
/**
* {@inheritDoc}
- *
+ *
* @see org.eclipse.ui.actions.ActionDelegate#run(org.eclipse.jface.action.IAction)
* @generated
*/
+ @Override
public void run(IAction action) {
- if(files != null) {
+ if (files != null) {
IRunnableWithProgress operation = new IRunnableWithProgress() {
public void run(IProgressMonitor monitor) {
try {
Iterator<IFile> filesIt = files.iterator();
- while(filesIt.hasNext()) {
- IFile model = (IFile)filesIt.next();
+ while (filesIt.hasNext()) {
+ IFile model = filesIt.next();
URI modelURI = URI.createPlatformResourceURI(model.getFullPath().toString(), true);
try {
- //IContainer target = model.getProject().getFolder("src-gen");
+ // IContainer target = model.getProject().getFolder("src-gen");
IContainer target = model.getProject().getParent(); // target = Workspace location
GenerateTypes generator = new GenerateTypes(modelURI, target.getLocation().toFile(), getArguments());
generator.doGenerate(monitor);
@@ -106,7 +108,7 @@ public class AcceleoGenerateElementTypeAction extends ActionDelegate implements
/**
* Computes the arguments of the generator.
- *
+ *
* @return the arguments
* @generated
*/
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/AdviceBindingItemProvider.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/AdviceBindingItemProvider.java
index 83f9e704010..e6ecb86993e 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/AdviceBindingItemProvider.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/AdviceBindingItemProvider.java
@@ -25,7 +25,7 @@ import org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage;
* This is the item provider adapter for a {@link org.eclipse.papyrus.domaincontextcodegen.AdviceBinding} object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public class AdviceBindingItemProvider extends BindingItemProvider implements IEditingDomainItemProvider, IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource {
@@ -34,7 +34,7 @@ public class AdviceBindingItemProvider extends BindingItemProvider implements IE
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public AdviceBindingItemProvider(AdapterFactory adapterFactory) {
@@ -45,12 +45,12 @@ public class AdviceBindingItemProvider extends BindingItemProvider implements IE
* This returns the property descriptors for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
- if(itemPropertyDescriptors == null) {
+ if (itemPropertyDescriptors == null) {
super.getPropertyDescriptors(object);
addRefPropertyDescriptor(object);
@@ -62,18 +62,19 @@ public class AdviceBindingItemProvider extends BindingItemProvider implements IE
* This adds a property descriptor for the Ref feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected void addRefPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_AdviceBinding_ref_feature"), getString("_UI_PropertyDescriptor_description", "_UI_AdviceBinding_ref_feature", "_UI_AdviceBinding_type"), DomaincontextcodegenPackage.Literals.ADVICE_BINDING__REF, true, false, true, null, null, null));
+ itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_AdviceBinding_ref_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_AdviceBinding_ref_feature", "_UI_AdviceBinding_type"), DomaincontextcodegenPackage.Literals.ADVICE_BINDING__REF, true, false, true, null, null, null));
}
/**
* This returns AdviceBinding.gif.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -85,16 +86,16 @@ public class AdviceBindingItemProvider extends BindingItemProvider implements IE
* This returns the label text for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated NOT
*/
@Override
public String getText(Object object) {
- AdviceBinding binding = (AdviceBinding)object;
+ AdviceBinding binding = (AdviceBinding) object;
String label = "pattern : " + binding.getPattern();
- if((binding.getRef() != null) && (binding.getRef().getAdviceID() != null)) {
+ if ((binding.getRef() != null) && (binding.getRef().getAdviceID() != null)) {
label = "ref. : " + binding.getRef().getAdviceID();
}
@@ -106,7 +107,7 @@ public class AdviceBindingItemProvider extends BindingItemProvider implements IE
* children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -120,7 +121,7 @@ public class AdviceBindingItemProvider extends BindingItemProvider implements IE
* that can be created under this object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/AdviceItemProvider.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/AdviceItemProvider.java
index 1f9a11e313c..ea1782e4437 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/AdviceItemProvider.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/AdviceItemProvider.java
@@ -29,7 +29,7 @@ import org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage;
* This is the item provider adapter for a {@link org.eclipse.papyrus.domaincontextcodegen.Advice} object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public class AdviceItemProvider extends ItemProviderAdapter implements IEditingDomainItemProvider, IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource {
@@ -38,7 +38,7 @@ public class AdviceItemProvider extends ItemProviderAdapter implements IEditingD
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public AdviceItemProvider(AdapterFactory adapterFactory) {
@@ -49,12 +49,12 @@ public class AdviceItemProvider extends ItemProviderAdapter implements IEditingD
* This returns the property descriptors for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
- if(itemPropertyDescriptors == null) {
+ if (itemPropertyDescriptors == null) {
super.getPropertyDescriptors(object);
addAdviceIDPropertyDescriptor(object);
@@ -69,51 +69,55 @@ public class AdviceItemProvider extends ItemProviderAdapter implements IEditingD
* This adds a property descriptor for the Advice ID feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected void addAdviceIDPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_Advice_adviceID_feature"), getString("_UI_PropertyDescriptor_description", "_UI_Advice_adviceID_feature", "_UI_Advice_type"), DomaincontextcodegenPackage.Literals.ADVICE__ADVICE_ID, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
+ itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_Advice_adviceID_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_Advice_adviceID_feature", "_UI_Advice_type"), DomaincontextcodegenPackage.Literals.ADVICE__ADVICE_ID, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
}
/**
* This adds a property descriptor for the Ref feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected void addRefPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_Advice_ref_feature"), getString("_UI_PropertyDescriptor_description", "_UI_Advice_ref_feature", "_UI_Advice_type"), DomaincontextcodegenPackage.Literals.ADVICE__REF, true, false, true, null, null, null));
+ itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_Advice_ref_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_Advice_ref_feature", "_UI_Advice_type"), DomaincontextcodegenPackage.Literals.ADVICE__REF, true, false, true, null, null, null));
}
/**
* This adds a property descriptor for the Advice Path feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected void addAdvicePathPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_Advice_advicePath_feature"), getString("_UI_PropertyDescriptor_description", "_UI_Advice_advicePath_feature", "_UI_Advice_type"), DomaincontextcodegenPackage.Literals.ADVICE__ADVICE_PATH, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
+ itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_Advice_advicePath_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_Advice_advicePath_feature", "_UI_Advice_type"), DomaincontextcodegenPackage.Literals.ADVICE__ADVICE_PATH, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
}
/**
* This adds a property descriptor for the Inheritance feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected void addInheritancePropertyDescriptor(Object object) {
- itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_Advice_inheritance_feature"), getString("_UI_PropertyDescriptor_description", "_UI_Advice_inheritance_feature", "_UI_Advice_type"), DomaincontextcodegenPackage.Literals.ADVICE__INHERITANCE, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
+ itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_Advice_inheritance_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_Advice_inheritance_feature", "_UI_Advice_type"), DomaincontextcodegenPackage.Literals.ADVICE__INHERITANCE, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
}
/**
* This returns Advice.gif.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -125,12 +129,12 @@ public class AdviceItemProvider extends ItemProviderAdapter implements IEditingD
* This returns the label text for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public String getText(Object object) {
- String label = ((Advice)object).getAdviceID();
+ String label = ((Advice) object).getAdviceID();
return label == null || label.length() == 0 ? getString("_UI_Advice_type") : getString("_UI_Advice_type") + " " + label;
}
@@ -139,14 +143,14 @@ public class AdviceItemProvider extends ItemProviderAdapter implements IEditingD
* children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void notifyChanged(Notification notification) {
updateChildren(notification);
- switch(notification.getFeatureID(Advice.class)) {
+ switch (notification.getFeatureID(Advice.class)) {
case DomaincontextcodegenPackage.ADVICE__ADVICE_ID:
case DomaincontextcodegenPackage.ADVICE__ADVICE_PATH:
case DomaincontextcodegenPackage.ADVICE__INHERITANCE:
@@ -161,7 +165,7 @@ public class AdviceItemProvider extends ItemProviderAdapter implements IEditingD
* that can be created under this object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -173,7 +177,7 @@ public class AdviceItemProvider extends ItemProviderAdapter implements IEditingD
* Return the resource locator for this item provider's resources.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/BindingItemProvider.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/BindingItemProvider.java
index fde7b914462..d68449e7616 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/BindingItemProvider.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/BindingItemProvider.java
@@ -29,7 +29,7 @@ import org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage;
* This is the item provider adapter for a {@link org.eclipse.papyrus.domaincontextcodegen.Binding} object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public class BindingItemProvider extends ItemProviderAdapter implements IEditingDomainItemProvider, IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource {
@@ -38,7 +38,7 @@ public class BindingItemProvider extends ItemProviderAdapter implements IEditing
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public BindingItemProvider(AdapterFactory adapterFactory) {
@@ -49,12 +49,12 @@ public class BindingItemProvider extends ItemProviderAdapter implements IEditing
* This returns the property descriptors for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
- if(itemPropertyDescriptors == null) {
+ if (itemPropertyDescriptors == null) {
super.getPropertyDescriptors(object);
addPatternPropertyDescriptor(object);
@@ -66,23 +66,24 @@ public class BindingItemProvider extends ItemProviderAdapter implements IEditing
* This adds a property descriptor for the Pattern feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected void addPatternPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_Binding_pattern_feature"), getString("_UI_PropertyDescriptor_description", "_UI_Binding_pattern_feature", "_UI_Binding_type"), DomaincontextcodegenPackage.Literals.BINDING__PATTERN, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
+ itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_Binding_pattern_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_Binding_pattern_feature", "_UI_Binding_type"), DomaincontextcodegenPackage.Literals.BINDING__PATTERN, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
}
/**
* This returns the label text for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public String getText(Object object) {
- String label = ((Binding)object).getPattern();
+ String label = ((Binding) object).getPattern();
return label == null || label.length() == 0 ? getString("_UI_Binding_type") : getString("_UI_Binding_type") + " " + label;
}
@@ -91,14 +92,14 @@ public class BindingItemProvider extends ItemProviderAdapter implements IEditing
* children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void notifyChanged(Notification notification) {
updateChildren(notification);
- switch(notification.getFeatureID(Binding.class)) {
+ switch (notification.getFeatureID(Binding.class)) {
case DomaincontextcodegenPackage.BINDING__PATTERN:
fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
return;
@@ -111,7 +112,7 @@ public class BindingItemProvider extends ItemProviderAdapter implements IEditing
* that can be created under this object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -123,7 +124,7 @@ public class BindingItemProvider extends ItemProviderAdapter implements IEditing
* Return the resource locator for this item provider's resources.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/CommandDeclarationItemProvider.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/CommandDeclarationItemProvider.java
index 4a9939447f2..cf16087ad2f 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/CommandDeclarationItemProvider.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/CommandDeclarationItemProvider.java
@@ -29,7 +29,7 @@ import org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage;
* This is the item provider adapter for a {@link org.eclipse.papyrus.domaincontextcodegen.CommandDeclaration} object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public class CommandDeclarationItemProvider extends ItemProviderAdapter implements IEditingDomainItemProvider, IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource {
@@ -38,7 +38,7 @@ public class CommandDeclarationItemProvider extends ItemProviderAdapter implemen
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public CommandDeclarationItemProvider(AdapterFactory adapterFactory) {
@@ -49,12 +49,12 @@ public class CommandDeclarationItemProvider extends ItemProviderAdapter implemen
* This returns the property descriptors for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
- if(itemPropertyDescriptors == null) {
+ if (itemPropertyDescriptors == null) {
super.getPropertyDescriptors(object);
}
@@ -62,17 +62,16 @@ public class CommandDeclarationItemProvider extends ItemProviderAdapter implemen
}
/**
- * 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
+ * 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}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Collection<? extends EStructuralFeature> getChildrenFeatures(Object object) {
- if(childrenFeatures == null) {
+ if (childrenFeatures == null) {
super.getChildrenFeatures(object);
childrenFeatures.add(DomaincontextcodegenPackage.Literals.COMMAND_DECLARATION__COMMANDS);
}
@@ -82,7 +81,7 @@ public class CommandDeclarationItemProvider extends ItemProviderAdapter implemen
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -97,7 +96,7 @@ public class CommandDeclarationItemProvider extends ItemProviderAdapter implemen
* This returns CommandDeclaration.gif.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -109,7 +108,7 @@ public class CommandDeclarationItemProvider extends ItemProviderAdapter implemen
* This returns the label text for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -122,14 +121,14 @@ public class CommandDeclarationItemProvider extends ItemProviderAdapter implemen
* children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void notifyChanged(Notification notification) {
updateChildren(notification);
- switch(notification.getFeatureID(CommandDeclaration.class)) {
+ switch (notification.getFeatureID(CommandDeclaration.class)) {
case DomaincontextcodegenPackage.COMMAND_DECLARATION__COMMANDS:
fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
return;
@@ -142,7 +141,7 @@ public class CommandDeclarationItemProvider extends ItemProviderAdapter implemen
* that can be created under this object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -156,7 +155,7 @@ public class CommandDeclarationItemProvider extends ItemProviderAdapter implemen
* Return the resource locator for this item provider's resources.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/CommandItemProvider.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/CommandItemProvider.java
index f4bee249bfe..60ba2a12bb7 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/CommandItemProvider.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/CommandItemProvider.java
@@ -29,7 +29,7 @@ import org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage;
* This is the item provider adapter for a {@link org.eclipse.papyrus.domaincontextcodegen.Command} object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public class CommandItemProvider extends ItemProviderAdapter implements IEditingDomainItemProvider, IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource {
@@ -38,7 +38,7 @@ public class CommandItemProvider extends ItemProviderAdapter implements IEditing
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public CommandItemProvider(AdapterFactory adapterFactory) {
@@ -49,12 +49,12 @@ public class CommandItemProvider extends ItemProviderAdapter implements IEditing
* This returns the property descriptors for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
- if(itemPropertyDescriptors == null) {
+ if (itemPropertyDescriptors == null) {
super.getPropertyDescriptors(object);
addElementTypePropertyDescriptor(object);
@@ -67,29 +67,31 @@ public class CommandItemProvider extends ItemProviderAdapter implements IEditing
* This adds a property descriptor for the Element Type feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected void addElementTypePropertyDescriptor(Object object) {
- itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_Command_elementType_feature"), getString("_UI_PropertyDescriptor_description", "_UI_Command_elementType_feature", "_UI_Command_type"), DomaincontextcodegenPackage.Literals.COMMAND__ELEMENT_TYPE, true, false, true, null, null, null));
+ itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_Command_elementType_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_Command_elementType_feature", "_UI_Command_type"), DomaincontextcodegenPackage.Literals.COMMAND__ELEMENT_TYPE, true, false, true, null, null, null));
}
/**
* This adds a property descriptor for the Icon feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected void addIconPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_Command_icon_feature"), getString("_UI_PropertyDescriptor_description", "_UI_Command_icon_feature", "_UI_Command_type"), DomaincontextcodegenPackage.Literals.COMMAND__ICON, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
+ itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_Command_icon_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_Command_icon_feature", "_UI_Command_type"), DomaincontextcodegenPackage.Literals.COMMAND__ICON, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
}
/**
* This returns Command.gif.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -101,12 +103,12 @@ public class CommandItemProvider extends ItemProviderAdapter implements IEditing
* This returns the label text for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public String getText(Object object) {
- String label = ((Command)object).getIcon();
+ String label = ((Command) object).getIcon();
return label == null || label.length() == 0 ? getString("_UI_Command_type") : getString("_UI_Command_type") + " " + label;
}
@@ -115,14 +117,14 @@ public class CommandItemProvider extends ItemProviderAdapter implements IEditing
* children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void notifyChanged(Notification notification) {
updateChildren(notification);
- switch(notification.getFeatureID(Command.class)) {
+ switch (notification.getFeatureID(Command.class)) {
case DomaincontextcodegenPackage.COMMAND__ICON:
fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
return;
@@ -135,7 +137,7 @@ public class CommandItemProvider extends ItemProviderAdapter implements IEditing
* that can be created under this object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -147,7 +149,7 @@ public class CommandItemProvider extends ItemProviderAdapter implements IEditing
* Return the resource locator for this item provider's resources.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/DomainContextEditPlugin.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/DomainContextEditPlugin.java
index e99f8ef4730..b0af1d98fd8 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/DomainContextEditPlugin.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/DomainContextEditPlugin.java
@@ -14,7 +14,7 @@ import org.eclipse.emf.ecore.provider.EcoreEditPlugin;
* This is the central singleton for the DomainContext edit plugin.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public final class DomainContextEditPlugin extends EMFPlugin {
@@ -23,7 +23,7 @@ public final class DomainContextEditPlugin extends EMFPlugin {
* Keep track of the singleton.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public static final DomainContextEditPlugin INSTANCE = new DomainContextEditPlugin();
@@ -32,7 +32,7 @@ public final class DomainContextEditPlugin extends EMFPlugin {
* Keep track of the singleton.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
private static Implementation plugin;
@@ -41,18 +41,18 @@ public final class DomainContextEditPlugin extends EMFPlugin {
* Create the instance.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public DomainContextEditPlugin() {
- super(new ResourceLocator[]{ EcoreEditPlugin.INSTANCE, });
+ super(new ResourceLocator[] { EcoreEditPlugin.INSTANCE, });
}
/**
* Returns the singleton instance of the Eclipse plugin.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the singleton instance.
* @generated
*/
@@ -65,7 +65,7 @@ public final class DomainContextEditPlugin extends EMFPlugin {
* Returns the singleton instance of the Eclipse plugin.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the singleton instance.
* @generated
*/
@@ -77,7 +77,7 @@ public final class DomainContextEditPlugin extends EMFPlugin {
* The actual implementation of the Eclipse <b>Plugin</b>.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public static class Implementation extends EclipsePlugin {
@@ -86,7 +86,7 @@ public final class DomainContextEditPlugin extends EMFPlugin {
* Creates an instance.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public Implementation() {
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/DomainContextItemProvider.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/DomainContextItemProvider.java
index bc391f9e415..e20a2e184d3 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/DomainContextItemProvider.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/DomainContextItemProvider.java
@@ -31,7 +31,7 @@ import org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage;
* This is the item provider adapter for a {@link org.eclipse.papyrus.domaincontextcodegen.DomainContext} object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public class DomainContextItemProvider extends ItemProviderAdapter implements IEditingDomainItemProvider, IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource {
@@ -40,7 +40,7 @@ public class DomainContextItemProvider extends ItemProviderAdapter implements IE
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public DomainContextItemProvider(AdapterFactory adapterFactory) {
@@ -51,12 +51,12 @@ public class DomainContextItemProvider extends ItemProviderAdapter implements IE
* This returns the property descriptors for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
- if(itemPropertyDescriptors == null) {
+ if (itemPropertyDescriptors == null) {
super.getPropertyDescriptors(object);
addTypeProjectNamePropertyDescriptor(object);
@@ -76,113 +76,128 @@ public class DomainContextItemProvider extends ItemProviderAdapter implements IE
* This adds a property descriptor for the Type Project Name feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected void addTypeProjectNamePropertyDescriptor(Object object) {
- itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_DomainContext_typeProjectName_feature"), getString("_UI_PropertyDescriptor_description", "_UI_DomainContext_typeProjectName_feature", "_UI_DomainContext_type"), DomaincontextcodegenPackage.Literals.DOMAIN_CONTEXT__TYPE_PROJECT_NAME, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
+ itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_DomainContext_typeProjectName_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_DomainContext_typeProjectName_feature", "_UI_DomainContext_type"), DomaincontextcodegenPackage.Literals.DOMAIN_CONTEXT__TYPE_PROJECT_NAME, true, false, false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
}
/**
* This adds a property descriptor for the Handler Project Name feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected void addHandlerProjectNamePropertyDescriptor(Object object) {
- itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_DomainContext_handlerProjectName_feature"), getString("_UI_PropertyDescriptor_description", "_UI_DomainContext_handlerProjectName_feature", "_UI_DomainContext_type"), DomaincontextcodegenPackage.Literals.DOMAIN_CONTEXT__HANDLER_PROJECT_NAME, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
+ itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_DomainContext_handlerProjectName_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_DomainContext_handlerProjectName_feature", "_UI_DomainContext_type"), DomaincontextcodegenPackage.Literals.DOMAIN_CONTEXT__HANDLER_PROJECT_NAME, true, false, false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
}
/**
* This adds a property descriptor for the IClient Context ID feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected void addIClientContextIDPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_DomainContext_IClientContextID_feature"), getString("_UI_PropertyDescriptor_description", "_UI_DomainContext_IClientContextID_feature", "_UI_DomainContext_type"), DomaincontextcodegenPackage.Literals.DOMAIN_CONTEXT__ICLIENT_CONTEXT_ID, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
+ itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_DomainContext_IClientContextID_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_DomainContext_IClientContextID_feature", "_UI_DomainContext_type"), DomaincontextcodegenPackage.Literals.DOMAIN_CONTEXT__ICLIENT_CONTEXT_ID, true, false, false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
}
/**
* This adds a property descriptor for the Metamodel feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected void addMetamodelPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_DomainContext_metamodel_feature"), getString("_UI_PropertyDescriptor_description", "_UI_DomainContext_metamodel_feature", "_UI_DomainContext_type"), DomaincontextcodegenPackage.Literals.DOMAIN_CONTEXT__METAMODEL, true, false, true, null, null, null));
+ itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_DomainContext_metamodel_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_DomainContext_metamodel_feature", "_UI_DomainContext_type"), DomaincontextcodegenPackage.Literals.DOMAIN_CONTEXT__METAMODEL, true, false, true, null, null, null));
}
/**
* This adds a property descriptor for the Specialization Of feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected void addSpecializationOfPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_DomainContext_specializationOf_feature"), getString("_UI_PropertyDescriptor_description", "_UI_DomainContext_specializationOf_feature", "_UI_DomainContext_type"), DomaincontextcodegenPackage.Literals.DOMAIN_CONTEXT__SPECIALIZATION_OF, true, false, true, null, null, null));
+ itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_DomainContext_specializationOf_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_DomainContext_specializationOf_feature", "_UI_DomainContext_type"), DomaincontextcodegenPackage.Literals.DOMAIN_CONTEXT__SPECIALIZATION_OF, true, false, true, null, null, null));
}
/**
* This adds a property descriptor for the Element Type ID Prefix feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected void addElementTypeIDPrefixPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_DomainContext_elementTypeIDPrefix_feature"), getString("_UI_PropertyDescriptor_description", "_UI_DomainContext_elementTypeIDPrefix_feature", "_UI_DomainContext_type"), DomaincontextcodegenPackage.Literals.DOMAIN_CONTEXT__ELEMENT_TYPE_ID_PREFIX, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
+ itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_DomainContext_elementTypeIDPrefix_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_DomainContext_elementTypeIDPrefix_feature", "_UI_DomainContext_type"), DomaincontextcodegenPackage.Literals.DOMAIN_CONTEXT__ELEMENT_TYPE_ID_PREFIX, true, false, false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
}
/**
* This adds a property descriptor for the Element Type Name Prefix feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected void addElementTypeNamePrefixPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_DomainContext_elementTypeNamePrefix_feature"), getString("_UI_PropertyDescriptor_description", "_UI_DomainContext_elementTypeNamePrefix_feature", "_UI_DomainContext_type"), DomaincontextcodegenPackage.Literals.DOMAIN_CONTEXT__ELEMENT_TYPE_NAME_PREFIX, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
+ itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_DomainContext_elementTypeNamePrefix_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_DomainContext_elementTypeNamePrefix_feature", "_UI_DomainContext_type"), DomaincontextcodegenPackage.Literals.DOMAIN_CONTEXT__ELEMENT_TYPE_NAME_PREFIX, true, false, false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
}
/**
* This adds a property descriptor for the Default Helper Path feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected void addDefaultHelperPathPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_DomainContext_defaultHelperPath_feature"), getString("_UI_PropertyDescriptor_description", "_UI_DomainContext_defaultHelperPath_feature", "_UI_DomainContext_type"), DomaincontextcodegenPackage.Literals.DOMAIN_CONTEXT__DEFAULT_HELPER_PATH, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
+ itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_DomainContext_defaultHelperPath_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_DomainContext_defaultHelperPath_feature", "_UI_DomainContext_type"), DomaincontextcodegenPackage.Literals.DOMAIN_CONTEXT__DEFAULT_HELPER_PATH, true, false, false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
}
/**
* This adds a property descriptor for the Generated Source Folder feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected void addGeneratedSourceFolderPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_DomainContext_generatedSourceFolder_feature"), getString("_UI_PropertyDescriptor_description", "_UI_DomainContext_generatedSourceFolder_feature", "_UI_DomainContext_type"), DomaincontextcodegenPackage.Literals.DOMAIN_CONTEXT__GENERATED_SOURCE_FOLDER, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
+ itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_DomainContext_generatedSourceFolder_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_DomainContext_generatedSourceFolder_feature", "_UI_DomainContext_type"), DomaincontextcodegenPackage.Literals.DOMAIN_CONTEXT__GENERATED_SOURCE_FOLDER, 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
+ * 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}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Collection<? extends EStructuralFeature> getChildrenFeatures(Object object) {
- if(childrenFeatures == null) {
+ if (childrenFeatures == null) {
super.getChildrenFeatures(object);
childrenFeatures.add(DomaincontextcodegenPackage.Literals.DOMAIN_CONTEXT__ELEMENT_TYPES);
childrenFeatures.add(DomaincontextcodegenPackage.Literals.DOMAIN_CONTEXT__ADVICES);
@@ -197,7 +212,7 @@ public class DomainContextItemProvider extends ItemProviderAdapter implements IE
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -212,7 +227,7 @@ public class DomainContextItemProvider extends ItemProviderAdapter implements IE
* This returns DomainContext.gif.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -224,12 +239,12 @@ public class DomainContextItemProvider extends ItemProviderAdapter implements IE
* This returns the label text for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public String getText(Object object) {
- String label = ((DomainContext)object).getTypeProjectName();
+ String label = ((DomainContext) object).getTypeProjectName();
return label == null || label.length() == 0 ? getString("_UI_DomainContext_type") : getString("_UI_DomainContext_type") + " " + label;
}
@@ -238,14 +253,14 @@ public class DomainContextItemProvider extends ItemProviderAdapter implements IE
* children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void notifyChanged(Notification notification) {
updateChildren(notification);
- switch(notification.getFeatureID(DomainContext.class)) {
+ switch (notification.getFeatureID(DomainContext.class)) {
case DomaincontextcodegenPackage.DOMAIN_CONTEXT__TYPE_PROJECT_NAME:
case DomaincontextcodegenPackage.DOMAIN_CONTEXT__HANDLER_PROJECT_NAME:
case DomaincontextcodegenPackage.DOMAIN_CONTEXT__ICLIENT_CONTEXT_ID:
@@ -272,7 +287,7 @@ public class DomainContextItemProvider extends ItemProviderAdapter implements IE
* that can be created under this object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -296,7 +311,7 @@ public class DomainContextItemProvider extends ItemProviderAdapter implements IE
* Return the resource locator for this item provider's resources.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/DomaincontextcodegenItemProviderAdapterFactory.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/DomaincontextcodegenItemProviderAdapterFactory.java
index b0ecf8cfd1c..a0b653b060c 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/DomaincontextcodegenItemProviderAdapterFactory.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/DomaincontextcodegenItemProviderAdapterFactory.java
@@ -32,7 +32,7 @@ import org.eclipse.papyrus.domaincontextcodegen.util.DomaincontextcodegenAdapter
* Note that most of the adapters are shared among multiple instances.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public class DomaincontextcodegenItemProviderAdapterFactory extends DomaincontextcodegenAdapterFactory implements ComposeableAdapterFactory, IChangeNotifier, IDisposable {
@@ -41,7 +41,7 @@ public class DomaincontextcodegenItemProviderAdapterFactory extends Domaincontex
* This keeps track of the root adapter factory that delegates to this adapter factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected ComposedAdapterFactory parentAdapterFactory;
@@ -50,7 +50,7 @@ public class DomaincontextcodegenItemProviderAdapterFactory extends Domaincontex
* This is used to implement {@link org.eclipse.emf.edit.provider.IChangeNotifier}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected IChangeNotifier changeNotifier = new ChangeNotifier();
@@ -59,7 +59,7 @@ public class DomaincontextcodegenItemProviderAdapterFactory extends Domaincontex
* This keeps track of all the supported types checked by {@link #isFactoryForType isFactoryForType}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected Collection<Object> supportedTypes = new ArrayList<Object>();
@@ -68,7 +68,7 @@ public class DomaincontextcodegenItemProviderAdapterFactory extends Domaincontex
* This constructs an instance.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public DomaincontextcodegenItemProviderAdapterFactory() {
@@ -83,7 +83,7 @@ public class DomaincontextcodegenItemProviderAdapterFactory extends Domaincontex
* This keeps track of the one adapter used for all {@link org.eclipse.papyrus.domaincontextcodegen.DomainContext} instances.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected DomainContextItemProvider domainContextItemProvider;
@@ -92,12 +92,12 @@ public class DomaincontextcodegenItemProviderAdapterFactory extends Domaincontex
* This creates an adapter for a {@link org.eclipse.papyrus.domaincontextcodegen.DomainContext}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Adapter createDomainContextAdapter() {
- if(domainContextItemProvider == null) {
+ if (domainContextItemProvider == null) {
domainContextItemProvider = new DomainContextItemProvider(this);
}
@@ -108,7 +108,7 @@ public class DomaincontextcodegenItemProviderAdapterFactory extends Domaincontex
* This keeps track of the one adapter used for all {@link org.eclipse.papyrus.domaincontextcodegen.ElementTypes} instances.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected ElementTypesItemProvider elementTypesItemProvider;
@@ -117,12 +117,12 @@ public class DomaincontextcodegenItemProviderAdapterFactory extends Domaincontex
* This creates an adapter for a {@link org.eclipse.papyrus.domaincontextcodegen.ElementTypes}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Adapter createElementTypesAdapter() {
- if(elementTypesItemProvider == null) {
+ if (elementTypesItemProvider == null) {
elementTypesItemProvider = new ElementTypesItemProvider(this);
}
@@ -133,7 +133,7 @@ public class DomaincontextcodegenItemProviderAdapterFactory extends Domaincontex
* This keeps track of the one adapter used for all {@link org.eclipse.papyrus.domaincontextcodegen.MetaClassType} instances.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected MetaClassTypeItemProvider metaClassTypeItemProvider;
@@ -142,12 +142,12 @@ public class DomaincontextcodegenItemProviderAdapterFactory extends Domaincontex
* This creates an adapter for a {@link org.eclipse.papyrus.domaincontextcodegen.MetaClassType}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Adapter createMetaClassTypeAdapter() {
- if(metaClassTypeItemProvider == null) {
+ if (metaClassTypeItemProvider == null) {
metaClassTypeItemProvider = new MetaClassTypeItemProvider(this);
}
@@ -158,7 +158,7 @@ public class DomaincontextcodegenItemProviderAdapterFactory extends Domaincontex
* This keeps track of the one adapter used for all {@link org.eclipse.papyrus.domaincontextcodegen.SpecializationType} instances.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected SpecializationTypeItemProvider specializationTypeItemProvider;
@@ -167,12 +167,12 @@ public class DomaincontextcodegenItemProviderAdapterFactory extends Domaincontex
* This creates an adapter for a {@link org.eclipse.papyrus.domaincontextcodegen.SpecializationType}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Adapter createSpecializationTypeAdapter() {
- if(specializationTypeItemProvider == null) {
+ if (specializationTypeItemProvider == null) {
specializationTypeItemProvider = new SpecializationTypeItemProvider(this);
}
@@ -183,7 +183,7 @@ public class DomaincontextcodegenItemProviderAdapterFactory extends Domaincontex
* This keeps track of the one adapter used for all {@link org.eclipse.papyrus.domaincontextcodegen.Advice} instances.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected AdviceItemProvider adviceItemProvider;
@@ -192,12 +192,12 @@ public class DomaincontextcodegenItemProviderAdapterFactory extends Domaincontex
* This creates an adapter for a {@link org.eclipse.papyrus.domaincontextcodegen.Advice}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Adapter createAdviceAdapter() {
- if(adviceItemProvider == null) {
+ if (adviceItemProvider == null) {
adviceItemProvider = new AdviceItemProvider(this);
}
@@ -208,7 +208,7 @@ public class DomaincontextcodegenItemProviderAdapterFactory extends Domaincontex
* This keeps track of the one adapter used for all {@link org.eclipse.papyrus.domaincontextcodegen.ElementTypeBindings} instances.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected ElementTypeBindingsItemProvider elementTypeBindingsItemProvider;
@@ -217,12 +217,12 @@ public class DomaincontextcodegenItemProviderAdapterFactory extends Domaincontex
* This creates an adapter for a {@link org.eclipse.papyrus.domaincontextcodegen.ElementTypeBindings}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Adapter createElementTypeBindingsAdapter() {
- if(elementTypeBindingsItemProvider == null) {
+ if (elementTypeBindingsItemProvider == null) {
elementTypeBindingsItemProvider = new ElementTypeBindingsItemProvider(this);
}
@@ -233,7 +233,7 @@ public class DomaincontextcodegenItemProviderAdapterFactory extends Domaincontex
* This keeps track of the one adapter used for all {@link org.eclipse.papyrus.domaincontextcodegen.ElementTypeBinding} instances.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected ElementTypeBindingItemProvider elementTypeBindingItemProvider;
@@ -242,12 +242,12 @@ public class DomaincontextcodegenItemProviderAdapterFactory extends Domaincontex
* This creates an adapter for a {@link org.eclipse.papyrus.domaincontextcodegen.ElementTypeBinding}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Adapter createElementTypeBindingAdapter() {
- if(elementTypeBindingItemProvider == null) {
+ if (elementTypeBindingItemProvider == null) {
elementTypeBindingItemProvider = new ElementTypeBindingItemProvider(this);
}
@@ -258,7 +258,7 @@ public class DomaincontextcodegenItemProviderAdapterFactory extends Domaincontex
* This keeps track of the one adapter used for all {@link org.eclipse.papyrus.domaincontextcodegen.AdviceBinding} instances.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected AdviceBindingItemProvider adviceBindingItemProvider;
@@ -267,12 +267,12 @@ public class DomaincontextcodegenItemProviderAdapterFactory extends Domaincontex
* This creates an adapter for a {@link org.eclipse.papyrus.domaincontextcodegen.AdviceBinding}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Adapter createAdviceBindingAdapter() {
- if(adviceBindingItemProvider == null) {
+ if (adviceBindingItemProvider == null) {
adviceBindingItemProvider = new AdviceBindingItemProvider(this);
}
@@ -283,7 +283,7 @@ public class DomaincontextcodegenItemProviderAdapterFactory extends Domaincontex
* This keeps track of the one adapter used for all {@link org.eclipse.papyrus.domaincontextcodegen.GenHandlers} instances.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected GenHandlersItemProvider genHandlersItemProvider;
@@ -292,12 +292,12 @@ public class DomaincontextcodegenItemProviderAdapterFactory extends Domaincontex
* This creates an adapter for a {@link org.eclipse.papyrus.domaincontextcodegen.GenHandlers}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Adapter createGenHandlersAdapter() {
- if(genHandlersItemProvider == null) {
+ if (genHandlersItemProvider == null) {
genHandlersItemProvider = new GenHandlersItemProvider(this);
}
@@ -308,7 +308,7 @@ public class DomaincontextcodegenItemProviderAdapterFactory extends Domaincontex
* This keeps track of the one adapter used for all {@link org.eclipse.papyrus.domaincontextcodegen.StereotypedElementMatcher} instances.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected StereotypedElementMatcherItemProvider stereotypedElementMatcherItemProvider;
@@ -317,12 +317,12 @@ public class DomaincontextcodegenItemProviderAdapterFactory extends Domaincontex
* This creates an adapter for a {@link org.eclipse.papyrus.domaincontextcodegen.StereotypedElementMatcher}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Adapter createStereotypedElementMatcherAdapter() {
- if(stereotypedElementMatcherItemProvider == null) {
+ if (stereotypedElementMatcherItemProvider == null) {
stereotypedElementMatcherItemProvider = new StereotypedElementMatcherItemProvider(this);
}
@@ -333,7 +333,7 @@ public class DomaincontextcodegenItemProviderAdapterFactory extends Domaincontex
* This keeps track of the one adapter used for all {@link org.eclipse.papyrus.domaincontextcodegen.StereotypedElementHelper} instances.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected StereotypedElementHelperItemProvider stereotypedElementHelperItemProvider;
@@ -342,12 +342,12 @@ public class DomaincontextcodegenItemProviderAdapterFactory extends Domaincontex
* This creates an adapter for a {@link org.eclipse.papyrus.domaincontextcodegen.StereotypedElementHelper}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Adapter createStereotypedElementHelperAdapter() {
- if(stereotypedElementHelperItemProvider == null) {
+ if (stereotypedElementHelperItemProvider == null) {
stereotypedElementHelperItemProvider = new StereotypedElementHelperItemProvider(this);
}
@@ -358,7 +358,7 @@ public class DomaincontextcodegenItemProviderAdapterFactory extends Domaincontex
* This keeps track of the one adapter used for all {@link org.eclipse.papyrus.domaincontextcodegen.MenuDeclaration} instances.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected MenuDeclarationItemProvider menuDeclarationItemProvider;
@@ -367,12 +367,12 @@ public class DomaincontextcodegenItemProviderAdapterFactory extends Domaincontex
* This creates an adapter for a {@link org.eclipse.papyrus.domaincontextcodegen.MenuDeclaration}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Adapter createMenuDeclarationAdapter() {
- if(menuDeclarationItemProvider == null) {
+ if (menuDeclarationItemProvider == null) {
menuDeclarationItemProvider = new MenuDeclarationItemProvider(this);
}
@@ -383,7 +383,7 @@ public class DomaincontextcodegenItemProviderAdapterFactory extends Domaincontex
* This keeps track of the one adapter used for all {@link org.eclipse.papyrus.domaincontextcodegen.CommandDeclaration} instances.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected CommandDeclarationItemProvider commandDeclarationItemProvider;
@@ -392,12 +392,12 @@ public class DomaincontextcodegenItemProviderAdapterFactory extends Domaincontex
* This creates an adapter for a {@link org.eclipse.papyrus.domaincontextcodegen.CommandDeclaration}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Adapter createCommandDeclarationAdapter() {
- if(commandDeclarationItemProvider == null) {
+ if (commandDeclarationItemProvider == null) {
commandDeclarationItemProvider = new CommandDeclarationItemProvider(this);
}
@@ -408,7 +408,7 @@ public class DomaincontextcodegenItemProviderAdapterFactory extends Domaincontex
* This keeps track of the one adapter used for all {@link org.eclipse.papyrus.domaincontextcodegen.Command} instances.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected CommandItemProvider commandItemProvider;
@@ -417,12 +417,12 @@ public class DomaincontextcodegenItemProviderAdapterFactory extends Domaincontex
* This creates an adapter for a {@link org.eclipse.papyrus.domaincontextcodegen.Command}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Adapter createCommandAdapter() {
- if(commandItemProvider == null) {
+ if (commandItemProvider == null) {
commandItemProvider = new CommandItemProvider(this);
}
@@ -433,7 +433,7 @@ public class DomaincontextcodegenItemProviderAdapterFactory extends Domaincontex
* This returns the root adapter factory that contains this factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public ComposeableAdapterFactory getRootAdapterFactory() {
@@ -444,7 +444,7 @@ public class DomaincontextcodegenItemProviderAdapterFactory extends Domaincontex
* This sets the composed adapter factory that contains this factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setParentAdapterFactory(ComposedAdapterFactory parentAdapterFactory) {
@@ -454,7 +454,7 @@ public class DomaincontextcodegenItemProviderAdapterFactory extends Domaincontex
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -466,7 +466,7 @@ public class DomaincontextcodegenItemProviderAdapterFactory extends Domaincontex
* This implementation substitutes the factory itself as the key for the adapter.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -477,14 +477,14 @@ public class DomaincontextcodegenItemProviderAdapterFactory extends Domaincontex
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Object adapt(Object object, Object type) {
- if(isFactoryForType(type)) {
+ if (isFactoryForType(type)) {
Object adapter = super.adapt(object, type);
- if(!(type instanceof Class<?>) || (((Class<?>)type).isInstance(adapter))) {
+ if (!(type instanceof Class<?>) || (((Class<?>) type).isInstance(adapter))) {
return adapter;
}
}
@@ -496,7 +496,7 @@ public class DomaincontextcodegenItemProviderAdapterFactory extends Domaincontex
* This adds a listener.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void addListener(INotifyChangedListener notifyChangedListener) {
@@ -507,7 +507,7 @@ public class DomaincontextcodegenItemProviderAdapterFactory extends Domaincontex
* This removes a listener.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void removeListener(INotifyChangedListener notifyChangedListener) {
@@ -518,13 +518,13 @@ public class DomaincontextcodegenItemProviderAdapterFactory extends Domaincontex
* This delegates to {@link #changeNotifier} and to {@link #parentAdapterFactory}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void fireNotifyChanged(Notification notification) {
changeNotifier.fireNotifyChanged(notification);
- if(parentAdapterFactory != null) {
+ if (parentAdapterFactory != null) {
parentAdapterFactory.fireNotifyChanged(notification);
}
}
@@ -533,38 +533,52 @@ public class DomaincontextcodegenItemProviderAdapterFactory extends Domaincontex
* This disposes all of the item providers created by this factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void dispose() {
- if(domainContextItemProvider != null)
+ if (domainContextItemProvider != null) {
domainContextItemProvider.dispose();
- if(elementTypesItemProvider != null)
+ }
+ if (elementTypesItemProvider != null) {
elementTypesItemProvider.dispose();
- if(metaClassTypeItemProvider != null)
+ }
+ if (metaClassTypeItemProvider != null) {
metaClassTypeItemProvider.dispose();
- if(specializationTypeItemProvider != null)
+ }
+ if (specializationTypeItemProvider != null) {
specializationTypeItemProvider.dispose();
- if(adviceItemProvider != null)
+ }
+ if (adviceItemProvider != null) {
adviceItemProvider.dispose();
- if(elementTypeBindingsItemProvider != null)
+ }
+ if (elementTypeBindingsItemProvider != null) {
elementTypeBindingsItemProvider.dispose();
- if(elementTypeBindingItemProvider != null)
+ }
+ if (elementTypeBindingItemProvider != null) {
elementTypeBindingItemProvider.dispose();
- if(adviceBindingItemProvider != null)
+ }
+ if (adviceBindingItemProvider != null) {
adviceBindingItemProvider.dispose();
- if(genHandlersItemProvider != null)
+ }
+ if (genHandlersItemProvider != null) {
genHandlersItemProvider.dispose();
- if(stereotypedElementMatcherItemProvider != null)
+ }
+ if (stereotypedElementMatcherItemProvider != null) {
stereotypedElementMatcherItemProvider.dispose();
- if(stereotypedElementHelperItemProvider != null)
+ }
+ if (stereotypedElementHelperItemProvider != null) {
stereotypedElementHelperItemProvider.dispose();
- if(menuDeclarationItemProvider != null)
+ }
+ if (menuDeclarationItemProvider != null) {
menuDeclarationItemProvider.dispose();
- if(commandDeclarationItemProvider != null)
+ }
+ if (commandDeclarationItemProvider != null) {
commandDeclarationItemProvider.dispose();
- if(commandItemProvider != null)
+ }
+ if (commandItemProvider != null) {
commandItemProvider.dispose();
+ }
}
}
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/ElementTypeBindingItemProvider.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/ElementTypeBindingItemProvider.java
index 4404ad0f09c..6c3929de6fc 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/ElementTypeBindingItemProvider.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/ElementTypeBindingItemProvider.java
@@ -25,7 +25,7 @@ import org.eclipse.papyrus.domaincontextcodegen.ElementTypeBinding;
* This is the item provider adapter for a {@link org.eclipse.papyrus.domaincontextcodegen.ElementTypeBinding} object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public class ElementTypeBindingItemProvider extends BindingItemProvider implements IEditingDomainItemProvider, IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource {
@@ -34,7 +34,7 @@ public class ElementTypeBindingItemProvider extends BindingItemProvider implemen
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public ElementTypeBindingItemProvider(AdapterFactory adapterFactory) {
@@ -45,12 +45,12 @@ public class ElementTypeBindingItemProvider extends BindingItemProvider implemen
* This returns the property descriptors for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
- if(itemPropertyDescriptors == null) {
+ if (itemPropertyDescriptors == null) {
super.getPropertyDescriptors(object);
addRefPropertyDescriptor(object);
@@ -62,18 +62,19 @@ public class ElementTypeBindingItemProvider extends BindingItemProvider implemen
* This adds a property descriptor for the Ref feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected void addRefPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_ElementTypeBinding_ref_feature"), getString("_UI_PropertyDescriptor_description", "_UI_ElementTypeBinding_ref_feature", "_UI_ElementTypeBinding_type"), DomaincontextcodegenPackage.Literals.ELEMENT_TYPE_BINDING__REF, true, false, true, null, null, null));
+ itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_ElementTypeBinding_ref_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_ElementTypeBinding_ref_feature", "_UI_ElementTypeBinding_type"), DomaincontextcodegenPackage.Literals.ELEMENT_TYPE_BINDING__REF, true, false, true, null, null, null));
}
/**
* This returns ElementTypeBinding.gif.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -85,16 +86,16 @@ public class ElementTypeBindingItemProvider extends BindingItemProvider implemen
* This returns the label text for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated NOT
*/
@Override
public String getText(Object object) {
- ElementTypeBinding binding = (ElementTypeBinding)object;
+ ElementTypeBinding binding = (ElementTypeBinding) object;
String label = "pattern : " + binding.getPattern();
- if((binding.getRef() != null) && (binding.getRef().getName() != null)) {
+ if ((binding.getRef() != null) && (binding.getRef().getName() != null)) {
label = "ref. : " + binding.getRef().getName();
}
@@ -106,7 +107,7 @@ public class ElementTypeBindingItemProvider extends BindingItemProvider implemen
* children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -120,7 +121,7 @@ public class ElementTypeBindingItemProvider extends BindingItemProvider implemen
* that can be created under this object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/ElementTypeBindingsItemProvider.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/ElementTypeBindingsItemProvider.java
index 388cd3e0000..704525113ca 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/ElementTypeBindingsItemProvider.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/ElementTypeBindingsItemProvider.java
@@ -31,7 +31,7 @@ import org.eclipse.papyrus.domaincontextcodegen.ElementTypeBindings;
* This is the item provider adapter for a {@link org.eclipse.papyrus.domaincontextcodegen.ElementTypeBindings} object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public class ElementTypeBindingsItemProvider extends ItemProviderAdapter implements IEditingDomainItemProvider, IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource {
@@ -40,7 +40,7 @@ public class ElementTypeBindingsItemProvider extends ItemProviderAdapter impleme
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public ElementTypeBindingsItemProvider(AdapterFactory adapterFactory) {
@@ -51,12 +51,12 @@ public class ElementTypeBindingsItemProvider extends ItemProviderAdapter impleme
* This returns the property descriptors for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
- if(itemPropertyDescriptors == null) {
+ if (itemPropertyDescriptors == null) {
super.getPropertyDescriptors(object);
addClientContextIDPropertyDescriptor(object);
@@ -68,25 +68,26 @@ public class ElementTypeBindingsItemProvider extends ItemProviderAdapter impleme
* This adds a property descriptor for the Client Context ID feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected void addClientContextIDPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_ElementTypeBindings_clientContextID_feature"), getString("_UI_PropertyDescriptor_description", "_UI_ElementTypeBindings_clientContextID_feature", "_UI_ElementTypeBindings_type"), DomaincontextcodegenPackage.Literals.ELEMENT_TYPE_BINDINGS__CLIENT_CONTEXT_ID, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
+ itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_ElementTypeBindings_clientContextID_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_ElementTypeBindings_clientContextID_feature", "_UI_ElementTypeBindings_type"), DomaincontextcodegenPackage.Literals.ELEMENT_TYPE_BINDINGS__CLIENT_CONTEXT_ID, 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
+ * 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}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Collection<? extends EStructuralFeature> getChildrenFeatures(Object object) {
- if(childrenFeatures == null) {
+ if (childrenFeatures == null) {
super.getChildrenFeatures(object);
childrenFeatures.add(DomaincontextcodegenPackage.Literals.ELEMENT_TYPE_BINDINGS__BINDINGS);
}
@@ -96,7 +97,7 @@ public class ElementTypeBindingsItemProvider extends ItemProviderAdapter impleme
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -111,7 +112,7 @@ public class ElementTypeBindingsItemProvider extends ItemProviderAdapter impleme
* This returns ElementTypeBindings.gif.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -123,12 +124,12 @@ public class ElementTypeBindingsItemProvider extends ItemProviderAdapter impleme
* This returns the label text for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public String getText(Object object) {
- String label = ((ElementTypeBindings)object).getClientContextID();
+ String label = ((ElementTypeBindings) object).getClientContextID();
return label == null || label.length() == 0 ? getString("_UI_ElementTypeBindings_type") : getString("_UI_ElementTypeBindings_type") + " " + label;
}
@@ -137,14 +138,14 @@ public class ElementTypeBindingsItemProvider extends ItemProviderAdapter impleme
* children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void notifyChanged(Notification notification) {
updateChildren(notification);
- switch(notification.getFeatureID(ElementTypeBindings.class)) {
+ switch (notification.getFeatureID(ElementTypeBindings.class)) {
case DomaincontextcodegenPackage.ELEMENT_TYPE_BINDINGS__CLIENT_CONTEXT_ID:
fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
return;
@@ -160,7 +161,7 @@ public class ElementTypeBindingsItemProvider extends ItemProviderAdapter impleme
* that can be created under this object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -176,7 +177,7 @@ public class ElementTypeBindingsItemProvider extends ItemProviderAdapter impleme
* Return the resource locator for this item provider's resources.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/ElementTypeItemProvider.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/ElementTypeItemProvider.java
index c741e5f9d33..8900d579c18 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/ElementTypeItemProvider.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/ElementTypeItemProvider.java
@@ -29,7 +29,7 @@ import org.eclipse.papyrus.domaincontextcodegen.ElementType;
* This is the item provider adapter for a {@link org.eclipse.papyrus.domaincontextcodegen.ElementType} object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public class ElementTypeItemProvider extends ItemProviderAdapter implements IEditingDomainItemProvider, IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource {
@@ -38,7 +38,7 @@ public class ElementTypeItemProvider extends ItemProviderAdapter implements IEdi
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public ElementTypeItemProvider(AdapterFactory adapterFactory) {
@@ -49,12 +49,12 @@ public class ElementTypeItemProvider extends ItemProviderAdapter implements IEdi
* This returns the property descriptors for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
- if(itemPropertyDescriptors == null) {
+ if (itemPropertyDescriptors == null) {
super.getPropertyDescriptors(object);
addNamePropertyDescriptor(object);
@@ -68,40 +68,43 @@ public class ElementTypeItemProvider extends ItemProviderAdapter implements IEdi
* This adds a property descriptor for the Name feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected void addNamePropertyDescriptor(Object object) {
- itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_ElementType_name_feature"), getString("_UI_PropertyDescriptor_description", "_UI_ElementType_name_feature", "_UI_ElementType_type"), DomaincontextcodegenPackage.Literals.ELEMENT_TYPE__NAME, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
+ itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_ElementType_name_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_ElementType_name_feature", "_UI_ElementType_type"), DomaincontextcodegenPackage.Literals.ELEMENT_TYPE__NAME, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
}
/**
* This adds a property descriptor for the Helper feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected void addHelperPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_ElementType_helper_feature"), getString("_UI_PropertyDescriptor_description", "_UI_ElementType_helper_feature", "_UI_ElementType_type"), DomaincontextcodegenPackage.Literals.ELEMENT_TYPE__HELPER, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
+ itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_ElementType_helper_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_ElementType_helper_feature", "_UI_ElementType_type"), DomaincontextcodegenPackage.Literals.ELEMENT_TYPE__HELPER, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
}
/**
* This adds a property descriptor for the Icon feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected void addIconPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_ElementType_icon_feature"), getString("_UI_PropertyDescriptor_description", "_UI_ElementType_icon_feature", "_UI_ElementType_type"), DomaincontextcodegenPackage.Literals.ELEMENT_TYPE__ICON, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
+ itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_ElementType_icon_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_ElementType_icon_feature", "_UI_ElementType_type"), DomaincontextcodegenPackage.Literals.ELEMENT_TYPE__ICON, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
}
/**
* This returns ElementType.gif.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -113,12 +116,12 @@ public class ElementTypeItemProvider extends ItemProviderAdapter implements IEdi
* This returns the label text for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public String getText(Object object) {
- String label = ((ElementType)object).getName();
+ String label = ((ElementType) object).getName();
return label == null || label.length() == 0 ? getString("_UI_ElementType_type") : getString("_UI_ElementType_type") + " " + label;
}
@@ -127,14 +130,14 @@ public class ElementTypeItemProvider extends ItemProviderAdapter implements IEdi
* children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void notifyChanged(Notification notification) {
updateChildren(notification);
- switch(notification.getFeatureID(ElementType.class)) {
+ switch (notification.getFeatureID(ElementType.class)) {
case DomaincontextcodegenPackage.ELEMENT_TYPE__NAME:
case DomaincontextcodegenPackage.ELEMENT_TYPE__HELPER:
case DomaincontextcodegenPackage.ELEMENT_TYPE__ICON:
@@ -149,7 +152,7 @@ public class ElementTypeItemProvider extends ItemProviderAdapter implements IEdi
* that can be created under this object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -161,7 +164,7 @@ public class ElementTypeItemProvider extends ItemProviderAdapter implements IEdi
* Return the resource locator for this item provider's resources.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/ElementTypesItemProvider.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/ElementTypesItemProvider.java
index a46619f8300..90e21a00678 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/ElementTypesItemProvider.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/ElementTypesItemProvider.java
@@ -29,7 +29,7 @@ import org.eclipse.papyrus.domaincontextcodegen.ElementTypes;
* This is the item provider adapter for a {@link org.eclipse.papyrus.domaincontextcodegen.ElementTypes} object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public class ElementTypesItemProvider extends ItemProviderAdapter implements IEditingDomainItemProvider, IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource {
@@ -38,7 +38,7 @@ public class ElementTypesItemProvider extends ItemProviderAdapter implements IEd
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public ElementTypesItemProvider(AdapterFactory adapterFactory) {
@@ -49,12 +49,12 @@ public class ElementTypesItemProvider extends ItemProviderAdapter implements IEd
* This returns the property descriptors for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
- if(itemPropertyDescriptors == null) {
+ if (itemPropertyDescriptors == null) {
super.getPropertyDescriptors(object);
}
@@ -62,17 +62,16 @@ public class ElementTypesItemProvider extends ItemProviderAdapter implements IEd
}
/**
- * 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
+ * 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}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Collection<? extends EStructuralFeature> getChildrenFeatures(Object object) {
- if(childrenFeatures == null) {
+ if (childrenFeatures == null) {
super.getChildrenFeatures(object);
childrenFeatures.add(DomaincontextcodegenPackage.Literals.ELEMENT_TYPES__TYPES);
}
@@ -82,7 +81,7 @@ public class ElementTypesItemProvider extends ItemProviderAdapter implements IEd
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -97,7 +96,7 @@ public class ElementTypesItemProvider extends ItemProviderAdapter implements IEd
* This returns ElementTypes.gif.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -109,7 +108,7 @@ public class ElementTypesItemProvider extends ItemProviderAdapter implements IEd
* This returns the label text for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -122,14 +121,14 @@ public class ElementTypesItemProvider extends ItemProviderAdapter implements IEd
* children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void notifyChanged(Notification notification) {
updateChildren(notification);
- switch(notification.getFeatureID(ElementTypes.class)) {
+ switch (notification.getFeatureID(ElementTypes.class)) {
case DomaincontextcodegenPackage.ELEMENT_TYPES__TYPES:
fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
return;
@@ -142,7 +141,7 @@ public class ElementTypesItemProvider extends ItemProviderAdapter implements IEd
* that can be created under this object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -158,7 +157,7 @@ public class ElementTypesItemProvider extends ItemProviderAdapter implements IEd
* Return the resource locator for this item provider's resources.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/GenHandlersItemProvider.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/GenHandlersItemProvider.java
index 40861a907c9..00d8724d001 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/GenHandlersItemProvider.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/GenHandlersItemProvider.java
@@ -29,7 +29,7 @@ import org.eclipse.papyrus.domaincontextcodegen.GenHandlers;
* This is the item provider adapter for a {@link org.eclipse.papyrus.domaincontextcodegen.GenHandlers} object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public class GenHandlersItemProvider extends ItemProviderAdapter implements IEditingDomainItemProvider, IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource {
@@ -38,7 +38,7 @@ public class GenHandlersItemProvider extends ItemProviderAdapter implements IEdi
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public GenHandlersItemProvider(AdapterFactory adapterFactory) {
@@ -49,12 +49,12 @@ public class GenHandlersItemProvider extends ItemProviderAdapter implements IEdi
* This returns the property descriptors for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
- if(itemPropertyDescriptors == null) {
+ if (itemPropertyDescriptors == null) {
super.getPropertyDescriptors(object);
addHandlerPackagePropertyDescriptor(object);
@@ -73,95 +73,110 @@ public class GenHandlersItemProvider extends ItemProviderAdapter implements IEdi
* This adds a property descriptor for the Handler Package feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected void addHandlerPackagePropertyDescriptor(Object object) {
- itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_GenHandlers_handlerPackage_feature"), getString("_UI_PropertyDescriptor_description", "_UI_GenHandlers_handlerPackage_feature", "_UI_GenHandlers_type"), DomaincontextcodegenPackage.Literals.GEN_HANDLERS__HANDLER_PACKAGE, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
+ itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_GenHandlers_handlerPackage_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_GenHandlers_handlerPackage_feature", "_UI_GenHandlers_type"), DomaincontextcodegenPackage.Literals.GEN_HANDLERS__HANDLER_PACKAGE, true, false, false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
}
/**
* This adds a property descriptor for the Super Class feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected void addSuperClassPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_GenHandlers_superClass_feature"), getString("_UI_PropertyDescriptor_description", "_UI_GenHandlers_superClass_feature", "_UI_GenHandlers_type"), DomaincontextcodegenPackage.Literals.GEN_HANDLERS__SUPER_CLASS, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
+ itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_GenHandlers_superClass_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_GenHandlers_superClass_feature", "_UI_GenHandlers_type"), DomaincontextcodegenPackage.Literals.GEN_HANDLERS__SUPER_CLASS, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null, null));
}
/**
* This adds a property descriptor for the Super Class Package feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected void addSuperClassPackagePropertyDescriptor(Object object) {
- itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_GenHandlers_superClassPackage_feature"), getString("_UI_PropertyDescriptor_description", "_UI_GenHandlers_superClassPackage_feature", "_UI_GenHandlers_type"), DomaincontextcodegenPackage.Literals.GEN_HANDLERS__SUPER_CLASS_PACKAGE, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
+ itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_GenHandlers_superClassPackage_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_GenHandlers_superClassPackage_feature", "_UI_GenHandlers_type"), DomaincontextcodegenPackage.Literals.GEN_HANDLERS__SUPER_CLASS_PACKAGE, true, false, false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
}
/**
* This adds a property descriptor for the Element Type Enumerator feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected void addElementTypeEnumeratorPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_GenHandlers_elementTypeEnumerator_feature"), getString("_UI_PropertyDescriptor_description", "_UI_GenHandlers_elementTypeEnumerator_feature", "_UI_GenHandlers_type"), DomaincontextcodegenPackage.Literals.GEN_HANDLERS__ELEMENT_TYPE_ENUMERATOR, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
+ itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_GenHandlers_elementTypeEnumerator_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_GenHandlers_elementTypeEnumerator_feature", "_UI_GenHandlers_type"), DomaincontextcodegenPackage.Literals.GEN_HANDLERS__ELEMENT_TYPE_ENUMERATOR, true, false, false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
}
/**
* This adds a property descriptor for the Element Type Enumerator Package feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected void addElementTypeEnumeratorPackagePropertyDescriptor(Object object) {
- itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_GenHandlers_elementTypeEnumeratorPackage_feature"), getString("_UI_PropertyDescriptor_description", "_UI_GenHandlers_elementTypeEnumeratorPackage_feature", "_UI_GenHandlers_type"), DomaincontextcodegenPackage.Literals.GEN_HANDLERS__ELEMENT_TYPE_ENUMERATOR_PACKAGE, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
+ itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_GenHandlers_elementTypeEnumeratorPackage_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_GenHandlers_elementTypeEnumeratorPackage_feature", "_UI_GenHandlers_type"), DomaincontextcodegenPackage.Literals.GEN_HANDLERS__ELEMENT_TYPE_ENUMERATOR_PACKAGE, true, false, false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
}
/**
* This adds a property descriptor for the Visible Create Child Handlers feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected void addVisibleCreateChildHandlersPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_GenHandlers_visibleCreateChildHandlers_feature"), getString("_UI_PropertyDescriptor_description", "_UI_GenHandlers_visibleCreateChildHandlers_feature", "_UI_GenHandlers_type"), DomaincontextcodegenPackage.Literals.GEN_HANDLERS__VISIBLE_CREATE_CHILD_HANDLERS, true, false, true, null, null, null));
+ itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_GenHandlers_visibleCreateChildHandlers_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_GenHandlers_visibleCreateChildHandlers_feature", "_UI_GenHandlers_type"), DomaincontextcodegenPackage.Literals.GEN_HANDLERS__VISIBLE_CREATE_CHILD_HANDLERS, true, false, true, null, null,
+ null));
}
/**
* This adds a property descriptor for the Parent Domain Create Child feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected void addParentDomainCreateChildPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_GenHandlers_parentDomainCreateChild_feature"), getString("_UI_PropertyDescriptor_description", "_UI_GenHandlers_parentDomainCreateChild_feature", "_UI_GenHandlers_type"), DomaincontextcodegenPackage.Literals.GEN_HANDLERS__PARENT_DOMAIN_CREATE_CHILD, true, false, true, null, null, null));
+ itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_GenHandlers_parentDomainCreateChild_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_GenHandlers_parentDomainCreateChild_feature", "_UI_GenHandlers_type"), DomaincontextcodegenPackage.Literals.GEN_HANDLERS__PARENT_DOMAIN_CREATE_CHILD, true, false, true, null, null, null));
}
/**
* This adds a property descriptor for the Create Child Menu Location URI feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected void addCreateChildMenuLocationURIPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_GenHandlers_createChildMenuLocationURI_feature"), getString("_UI_PropertyDescriptor_description", "_UI_GenHandlers_createChildMenuLocationURI_feature", "_UI_GenHandlers_type"), DomaincontextcodegenPackage.Literals.GEN_HANDLERS__CREATE_CHILD_MENU_LOCATION_URI, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
+ itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_GenHandlers_createChildMenuLocationURI_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_GenHandlers_createChildMenuLocationURI_feature", "_UI_GenHandlers_type"), DomaincontextcodegenPackage.Literals.GEN_HANDLERS__CREATE_CHILD_MENU_LOCATION_URI, true, false, false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
}
/**
* This returns GenHandlers.gif.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -173,12 +188,12 @@ public class GenHandlersItemProvider extends ItemProviderAdapter implements IEdi
* This returns the label text for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public String getText(Object object) {
- String label = ((GenHandlers)object).getHandlerPackage();
+ String label = ((GenHandlers) object).getHandlerPackage();
return label == null || label.length() == 0 ? getString("_UI_GenHandlers_type") : getString("_UI_GenHandlers_type") + " " + label;
}
@@ -187,14 +202,14 @@ public class GenHandlersItemProvider extends ItemProviderAdapter implements IEdi
* children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void notifyChanged(Notification notification) {
updateChildren(notification);
- switch(notification.getFeatureID(GenHandlers.class)) {
+ switch (notification.getFeatureID(GenHandlers.class)) {
case DomaincontextcodegenPackage.GEN_HANDLERS__HANDLER_PACKAGE:
case DomaincontextcodegenPackage.GEN_HANDLERS__SUPER_CLASS:
case DomaincontextcodegenPackage.GEN_HANDLERS__SUPER_CLASS_PACKAGE:
@@ -212,7 +227,7 @@ public class GenHandlersItemProvider extends ItemProviderAdapter implements IEdi
* that can be created under this object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -224,7 +239,7 @@ public class GenHandlersItemProvider extends ItemProviderAdapter implements IEdi
* Return the resource locator for this item provider's resources.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/GenHelperItemProvider.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/GenHelperItemProvider.java
index 44a958c8050..804f8355d7a 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/GenHelperItemProvider.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/GenHelperItemProvider.java
@@ -29,7 +29,7 @@ import org.eclipse.papyrus.domaincontextcodegen.GenHelper;
* This is the item provider adapter for a {@link org.eclipse.papyrus.domaincontextcodegen.GenHelper} object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public class GenHelperItemProvider extends ItemProviderAdapter implements IEditingDomainItemProvider, IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource {
@@ -38,7 +38,7 @@ public class GenHelperItemProvider extends ItemProviderAdapter implements IEditi
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public GenHelperItemProvider(AdapterFactory adapterFactory) {
@@ -49,12 +49,12 @@ public class GenHelperItemProvider extends ItemProviderAdapter implements IEditi
* This returns the property descriptors for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
- if(itemPropertyDescriptors == null) {
+ if (itemPropertyDescriptors == null) {
super.getPropertyDescriptors(object);
addNamePropertyDescriptor(object);
@@ -66,23 +66,24 @@ public class GenHelperItemProvider extends ItemProviderAdapter implements IEditi
* This adds a property descriptor for the Name feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected void addNamePropertyDescriptor(Object object) {
- itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_GenHelper_name_feature"), getString("_UI_PropertyDescriptor_description", "_UI_GenHelper_name_feature", "_UI_GenHelper_type"), DomaincontextcodegenPackage.Literals.GEN_HELPER__NAME, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
+ itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_GenHelper_name_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_GenHelper_name_feature", "_UI_GenHelper_type"), DomaincontextcodegenPackage.Literals.GEN_HELPER__NAME, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
}
/**
* This returns the label text for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public String getText(Object object) {
- String label = ((GenHelper)object).getName();
+ String label = ((GenHelper) object).getName();
return label == null || label.length() == 0 ? getString("_UI_GenHelper_type") : getString("_UI_GenHelper_type") + " " + label;
}
@@ -91,14 +92,14 @@ public class GenHelperItemProvider extends ItemProviderAdapter implements IEditi
* children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void notifyChanged(Notification notification) {
updateChildren(notification);
- switch(notification.getFeatureID(GenHelper.class)) {
+ switch (notification.getFeatureID(GenHelper.class)) {
case DomaincontextcodegenPackage.GEN_HELPER__NAME:
fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
return;
@@ -111,7 +112,7 @@ public class GenHelperItemProvider extends ItemProviderAdapter implements IEditi
* that can be created under this object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -123,7 +124,7 @@ public class GenHelperItemProvider extends ItemProviderAdapter implements IEditi
* Return the resource locator for this item provider's resources.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/GenMatcherItemProvider.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/GenMatcherItemProvider.java
index ba7c8f4c6f5..154fa660a93 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/GenMatcherItemProvider.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/GenMatcherItemProvider.java
@@ -29,7 +29,7 @@ import org.eclipse.papyrus.domaincontextcodegen.GenMatcher;
* This is the item provider adapter for a {@link org.eclipse.papyrus.domaincontextcodegen.GenMatcher} object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public class GenMatcherItemProvider extends ItemProviderAdapter implements IEditingDomainItemProvider, IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource {
@@ -38,7 +38,7 @@ public class GenMatcherItemProvider extends ItemProviderAdapter implements IEdit
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public GenMatcherItemProvider(AdapterFactory adapterFactory) {
@@ -49,12 +49,12 @@ public class GenMatcherItemProvider extends ItemProviderAdapter implements IEdit
* This returns the property descriptors for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
- if(itemPropertyDescriptors == null) {
+ if (itemPropertyDescriptors == null) {
super.getPropertyDescriptors(object);
addNamePropertyDescriptor(object);
@@ -66,23 +66,24 @@ public class GenMatcherItemProvider extends ItemProviderAdapter implements IEdit
* This adds a property descriptor for the Name feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected void addNamePropertyDescriptor(Object object) {
- itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_GenMatcher_name_feature"), getString("_UI_PropertyDescriptor_description", "_UI_GenMatcher_name_feature", "_UI_GenMatcher_type"), DomaincontextcodegenPackage.Literals.GEN_MATCHER__NAME, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
+ itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_GenMatcher_name_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_GenMatcher_name_feature", "_UI_GenMatcher_type"), DomaincontextcodegenPackage.Literals.GEN_MATCHER__NAME, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
}
/**
* This returns the label text for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public String getText(Object object) {
- String label = ((GenMatcher)object).getName();
+ String label = ((GenMatcher) object).getName();
return label == null || label.length() == 0 ? getString("_UI_GenMatcher_type") : getString("_UI_GenMatcher_type") + " " + label;
}
@@ -91,14 +92,14 @@ public class GenMatcherItemProvider extends ItemProviderAdapter implements IEdit
* children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void notifyChanged(Notification notification) {
updateChildren(notification);
- switch(notification.getFeatureID(GenMatcher.class)) {
+ switch (notification.getFeatureID(GenMatcher.class)) {
case DomaincontextcodegenPackage.GEN_MATCHER__NAME:
fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
return;
@@ -111,7 +112,7 @@ public class GenMatcherItemProvider extends ItemProviderAdapter implements IEdit
* that can be created under this object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -123,7 +124,7 @@ public class GenMatcherItemProvider extends ItemProviderAdapter implements IEdit
* Return the resource locator for this item provider's resources.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/MenuDeclarationItemProvider.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/MenuDeclarationItemProvider.java
index b033bc40c3a..68db4afb863 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/MenuDeclarationItemProvider.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/MenuDeclarationItemProvider.java
@@ -29,7 +29,7 @@ import org.eclipse.papyrus.domaincontextcodegen.MenuDeclaration;
* This is the item provider adapter for a {@link org.eclipse.papyrus.domaincontextcodegen.MenuDeclaration} object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public class MenuDeclarationItemProvider extends ItemProviderAdapter implements IEditingDomainItemProvider, IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource {
@@ -38,7 +38,7 @@ public class MenuDeclarationItemProvider extends ItemProviderAdapter implements
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public MenuDeclarationItemProvider(AdapterFactory adapterFactory) {
@@ -49,12 +49,12 @@ public class MenuDeclarationItemProvider extends ItemProviderAdapter implements
* This returns the property descriptors for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
- if(itemPropertyDescriptors == null) {
+ if (itemPropertyDescriptors == null) {
super.getPropertyDescriptors(object);
addLocationURIPropertyDescriptor(object);
@@ -67,29 +67,32 @@ public class MenuDeclarationItemProvider extends ItemProviderAdapter implements
* This adds a property descriptor for the Location URI feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected void addLocationURIPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_MenuDeclaration_locationURI_feature"), getString("_UI_PropertyDescriptor_description", "_UI_MenuDeclaration_locationURI_feature", "_UI_MenuDeclaration_type"), DomaincontextcodegenPackage.Literals.MENU_DECLARATION__LOCATION_URI, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
+ itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_MenuDeclaration_locationURI_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_MenuDeclaration_locationURI_feature", "_UI_MenuDeclaration_type"), DomaincontextcodegenPackage.Literals.MENU_DECLARATION__LOCATION_URI, true, false, false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
}
/**
* This adds a property descriptor for the Commands feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected void addCommandsPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_MenuDeclaration_commands_feature"), getString("_UI_PropertyDescriptor_description", "_UI_MenuDeclaration_commands_feature", "_UI_MenuDeclaration_type"), DomaincontextcodegenPackage.Literals.MENU_DECLARATION__COMMANDS, true, false, true, null, null, null));
+ itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_MenuDeclaration_commands_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_MenuDeclaration_commands_feature", "_UI_MenuDeclaration_type"), DomaincontextcodegenPackage.Literals.MENU_DECLARATION__COMMANDS, true, false, true, null, null, null));
}
/**
* This returns MenuDeclaration.gif.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -101,12 +104,12 @@ public class MenuDeclarationItemProvider extends ItemProviderAdapter implements
* This returns the label text for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public String getText(Object object) {
- String label = ((MenuDeclaration)object).getLocationURI();
+ String label = ((MenuDeclaration) object).getLocationURI();
return label == null || label.length() == 0 ? getString("_UI_MenuDeclaration_type") : getString("_UI_MenuDeclaration_type") + " " + label;
}
@@ -115,14 +118,14 @@ public class MenuDeclarationItemProvider extends ItemProviderAdapter implements
* children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void notifyChanged(Notification notification) {
updateChildren(notification);
- switch(notification.getFeatureID(MenuDeclaration.class)) {
+ switch (notification.getFeatureID(MenuDeclaration.class)) {
case DomaincontextcodegenPackage.MENU_DECLARATION__LOCATION_URI:
fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
return;
@@ -135,7 +138,7 @@ public class MenuDeclarationItemProvider extends ItemProviderAdapter implements
* that can be created under this object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -147,7 +150,7 @@ public class MenuDeclarationItemProvider extends ItemProviderAdapter implements
* Return the resource locator for this item provider's resources.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/MetaClassTypeItemProvider.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/MetaClassTypeItemProvider.java
index dfd0a92c8fa..f46ce2b1a62 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/MetaClassTypeItemProvider.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/MetaClassTypeItemProvider.java
@@ -25,7 +25,7 @@ import org.eclipse.papyrus.domaincontextcodegen.MetaClassType;
* This is the item provider adapter for a {@link org.eclipse.papyrus.domaincontextcodegen.MetaClassType} object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public class MetaClassTypeItemProvider extends ElementTypeItemProvider implements IEditingDomainItemProvider, IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource {
@@ -34,7 +34,7 @@ public class MetaClassTypeItemProvider extends ElementTypeItemProvider implement
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public MetaClassTypeItemProvider(AdapterFactory adapterFactory) {
@@ -45,12 +45,12 @@ public class MetaClassTypeItemProvider extends ElementTypeItemProvider implement
* This returns the property descriptors for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
- if(itemPropertyDescriptors == null) {
+ if (itemPropertyDescriptors == null) {
super.getPropertyDescriptors(object);
addMetaClassPropertyDescriptor(object);
@@ -62,23 +62,24 @@ public class MetaClassTypeItemProvider extends ElementTypeItemProvider implement
* This adds a property descriptor for the Meta Class feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected void addMetaClassPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_MetaClassType_metaClass_feature"), getString("_UI_PropertyDescriptor_description", "_UI_MetaClassType_metaClass_feature", "_UI_MetaClassType_type"), DomaincontextcodegenPackage.Literals.META_CLASS_TYPE__META_CLASS, true, false, true, null, null, null));
+ itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_MetaClassType_metaClass_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_MetaClassType_metaClass_feature", "_UI_MetaClassType_type"), DomaincontextcodegenPackage.Literals.META_CLASS_TYPE__META_CLASS, true, false, true, null, null, null));
}
/**
* This returns MetaClassType.gif.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Object getImage(Object object) {
- if (((MetaClassType)object).getHelper() != null) {
+ if (((MetaClassType) object).getHelper() != null) {
return overlayImage(object, getResourceLocator().getImage("full/obj16/MetaClassType_Modified"));
}
return overlayImage(object, getResourceLocator().getImage("full/obj16/MetaClassType"));
@@ -88,15 +89,15 @@ public class MetaClassTypeItemProvider extends ElementTypeItemProvider implement
* This returns the label text for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public String getText(Object object) {
- String label = ((MetaClassType)object).getName();
+ String label = ((MetaClassType) object).getName();
String prefix = getString("_UI_MetaClassType_type");
- if (((MetaClassType)object).getHelper() != null) {
- prefix = "* "+prefix;
+ if (((MetaClassType) object).getHelper() != null) {
+ prefix = "* " + prefix;
}
return label == null || label.length() == 0 ? prefix : prefix + " " + label;
}
@@ -106,7 +107,7 @@ public class MetaClassTypeItemProvider extends ElementTypeItemProvider implement
* children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -120,7 +121,7 @@ public class MetaClassTypeItemProvider extends ElementTypeItemProvider implement
* that can be created under this object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/SpecializationTypeItemProvider.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/SpecializationTypeItemProvider.java
index 1c610d2f290..f753fbd536b 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/SpecializationTypeItemProvider.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/SpecializationTypeItemProvider.java
@@ -29,7 +29,7 @@ import org.eclipse.papyrus.domaincontextcodegen.SpecializationType;
* This is the item provider adapter for a {@link org.eclipse.papyrus.domaincontextcodegen.SpecializationType} object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public class SpecializationTypeItemProvider extends ElementTypeItemProvider implements IEditingDomainItemProvider, IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource {
@@ -38,7 +38,7 @@ public class SpecializationTypeItemProvider extends ElementTypeItemProvider impl
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public SpecializationTypeItemProvider(AdapterFactory adapterFactory) {
@@ -49,12 +49,12 @@ public class SpecializationTypeItemProvider extends ElementTypeItemProvider impl
* This returns the property descriptors for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
- if(itemPropertyDescriptors == null) {
+ if (itemPropertyDescriptors == null) {
super.getPropertyDescriptors(object);
addRefPropertyDescriptor(object);
@@ -67,36 +67,38 @@ public class SpecializationTypeItemProvider extends ElementTypeItemProvider impl
* This adds a property descriptor for the Ref feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected void addRefPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_SpecializationType_ref_feature"), getString("_UI_PropertyDescriptor_description", "_UI_SpecializationType_ref_feature", "_UI_SpecializationType_type"), DomaincontextcodegenPackage.Literals.SPECIALIZATION_TYPE__REF, true, false, true, null, null, null));
+ itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_SpecializationType_ref_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_SpecializationType_ref_feature", "_UI_SpecializationType_type"), DomaincontextcodegenPackage.Literals.SPECIALIZATION_TYPE__REF, true, false, true, null, null, null));
}
/**
* This adds a property descriptor for the Matcher feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected void addMatcherPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_SpecializationType_matcher_feature"), getString("_UI_PropertyDescriptor_description", "_UI_SpecializationType_matcher_feature", "_UI_SpecializationType_type"), DomaincontextcodegenPackage.Literals.SPECIALIZATION_TYPE__MATCHER, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
+ itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_SpecializationType_matcher_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_SpecializationType_matcher_feature", "_UI_SpecializationType_type"), DomaincontextcodegenPackage.Literals.SPECIALIZATION_TYPE__MATCHER, 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
+ * 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}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Collection<? extends EStructuralFeature> getChildrenFeatures(Object object) {
- if(childrenFeatures == null) {
+ if (childrenFeatures == null) {
super.getChildrenFeatures(object);
childrenFeatures.add(DomaincontextcodegenPackage.Literals.SPECIALIZATION_TYPE__GEN_MATCHER);
childrenFeatures.add(DomaincontextcodegenPackage.Literals.SPECIALIZATION_TYPE__GEN_HELPER);
@@ -107,7 +109,7 @@ public class SpecializationTypeItemProvider extends ElementTypeItemProvider impl
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -122,7 +124,7 @@ public class SpecializationTypeItemProvider extends ElementTypeItemProvider impl
* This returns SpecializationType.gif.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -134,12 +136,12 @@ public class SpecializationTypeItemProvider extends ElementTypeItemProvider impl
* This returns the label text for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public String getText(Object object) {
- String label = ((SpecializationType)object).getName();
+ String label = ((SpecializationType) object).getName();
return label == null || label.length() == 0 ? getString("_UI_SpecializationType_type") : getString("_UI_SpecializationType_type") + " " + label;
}
@@ -148,14 +150,14 @@ public class SpecializationTypeItemProvider extends ElementTypeItemProvider impl
* children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void notifyChanged(Notification notification) {
updateChildren(notification);
- switch(notification.getFeatureID(SpecializationType.class)) {
+ switch (notification.getFeatureID(SpecializationType.class)) {
case DomaincontextcodegenPackage.SPECIALIZATION_TYPE__MATCHER:
fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
return;
@@ -172,7 +174,7 @@ public class SpecializationTypeItemProvider extends ElementTypeItemProvider impl
* that can be created under this object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/StereotypedElementHelperItemProvider.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/StereotypedElementHelperItemProvider.java
index 7925caea595..fc849fc8967 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/StereotypedElementHelperItemProvider.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/StereotypedElementHelperItemProvider.java
@@ -27,7 +27,7 @@ import org.eclipse.papyrus.domaincontextcodegen.StereotypedElementHelper;
* This is the item provider adapter for a {@link org.eclipse.papyrus.domaincontextcodegen.StereotypedElementHelper} object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public class StereotypedElementHelperItemProvider extends GenHelperItemProvider implements IEditingDomainItemProvider, IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource {
@@ -36,7 +36,7 @@ public class StereotypedElementHelperItemProvider extends GenHelperItemProvider
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public StereotypedElementHelperItemProvider(AdapterFactory adapterFactory) {
@@ -47,12 +47,12 @@ public class StereotypedElementHelperItemProvider extends GenHelperItemProvider
* This returns the property descriptors for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
- if(itemPropertyDescriptors == null) {
+ if (itemPropertyDescriptors == null) {
super.getPropertyDescriptors(object);
addStereotypeNamePropertyDescriptor(object);
@@ -67,51 +67,59 @@ public class StereotypedElementHelperItemProvider extends GenHelperItemProvider
* This adds a property descriptor for the Stereotype Name feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected void addStereotypeNamePropertyDescriptor(Object object) {
- itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_StereotypedElementHelper_stereotypeName_feature"), getString("_UI_PropertyDescriptor_description", "_UI_StereotypedElementHelper_stereotypeName_feature", "_UI_StereotypedElementHelper_type"), DomaincontextcodegenPackage.Literals.STEREOTYPED_ELEMENT_HELPER__STEREOTYPE_NAME, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
+ itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_StereotypedElementHelper_stereotypeName_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_StereotypedElementHelper_stereotypeName_feature", "_UI_StereotypedElementHelper_type"), DomaincontextcodegenPackage.Literals.STEREOTYPED_ELEMENT_HELPER__STEREOTYPE_NAME, true, false, false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
}
/**
* This adds a property descriptor for the Stereotype Package feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected void addStereotypePackagePropertyDescriptor(Object object) {
- itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_StereotypedElementHelper_stereotypePackage_feature"), getString("_UI_PropertyDescriptor_description", "_UI_StereotypedElementHelper_stereotypePackage_feature", "_UI_StereotypedElementHelper_type"), DomaincontextcodegenPackage.Literals.STEREOTYPED_ELEMENT_HELPER__STEREOTYPE_PACKAGE, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
+ itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_StereotypedElementHelper_stereotypePackage_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_StereotypedElementHelper_stereotypePackage_feature", "_UI_StereotypedElementHelper_type"), DomaincontextcodegenPackage.Literals.STEREOTYPED_ELEMENT_HELPER__STEREOTYPE_PACKAGE, true, false,
+ false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
}
/**
* This adds a property descriptor for the Base Element Name feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected void addBaseElementNamePropertyDescriptor(Object object) {
- itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_StereotypedElementHelper_baseElementName_feature"), getString("_UI_PropertyDescriptor_description", "_UI_StereotypedElementHelper_baseElementName_feature", "_UI_StereotypedElementHelper_type"), DomaincontextcodegenPackage.Literals.STEREOTYPED_ELEMENT_HELPER__BASE_ELEMENT_NAME, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
+ itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_StereotypedElementHelper_baseElementName_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_StereotypedElementHelper_baseElementName_feature", "_UI_StereotypedElementHelper_type"), DomaincontextcodegenPackage.Literals.STEREOTYPED_ELEMENT_HELPER__BASE_ELEMENT_NAME, true, false,
+ false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
}
/**
* This adds a property descriptor for the Base Element Package feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected void addBaseElementPackagePropertyDescriptor(Object object) {
- itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_StereotypedElementHelper_baseElementPackage_feature"), getString("_UI_PropertyDescriptor_description", "_UI_StereotypedElementHelper_baseElementPackage_feature", "_UI_StereotypedElementHelper_type"), DomaincontextcodegenPackage.Literals.STEREOTYPED_ELEMENT_HELPER__BASE_ELEMENT_PACKAGE, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
+ itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_StereotypedElementHelper_baseElementPackage_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_StereotypedElementHelper_baseElementPackage_feature", "_UI_StereotypedElementHelper_type"), DomaincontextcodegenPackage.Literals.STEREOTYPED_ELEMENT_HELPER__BASE_ELEMENT_PACKAGE, true,
+ false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
}
/**
* This returns StereotypedElementHelper.gif.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -123,12 +131,12 @@ public class StereotypedElementHelperItemProvider extends GenHelperItemProvider
* This returns the label text for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public String getText(Object object) {
- String label = ((StereotypedElementHelper)object).getName();
+ String label = ((StereotypedElementHelper) object).getName();
return label == null || label.length() == 0 ? getString("_UI_StereotypedElementHelper_type") : getString("_UI_StereotypedElementHelper_type") + " " + label;
}
@@ -137,14 +145,14 @@ public class StereotypedElementHelperItemProvider extends GenHelperItemProvider
* children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void notifyChanged(Notification notification) {
updateChildren(notification);
- switch(notification.getFeatureID(StereotypedElementHelper.class)) {
+ switch (notification.getFeatureID(StereotypedElementHelper.class)) {
case DomaincontextcodegenPackage.STEREOTYPED_ELEMENT_HELPER__STEREOTYPE_NAME:
case DomaincontextcodegenPackage.STEREOTYPED_ELEMENT_HELPER__STEREOTYPE_PACKAGE:
case DomaincontextcodegenPackage.STEREOTYPED_ELEMENT_HELPER__BASE_ELEMENT_NAME:
@@ -160,7 +168,7 @@ public class StereotypedElementHelperItemProvider extends GenHelperItemProvider
* that can be created under this object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/StereotypedElementMatcherItemProvider.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/StereotypedElementMatcherItemProvider.java
index b625dc593d6..ed7c27b1136 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/StereotypedElementMatcherItemProvider.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.edit/src/org/eclipse/papyrus/domaincontextcodegen/provider/StereotypedElementMatcherItemProvider.java
@@ -27,7 +27,7 @@ import org.eclipse.papyrus.domaincontextcodegen.StereotypedElementMatcher;
* This is the item provider adapter for a {@link org.eclipse.papyrus.domaincontextcodegen.StereotypedElementMatcher} object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public class StereotypedElementMatcherItemProvider extends GenMatcherItemProvider implements IEditingDomainItemProvider, IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource {
@@ -36,7 +36,7 @@ public class StereotypedElementMatcherItemProvider extends GenMatcherItemProvide
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public StereotypedElementMatcherItemProvider(AdapterFactory adapterFactory) {
@@ -47,12 +47,12 @@ public class StereotypedElementMatcherItemProvider extends GenMatcherItemProvide
* This returns the property descriptors for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
- if(itemPropertyDescriptors == null) {
+ if (itemPropertyDescriptors == null) {
super.getPropertyDescriptors(object);
addStereotypeNamePropertyDescriptor(object);
@@ -67,51 +67,59 @@ public class StereotypedElementMatcherItemProvider extends GenMatcherItemProvide
* This adds a property descriptor for the Stereotype Name feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected void addStereotypeNamePropertyDescriptor(Object object) {
- itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_StereotypedElementMatcher_stereotypeName_feature"), getString("_UI_PropertyDescriptor_description", "_UI_StereotypedElementMatcher_stereotypeName_feature", "_UI_StereotypedElementMatcher_type"), DomaincontextcodegenPackage.Literals.STEREOTYPED_ELEMENT_MATCHER__STEREOTYPE_NAME, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
+ itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_StereotypedElementMatcher_stereotypeName_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_StereotypedElementMatcher_stereotypeName_feature", "_UI_StereotypedElementMatcher_type"), DomaincontextcodegenPackage.Literals.STEREOTYPED_ELEMENT_MATCHER__STEREOTYPE_NAME, true, false,
+ false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
}
/**
* This adds a property descriptor for the Stereotype Package feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected void addStereotypePackagePropertyDescriptor(Object object) {
- itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_StereotypedElementMatcher_stereotypePackage_feature"), getString("_UI_PropertyDescriptor_description", "_UI_StereotypedElementMatcher_stereotypePackage_feature", "_UI_StereotypedElementMatcher_type"), DomaincontextcodegenPackage.Literals.STEREOTYPED_ELEMENT_MATCHER__STEREOTYPE_PACKAGE, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
+ itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_StereotypedElementMatcher_stereotypePackage_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_StereotypedElementMatcher_stereotypePackage_feature", "_UI_StereotypedElementMatcher_type"), DomaincontextcodegenPackage.Literals.STEREOTYPED_ELEMENT_MATCHER__STEREOTYPE_PACKAGE, true,
+ false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
}
/**
* This adds a property descriptor for the Base Element Name feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected void addBaseElementNamePropertyDescriptor(Object object) {
- itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_StereotypedElementMatcher_baseElementName_feature"), getString("_UI_PropertyDescriptor_description", "_UI_StereotypedElementMatcher_baseElementName_feature", "_UI_StereotypedElementMatcher_type"), DomaincontextcodegenPackage.Literals.STEREOTYPED_ELEMENT_MATCHER__BASE_ELEMENT_NAME, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
+ itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_StereotypedElementMatcher_baseElementName_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_StereotypedElementMatcher_baseElementName_feature", "_UI_StereotypedElementMatcher_type"), DomaincontextcodegenPackage.Literals.STEREOTYPED_ELEMENT_MATCHER__BASE_ELEMENT_NAME, true, false,
+ false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
}
/**
* This adds a property descriptor for the Base Element Package feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected void addBaseElementPackagePropertyDescriptor(Object object) {
- itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_StereotypedElementMatcher_baseElementPackage_feature"), getString("_UI_PropertyDescriptor_description", "_UI_StereotypedElementMatcher_baseElementPackage_feature", "_UI_StereotypedElementMatcher_type"), DomaincontextcodegenPackage.Literals.STEREOTYPED_ELEMENT_MATCHER__BASE_ELEMENT_PACKAGE, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
+ itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_StereotypedElementMatcher_baseElementPackage_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_StereotypedElementMatcher_baseElementPackage_feature", "_UI_StereotypedElementMatcher_type"), DomaincontextcodegenPackage.Literals.STEREOTYPED_ELEMENT_MATCHER__BASE_ELEMENT_PACKAGE, true,
+ false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
}
/**
* This returns StereotypedElementMatcher.gif.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -123,12 +131,12 @@ public class StereotypedElementMatcherItemProvider extends GenMatcherItemProvide
* This returns the label text for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public String getText(Object object) {
- String label = ((StereotypedElementMatcher)object).getName();
+ String label = ((StereotypedElementMatcher) object).getName();
return label == null || label.length() == 0 ? getString("_UI_StereotypedElementMatcher_type") : getString("_UI_StereotypedElementMatcher_type") + " " + label;
}
@@ -137,14 +145,14 @@ public class StereotypedElementMatcherItemProvider extends GenMatcherItemProvide
* children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void notifyChanged(Notification notification) {
updateChildren(notification);
- switch(notification.getFeatureID(StereotypedElementMatcher.class)) {
+ switch (notification.getFeatureID(StereotypedElementMatcher.class)) {
case DomaincontextcodegenPackage.STEREOTYPED_ELEMENT_MATCHER__STEREOTYPE_NAME:
case DomaincontextcodegenPackage.STEREOTYPED_ELEMENT_MATCHER__STEREOTYPE_PACKAGE:
case DomaincontextcodegenPackage.STEREOTYPED_ELEMENT_MATCHER__BASE_ELEMENT_NAME:
@@ -160,7 +168,7 @@ public class StereotypedElementMatcherItemProvider extends GenMatcherItemProvide
* that can be created under this object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.editor/src/org/eclipse/papyrus/domaincontextcodegen/presentation/DomainContextEditorPlugin.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.editor/src/org/eclipse/papyrus/domaincontextcodegen/presentation/DomainContextEditorPlugin.java
index 66a07b8350e..e4e9a881a2a 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.editor/src/org/eclipse/papyrus/domaincontextcodegen/presentation/DomainContextEditorPlugin.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.editor/src/org/eclipse/papyrus/domaincontextcodegen/presentation/DomainContextEditorPlugin.java
@@ -15,7 +15,7 @@ import org.eclipse.emf.ecore.provider.EcoreEditPlugin;
* This is the central singleton for the DomainContext editor plugin.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public final class DomainContextEditorPlugin extends EMFPlugin {
@@ -24,7 +24,7 @@ public final class DomainContextEditorPlugin extends EMFPlugin {
* Keep track of the singleton.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public static final DomainContextEditorPlugin INSTANCE = new DomainContextEditorPlugin();
@@ -33,7 +33,7 @@ public final class DomainContextEditorPlugin extends EMFPlugin {
* Keep track of the singleton.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
private static Implementation plugin;
@@ -42,18 +42,18 @@ public final class DomainContextEditorPlugin extends EMFPlugin {
* Create the instance.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public DomainContextEditorPlugin() {
- super(new ResourceLocator[]{ EcoreEditPlugin.INSTANCE, });
+ super(new ResourceLocator[] { EcoreEditPlugin.INSTANCE, });
}
/**
* Returns the singleton instance of the Eclipse plugin.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the singleton instance.
* @generated
*/
@@ -66,7 +66,7 @@ public final class DomainContextEditorPlugin extends EMFPlugin {
* Returns the singleton instance of the Eclipse plugin.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the singleton instance.
* @generated
*/
@@ -78,7 +78,7 @@ public final class DomainContextEditorPlugin extends EMFPlugin {
* The actual implementation of the Eclipse <b>Plugin</b>.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public static class Implementation extends EclipseUIPlugin {
@@ -87,7 +87,7 @@ public final class DomainContextEditorPlugin extends EMFPlugin {
* Creates an instance.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public Implementation() {
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.editor/src/org/eclipse/papyrus/domaincontextcodegen/presentation/DomaincontextcodegenActionBarContributor.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.editor/src/org/eclipse/papyrus/domaincontextcodegen/presentation/DomaincontextcodegenActionBarContributor.java
index 10820757c91..b09086aac34 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.editor/src/org/eclipse/papyrus/domaincontextcodegen/presentation/DomaincontextcodegenActionBarContributor.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.editor/src/org/eclipse/papyrus/domaincontextcodegen/presentation/DomaincontextcodegenActionBarContributor.java
@@ -42,7 +42,7 @@ import org.eclipse.ui.PartInitException;
* This is the action bar contributor for the Domaincontextcodegen model editor.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public class DomaincontextcodegenActionBarContributor extends EditingDomainActionBarContributor implements ISelectionChangedListener {
@@ -51,7 +51,7 @@ public class DomaincontextcodegenActionBarContributor extends EditingDomainActio
* This keeps track of the active editor.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected IEditorPart activeEditorPart;
@@ -60,7 +60,7 @@ public class DomaincontextcodegenActionBarContributor extends EditingDomainActio
* This keeps track of the current selection provider.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected ISelectionProvider selectionProvider;
@@ -69,7 +69,7 @@ public class DomaincontextcodegenActionBarContributor extends EditingDomainActio
* This action opens the Properties view.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected IAction showPropertiesViewAction = new Action(DomainContextEditorPlugin.INSTANCE.getString("_UI_ShowPropertiesView_menu_item")) {
@@ -89,7 +89,7 @@ public class DomaincontextcodegenActionBarContributor extends EditingDomainActio
* implements {@link org.eclipse.emf.common.ui.viewer.IViewerProvider}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected IAction refreshViewerAction = new Action(DomainContextEditorPlugin.INSTANCE.getString("_UI_RefreshViewer_menu_item")) {
@@ -101,9 +101,9 @@ public class DomaincontextcodegenActionBarContributor extends EditingDomainActio
@Override
public void run() {
- if(activeEditorPart instanceof IViewerProvider) {
- Viewer viewer = ((IViewerProvider)activeEditorPart).getViewer();
- if(viewer != null) {
+ if (activeEditorPart instanceof IViewerProvider) {
+ Viewer viewer = ((IViewerProvider) activeEditorPart).getViewer();
+ if (viewer != null) {
viewer.refresh();
}
}
@@ -115,7 +115,7 @@ public class DomaincontextcodegenActionBarContributor extends EditingDomainActio
* generated for the current selection by the item provider.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected Collection<IAction> createChildActions;
@@ -124,7 +124,7 @@ public class DomaincontextcodegenActionBarContributor extends EditingDomainActio
* This is the menu manager into which menu contribution items should be added for CreateChild actions.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected IMenuManager createChildMenuManager;
@@ -134,7 +134,7 @@ public class DomaincontextcodegenActionBarContributor extends EditingDomainActio
* generated for the current selection by the item provider.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected Collection<IAction> createSiblingActions;
@@ -143,7 +143,7 @@ public class DomaincontextcodegenActionBarContributor extends EditingDomainActio
* This is the menu manager into which menu contribution items should be added for CreateSibling actions.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected IMenuManager createSiblingMenuManager;
@@ -152,7 +152,7 @@ public class DomaincontextcodegenActionBarContributor extends EditingDomainActio
* This creates an instance of the contributor.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public DomaincontextcodegenActionBarContributor() {
@@ -166,7 +166,7 @@ public class DomaincontextcodegenActionBarContributor extends EditingDomainActio
* This adds Separators for editor additions to the tool bar.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -180,7 +180,7 @@ public class DomaincontextcodegenActionBarContributor extends EditingDomainActio
* as well as the sub-menus for object creation items.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -220,7 +220,7 @@ public class DomaincontextcodegenActionBarContributor extends EditingDomainActio
* When the active editor changes, this remembers the change and registers with it as a selection provider.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -230,10 +230,10 @@ public class DomaincontextcodegenActionBarContributor extends EditingDomainActio
// Switch to the new selection provider.
//
- if(selectionProvider != null) {
+ if (selectionProvider != null) {
selectionProvider.removeSelectionChangedListener(this);
}
- if(part == null) {
+ if (part == null) {
selectionProvider = null;
} else {
selectionProvider = part.getSite().getSelectionProvider();
@@ -241,7 +241,7 @@ public class DomaincontextcodegenActionBarContributor extends EditingDomainActio
// Fake a selection changed event to update the menus.
//
- if(selectionProvider.getSelection() != null) {
+ if (selectionProvider.getSelection() != null) {
selectionChanged(new SelectionChangedEvent(selectionProvider, selectionProvider.getSelection()));
}
}
@@ -253,16 +253,16 @@ public class DomaincontextcodegenActionBarContributor extends EditingDomainActio
* that can be added to the selected object and updating the menus accordingly.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void selectionChanged(SelectionChangedEvent event) {
// Remove any menu items for old selection.
//
- if(createChildMenuManager != null) {
+ if (createChildMenuManager != null) {
depopulateManager(createChildMenuManager, createChildActions);
}
- if(createSiblingMenuManager != null) {
+ if (createSiblingMenuManager != null) {
depopulateManager(createSiblingMenuManager, createSiblingActions);
}
@@ -272,10 +272,10 @@ public class DomaincontextcodegenActionBarContributor extends EditingDomainActio
Collection<?> newSiblingDescriptors = null;
ISelection selection = event.getSelection();
- if(selection instanceof IStructuredSelection && ((IStructuredSelection)selection).size() == 1) {
- Object object = ((IStructuredSelection)selection).getFirstElement();
+ if (selection instanceof IStructuredSelection && ((IStructuredSelection) selection).size() == 1) {
+ Object object = ((IStructuredSelection) selection).getFirstElement();
- EditingDomain domain = ((IEditingDomainProvider)activeEditorPart).getEditingDomain();
+ EditingDomain domain = ((IEditingDomainProvider) activeEditorPart).getEditingDomain();
newChildDescriptors = domain.getNewChildDescriptors(object, null);
newSiblingDescriptors = domain.getNewChildDescriptors(null, object);
@@ -286,11 +286,11 @@ public class DomaincontextcodegenActionBarContributor extends EditingDomainActio
createChildActions = generateCreateChildActions(newChildDescriptors, selection);
createSiblingActions = generateCreateSiblingActions(newSiblingDescriptors, selection);
- if(createChildMenuManager != null) {
+ if (createChildMenuManager != null) {
populateManager(createChildMenuManager, createChildActions, null);
createChildMenuManager.update(true);
}
- if(createSiblingMenuManager != null) {
+ if (createSiblingMenuManager != null) {
populateManager(createSiblingMenuManager, createSiblingActions, null);
createSiblingMenuManager.update(true);
}
@@ -301,13 +301,13 @@ public class DomaincontextcodegenActionBarContributor extends EditingDomainActio
* and returns the collection of these actions.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected Collection<IAction> generateCreateChildActions(Collection<?> descriptors, ISelection selection) {
Collection<IAction> actions = new ArrayList<IAction>();
- if(descriptors != null) {
- for(Object descriptor : descriptors) {
+ if (descriptors != null) {
+ for (Object descriptor : descriptors) {
actions.add(new CreateChildAction(activeEditorPart, selection, descriptor));
}
}
@@ -319,13 +319,13 @@ public class DomaincontextcodegenActionBarContributor extends EditingDomainActio
* and returns the collection of these actions.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected Collection<IAction> generateCreateSiblingActions(Collection<?> descriptors, ISelection selection) {
Collection<IAction> actions = new ArrayList<IAction>();
- if(descriptors != null) {
- for(Object descriptor : descriptors) {
+ if (descriptors != null) {
+ for (Object descriptor : descriptors) {
actions.add(new CreateSiblingAction(activeEditorPart, selection, descriptor));
}
}
@@ -339,13 +339,13 @@ public class DomaincontextcodegenActionBarContributor extends EditingDomainActio
* If <code>contributionID</code> is <code>null</code>, they are simply added.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected void populateManager(IContributionManager manager, Collection<? extends IAction> actions, String contributionID) {
- if(actions != null) {
- for(IAction action : actions) {
- if(contributionID != null) {
+ if (actions != null) {
+ for (IAction action : actions) {
+ if (contributionID != null) {
manager.insertBefore(contributionID, action);
} else {
manager.add(action);
@@ -359,25 +359,25 @@ public class DomaincontextcodegenActionBarContributor extends EditingDomainActio
* based on the {@link org.eclipse.jface.action.IAction}s contained in the <code>actions</code> collection.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected void depopulateManager(IContributionManager manager, Collection<? extends IAction> actions) {
- if(actions != null) {
+ if (actions != null) {
IContributionItem[] items = manager.getItems();
- for(int i = 0; i < items.length; i++) {
+ for (int i = 0; i < items.length; i++) {
// Look into SubContributionItems
//
IContributionItem contributionItem = items[i];
- while(contributionItem instanceof SubContributionItem) {
- contributionItem = ((SubContributionItem)contributionItem).getInnerItem();
+ while (contributionItem instanceof SubContributionItem) {
+ contributionItem = ((SubContributionItem) contributionItem).getInnerItem();
}
// Delete the ActionContributionItems with matching action.
//
- if(contributionItem instanceof ActionContributionItem) {
- IAction action = ((ActionContributionItem)contributionItem).getAction();
- if(actions.contains(action)) {
+ if (contributionItem instanceof ActionContributionItem) {
+ IAction action = ((ActionContributionItem) contributionItem).getAction();
+ if (actions.contains(action)) {
manager.remove(contributionItem);
}
}
@@ -389,7 +389,7 @@ public class DomaincontextcodegenActionBarContributor extends EditingDomainActio
* This populates the pop-up menu before it appears.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -410,7 +410,7 @@ public class DomaincontextcodegenActionBarContributor extends EditingDomainActio
* This inserts global actions before the "additions-end" separator.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -428,7 +428,7 @@ public class DomaincontextcodegenActionBarContributor extends EditingDomainActio
* This ensures that a delete action will clean up all references to deleted objects.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.editor/src/org/eclipse/papyrus/domaincontextcodegen/presentation/DomaincontextcodegenEditor.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.editor/src/org/eclipse/papyrus/domaincontextcodegen/presentation/DomaincontextcodegenEditor.java
index a65802ad7e2..84c749d2b4e 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.editor/src/org/eclipse/papyrus/domaincontextcodegen/presentation/DomaincontextcodegenEditor.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.editor/src/org/eclipse/papyrus/domaincontextcodegen/presentation/DomaincontextcodegenEditor.java
@@ -127,7 +127,7 @@ import org.eclipse.ui.views.properties.PropertySheetPage;
* This is an example of a Domaincontextcodegen model editor.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public class DomaincontextcodegenEditor extends MultiPageEditorPart implements IEditingDomainProvider, ISelectionProvider, IMenuListener, IViewerProvider, IGotoMarker {
@@ -136,7 +136,7 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
* This keeps track of the editing domain that is used to track all changes to the model.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected AdapterFactoryEditingDomain editingDomain;
@@ -145,7 +145,7 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
* This is the one adapter factory used for providing views of the model.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected ComposedAdapterFactory adapterFactory;
@@ -154,7 +154,7 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
* This is the content outline page.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected IContentOutlinePage contentOutlinePage;
@@ -163,7 +163,7 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
* This is a kludge...
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected IStatusLineManager contentOutlineStatusLineManager;
@@ -172,7 +172,7 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
* This is the content outline page's viewer.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected TreeViewer contentOutlineViewer;
@@ -181,7 +181,7 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
* This is the property sheet page.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected PropertySheetPage propertySheetPage;
@@ -191,7 +191,7 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
* The parent relation must be correctly defined for this to work.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected TreeViewer selectionViewer;
@@ -200,7 +200,7 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
* This inverts the roll of parent and child in the content provider and show parents as a tree.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected TreeViewer parentViewer;
@@ -209,7 +209,7 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
* This shows how a tree view works.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected TreeViewer treeViewer;
@@ -219,7 +219,7 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
* A list viewer doesn't support icons.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected ListViewer listViewer;
@@ -229,7 +229,7 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
* A table can be used as a list with icons.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected TableViewer tableViewer;
@@ -238,7 +238,7 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
* This shows how a tree view with columns works.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected TreeViewer treeViewerWithColumns;
@@ -247,7 +247,7 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
* This keeps track of the active viewer pane, in the book.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected ViewerPane currentViewerPane;
@@ -256,7 +256,7 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
* This keeps track of the active content viewer, which may be either one of the viewers in the pages or the content outline viewer.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected Viewer currentViewer;
@@ -265,7 +265,7 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
* This listens to which ever viewer is active.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected ISelectionChangedListener selectionChangedListener;
@@ -274,7 +274,7 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
* This keeps track of all the {@link org.eclipse.jface.viewers.ISelectionChangedListener}s that are listening to this editor.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected Collection<ISelectionChangedListener> selectionChangedListeners = new ArrayList<ISelectionChangedListener>();
@@ -283,7 +283,7 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
* This keeps track of the selection of the editor as a whole.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected ISelection editorSelection = StructuredSelection.EMPTY;
@@ -293,7 +293,7 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
* in Eclipse's Problems View.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected MarkerHelper markerHelper = new EditUIMarkerHelper();
@@ -302,24 +302,24 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
* This listens for when the outline becomes active
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected IPartListener partListener = new IPartListener() {
public void partActivated(IWorkbenchPart p) {
- if(p instanceof ContentOutline) {
- if(((ContentOutline)p).getCurrentPage() == contentOutlinePage) {
+ if (p instanceof ContentOutline) {
+ if (((ContentOutline) p).getCurrentPage() == contentOutlinePage) {
getActionBarContributor().setActiveEditor(DomaincontextcodegenEditor.this);
setCurrentViewer(contentOutlineViewer);
}
- } else if(p instanceof PropertySheet) {
- if(((PropertySheet)p).getCurrentPage() == propertySheetPage) {
+ } else if (p instanceof PropertySheet) {
+ if (((PropertySheet) p).getCurrentPage() == propertySheetPage) {
getActionBarContributor().setActiveEditor(DomaincontextcodegenEditor.this);
handleActivate();
}
- } else if(p == DomaincontextcodegenEditor.this) {
+ } else if (p == DomaincontextcodegenEditor.this) {
handleActivate();
}
}
@@ -345,7 +345,7 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
* Resources that have been removed since last activation.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected Collection<Resource> removedResources = new ArrayList<Resource>();
@@ -354,7 +354,7 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
* Resources that have been changed since last activation.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected Collection<Resource> changedResources = new ArrayList<Resource>();
@@ -363,7 +363,7 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
* Resources that have been saved.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected Collection<Resource> savedResources = new ArrayList<Resource>();
@@ -372,7 +372,7 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
* Map to store the diagnostic associated with a resource.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected Map<Resource, Diagnostic> resourceToDiagnosticMap = new LinkedHashMap<Resource, Diagnostic>();
@@ -381,7 +381,7 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
* Controls whether the problem indication should be updated.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected boolean updateProblemIndication = true;
@@ -390,28 +390,28 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
* Adapter used to update the problem indication when resources are demanded loaded.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected EContentAdapter problemIndicationAdapter = new EContentAdapter() {
@Override
public void notifyChanged(Notification notification) {
- if(notification.getNotifier() instanceof Resource) {
- switch(notification.getFeatureID(Resource.class)) {
+ if (notification.getNotifier() instanceof Resource) {
+ switch (notification.getFeatureID(Resource.class)) {
case Resource.RESOURCE__IS_LOADED:
case Resource.RESOURCE__ERRORS:
case Resource.RESOURCE__WARNINGS:
{
- Resource resource = (Resource)notification.getNotifier();
+ Resource resource = (Resource) notification.getNotifier();
Diagnostic diagnostic = analyzeResourceProblems(resource, null);
- if(diagnostic.getSeverity() != Diagnostic.OK) {
+ if (diagnostic.getSeverity() != Diagnostic.OK) {
resourceToDiagnosticMap.put(resource, diagnostic);
} else {
resourceToDiagnosticMap.remove(resource);
}
- if(updateProblemIndication) {
+ if (updateProblemIndication) {
getSite().getShell().getDisplay().asyncExec(new Runnable() {
public void run() {
@@ -442,7 +442,7 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
* This listens for workspace changes.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected IResourceChangeListener resourceChangeListener = new IResourceChangeListener() {
@@ -459,13 +459,13 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
protected Collection<Resource> removedResources = new ArrayList<Resource>();
public boolean visit(IResourceDelta delta) {
- if(delta.getResource().getType() == IResource.FILE) {
- if(delta.getKind() == IResourceDelta.REMOVED || delta.getKind() == IResourceDelta.CHANGED && delta.getFlags() != IResourceDelta.MARKERS) {
+ if (delta.getResource().getType() == IResource.FILE) {
+ if (delta.getKind() == IResourceDelta.REMOVED || delta.getKind() == IResourceDelta.CHANGED && delta.getFlags() != IResourceDelta.MARKERS) {
Resource resource = resourceSet.getResource(URI.createPlatformResourceURI(delta.getFullPath().toString(), true), false);
- if(resource != null) {
- if(delta.getKind() == IResourceDelta.REMOVED) {
+ if (resource != null) {
+ if (delta.getKind() == IResourceDelta.REMOVED) {
removedResources.add(resource);
- } else if(!savedResources.remove(resource)) {
+ } else if (!savedResources.remove(resource)) {
changedResources.add(resource);
}
}
@@ -487,24 +487,24 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
final ResourceDeltaVisitor visitor = new ResourceDeltaVisitor();
delta.accept(visitor);
- if(!visitor.getRemovedResources().isEmpty()) {
+ if (!visitor.getRemovedResources().isEmpty()) {
getSite().getShell().getDisplay().asyncExec(new Runnable() {
public void run() {
removedResources.addAll(visitor.getRemovedResources());
- if(!isDirty()) {
+ if (!isDirty()) {
getSite().getPage().closeEditor(DomaincontextcodegenEditor.this, false);
}
}
});
}
- if(!visitor.getChangedResources().isEmpty()) {
+ if (!visitor.getChangedResources().isEmpty()) {
getSite().getShell().getDisplay().asyncExec(new Runnable() {
public void run() {
changedResources.addAll(visitor.getChangedResources());
- if(getSite().getPage().getActiveEditor() == DomaincontextcodegenEditor.this) {
+ if (getSite().getPage().getActiveEditor() == DomaincontextcodegenEditor.this) {
handleActivate();
}
}
@@ -520,13 +520,13 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
* Handles activation of the editor or it's associated views.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected void handleActivate() {
// Recompute the read only state.
//
- if(editingDomain.getResourceToReadOnlyMap() != null) {
+ if (editingDomain.getResourceToReadOnlyMap() != null) {
editingDomain.getResourceToReadOnlyMap().clear();
// Refresh any actions that may become enabled or disabled.
@@ -534,15 +534,15 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
setSelection(getSelection());
}
- if(!removedResources.isEmpty()) {
- if(handleDirtyConflict()) {
+ if (!removedResources.isEmpty()) {
+ if (handleDirtyConflict()) {
getSite().getPage().closeEditor(DomaincontextcodegenEditor.this, false);
} else {
removedResources.clear();
changedResources.clear();
savedResources.clear();
}
- } else if(!changedResources.isEmpty()) {
+ } else if (!changedResources.isEmpty()) {
changedResources.removeAll(savedResources);
handleChangedResources();
changedResources.clear();
@@ -554,31 +554,31 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
* Handles what to do with changed resources on activation.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected void handleChangedResources() {
- if(!changedResources.isEmpty() && (!isDirty() || handleDirtyConflict())) {
- if(isDirty()) {
+ if (!changedResources.isEmpty() && (!isDirty() || handleDirtyConflict())) {
+ if (isDirty()) {
changedResources.addAll(editingDomain.getResourceSet().getResources());
}
editingDomain.getCommandStack().flush();
updateProblemIndication = false;
- for(Resource resource : changedResources) {
- if(resource.isLoaded()) {
+ for (Resource resource : changedResources) {
+ if (resource.isLoaded()) {
resource.unload();
try {
resource.load(Collections.EMPTY_MAP);
} catch (IOException exception) {
- if(!resourceToDiagnosticMap.containsKey(resource)) {
+ if (!resourceToDiagnosticMap.containsKey(resource)) {
resourceToDiagnosticMap.put(resource, analyzeResourceProblems(resource, exception));
}
}
}
}
- if(AdapterFactoryEditingDomain.isStale(editorSelection)) {
+ if (AdapterFactoryEditingDomain.isStale(editorSelection)) {
setSelection(StructuredSelection.EMPTY);
}
@@ -591,25 +591,25 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
* Updates the problems indication with the information described in the specified diagnostic.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected void updateProblemIndication() {
- if(updateProblemIndication) {
- BasicDiagnostic diagnostic = new BasicDiagnostic(Diagnostic.OK, "org.eclipse.papyrus.domaincontextcodegen.editor", 0, null, new Object[]{ editingDomain.getResourceSet() });
- for(Diagnostic childDiagnostic : resourceToDiagnosticMap.values()) {
- if(childDiagnostic.getSeverity() != Diagnostic.OK) {
+ if (updateProblemIndication) {
+ BasicDiagnostic diagnostic = new BasicDiagnostic(Diagnostic.OK, "org.eclipse.papyrus.domaincontextcodegen.editor", 0, null, new Object[] { editingDomain.getResourceSet() });
+ for (Diagnostic childDiagnostic : resourceToDiagnosticMap.values()) {
+ if (childDiagnostic.getSeverity() != Diagnostic.OK) {
diagnostic.add(childDiagnostic);
}
}
int lastEditorPage = getPageCount() - 1;
- if(lastEditorPage >= 0 && getEditor(lastEditorPage) instanceof ProblemEditorPart) {
- ((ProblemEditorPart)getEditor(lastEditorPage)).setDiagnostic(diagnostic);
- if(diagnostic.getSeverity() != Diagnostic.OK) {
+ if (lastEditorPage >= 0 && getEditor(lastEditorPage) instanceof ProblemEditorPart) {
+ ((ProblemEditorPart) getEditor(lastEditorPage)).setDiagnostic(diagnostic);
+ if (diagnostic.getSeverity() != Diagnostic.OK) {
setActivePage(lastEditorPage);
}
- } else if(diagnostic.getSeverity() != Diagnostic.OK) {
+ } else if (diagnostic.getSeverity() != Diagnostic.OK) {
ProblemEditorPart problemEditorPart = new ProblemEditorPart();
problemEditorPart.setDiagnostic(diagnostic);
problemEditorPart.setMarkerHelper(markerHelper);
@@ -623,9 +623,9 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
}
}
- if(markerHelper.hasMarkers(editingDomain.getResourceSet())) {
+ if (markerHelper.hasMarkers(editingDomain.getResourceSet())) {
markerHelper.deleteMarkers(editingDomain.getResourceSet());
- if(diagnostic.getSeverity() != Diagnostic.OK) {
+ if (diagnostic.getSeverity() != Diagnostic.OK) {
try {
markerHelper.createMarkers(diagnostic);
} catch (CoreException exception) {
@@ -640,7 +640,7 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
* Shows a dialog that asks if conflicting changes should be discarded.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected boolean handleDirtyConflict() {
@@ -651,7 +651,7 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
* This creates a model editor.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public DomaincontextcodegenEditor() {
@@ -663,7 +663,7 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
* This sets up the editing domain for the model editor.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected void initializeEditingDomain() {
@@ -692,11 +692,11 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
// Try to select the affected objects.
//
- Command mostRecentCommand = ((CommandStack)event.getSource()).getMostRecentCommand();
- if(mostRecentCommand != null) {
+ Command mostRecentCommand = ((CommandStack) event.getSource()).getMostRecentCommand();
+ if (mostRecentCommand != null) {
setSelectionToViewer(mostRecentCommand.getAffectedObjects());
}
- if(propertySheetPage != null && !propertySheetPage.getControl().isDisposed()) {
+ if (propertySheetPage != null && !propertySheetPage.getControl().isDisposed()) {
propertySheetPage.refresh();
}
}
@@ -713,7 +713,7 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
* This is here for the listener to be able to call it.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -725,20 +725,20 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
* This sets the selection into whichever viewer is active.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setSelectionToViewer(Collection<?> collection) {
final Collection<?> theSelection = collection;
// Make sure it's okay.
//
- if(theSelection != null && !theSelection.isEmpty()) {
+ if (theSelection != null && !theSelection.isEmpty()) {
Runnable runnable = new Runnable() {
public void run() {
// Try to select the items in the current content viewer of the editor.
//
- if(currentViewer != null) {
+ if (currentViewer != null) {
currentViewer.setSelection(new StructuredSelection(theSelection.toArray()), true);
}
}
@@ -749,11 +749,10 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
/**
* This returns the editing domain as required by the {@link IEditingDomainProvider} interface.
- * This is important for implementing the static methods of {@link AdapterFactoryEditingDomain} and for supporting
- * {@link org.eclipse.emf.edit.ui.action.CommandAction}.
+ * This is important for implementing the static methods of {@link AdapterFactoryEditingDomain} and for supporting {@link org.eclipse.emf.edit.ui.action.CommandAction}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EditingDomain getEditingDomain() {
@@ -763,7 +762,7 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public class ReverseAdapterFactoryContentProvider extends AdapterFactoryContentProvider {
@@ -771,7 +770,7 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public ReverseAdapterFactoryContentProvider(AdapterFactory adapterFactory) {
@@ -781,7 +780,7 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -793,7 +792,7 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -805,7 +804,7 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -817,7 +816,7 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -829,12 +828,12 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setCurrentViewerPane(ViewerPane viewerPane) {
- if(currentViewerPane != viewerPane) {
- if(currentViewerPane != null) {
+ if (currentViewerPane != viewerPane) {
+ if (currentViewerPane != null) {
currentViewerPane.showFocus(false);
}
currentViewerPane = viewerPane;
@@ -847,14 +846,14 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
* is the current one.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setCurrentViewer(Viewer viewer) {
// If it is changing...
//
- if(currentViewer != viewer) {
- if(selectionChangedListener == null) {
+ if (currentViewer != viewer) {
+ if (selectionChangedListener == null) {
// Create the listener on demand.
//
selectionChangedListener = new ISelectionChangedListener() {
@@ -869,13 +868,13 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
// Stop listening to the old one.
//
- if(currentViewer != null) {
+ if (currentViewer != null) {
currentViewer.removeSelectionChangedListener(selectionChangedListener);
}
// Start listening to the new one.
//
- if(viewer != null) {
+ if (viewer != null) {
viewer.addSelectionChangedListener(selectionChangedListener);
}
@@ -893,7 +892,7 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
* This returns the viewer as required by the {@link IViewerProvider} interface.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public Viewer getViewer() {
@@ -904,7 +903,7 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
* This creates a context menu for the viewer and adds a listener as well registering the menu for extension.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected void createContextMenuFor(StructuredViewer viewer) {
@@ -917,7 +916,7 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
getSite().registerContextMenu(contextMenu, new UnwrappingSelectionProvider(viewer));
int dndOperations = DND.DROP_COPY | DND.DROP_MOVE | DND.DROP_LINK;
- Transfer[] transfers = new Transfer[]{ LocalTransfer.getInstance() };
+ Transfer[] transfers = new Transfer[] { LocalTransfer.getInstance() };
viewer.addDragSupport(dndOperations, transfers, new ViewerDragAdapter(viewer));
viewer.addDropSupport(dndOperations, transfers, new EditingDomainViewerDropAdapter(editingDomain, viewer));
}
@@ -926,7 +925,7 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
* This is the method called to load a resource into the editing domain's resource set based on the editor's input.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void createModel() {
@@ -943,7 +942,7 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
}
Diagnostic diagnostic = analyzeResourceProblems(resource, exception);
- if(diagnostic.getSeverity() != Diagnostic.OK) {
+ if (diagnostic.getSeverity() != Diagnostic.OK) {
resourceToDiagnosticMap.put(resource, analyzeResourceProblems(resource, exception));
}
editingDomain.getResourceSet().eAdapters().add(problemIndicationAdapter);
@@ -954,16 +953,17 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
* and the specified exception (if any).
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public Diagnostic analyzeResourceProblems(Resource resource, Exception exception) {
- if(!resource.getErrors().isEmpty() || !resource.getWarnings().isEmpty()) {
- BasicDiagnostic basicDiagnostic = new BasicDiagnostic(Diagnostic.ERROR, "org.eclipse.papyrus.domaincontextcodegen.editor", 0, getString("_UI_CreateModelError_message", resource.getURI()), new Object[]{ exception == null ? (Object)resource : exception });
+ if (!resource.getErrors().isEmpty() || !resource.getWarnings().isEmpty()) {
+ BasicDiagnostic basicDiagnostic = new BasicDiagnostic(Diagnostic.ERROR, "org.eclipse.papyrus.domaincontextcodegen.editor", 0, getString("_UI_CreateModelError_message", resource.getURI()), new Object[] { exception == null ? (Object) resource
+ : exception });
basicDiagnostic.merge(EcoreUtil.computeDiagnostic(resource, true));
return basicDiagnostic;
- } else if(exception != null) {
- return new BasicDiagnostic(Diagnostic.ERROR, "org.eclipse.papyrus.domaincontextcodegen.editor", 0, getString("_UI_CreateModelError_message", resource.getURI()), new Object[]{ exception });
+ } else if (exception != null) {
+ return new BasicDiagnostic(Diagnostic.ERROR, "org.eclipse.papyrus.domaincontextcodegen.editor", 0, getString("_UI_CreateModelError_message", resource.getURI()), new Object[] { exception });
} else {
return Diagnostic.OK_INSTANCE;
}
@@ -973,7 +973,7 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
* This is the method used by the framework to install your own controls.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -984,7 +984,7 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
// Only creates the other pages if there is something that can be edited
//
- if(!getEditingDomain().getResourceSet().getResources().isEmpty()) {
+ if (!getEditingDomain().getResourceSet().getResources().isEmpty()) {
// Create a page for the selection tree view.
//
{
@@ -1005,7 +1005,7 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
};
viewerPane.createControl(getContainer());
- selectionViewer = (TreeViewer)viewerPane.getViewer();
+ selectionViewer = (TreeViewer) viewerPane.getViewer();
selectionViewer.setContentProvider(new AdapterFactoryContentProvider(adapterFactory));
selectionViewer.setLabelProvider(new AdapterFactoryLabelProvider(adapterFactory));
@@ -1040,7 +1040,7 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
};
viewerPane.createControl(getContainer());
- parentViewer = (TreeViewer)viewerPane.getViewer();
+ parentViewer = (TreeViewer) viewerPane.getViewer();
parentViewer.setAutoExpandLevel(30);
parentViewer.setContentProvider(new ReverseAdapterFactoryContentProvider(adapterFactory));
parentViewer.setLabelProvider(new AdapterFactoryLabelProvider(adapterFactory));
@@ -1067,7 +1067,7 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
}
};
viewerPane.createControl(getContainer());
- listViewer = (ListViewer)viewerPane.getViewer();
+ listViewer = (ListViewer) viewerPane.getViewer();
listViewer.setContentProvider(new AdapterFactoryContentProvider(adapterFactory));
listViewer.setLabelProvider(new AdapterFactoryLabelProvider(adapterFactory));
@@ -1093,7 +1093,7 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
}
};
viewerPane.createControl(getContainer());
- treeViewer = (TreeViewer)viewerPane.getViewer();
+ treeViewer = (TreeViewer) viewerPane.getViewer();
treeViewer.setContentProvider(new AdapterFactoryContentProvider(adapterFactory));
treeViewer.setLabelProvider(new AdapterFactoryLabelProvider(adapterFactory));
@@ -1121,7 +1121,7 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
}
};
viewerPane.createControl(getContainer());
- tableViewer = (TableViewer)viewerPane.getViewer();
+ tableViewer = (TableViewer) viewerPane.getViewer();
Table table = tableViewer.getTable();
TableLayout layout = new TableLayout();
@@ -1139,7 +1139,7 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
selfColumn.setText(getString("_UI_SelfColumn_label"));
selfColumn.setResizable(true);
- tableViewer.setColumnProperties(new String[]{ "a", "b" });
+ tableViewer.setColumnProperties(new String[] { "a", "b" });
tableViewer.setContentProvider(new AdapterFactoryContentProvider(adapterFactory));
tableViewer.setLabelProvider(new AdapterFactoryLabelProvider(adapterFactory));
@@ -1166,7 +1166,7 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
};
viewerPane.createControl(getContainer());
- treeViewerWithColumns = (TreeViewer)viewerPane.getViewer();
+ treeViewerWithColumns = (TreeViewer) viewerPane.getViewer();
Tree tree = treeViewerWithColumns.getTree();
tree.setLayoutData(new FillLayout());
@@ -1183,7 +1183,7 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
selfColumn.setResizable(true);
selfColumn.setWidth(200);
- treeViewerWithColumns.setColumnProperties(new String[]{ "a", "b" });
+ treeViewerWithColumns.setColumnProperties(new String[] { "a", "b" });
treeViewerWithColumns.setContentProvider(new AdapterFactoryContentProvider(adapterFactory));
treeViewerWithColumns.setLabelProvider(new AdapterFactoryLabelProvider(adapterFactory));
@@ -1209,7 +1209,7 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
@Override
public void controlResized(ControlEvent event) {
- if(!guard) {
+ if (!guard) {
guard = true;
hideTabs();
guard = false;
@@ -1230,14 +1230,14 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
* this hides the single tab at the bottom.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected void hideTabs() {
- if(getPageCount() <= 1) {
+ if (getPageCount() <= 1) {
setPageText(0, "");
- if(getContainer() instanceof CTabFolder) {
- ((CTabFolder)getContainer()).setTabHeight(1);
+ if (getContainer() instanceof CTabFolder) {
+ ((CTabFolder) getContainer()).setTabHeight(1);
Point point = getContainer().getSize();
getContainer().setSize(point.x, point.y + 6);
}
@@ -1249,14 +1249,14 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
* this shows the tabs at the bottom.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected void showTabs() {
- if(getPageCount() > 1) {
+ if (getPageCount() > 1) {
setPageText(0, getString("_UI_SelectionPage_label"));
- if(getContainer() instanceof CTabFolder) {
- ((CTabFolder)getContainer()).setTabHeight(SWT.DEFAULT);
+ if (getContainer() instanceof CTabFolder) {
+ ((CTabFolder) getContainer()).setTabHeight(SWT.DEFAULT);
Point point = getContainer().getSize();
getContainer().setSize(point.x, point.y - 6);
}
@@ -1267,14 +1267,14 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
* This is used to track the active viewer.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
protected void pageChange(int pageIndex) {
super.pageChange(pageIndex);
- if(contentOutlinePage != null) {
+ if (contentOutlinePage != null) {
handleContentOutlineSelection(contentOutlinePage.getSelection());
}
}
@@ -1283,17 +1283,17 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
* This is how the framework determines which interfaces we implement.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@SuppressWarnings("rawtypes")
@Override
public Object getAdapter(Class key) {
- if(key.equals(IContentOutlinePage.class)) {
+ if (key.equals(IContentOutlinePage.class)) {
return showOutlineView() ? getContentOutlinePage() : null;
- } else if(key.equals(IPropertySheetPage.class)) {
+ } else if (key.equals(IPropertySheetPage.class)) {
return getPropertySheetPage();
- } else if(key.equals(IGotoMarker.class)) {
+ } else if (key.equals(IGotoMarker.class)) {
return this;
} else {
return super.getAdapter(key);
@@ -1304,11 +1304,11 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
* This accesses a cached version of the content outliner.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public IContentOutlinePage getContentOutlinePage() {
- if(contentOutlinePage == null) {
+ if (contentOutlinePage == null) {
// The content outline is just a tree.
//
class MyContentOutlinePage extends ContentOutlinePage {
@@ -1329,7 +1329,7 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
//
createContextMenuFor(contentOutlineViewer);
- if(!editingDomain.getResourceSet().getResources().isEmpty()) {
+ if (!editingDomain.getResourceSet().getResources().isEmpty()) {
// Select the root object in the view.
//
contentOutlineViewer.setSelection(new StructuredSelection(editingDomain.getResourceSet().getResources().get(0)), true);
@@ -1370,11 +1370,11 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
* This accesses a cached version of the property sheet.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public IPropertySheetPage getPropertySheetPage() {
- if(propertySheetPage == null) {
+ if (propertySheetPage == null) {
propertySheetPage = new ExtendedPropertySheetPage(editingDomain) {
@Override
@@ -1399,23 +1399,23 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
* This deals with how we want selection in the outliner to affect the other views.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void handleContentOutlineSelection(ISelection selection) {
- if(currentViewerPane != null && !selection.isEmpty() && selection instanceof IStructuredSelection) {
- Iterator<?> selectedElements = ((IStructuredSelection)selection).iterator();
- if(selectedElements.hasNext()) {
+ if (currentViewerPane != null && !selection.isEmpty() && selection instanceof IStructuredSelection) {
+ Iterator<?> selectedElements = ((IStructuredSelection) selection).iterator();
+ if (selectedElements.hasNext()) {
// Get the first selected element.
//
Object selectedElement = selectedElements.next();
// If it's the selection viewer, then we want it to select the same selection as this selection.
//
- if(currentViewerPane.getViewer() == selectionViewer) {
+ if (currentViewerPane.getViewer() == selectionViewer) {
ArrayList<Object> selectionList = new ArrayList<Object>();
selectionList.add(selectedElement);
- while(selectedElements.hasNext()) {
+ while (selectedElements.hasNext()) {
selectionList.add(selectedElements.next());
}
@@ -1425,7 +1425,7 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
} else {
// Set the input to the widget.
//
- if(currentViewerPane.getViewer().getInput() != selectedElement) {
+ if (currentViewerPane.getViewer().getInput() != selectedElement) {
currentViewerPane.getViewer().setInput(selectedElement);
currentViewerPane.setTitle(selectedElement);
}
@@ -1438,19 +1438,19 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
* This is for implementing {@link IEditorPart} and simply tests the command stack.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public boolean isDirty() {
- return ((BasicCommandStack)editingDomain.getCommandStack()).isSaveNeeded();
+ return ((BasicCommandStack) editingDomain.getCommandStack()).isSaveNeeded();
}
/**
* This is for implementing {@link IEditorPart} and simply saves the model file.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -1471,12 +1471,12 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
// Save the resources to the file system.
//
boolean first = true;
- for(Resource resource : editingDomain.getResourceSet().getResources()) {
- if((first || !resource.getContents().isEmpty() || isPersisted(resource)) && !editingDomain.isReadOnly(resource)) {
+ for (Resource resource : editingDomain.getResourceSet().getResources()) {
+ if ((first || !resource.getContents().isEmpty() || isPersisted(resource)) && !editingDomain.isReadOnly(resource)) {
try {
long timeStamp = resource.getTimeStamp();
resource.save(saveOptions);
- if(resource.getTimeStamp() != timeStamp) {
+ if (resource.getTimeStamp() != timeStamp) {
savedResources.add(resource);
}
} catch (Exception exception) {
@@ -1496,7 +1496,7 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
// Refresh the necessary state.
//
- ((BasicCommandStack)editingDomain.getCommandStack()).saveIsDone();
+ ((BasicCommandStack) editingDomain.getCommandStack()).saveIsDone();
firePropertyChange(IEditorPart.PROP_DIRTY);
} catch (Exception exception) {
// Something went wrong that shouldn't.
@@ -1512,14 +1512,14 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
* The implementation uses the URI converter from the editor's resource set to try to open an input stream.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected boolean isPersisted(Resource resource) {
boolean result = false;
try {
InputStream stream = editingDomain.getResourceSet().getURIConverter().createInputStream(resource.getURI());
- if(stream != null) {
+ if (stream != null) {
result = true;
stream.close();
}
@@ -1533,7 +1533,7 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
* This always returns true because it is not currently supported.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -1545,7 +1545,7 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
* This also changes the editor's input.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -1553,9 +1553,9 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
SaveAsDialog saveAsDialog = new SaveAsDialog(getSite().getShell());
saveAsDialog.open();
IPath path = saveAsDialog.getResult();
- if(path != null) {
+ if (path != null) {
IFile file = ResourcesPlugin.getWorkspace().getRoot().getFile(path);
- if(file != null) {
+ if (file != null) {
doSaveAs(URI.createPlatformResourceURI(file.getFullPath().toString(), true), new FileEditorInput(file));
}
}
@@ -1564,7 +1564,7 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected void doSaveAs(URI uri, IEditorInput editorInput) {
@@ -1578,17 +1578,17 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void gotoMarker(IMarker marker) {
try {
- if(marker.getType().equals(EValidator.MARKER)) {
+ if (marker.getType().equals(EValidator.MARKER)) {
String uriAttribute = marker.getAttribute(EValidator.URI_ATTRIBUTE, null);
- if(uriAttribute != null) {
+ if (uriAttribute != null) {
URI uri = URI.createURI(uriAttribute);
EObject eObject = editingDomain.getResourceSet().getEObject(uri, true);
- if(eObject != null) {
+ if (eObject != null) {
setSelectionToViewer(Collections.singleton(editingDomain.getWrapper(eObject)));
}
}
@@ -1602,7 +1602,7 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
* This is called during startup.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -1618,12 +1618,12 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void setFocus() {
- if(currentViewerPane != null) {
+ if (currentViewerPane != null) {
currentViewerPane.setFocus();
} else {
getControl(getActivePage()).setFocus();
@@ -1634,7 +1634,7 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
* This implements {@link org.eclipse.jface.viewers.ISelectionProvider}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void addSelectionChangedListener(ISelectionChangedListener listener) {
@@ -1645,7 +1645,7 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
* This implements {@link org.eclipse.jface.viewers.ISelectionProvider}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void removeSelectionChangedListener(ISelectionChangedListener listener) {
@@ -1656,7 +1656,7 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
* This implements {@link org.eclipse.jface.viewers.ISelectionProvider} to return this editor's overall selection.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public ISelection getSelection() {
@@ -1668,13 +1668,13 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
* Calling this result will notify the listeners.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setSelection(ISelection selection) {
editorSelection = selection;
- for(ISelectionChangedListener listener : selectionChangedListeners) {
+ for (ISelectionChangedListener listener : selectionChangedListeners) {
listener.selectionChanged(new SelectionChangedEvent(this, selection));
}
setStatusLineManager(selection);
@@ -1683,29 +1683,26 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setStatusLineManager(ISelection selection) {
IStatusLineManager statusLineManager = currentViewer != null && currentViewer == contentOutlineViewer ? contentOutlineStatusLineManager : getActionBars().getStatusLineManager();
- if(statusLineManager != null) {
- if(selection instanceof IStructuredSelection) {
- Collection<?> collection = ((IStructuredSelection)selection).toList();
- switch(collection.size()) {
- case 0:
- {
+ if (statusLineManager != null) {
+ if (selection instanceof IStructuredSelection) {
+ Collection<?> collection = ((IStructuredSelection) selection).toList();
+ switch (collection.size()) {
+ case 0: {
statusLineManager.setMessage(getString("_UI_NoObjectSelected"));
break;
}
- case 1:
- {
+ case 1: {
String text = new AdapterFactoryItemDelegator(adapterFactory).getText(collection.iterator().next());
statusLineManager.setMessage(getString("_UI_SingleObjectSelected", text));
break;
}
- default:
- {
+ default: {
statusLineManager.setMessage(getString("_UI_MultiObjectSelected", Integer.toString(collection.size())));
break;
}
@@ -1720,7 +1717,7 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
* This looks up a string in the plugin's plugin.properties file.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
private static String getString(String key) {
@@ -1731,38 +1728,38 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
* This looks up a string in plugin.properties, making a substitution.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
private static String getString(String key, Object s1) {
- return DomainContextEditorPlugin.INSTANCE.getString(key, new Object[]{ s1 });
+ return DomainContextEditorPlugin.INSTANCE.getString(key, new Object[] { s1 });
}
/**
* This implements {@link org.eclipse.jface.action.IMenuListener} to help fill the context menus with contributions from the Edit menu.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void menuAboutToShow(IMenuManager menuManager) {
- ((IMenuListener)getEditorSite().getActionBarContributor()).menuAboutToShow(menuManager);
+ ((IMenuListener) getEditorSite().getActionBarContributor()).menuAboutToShow(menuManager);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EditingDomainActionBarContributor getActionBarContributor() {
- return (EditingDomainActionBarContributor)getEditorSite().getActionBarContributor();
+ return (EditingDomainActionBarContributor) getEditorSite().getActionBarContributor();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public IActionBars getActionBars() {
@@ -1772,7 +1769,7 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public AdapterFactory getAdapterFactory() {
@@ -1782,7 +1779,7 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -1795,15 +1792,15 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
adapterFactory.dispose();
- if(getActionBarContributor().getActiveEditor() == this) {
+ if (getActionBarContributor().getActiveEditor() == this) {
getActionBarContributor().setActiveEditor(null);
}
- if(propertySheetPage != null) {
+ if (propertySheetPage != null) {
propertySheetPage.dispose();
}
- if(contentOutlinePage != null) {
+ if (contentOutlinePage != null) {
contentOutlinePage.dispose();
}
@@ -1814,7 +1811,7 @@ public class DomaincontextcodegenEditor extends MultiPageEditorPart implements I
* Returns whether the outline view should be presented to the user.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected boolean showOutlineView() {
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.editor/src/org/eclipse/papyrus/domaincontextcodegen/presentation/DomaincontextcodegenModelWizard.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.editor/src/org/eclipse/papyrus/domaincontextcodegen/presentation/DomaincontextcodegenModelWizard.java
index 85814c0a1eb..ca83a00612f 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.editor/src/org/eclipse/papyrus/domaincontextcodegen/presentation/DomaincontextcodegenModelWizard.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen.editor/src/org/eclipse/papyrus/domaincontextcodegen/presentation/DomaincontextcodegenModelWizard.java
@@ -66,7 +66,7 @@ import org.eclipse.ui.part.ISetSelectionTarget;
* This is a simple wizard for creating a new model file.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public class DomaincontextcodegenModelWizard extends Wizard implements INewWizard {
@@ -75,7 +75,7 @@ public class DomaincontextcodegenModelWizard extends Wizard implements INewWizar
* The supported extensions for created files.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public static final List<String> FILE_EXTENSIONS = Collections.unmodifiableList(Arrays.asList(DomainContextEditorPlugin.INSTANCE.getString("_UI_DomaincontextcodegenEditorFilenameExtensions").split("\\s*,\\s*")));
@@ -84,7 +84,7 @@ public class DomaincontextcodegenModelWizard extends Wizard implements INewWizar
* A formatted list of supported file extensions, suitable for display.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public static final String FORMATTED_FILE_EXTENSIONS = DomainContextEditorPlugin.INSTANCE.getString("_UI_DomaincontextcodegenEditorFilenameExtensions").replaceAll("\\s*,\\s*", ", ");
@@ -93,7 +93,7 @@ public class DomaincontextcodegenModelWizard extends Wizard implements INewWizar
* This caches an instance of the model package.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected DomaincontextcodegenPackage domaincontextcodegenPackage = DomaincontextcodegenPackage.eINSTANCE;
@@ -102,7 +102,7 @@ public class DomaincontextcodegenModelWizard extends Wizard implements INewWizar
* This caches an instance of the model factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected DomaincontextcodegenFactory domaincontextcodegenFactory = domaincontextcodegenPackage.getDomaincontextcodegenFactory();
@@ -111,7 +111,7 @@ public class DomaincontextcodegenModelWizard extends Wizard implements INewWizar
* This is the file creation page.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected DomaincontextcodegenModelWizardNewFileCreationPage newFileCreationPage;
@@ -120,7 +120,7 @@ public class DomaincontextcodegenModelWizard extends Wizard implements INewWizar
* This is the initial object creation page.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected DomaincontextcodegenModelWizardInitialObjectCreationPage initialObjectCreationPage;
@@ -129,7 +129,7 @@ public class DomaincontextcodegenModelWizard extends Wizard implements INewWizar
* Remember the selection during initialization for populating the default container.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected IStructuredSelection selection;
@@ -138,7 +138,7 @@ public class DomaincontextcodegenModelWizard extends Wizard implements INewWizar
* Remember the workbench during initialization.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected IWorkbench workbench;
@@ -147,7 +147,7 @@ public class DomaincontextcodegenModelWizard extends Wizard implements INewWizar
* Caches the names of the types that can be created as the root object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected List<String> initialObjectNames;
@@ -156,7 +156,7 @@ public class DomaincontextcodegenModelWizard extends Wizard implements INewWizar
* This just records the information.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void init(IWorkbench workbench, IStructuredSelection selection) {
@@ -170,16 +170,16 @@ public class DomaincontextcodegenModelWizard extends Wizard implements INewWizar
* Returns the names of the types that can be created as the root object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected Collection<String> getInitialObjectNames() {
- if(initialObjectNames == null) {
+ if (initialObjectNames == null) {
initialObjectNames = new ArrayList<String>();
- for(EClassifier eClassifier : domaincontextcodegenPackage.getEClassifiers()) {
- if(eClassifier instanceof EClass) {
- EClass eClass = (EClass)eClassifier;
- if(!eClass.isAbstract()) {
+ for (EClassifier eClassifier : domaincontextcodegenPackage.getEClassifiers()) {
+ if (eClassifier instanceof EClass) {
+ EClass eClass = (EClass) eClassifier;
+ if (!eClass.isAbstract()) {
initialObjectNames.add(eClass.getName());
}
}
@@ -193,11 +193,11 @@ public class DomaincontextcodegenModelWizard extends Wizard implements INewWizar
* Create a new model.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected EObject createInitialModel() {
- EClass eClass = (EClass)domaincontextcodegenPackage.getEClassifier(initialObjectCreationPage.getInitialObjectName());
+ EClass eClass = (EClass) domaincontextcodegenPackage.getEClassifier(initialObjectCreationPage.getInitialObjectName());
EObject rootObject = domaincontextcodegenFactory.create(eClass);
return rootObject;
}
@@ -206,7 +206,7 @@ public class DomaincontextcodegenModelWizard extends Wizard implements INewWizar
* Do the work after everything is specified.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -238,7 +238,7 @@ public class DomaincontextcodegenModelWizard extends Wizard implements INewWizar
// Add the initial model object to the contents.
//
EObject rootObject = createInitialModel();
- if(rootObject != null) {
+ if (rootObject != null) {
resource.getContents().add(rootObject);
}
@@ -262,12 +262,12 @@ public class DomaincontextcodegenModelWizard extends Wizard implements INewWizar
IWorkbenchWindow workbenchWindow = workbench.getActiveWorkbenchWindow();
IWorkbenchPage page = workbenchWindow.getActivePage();
final IWorkbenchPart activePart = page.getActivePart();
- if(activePart instanceof ISetSelectionTarget) {
+ if (activePart instanceof ISetSelectionTarget) {
final ISelection targetSelection = new StructuredSelection(modelFile);
getShell().getDisplay().asyncExec(new Runnable() {
public void run() {
- ((ISetSelectionTarget)activePart).selectReveal(targetSelection);
+ ((ISetSelectionTarget) activePart).selectReveal(targetSelection);
}
});
}
@@ -292,7 +292,7 @@ public class DomaincontextcodegenModelWizard extends Wizard implements INewWizar
* This is the one page of the wizard.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public class DomaincontextcodegenModelWizardNewFileCreationPage extends WizardNewFileCreationPage {
@@ -301,7 +301,7 @@ public class DomaincontextcodegenModelWizard extends Wizard implements INewWizar
* Pass in the selection.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public DomaincontextcodegenModelWizardNewFileCreationPage(String pageId, IStructuredSelection selection) {
@@ -312,16 +312,16 @@ public class DomaincontextcodegenModelWizard extends Wizard implements INewWizar
* The framework calls this to see if the file is correct.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
protected boolean validatePage() {
- if(super.validatePage()) {
+ if (super.validatePage()) {
String extension = new Path(getFileName()).getFileExtension();
- if(extension == null || !FILE_EXTENSIONS.contains(extension)) {
+ if (extension == null || !FILE_EXTENSIONS.contains(extension)) {
String key = FILE_EXTENSIONS.size() > 1 ? "_WARN_FilenameExtensions" : "_WARN_FilenameExtension";
- setErrorMessage(DomainContextEditorPlugin.INSTANCE.getString(key, new Object[]{ FORMATTED_FILE_EXTENSIONS }));
+ setErrorMessage(DomainContextEditorPlugin.INSTANCE.getString(key, new Object[] { FORMATTED_FILE_EXTENSIONS }));
return false;
}
return true;
@@ -332,7 +332,7 @@ public class DomaincontextcodegenModelWizard extends Wizard implements INewWizar
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public IFile getModelFile() {
@@ -344,7 +344,7 @@ public class DomaincontextcodegenModelWizard extends Wizard implements INewWizar
* This is the page where the type of object to create is selected.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public class DomaincontextcodegenModelWizardInitialObjectCreationPage extends WizardPage {
@@ -352,7 +352,7 @@ public class DomaincontextcodegenModelWizard extends Wizard implements INewWizar
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected Combo initialObjectField;
@@ -367,7 +367,7 @@ public class DomaincontextcodegenModelWizard extends Wizard implements INewWizar
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected Combo encodingField;
@@ -376,7 +376,7 @@ public class DomaincontextcodegenModelWizard extends Wizard implements INewWizar
* Pass in the selection.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public DomaincontextcodegenModelWizardInitialObjectCreationPage(String pageId) {
@@ -386,7 +386,7 @@ public class DomaincontextcodegenModelWizard extends Wizard implements INewWizar
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void createControl(Composite parent) {
@@ -421,11 +421,11 @@ public class DomaincontextcodegenModelWizard extends Wizard implements INewWizar
initialObjectField.setLayoutData(data);
}
- for(String objectName : getInitialObjectNames()) {
+ for (String objectName : getInitialObjectNames()) {
initialObjectField.add(getLabel(objectName));
}
- if(initialObjectField.getItemCount() == 1) {
+ if (initialObjectField.getItemCount() == 1) {
initialObjectField.select(0);
}
initialObjectField.addModifyListener(validator);
@@ -446,7 +446,7 @@ public class DomaincontextcodegenModelWizard extends Wizard implements INewWizar
encodingField.setLayoutData(data);
}
- for(String encoding : getEncodings()) {
+ for (String encoding : getEncodings()) {
encodingField.add(encoding);
}
@@ -460,7 +460,7 @@ public class DomaincontextcodegenModelWizard extends Wizard implements INewWizar
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected ModifyListener validator = new ModifyListener() {
@@ -473,7 +473,7 @@ public class DomaincontextcodegenModelWizard extends Wizard implements INewWizar
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected boolean validatePage() {
@@ -483,14 +483,14 @@ public class DomaincontextcodegenModelWizard extends Wizard implements INewWizar
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void setVisible(boolean visible) {
super.setVisible(visible);
- if(visible) {
- if(initialObjectField.getItemCount() == 1) {
+ if (visible) {
+ if (initialObjectField.getItemCount() == 1) {
initialObjectField.clearSelection();
encodingField.setFocus();
} else {
@@ -503,14 +503,14 @@ public class DomaincontextcodegenModelWizard extends Wizard implements INewWizar
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String getInitialObjectName() {
String label = initialObjectField.getText();
- for(String name : getInitialObjectNames()) {
- if(getLabel(name).equals(label)) {
+ for (String name : getInitialObjectNames()) {
+ if (getLabel(name).equals(label)) {
return name;
}
}
@@ -520,7 +520,7 @@ public class DomaincontextcodegenModelWizard extends Wizard implements INewWizar
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String getEncoding() {
@@ -531,7 +531,7 @@ public class DomaincontextcodegenModelWizard extends Wizard implements INewWizar
* Returns the label for the specified type name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected String getLabel(String typeName) {
@@ -546,13 +546,13 @@ public class DomaincontextcodegenModelWizard extends Wizard implements INewWizar
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected Collection<String> getEncodings() {
- if(encodings == null) {
+ if (encodings == null) {
encodings = new ArrayList<String>();
- for(StringTokenizer stringTokenizer = new StringTokenizer(DomainContextEditorPlugin.INSTANCE.getString("_UI_XMLEncodingChoices")); stringTokenizer.hasMoreTokens();) {
+ for (StringTokenizer stringTokenizer = new StringTokenizer(DomainContextEditorPlugin.INSTANCE.getString("_UI_XMLEncodingChoices")); stringTokenizer.hasMoreTokens();) {
encodings.add(stringTokenizer.nextToken());
}
}
@@ -564,7 +564,7 @@ public class DomaincontextcodegenModelWizard extends Wizard implements INewWizar
* The framework calls this to create the contents of the wizard.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -579,21 +579,21 @@ public class DomaincontextcodegenModelWizard extends Wizard implements INewWizar
// Try and get the resource selection to determine a current directory for the file dialog.
//
- if(selection != null && !selection.isEmpty()) {
+ if (selection != null && !selection.isEmpty()) {
// Get the resource...
//
Object selectedElement = selection.iterator().next();
- if(selectedElement instanceof IResource) {
+ if (selectedElement instanceof IResource) {
// Get the resource parent, if its a file.
//
- IResource selectedResource = (IResource)selectedElement;
- if(selectedResource.getType() == IResource.FILE) {
+ IResource selectedResource = (IResource) selectedElement;
+ if (selectedResource.getType() == IResource.FILE) {
selectedResource = selectedResource.getParent();
}
// This gives us a directory...
//
- if(selectedResource instanceof IFolder || selectedResource instanceof IProject) {
+ if (selectedResource instanceof IFolder || selectedResource instanceof IProject) {
// Set this for the container.
//
newFileCreationPage.setContainerFullPath(selectedResource.getFullPath());
@@ -603,7 +603,7 @@ public class DomaincontextcodegenModelWizard extends Wizard implements INewWizar
String defaultModelBaseFilename = DomainContextEditorPlugin.INSTANCE.getString("_UI_DomaincontextcodegenEditorFilenameDefaultBase");
String defaultModelFilenameExtension = FILE_EXTENSIONS.get(0);
String modelFilename = defaultModelBaseFilename + "." + defaultModelFilenameExtension;
- for(int i = 1; ((IContainer)selectedResource).findMember(modelFilename) != null; ++i) {
+ for (int i = 1; ((IContainer) selectedResource).findMember(modelFilename) != null; ++i) {
modelFilename = defaultModelBaseFilename + i + "." + defaultModelFilenameExtension;
}
newFileCreationPage.setFileName(modelFilename);
@@ -620,7 +620,7 @@ public class DomaincontextcodegenModelWizard extends Wizard implements INewWizar
* Get the file from the page.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public IFile getModelFile() {
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/actionsrc/org/eclipse/papyrus/domaincontextcodegen/AddBindingsAction.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/actionsrc/org/eclipse/papyrus/domaincontextcodegen/AddBindingsAction.java
index 2b6a5d440fc..20671a4e0c0 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/actionsrc/org/eclipse/papyrus/domaincontextcodegen/AddBindingsAction.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/actionsrc/org/eclipse/papyrus/domaincontextcodegen/AddBindingsAction.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -31,7 +31,7 @@ public class AddBindingsAction implements IObjectActionDelegate {
ElementTypeBindings bindings = domain.getBindings().get(0);
Iterator<ElementType> it = eltTypes.getTypes().iterator();
- while(it.hasNext()) {
+ while (it.hasNext()) {
ElementType elementType = it.next();
ElementTypeBinding etb = DomaincontextcodegenFactory.eINSTANCE.createElementTypeBinding();
@@ -42,9 +42,9 @@ public class AddBindingsAction implements IObjectActionDelegate {
}
public void selectionChanged(IAction action, ISelection selection) {
- if(selection instanceof IStructuredSelection) {
- if(((IStructuredSelection)selection).getFirstElement() instanceof ElementTypes) {
- eltTypes = (ElementTypes)((IStructuredSelection)selection).getFirstElement();
+ if (selection instanceof IStructuredSelection) {
+ if (((IStructuredSelection) selection).getFirstElement() instanceof ElementTypes) {
+ eltTypes = (ElementTypes) ((IStructuredSelection) selection).getFirstElement();
}
}
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/actionsrc/org/eclipse/papyrus/domaincontextcodegen/AddVisibleCommandForChildrenAction.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/actionsrc/org/eclipse/papyrus/domaincontextcodegen/AddVisibleCommandForChildrenAction.java
index a9eedf1725b..3b3f288b12e 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/actionsrc/org/eclipse/papyrus/domaincontextcodegen/AddVisibleCommandForChildrenAction.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/actionsrc/org/eclipse/papyrus/domaincontextcodegen/AddVisibleCommandForChildrenAction.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -27,17 +27,17 @@ public class AddVisibleCommandForChildrenAction implements IObjectActionDelegate
public void run(IAction action) {
- DomainContext domain = (DomainContext)handlers.eContainer();
+ DomainContext domain = (DomainContext) handlers.eContainer();
ElementTypes types = domain.getElementTypes();
Iterator<ElementType> it = types.getTypes().iterator();
- while(it.hasNext()) {
+ while (it.hasNext()) {
ElementType elementType = it.next();
- if(elementType instanceof MetaClassType) {
- MetaClassType mClassType = (MetaClassType)elementType;
+ if (elementType instanceof MetaClassType) {
+ MetaClassType mClassType = (MetaClassType) elementType;
- if(!mClassType.getMetaClass().isAbstract()) {
+ if (!mClassType.getMetaClass().isAbstract()) {
handlers.getVisibleCreateChildHandlers().add(elementType);
}
}
@@ -45,9 +45,9 @@ public class AddVisibleCommandForChildrenAction implements IObjectActionDelegate
}
public void selectionChanged(IAction action, ISelection selection) {
- if(selection instanceof IStructuredSelection) {
- if(((IStructuredSelection)selection).getFirstElement() instanceof GenHandlers) {
- handlers = (GenHandlers)((IStructuredSelection)selection).getFirstElement();
+ if (selection instanceof IStructuredSelection) {
+ if (((IStructuredSelection) selection).getFirstElement() instanceof GenHandlers) {
+ handlers = (GenHandlers) ((IStructuredSelection) selection).getFirstElement();
}
}
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/actionsrc/org/eclipse/papyrus/domaincontextcodegen/ElementTypeComparator.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/actionsrc/org/eclipse/papyrus/domaincontextcodegen/ElementTypeComparator.java
index 15d43807e09..f429f977bd6 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/actionsrc/org/eclipse/papyrus/domaincontextcodegen/ElementTypeComparator.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/actionsrc/org/eclipse/papyrus/domaincontextcodegen/ElementTypeComparator.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -17,7 +17,7 @@ import java.util.Comparator;
/**
* Comparator for element type in order to sort them
- *
+ *
*/
public class ElementTypeComparator implements Comparator<ElementType> {
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/actionsrc/org/eclipse/papyrus/domaincontextcodegen/GenerateElementTypeModelAction.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/actionsrc/org/eclipse/papyrus/domaincontextcodegen/GenerateElementTypeModelAction.java
index c2ab43d652e..ce57de17756 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/actionsrc/org/eclipse/papyrus/domaincontextcodegen/GenerateElementTypeModelAction.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/actionsrc/org/eclipse/papyrus/domaincontextcodegen/GenerateElementTypeModelAction.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -27,10 +27,10 @@ import org.eclipse.ui.IWorkbenchPart;
/**
* <pre>
- *
+ *
* Automated generation of ElementTypes (in the domain model), an ElementType generated for
* each element of the domain model.
- *
+ *
* </pre>
*/
public class GenerateElementTypeModelAction implements IObjectActionDelegate {
@@ -45,16 +45,16 @@ public class GenerateElementTypeModelAction implements IObjectActionDelegate {
ElementTypes elementTypeList = DomaincontextcodegenFactory.eINSTANCE.createElementTypes();
selectedContext.setElementTypes(elementTypeList);
- if(selectedContext.getSpecializationOf() == null) {
- if(selectedContext.getMetamodel() != null) {
+ if (selectedContext.getSpecializationOf() == null) {
+ if (selectedContext.getMetamodel() != null) {
Iterator<EClassifier> iterClass = selectedContext.getMetamodel().getEClassifiers().iterator();
ArrayList<MetaClassType> result = new ArrayList<MetaClassType>();
- while(iterClass.hasNext()) {
- EClassifier eClassifier = (EClassifier)iterClass.next();
- if(eClassifier instanceof EClass) {
+ while (iterClass.hasNext()) {
+ EClassifier eClassifier = iterClass.next();
+ if (eClassifier instanceof EClass) {
MetaClassType elemenType = DomaincontextcodegenFactory.eINSTANCE.createMetaClassType();
- //elemenType.setHelper(selectedContext.getDefaultHelperPath());
- elemenType.setMetaClass((EClass)eClassifier);
+ // elemenType.setHelper(selectedContext.getDefaultHelperPath());
+ elemenType.setMetaClass((EClass) eClassifier);
elemenType.setIcon("platform:/plugin/org.eclipse.uml2.uml.edit/icons/full/obj16/" + eClassifier.getName() + ".gif");
// Convert name to upper case with '_' separator between name parts e.g. NamedElement -> NAMED_ELEMENT
@@ -75,14 +75,14 @@ public class GenerateElementTypeModelAction implements IObjectActionDelegate {
}
}
- //to Do in the case of specialization with a profile
+ // to Do in the case of specialization with a profile
}
public void selectionChanged(IAction action, ISelection selection) {
- if(selection instanceof IStructuredSelection) {
- if(((IStructuredSelection)selection).getFirstElement() instanceof DomainContext) {
- selectedContext = (DomainContext)((IStructuredSelection)selection).getFirstElement();
+ if (selection instanceof IStructuredSelection) {
+ if (((IStructuredSelection) selection).getFirstElement() instanceof DomainContext) {
+ selectedContext = (DomainContext) ((IStructuredSelection) selection).getFirstElement();
}
}
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/actionsrc/org/eclipse/papyrus/domaincontextcodegen/SetUMLIconInElementTypesAction.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/actionsrc/org/eclipse/papyrus/domaincontextcodegen/SetUMLIconInElementTypesAction.java
index cffc723e95b..4110ae78123 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/actionsrc/org/eclipse/papyrus/domaincontextcodegen/SetUMLIconInElementTypesAction.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/actionsrc/org/eclipse/papyrus/domaincontextcodegen/SetUMLIconInElementTypesAction.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -27,24 +27,24 @@ public class SetUMLIconInElementTypesAction implements IObjectActionDelegate {
public void run(IAction action) {
- DomainContext domain = (DomainContext)types.eContainer();
+ DomainContext domain = (DomainContext) types.eContainer();
ElementTypes types = domain.getElementTypes();
Iterator<ElementType> it = types.getTypes().iterator();
- while(it.hasNext()) {
+ while (it.hasNext()) {
ElementType elementType = it.next();
- if(elementType instanceof MetaClassType) {
- MetaClassType mClassType = (MetaClassType)elementType;
+ if (elementType instanceof MetaClassType) {
+ MetaClassType mClassType = (MetaClassType) elementType;
mClassType.setIcon("platform:/plugin/org.eclipse.uml2.uml.edit/icons/full/obj16/" + mClassType.getName() + ".gif");
}
}
}
public void selectionChanged(IAction action, ISelection selection) {
- if(selection instanceof IStructuredSelection) {
- if(((IStructuredSelection)selection).getFirstElement() instanceof ElementTypes) {
- types = (ElementTypes)((IStructuredSelection)selection).getFirstElement();
+ if (selection instanceof IStructuredSelection) {
+ if (((IStructuredSelection) selection).getFirstElement() instanceof ElementTypes) {
+ types = (ElementTypes) ((IStructuredSelection) selection).getFirstElement();
}
}
}
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/Advice.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/Advice.java
index 0618599ee1c..50c2fc11b19 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/Advice.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/Advice.java
@@ -12,7 +12,7 @@ import org.eclipse.emf.ecore.EObject;
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Advice</b></em>'.
* <!-- end-user-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
@@ -22,7 +22,7 @@ import org.eclipse.emf.ecore.EObject;
* <li>{@link org.eclipse.papyrus.domaincontextcodegen.Advice#getInheritance <em>Inheritance</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getAdvice()
* @model
* @generated
@@ -36,7 +36,7 @@ public interface Advice extends EObject {
* If the meaning of the '<em>Advice ID</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Advice ID</em>' attribute.
* @see #setAdviceID(String)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getAdvice_AdviceID()
@@ -49,9 +49,9 @@ public interface Advice extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.domaincontextcodegen.Advice#getAdviceID <em>Advice ID</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Advice ID</em>' attribute.
+ * the new value of the '<em>Advice ID</em>' attribute.
* @see #getAdviceID()
* @generated
*/
@@ -64,7 +64,7 @@ public interface Advice extends EObject {
* If the meaning of the '<em>Ref</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Ref</em>' reference.
* @see #setRef(ElementType)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getAdvice_Ref()
@@ -77,9 +77,9 @@ public interface Advice extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.domaincontextcodegen.Advice#getRef <em>Ref</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Ref</em>' reference.
+ * the new value of the '<em>Ref</em>' reference.
* @see #getRef()
* @generated
*/
@@ -92,7 +92,7 @@ public interface Advice extends EObject {
* If the meaning of the '<em>Advice Path</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Advice Path</em>' attribute.
* @see #setAdvicePath(String)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getAdvice_AdvicePath()
@@ -105,9 +105,9 @@ public interface Advice extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.domaincontextcodegen.Advice#getAdvicePath <em>Advice Path</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Advice Path</em>' attribute.
+ * the new value of the '<em>Advice Path</em>' attribute.
* @see #getAdvicePath()
* @generated
*/
@@ -121,7 +121,7 @@ public interface Advice extends EObject {
* If the meaning of the '<em>Inheritance</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Inheritance</em>' attribute.
* @see org.eclipse.papyrus.domaincontextcodegen.InheritanceKind
* @see #setInheritance(InheritanceKind)
@@ -135,9 +135,9 @@ public interface Advice extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.domaincontextcodegen.Advice#getInheritance <em>Inheritance</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Inheritance</em>' attribute.
+ * the new value of the '<em>Inheritance</em>' attribute.
* @see org.eclipse.papyrus.domaincontextcodegen.InheritanceKind
* @see #getInheritance()
* @generated
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/AdviceBinding.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/AdviceBinding.java
index 40b4054eb0f..890959254dd 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/AdviceBinding.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/AdviceBinding.java
@@ -10,14 +10,14 @@ package org.eclipse.papyrus.domaincontextcodegen;
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Advice Binding</b></em>'.
* <!-- end-user-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.papyrus.domaincontextcodegen.AdviceBinding#getRef <em>Ref</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getAdviceBinding()
* @model
* @generated
@@ -31,7 +31,7 @@ public interface AdviceBinding extends Binding {
* If the meaning of the '<em>Ref</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Ref</em>' reference.
* @see #setRef(Advice)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getAdviceBinding_Ref()
@@ -44,9 +44,9 @@ public interface AdviceBinding extends Binding {
* Sets the value of the '{@link org.eclipse.papyrus.domaincontextcodegen.AdviceBinding#getRef <em>Ref</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Ref</em>' reference.
+ * the new value of the '<em>Ref</em>' reference.
* @see #getRef()
* @generated
*/
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/Binding.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/Binding.java
index 30bc2bab622..260e6065e3d 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/Binding.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/Binding.java
@@ -12,7 +12,7 @@ import org.eclipse.emf.ecore.EObject;
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Binding</b></em>'.
* <!-- end-user-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
@@ -20,7 +20,7 @@ import org.eclipse.emf.ecore.EObject;
* <li>{@link org.eclipse.papyrus.domaincontextcodegen.Binding#getPattern <em>Pattern</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getBinding()
* @model abstract="true"
* @generated
@@ -35,7 +35,7 @@ public interface Binding extends EObject {
* If the meaning of the '<em>Owner</em>' container reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Owner</em>' container reference.
* @see #setOwner(ElementTypeBindings)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getBinding_Owner()
@@ -49,9 +49,9 @@ public interface Binding extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.domaincontextcodegen.Binding#getOwner <em>Owner</em>}' container reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Owner</em>' container reference.
+ * the new value of the '<em>Owner</em>' container reference.
* @see #getOwner()
* @generated
*/
@@ -64,7 +64,7 @@ public interface Binding extends EObject {
* If the meaning of the '<em>Pattern</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Pattern</em>' attribute.
* @see #setPattern(String)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getBinding_Pattern()
@@ -77,9 +77,9 @@ public interface Binding extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.domaincontextcodegen.Binding#getPattern <em>Pattern</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Pattern</em>' attribute.
+ * the new value of the '<em>Pattern</em>' attribute.
* @see #getPattern()
* @generated
*/
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/Command.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/Command.java
index 34d025f0cdb..66b6c8241f8 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/Command.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/Command.java
@@ -12,7 +12,7 @@ import org.eclipse.emf.ecore.EObject;
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Command</b></em>'.
* <!-- end-user-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
@@ -20,7 +20,7 @@ import org.eclipse.emf.ecore.EObject;
* <li>{@link org.eclipse.papyrus.domaincontextcodegen.Command#getIcon <em>Icon</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getCommand()
* @model
* @generated
@@ -34,7 +34,7 @@ public interface Command extends EObject {
* If the meaning of the '<em>Element Type</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Element Type</em>' reference.
* @see #setElementType(ElementType)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getCommand_ElementType()
@@ -47,9 +47,9 @@ public interface Command extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.domaincontextcodegen.Command#getElementType <em>Element Type</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Element Type</em>' reference.
+ * the new value of the '<em>Element Type</em>' reference.
* @see #getElementType()
* @generated
*/
@@ -62,7 +62,7 @@ public interface Command extends EObject {
* If the meaning of the '<em>Icon</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Icon</em>' attribute.
* @see #setIcon(String)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getCommand_Icon()
@@ -75,9 +75,9 @@ public interface Command extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.domaincontextcodegen.Command#getIcon <em>Icon</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Icon</em>' attribute.
+ * the new value of the '<em>Icon</em>' attribute.
* @see #getIcon()
* @generated
*/
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/CommandDeclaration.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/CommandDeclaration.java
index 53c334e7580..cb2eebd0c78 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/CommandDeclaration.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/CommandDeclaration.java
@@ -13,14 +13,14 @@ import org.eclipse.emf.ecore.EObject;
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Command Declaration</b></em>'.
* <!-- end-user-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.papyrus.domaincontextcodegen.CommandDeclaration#getCommands <em>Commands</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getCommandDeclaration()
* @model
* @generated
@@ -35,7 +35,7 @@ public interface CommandDeclaration extends EObject {
* If the meaning of the '<em>Commands</em>' containment reference list isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Commands</em>' containment reference list.
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getCommandDeclaration_Commands()
* @model containment="true"
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/DomainContext.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/DomainContext.java
index 6dc8f1de955..58f1fe5f643 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/DomainContext.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/DomainContext.java
@@ -14,7 +14,7 @@ import org.eclipse.emf.ecore.EPackage;
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Domain Context</b></em>'.
* <!-- end-user-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
@@ -35,7 +35,7 @@ import org.eclipse.emf.ecore.EPackage;
* <li>{@link org.eclipse.papyrus.domaincontextcodegen.DomainContext#getCommand <em>Command</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getDomainContext()
* @model
* @generated
@@ -49,7 +49,7 @@ public interface DomainContext extends EObject {
* If the meaning of the '<em>Type Project Name</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Type Project Name</em>' attribute.
* @see #setTypeProjectName(String)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getDomainContext_TypeProjectName()
@@ -62,9 +62,9 @@ public interface DomainContext extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.domaincontextcodegen.DomainContext#getTypeProjectName <em>Type Project Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Type Project Name</em>' attribute.
+ * the new value of the '<em>Type Project Name</em>' attribute.
* @see #getTypeProjectName()
* @generated
*/
@@ -77,7 +77,7 @@ public interface DomainContext extends EObject {
* If the meaning of the '<em>Handler Project Name</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Handler Project Name</em>' attribute.
* @see #setHandlerProjectName(String)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getDomainContext_HandlerProjectName()
@@ -91,9 +91,9 @@ public interface DomainContext extends EObject {
* attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Handler Project Name</em>' attribute.
+ * the new value of the '<em>Handler Project Name</em>' attribute.
* @see #getHandlerProjectName()
* @generated
*/
@@ -106,7 +106,7 @@ public interface DomainContext extends EObject {
* If the meaning of the '<em>IClient Context ID</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>IClient Context ID</em>' attribute.
* @see #setIClientContextID(String)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getDomainContext_IClientContextID()
@@ -120,9 +120,9 @@ public interface DomainContext extends EObject {
* attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>IClient Context ID</em>' attribute.
+ * the new value of the '<em>IClient Context ID</em>' attribute.
* @see #getIClientContextID()
* @generated
*/
@@ -135,7 +135,7 @@ public interface DomainContext extends EObject {
* If the meaning of the '<em>Metamodel</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Metamodel</em>' reference.
* @see #setMetamodel(EPackage)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getDomainContext_Metamodel()
@@ -148,9 +148,9 @@ public interface DomainContext extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.domaincontextcodegen.DomainContext#getMetamodel <em>Metamodel</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Metamodel</em>' reference.
+ * the new value of the '<em>Metamodel</em>' reference.
* @see #getMetamodel()
* @generated
*/
@@ -163,7 +163,7 @@ public interface DomainContext extends EObject {
* If the meaning of the '<em>Specialization Of</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Specialization Of</em>' reference.
* @see #setSpecializationOf(DomainContext)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getDomainContext_SpecializationOf()
@@ -177,9 +177,9 @@ public interface DomainContext extends EObject {
* reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Specialization Of</em>' reference.
+ * the new value of the '<em>Specialization Of</em>' reference.
* @see #getSpecializationOf()
* @generated
*/
@@ -192,7 +192,7 @@ public interface DomainContext extends EObject {
* If the meaning of the '<em>Element Type ID Prefix</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Element Type ID Prefix</em>' attribute.
* @see #setElementTypeIDPrefix(String)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getDomainContext_ElementTypeIDPrefix()
@@ -206,9 +206,9 @@ public interface DomainContext extends EObject {
* attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Element Type ID Prefix</em>' attribute.
+ * the new value of the '<em>Element Type ID Prefix</em>' attribute.
* @see #getElementTypeIDPrefix()
* @generated
*/
@@ -221,7 +221,7 @@ public interface DomainContext extends EObject {
* If the meaning of the '<em>Element Type Name Prefix</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Element Type Name Prefix</em>' attribute.
* @see #setElementTypeNamePrefix(String)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getDomainContext_ElementTypeNamePrefix()
@@ -235,9 +235,9 @@ public interface DomainContext extends EObject {
* <em>Element Type Name Prefix</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Element Type Name Prefix</em>' attribute.
+ * the new value of the '<em>Element Type Name Prefix</em>' attribute.
* @see #getElementTypeNamePrefix()
* @generated
*/
@@ -251,7 +251,7 @@ public interface DomainContext extends EObject {
* If the meaning of the '<em>Element Types</em>' containment reference list isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Element Types</em>' containment reference.
* @see #setElementTypes(ElementTypes)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getDomainContext_ElementTypes()
@@ -266,9 +266,9 @@ public interface DomainContext extends EObject {
* reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Element Types</em>' containment reference.
+ * the new value of the '<em>Element Types</em>' containment reference.
* @see #getElementTypes()
* @generated
*/
@@ -281,7 +281,7 @@ public interface DomainContext extends EObject {
* If the meaning of the '<em>Default Helper Path</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Default Helper Path</em>' attribute.
* @see #setDefaultHelperPath(String)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getDomainContext_DefaultHelperPath()
@@ -295,9 +295,9 @@ public interface DomainContext extends EObject {
* attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Default Helper Path</em>' attribute.
+ * the new value of the '<em>Default Helper Path</em>' attribute.
* @see #getDefaultHelperPath()
* @generated
*/
@@ -311,7 +311,7 @@ public interface DomainContext extends EObject {
* If the meaning of the '<em>Advices</em>' containment reference list isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Advices</em>' containment reference list.
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getDomainContext_Advices()
* @model containment="true"
@@ -327,7 +327,7 @@ public interface DomainContext extends EObject {
* If the meaning of the '<em>Bindings</em>' reference list isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Bindings</em>' containment reference list.
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getDomainContext_Bindings()
* @model containment="true"
@@ -342,7 +342,7 @@ public interface DomainContext extends EObject {
* If the meaning of the '<em>Gen Handlers</em>' containment reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Gen Handlers</em>' containment reference.
* @see #setGenHandlers(GenHandlers)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getDomainContext_GenHandlers()
@@ -356,9 +356,9 @@ public interface DomainContext extends EObject {
* reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Gen Handlers</em>' containment reference.
+ * the new value of the '<em>Gen Handlers</em>' containment reference.
* @see #getGenHandlers()
* @generated
*/
@@ -371,7 +371,7 @@ public interface DomainContext extends EObject {
* If the meaning of the '<em>Generated Source Folder</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Generated Source Folder</em>' attribute.
* @see #setGeneratedSourceFolder(String)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getDomainContext_GeneratedSourceFolder()
@@ -381,13 +381,12 @@ public interface DomainContext extends EObject {
String getGeneratedSourceFolder();
/**
- * Sets the value of the '{@link org.eclipse.papyrus.domaincontextcodegen.DomainContext#getGeneratedSourceFolder <em>Generated Source Folder</em>}
- * ' attribute.
+ * Sets the value of the '{@link org.eclipse.papyrus.domaincontextcodegen.DomainContext#getGeneratedSourceFolder <em>Generated Source Folder</em>} ' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Generated Source Folder</em>' attribute.
+ * the new value of the '<em>Generated Source Folder</em>' attribute.
* @see #getGeneratedSourceFolder()
* @generated
*/
@@ -401,7 +400,7 @@ public interface DomainContext extends EObject {
* If the meaning of the '<em>Menu</em>' containment reference list isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Menu</em>' containment reference list.
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getDomainContext_Menu()
* @model containment="true"
@@ -417,7 +416,7 @@ public interface DomainContext extends EObject {
* If the meaning of the '<em>Command</em>' containment reference list isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Command</em>' containment reference list.
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getDomainContext_Command()
* @model containment="true"
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/DomaincontextcodegenFactory.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/DomaincontextcodegenFactory.java
index fb4c2f4ced8..28127e484c8 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/DomaincontextcodegenFactory.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/DomaincontextcodegenFactory.java
@@ -13,7 +13,7 @@ import org.eclipse.emf.ecore.EFactory;
* The <b>Factory</b> for the model.
* It provides a create method for each non-abstract class of the model.
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage
* @generated
*/
@@ -23,7 +23,7 @@ public interface DomaincontextcodegenFactory extends EFactory {
* The singleton instance of the factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
DomaincontextcodegenFactory eINSTANCE = org.eclipse.papyrus.domaincontextcodegen.impl.DomaincontextcodegenFactoryImpl.init();
@@ -32,7 +32,7 @@ public interface DomaincontextcodegenFactory extends EFactory {
* Returns a new object of class '<em>Domain Context</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Domain Context</em>'.
* @generated
*/
@@ -42,7 +42,7 @@ public interface DomaincontextcodegenFactory extends EFactory {
* Returns a new object of class '<em>Element Types</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Element Types</em>'.
* @generated
*/
@@ -52,7 +52,7 @@ public interface DomaincontextcodegenFactory extends EFactory {
* Returns a new object of class '<em>Meta Class Type</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Meta Class Type</em>'.
* @generated
*/
@@ -62,7 +62,7 @@ public interface DomaincontextcodegenFactory extends EFactory {
* Returns a new object of class '<em>Specialization Type</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Specialization Type</em>'.
* @generated
*/
@@ -72,7 +72,7 @@ public interface DomaincontextcodegenFactory extends EFactory {
* Returns a new object of class '<em>Advice</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Advice</em>'.
* @generated
*/
@@ -82,7 +82,7 @@ public interface DomaincontextcodegenFactory extends EFactory {
* Returns a new object of class '<em>Element Type Bindings</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Element Type Bindings</em>'.
* @generated
*/
@@ -92,7 +92,7 @@ public interface DomaincontextcodegenFactory extends EFactory {
* Returns a new object of class '<em>Element Type Binding</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Element Type Binding</em>'.
* @generated
*/
@@ -102,7 +102,7 @@ public interface DomaincontextcodegenFactory extends EFactory {
* Returns a new object of class '<em>Advice Binding</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Advice Binding</em>'.
* @generated
*/
@@ -112,7 +112,7 @@ public interface DomaincontextcodegenFactory extends EFactory {
* Returns a new object of class '<em>Gen Handlers</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Gen Handlers</em>'.
* @generated
*/
@@ -122,7 +122,7 @@ public interface DomaincontextcodegenFactory extends EFactory {
* Returns a new object of class '<em>Stereotyped Element Matcher</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Stereotyped Element Matcher</em>'.
* @generated
*/
@@ -132,7 +132,7 @@ public interface DomaincontextcodegenFactory extends EFactory {
* Returns a new object of class '<em>Stereotyped Element Helper</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Stereotyped Element Helper</em>'.
* @generated
*/
@@ -142,7 +142,7 @@ public interface DomaincontextcodegenFactory extends EFactory {
* Returns a new object of class '<em>Menu Declaration</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Menu Declaration</em>'.
* @generated
*/
@@ -152,7 +152,7 @@ public interface DomaincontextcodegenFactory extends EFactory {
* Returns a new object of class '<em>Command Declaration</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Command Declaration</em>'.
* @generated
*/
@@ -162,7 +162,7 @@ public interface DomaincontextcodegenFactory extends EFactory {
* Returns a new object of class '<em>Command</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Command</em>'.
* @generated
*/
@@ -172,10 +172,10 @@ public interface DomaincontextcodegenFactory extends EFactory {
* Returns the package supported by this factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the package supported by this factory.
* @generated
*/
DomaincontextcodegenPackage getDomaincontextcodegenPackage();
-} //DomaincontextcodegenFactory
+} // DomaincontextcodegenFactory
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/DomaincontextcodegenPackage.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/DomaincontextcodegenPackage.java
index 937b11a9770..489ce80081e 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/DomaincontextcodegenPackage.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/DomaincontextcodegenPackage.java
@@ -23,7 +23,7 @@ import org.eclipse.emf.ecore.EReference;
* <li>and each data type</li>
* </ul>
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenFactory
* @model kind="package"
* @generated
@@ -34,7 +34,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The package name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
String eNAME = "domaincontextcodegen";
@@ -43,7 +43,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The package namespace URI.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
String eNS_URI = "http://www.eclipse.org/papyrus/2010/domaincontextcodegen";
@@ -52,7 +52,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The package namespace name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
String eNS_PREFIX = "domaincontextcodegen";
@@ -61,7 +61,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The singleton instance of the package.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
DomaincontextcodegenPackage eINSTANCE = org.eclipse.papyrus.domaincontextcodegen.impl.DomaincontextcodegenPackageImpl.init();
@@ -70,7 +70,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.domaincontextcodegen.impl.DomainContextImpl <em>Domain Context</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.impl.DomainContextImpl
* @see org.eclipse.papyrus.domaincontextcodegen.impl.DomaincontextcodegenPackageImpl#getDomainContext()
* @generated
@@ -81,7 +81,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Type Project Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -91,7 +91,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Handler Project Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -101,7 +101,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>IClient Context ID</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -111,7 +111,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Metamodel</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -121,7 +121,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Specialization Of</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -131,7 +131,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Element Type ID Prefix</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -141,7 +141,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Element Type Name Prefix</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -151,7 +151,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Element Types</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -161,7 +161,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Default Helper Path</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -171,7 +171,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Advices</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -181,7 +181,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Bindings</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -191,7 +191,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Gen Handlers</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -201,7 +201,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Generated Source Folder</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -211,7 +211,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Menu</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -221,7 +221,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Command</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -231,7 +231,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The number of structural features of the '<em>Domain Context</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -241,7 +241,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.domaincontextcodegen.impl.ElementTypesImpl <em>Element Types</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.impl.ElementTypesImpl
* @see org.eclipse.papyrus.domaincontextcodegen.impl.DomaincontextcodegenPackageImpl#getElementTypes()
* @generated
@@ -252,7 +252,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Types</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -262,7 +262,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Domain</b></em>' container reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -272,7 +272,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The number of structural features of the '<em>Element Types</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -282,7 +282,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.domaincontextcodegen.impl.ElementTypeImpl <em>Element Type</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.impl.ElementTypeImpl
* @see org.eclipse.papyrus.domaincontextcodegen.impl.DomaincontextcodegenPackageImpl#getElementType()
* @generated
@@ -293,7 +293,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -303,7 +303,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Helper</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -313,7 +313,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Owner</b></em>' container reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -323,7 +323,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Icon</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -333,7 +333,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The number of structural features of the '<em>Element Type</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -343,7 +343,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.domaincontextcodegen.impl.MetaClassTypeImpl <em>Meta Class Type</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.impl.MetaClassTypeImpl
* @see org.eclipse.papyrus.domaincontextcodegen.impl.DomaincontextcodegenPackageImpl#getMetaClassType()
* @generated
@@ -354,7 +354,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -364,7 +364,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Helper</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -374,7 +374,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Owner</b></em>' container reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -384,7 +384,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Icon</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -394,7 +394,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Meta Class</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -404,7 +404,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The number of structural features of the '<em>Meta Class Type</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -414,7 +414,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.domaincontextcodegen.impl.SpecializationTypeImpl <em>Specialization Type</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.impl.SpecializationTypeImpl
* @see org.eclipse.papyrus.domaincontextcodegen.impl.DomaincontextcodegenPackageImpl#getSpecializationType()
* @generated
@@ -425,7 +425,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -435,7 +435,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Helper</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -445,7 +445,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Owner</b></em>' container reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -455,7 +455,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Icon</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -465,7 +465,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Ref</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -475,7 +475,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Matcher</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -485,7 +485,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Gen Matcher</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -495,7 +495,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Gen Helper</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -505,7 +505,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The number of structural features of the '<em>Specialization Type</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -515,7 +515,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.domaincontextcodegen.impl.AdviceImpl <em>Advice</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.impl.AdviceImpl
* @see org.eclipse.papyrus.domaincontextcodegen.impl.DomaincontextcodegenPackageImpl#getAdvice()
* @generated
@@ -526,7 +526,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Advice ID</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -536,7 +536,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Ref</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -546,7 +546,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Advice Path</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -556,7 +556,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Inheritance</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -566,7 +566,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The number of structural features of the '<em>Advice</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -577,7 +577,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.impl.ElementTypeBindingsImpl
* @see org.eclipse.papyrus.domaincontextcodegen.impl.DomaincontextcodegenPackageImpl#getElementTypeBindings()
* @generated
@@ -588,7 +588,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Client Context ID</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -598,7 +598,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Bindings</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -608,7 +608,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The number of structural features of the '<em>Element Type Bindings</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -618,7 +618,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.domaincontextcodegen.impl.AdviceBindingImpl <em>Advice Binding</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.impl.AdviceBindingImpl
* @see org.eclipse.papyrus.domaincontextcodegen.impl.DomaincontextcodegenPackageImpl#getAdviceBinding()
* @generated
@@ -629,7 +629,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.domaincontextcodegen.impl.BindingImpl <em>Binding</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.impl.BindingImpl
* @see org.eclipse.papyrus.domaincontextcodegen.impl.DomaincontextcodegenPackageImpl#getBinding()
* @generated
@@ -640,7 +640,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Owner</b></em>' container reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -650,7 +650,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Pattern</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -660,7 +660,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The number of structural features of the '<em>Binding</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -670,7 +670,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.domaincontextcodegen.impl.ElementTypeBindingImpl <em>Element Type Binding</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.impl.ElementTypeBindingImpl
* @see org.eclipse.papyrus.domaincontextcodegen.impl.DomaincontextcodegenPackageImpl#getElementTypeBinding()
* @generated
@@ -681,7 +681,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Owner</b></em>' container reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -691,7 +691,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Pattern</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -701,7 +701,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Ref</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -711,7 +711,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The number of structural features of the '<em>Element Type Binding</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -721,7 +721,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Owner</b></em>' container reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -731,7 +731,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Pattern</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -741,7 +741,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Ref</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -751,7 +751,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The number of structural features of the '<em>Advice Binding</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -761,7 +761,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.domaincontextcodegen.impl.GenHandlersImpl <em>Gen Handlers</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.impl.GenHandlersImpl
* @see org.eclipse.papyrus.domaincontextcodegen.impl.DomaincontextcodegenPackageImpl#getGenHandlers()
* @generated
@@ -772,7 +772,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Handler Package</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -782,7 +782,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Super Class</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -792,7 +792,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Super Class Package</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -802,7 +802,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Element Type Enumerator</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -812,7 +812,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Element Type Enumerator Package</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -822,7 +822,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Visible Create Child Handlers</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -832,7 +832,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Parent Domain Create Child</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -842,7 +842,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Create Child Menu Location URI</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -852,7 +852,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The number of structural features of the '<em>Gen Handlers</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -862,7 +862,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.domaincontextcodegen.impl.GenMatcherImpl <em>Gen Matcher</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.impl.GenMatcherImpl
* @see org.eclipse.papyrus.domaincontextcodegen.impl.DomaincontextcodegenPackageImpl#getGenMatcher()
* @generated
@@ -873,7 +873,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -883,7 +883,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The number of structural features of the '<em>Gen Matcher</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -893,7 +893,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.domaincontextcodegen.impl.GenHelperImpl <em>Gen Helper</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.impl.GenHelperImpl
* @see org.eclipse.papyrus.domaincontextcodegen.impl.DomaincontextcodegenPackageImpl#getGenHelper()
* @generated
@@ -904,7 +904,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -914,7 +914,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The number of structural features of the '<em>Gen Helper</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -925,7 +925,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* <em>Stereotyped Element Matcher</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.impl.StereotypedElementMatcherImpl
* @see org.eclipse.papyrus.domaincontextcodegen.impl.DomaincontextcodegenPackageImpl#getStereotypedElementMatcher()
* @generated
@@ -936,7 +936,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -946,7 +946,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Stereotype Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -956,7 +956,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Stereotype Package</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -966,7 +966,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Base Element Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -976,7 +976,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Base Element Package</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -986,7 +986,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The number of structural features of the '<em>Stereotyped Element Matcher</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -997,7 +997,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* <em>Stereotyped Element Helper</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.impl.StereotypedElementHelperImpl
* @see org.eclipse.papyrus.domaincontextcodegen.impl.DomaincontextcodegenPackageImpl#getStereotypedElementHelper()
* @generated
@@ -1008,7 +1008,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -1018,7 +1018,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Stereotype Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -1028,7 +1028,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Stereotype Package</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -1038,7 +1038,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Base Element Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -1048,7 +1048,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Base Element Package</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -1058,7 +1058,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The number of structural features of the '<em>Stereotyped Element Helper</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -1068,7 +1068,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.domaincontextcodegen.impl.MenuDeclarationImpl <em>Menu Declaration</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.impl.MenuDeclarationImpl
* @see org.eclipse.papyrus.domaincontextcodegen.impl.DomaincontextcodegenPackageImpl#getMenuDeclaration()
* @generated
@@ -1079,7 +1079,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Location URI</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -1089,7 +1089,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Commands</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -1099,7 +1099,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The number of structural features of the '<em>Menu Declaration</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -1109,7 +1109,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.domaincontextcodegen.impl.CommandDeclarationImpl <em>Command Declaration</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.impl.CommandDeclarationImpl
* @see org.eclipse.papyrus.domaincontextcodegen.impl.DomaincontextcodegenPackageImpl#getCommandDeclaration()
* @generated
@@ -1120,7 +1120,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Commands</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -1130,7 +1130,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The number of structural features of the '<em>Command Declaration</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -1140,7 +1140,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.domaincontextcodegen.impl.CommandImpl <em>Command</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.impl.CommandImpl
* @see org.eclipse.papyrus.domaincontextcodegen.impl.DomaincontextcodegenPackageImpl#getCommand()
* @generated
@@ -1151,7 +1151,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Element Type</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -1161,7 +1161,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Icon</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -1171,7 +1171,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The number of structural features of the '<em>Command</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -1181,7 +1181,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.domaincontextcodegen.InheritanceKind <em>Inheritance Kind</em>}' enum.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.InheritanceKind
* @see org.eclipse.papyrus.domaincontextcodegen.impl.DomaincontextcodegenPackageImpl#getInheritanceKind()
* @generated
@@ -1192,7 +1192,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.domaincontextcodegen.DomainContext <em>Domain Context</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Domain Context</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.DomainContext
* @generated
@@ -1204,7 +1204,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* <em>Type Project Name</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Type Project Name</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.DomainContext#getTypeProjectName()
* @see #getDomainContext()
@@ -1217,7 +1217,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* <em>Handler Project Name</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Handler Project Name</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.DomainContext#getHandlerProjectName()
* @see #getDomainContext()
@@ -1230,7 +1230,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* <em>IClient Context ID</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>IClient Context ID</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.DomainContext#getIClientContextID()
* @see #getDomainContext()
@@ -1242,7 +1242,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.domaincontextcodegen.DomainContext#getMetamodel <em>Metamodel</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference '<em>Metamodel</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.DomainContext#getMetamodel()
* @see #getDomainContext()
@@ -1255,7 +1255,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* <em>Specialization Of</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference '<em>Specialization Of</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.DomainContext#getSpecializationOf()
* @see #getDomainContext()
@@ -1268,7 +1268,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* <em>Element Type ID Prefix</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Element Type ID Prefix</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.DomainContext#getElementTypeIDPrefix()
* @see #getDomainContext()
@@ -1281,7 +1281,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* <em>Element Type Name Prefix</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Element Type Name Prefix</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.DomainContext#getElementTypeNamePrefix()
* @see #getDomainContext()
@@ -1294,7 +1294,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* <em>Element Types</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the containment reference '<em>Element Types</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.DomainContext#getElementTypes()
* @see #getDomainContext()
@@ -1307,7 +1307,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* <em>Default Helper Path</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Default Helper Path</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.DomainContext#getDefaultHelperPath()
* @see #getDomainContext()
@@ -1320,7 +1320,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* <em>Advices</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the containment reference list '<em>Advices</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.DomainContext#getAdvices()
* @see #getDomainContext()
@@ -1333,7 +1333,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* <em>Bindings</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the containment reference list '<em>Bindings</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.DomainContext#getBindings()
* @see #getDomainContext()
@@ -1346,7 +1346,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* <em>Gen Handlers</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the containment reference '<em>Gen Handlers</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.DomainContext#getGenHandlers()
* @see #getDomainContext()
@@ -1359,7 +1359,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* <em>Generated Source Folder</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Generated Source Folder</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.DomainContext#getGeneratedSourceFolder()
* @see #getDomainContext()
@@ -1372,7 +1372,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* <em>Menu</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the containment reference list '<em>Menu</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.DomainContext#getMenu()
* @see #getDomainContext()
@@ -1385,7 +1385,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* <em>Command</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the containment reference list '<em>Command</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.DomainContext#getCommand()
* @see #getDomainContext()
@@ -1397,7 +1397,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.domaincontextcodegen.ElementTypes <em>Element Types</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Element Types</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.ElementTypes
* @generated
@@ -1409,7 +1409,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* <em>Types</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the containment reference list '<em>Types</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.ElementTypes#getTypes()
* @see #getElementTypes()
@@ -1421,7 +1421,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* Returns the meta object for the container reference '{@link org.eclipse.papyrus.domaincontextcodegen.ElementTypes#getDomain <em>Domain</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the container reference '<em>Domain</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.ElementTypes#getDomain()
* @see #getElementTypes()
@@ -1433,7 +1433,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.domaincontextcodegen.ElementType <em>Element Type</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Element Type</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.ElementType
* @generated
@@ -1444,7 +1444,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.domaincontextcodegen.ElementType#getName <em>Name</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Name</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.ElementType#getName()
* @see #getElementType()
@@ -1456,7 +1456,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.domaincontextcodegen.ElementType#getHelper <em>Helper</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Helper</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.ElementType#getHelper()
* @see #getElementType()
@@ -1468,7 +1468,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* Returns the meta object for the container reference '{@link org.eclipse.papyrus.domaincontextcodegen.ElementType#getOwner <em>Owner</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the container reference '<em>Owner</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.ElementType#getOwner()
* @see #getElementType()
@@ -1480,7 +1480,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.domaincontextcodegen.ElementType#getIcon <em>Icon</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Icon</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.ElementType#getIcon()
* @see #getElementType()
@@ -1492,7 +1492,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.domaincontextcodegen.MetaClassType <em>Meta Class Type</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Meta Class Type</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.MetaClassType
* @generated
@@ -1503,7 +1503,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.domaincontextcodegen.MetaClassType#getMetaClass <em>Meta Class</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference '<em>Meta Class</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.MetaClassType#getMetaClass()
* @see #getMetaClassType()
@@ -1515,7 +1515,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.domaincontextcodegen.SpecializationType <em>Specialization Type</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Specialization Type</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.SpecializationType
* @generated
@@ -1526,7 +1526,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.domaincontextcodegen.SpecializationType#getRef <em>Ref</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference '<em>Ref</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.SpecializationType#getRef()
* @see #getSpecializationType()
@@ -1538,7 +1538,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.domaincontextcodegen.SpecializationType#getMatcher <em>Matcher</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Matcher</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.SpecializationType#getMatcher()
* @see #getSpecializationType()
@@ -1551,7 +1551,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* <em>Gen Matcher</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the containment reference '<em>Gen Matcher</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.SpecializationType#getGenMatcher()
* @see #getSpecializationType()
@@ -1564,7 +1564,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* <em>Gen Helper</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the containment reference '<em>Gen Helper</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.SpecializationType#getGenHelper()
* @see #getSpecializationType()
@@ -1576,7 +1576,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.domaincontextcodegen.Advice <em>Advice</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Advice</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.Advice
* @generated
@@ -1587,7 +1587,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.domaincontextcodegen.Advice#getAdviceID <em>Advice ID</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Advice ID</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.Advice#getAdviceID()
* @see #getAdvice()
@@ -1599,7 +1599,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.domaincontextcodegen.Advice#getRef <em>Ref</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference '<em>Ref</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.Advice#getRef()
* @see #getAdvice()
@@ -1611,7 +1611,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.domaincontextcodegen.Advice#getAdvicePath <em>Advice Path</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Advice Path</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.Advice#getAdvicePath()
* @see #getAdvice()
@@ -1623,7 +1623,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.domaincontextcodegen.Advice#getInheritance <em>Inheritance</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Inheritance</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.Advice#getInheritance()
* @see #getAdvice()
@@ -1635,7 +1635,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.domaincontextcodegen.ElementTypeBindings <em>Element Type Bindings</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Element Type Bindings</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.ElementTypeBindings
* @generated
@@ -1647,7 +1647,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* <em>Client Context ID</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Client Context ID</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.ElementTypeBindings#getClientContextID()
* @see #getElementTypeBindings()
@@ -1660,7 +1660,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* <em>Bindings</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the containment reference list '<em>Bindings</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.ElementTypeBindings#getBindings()
* @see #getElementTypeBindings()
@@ -1672,7 +1672,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.domaincontextcodegen.AdviceBinding <em>Advice Binding</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Advice Binding</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.AdviceBinding
* @generated
@@ -1683,7 +1683,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.domaincontextcodegen.AdviceBinding#getRef <em>Ref</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference '<em>Ref</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.AdviceBinding#getRef()
* @see #getAdviceBinding()
@@ -1695,7 +1695,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.domaincontextcodegen.Binding <em>Binding</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Binding</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.Binding
* @generated
@@ -1706,7 +1706,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* Returns the meta object for the container reference '{@link org.eclipse.papyrus.domaincontextcodegen.Binding#getOwner <em>Owner</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the container reference '<em>Owner</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.Binding#getOwner()
* @see #getBinding()
@@ -1718,7 +1718,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.domaincontextcodegen.Binding#getPattern <em>Pattern</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Pattern</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.Binding#getPattern()
* @see #getBinding()
@@ -1730,7 +1730,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.domaincontextcodegen.ElementTypeBinding <em>Element Type Binding</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Element Type Binding</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.ElementTypeBinding
* @generated
@@ -1741,7 +1741,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.domaincontextcodegen.ElementTypeBinding#getRef <em>Ref</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference '<em>Ref</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.ElementTypeBinding#getRef()
* @see #getElementTypeBinding()
@@ -1753,7 +1753,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.domaincontextcodegen.GenHandlers <em>Gen Handlers</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Gen Handlers</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.GenHandlers
* @generated
@@ -1765,7 +1765,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* <em>Handler Package</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Handler Package</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.GenHandlers#getHandlerPackage()
* @see #getGenHandlers()
@@ -1777,7 +1777,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.domaincontextcodegen.GenHandlers#getSuperClass <em>Super Class</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Super Class</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.GenHandlers#getSuperClass()
* @see #getGenHandlers()
@@ -1790,7 +1790,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* <em>Super Class Package</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Super Class Package</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.GenHandlers#getSuperClassPackage()
* @see #getGenHandlers()
@@ -1803,7 +1803,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* <em>Element Type Enumerator</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Element Type Enumerator</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.GenHandlers#getElementTypeEnumerator()
* @see #getGenHandlers()
@@ -1816,7 +1816,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* <em>Element Type Enumerator Package</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Element Type Enumerator Package</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.GenHandlers#getElementTypeEnumeratorPackage()
* @see #getGenHandlers()
@@ -1829,7 +1829,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* <em>Visible Create Child Handlers</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference list '<em>Visible Create Child Handlers</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.GenHandlers#getVisibleCreateChildHandlers()
* @see #getGenHandlers()
@@ -1842,7 +1842,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* <em>Parent Domain Create Child</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference list '<em>Parent Domain Create Child</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.GenHandlers#getParentDomainCreateChild()
* @see #getGenHandlers()
@@ -1855,7 +1855,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* <em>Create Child Menu Location URI</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Create Child Menu Location URI</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.GenHandlers#getCreateChildMenuLocationURI()
* @see #getGenHandlers()
@@ -1867,7 +1867,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.domaincontextcodegen.GenMatcher <em>Gen Matcher</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Gen Matcher</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.GenMatcher
* @generated
@@ -1878,7 +1878,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.domaincontextcodegen.GenMatcher#getName <em>Name</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Name</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.GenMatcher#getName()
* @see #getGenMatcher()
@@ -1890,7 +1890,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.domaincontextcodegen.GenHelper <em>Gen Helper</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Gen Helper</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.GenHelper
* @generated
@@ -1901,7 +1901,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.domaincontextcodegen.GenHelper#getName <em>Name</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Name</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.GenHelper#getName()
* @see #getGenHelper()
@@ -1914,7 +1914,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* <em>Stereotyped Element Matcher</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Stereotyped Element Matcher</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.StereotypedElementMatcher
* @generated
@@ -1926,7 +1926,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* <em>Stereotype Name</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Stereotype Name</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.StereotypedElementMatcher#getStereotypeName()
* @see #getStereotypedElementMatcher()
@@ -1939,7 +1939,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* <em>Stereotype Package</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Stereotype Package</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.StereotypedElementMatcher#getStereotypePackage()
* @see #getStereotypedElementMatcher()
@@ -1952,7 +1952,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* <em>Base Element Name</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Base Element Name</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.StereotypedElementMatcher#getBaseElementName()
* @see #getStereotypedElementMatcher()
@@ -1965,7 +1965,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* <em>Base Element Package</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Base Element Package</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.StereotypedElementMatcher#getBaseElementPackage()
* @see #getStereotypedElementMatcher()
@@ -1978,7 +1978,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* <em>Stereotyped Element Helper</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Stereotyped Element Helper</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.StereotypedElementHelper
* @generated
@@ -1990,7 +1990,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* <em>Stereotype Name</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Stereotype Name</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.StereotypedElementHelper#getStereotypeName()
* @see #getStereotypedElementHelper()
@@ -2003,7 +2003,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* <em>Stereotype Package</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Stereotype Package</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.StereotypedElementHelper#getStereotypePackage()
* @see #getStereotypedElementHelper()
@@ -2016,7 +2016,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* <em>Base Element Name</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Base Element Name</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.StereotypedElementHelper#getBaseElementName()
* @see #getStereotypedElementHelper()
@@ -2029,7 +2029,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* <em>Base Element Package</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Base Element Package</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.StereotypedElementHelper#getBaseElementPackage()
* @see #getStereotypedElementHelper()
@@ -2041,7 +2041,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.domaincontextcodegen.MenuDeclaration <em>Menu Declaration</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Menu Declaration</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.MenuDeclaration
* @generated
@@ -2053,7 +2053,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* <em>Location URI</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Location URI</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.MenuDeclaration#getLocationURI()
* @see #getMenuDeclaration()
@@ -2062,11 +2062,10 @@ public interface DomaincontextcodegenPackage extends EPackage {
EAttribute getMenuDeclaration_LocationURI();
/**
- * Returns the meta object for the reference list '{@link org.eclipse.papyrus.domaincontextcodegen.MenuDeclaration#getCommands <em>Commands</em>}
- * '.
+ * Returns the meta object for the reference list '{@link org.eclipse.papyrus.domaincontextcodegen.MenuDeclaration#getCommands <em>Commands</em>} '.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference list '<em>Commands</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.MenuDeclaration#getCommands()
* @see #getMenuDeclaration()
@@ -2078,7 +2077,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.domaincontextcodegen.CommandDeclaration <em>Command Declaration</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Command Declaration</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.CommandDeclaration
* @generated
@@ -2090,7 +2089,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* <em>Commands</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the containment reference list '<em>Commands</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.CommandDeclaration#getCommands()
* @see #getCommandDeclaration()
@@ -2102,7 +2101,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.domaincontextcodegen.Command <em>Command</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Command</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.Command
* @generated
@@ -2113,7 +2112,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.domaincontextcodegen.Command#getElementType <em>Element Type</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference '<em>Element Type</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.Command#getElementType()
* @see #getCommand()
@@ -2125,7 +2124,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.domaincontextcodegen.Command#getIcon <em>Icon</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Icon</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.Command#getIcon()
* @see #getCommand()
@@ -2137,7 +2136,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* Returns the meta object for enum '{@link org.eclipse.papyrus.domaincontextcodegen.InheritanceKind <em>Inheritance Kind</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for enum '<em>Inheritance Kind</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.InheritanceKind
* @generated
@@ -2148,7 +2147,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* Returns the factory that creates the instances of the model.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the factory that creates the instances of the model.
* @generated
*/
@@ -2164,7 +2163,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* <li>and each data type</li>
* </ul>
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
interface Literals {
@@ -2173,7 +2172,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.domaincontextcodegen.impl.DomainContextImpl <em>Domain Context</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.impl.DomainContextImpl
* @see org.eclipse.papyrus.domaincontextcodegen.impl.DomaincontextcodegenPackageImpl#getDomainContext()
* @generated
@@ -2184,7 +2183,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Type Project Name</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute DOMAIN_CONTEXT__TYPE_PROJECT_NAME = eINSTANCE.getDomainContext_TypeProjectName();
@@ -2193,7 +2192,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Handler Project Name</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute DOMAIN_CONTEXT__HANDLER_PROJECT_NAME = eINSTANCE.getDomainContext_HandlerProjectName();
@@ -2202,7 +2201,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>IClient Context ID</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute DOMAIN_CONTEXT__ICLIENT_CONTEXT_ID = eINSTANCE.getDomainContext_IClientContextID();
@@ -2211,7 +2210,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Metamodel</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference DOMAIN_CONTEXT__METAMODEL = eINSTANCE.getDomainContext_Metamodel();
@@ -2220,7 +2219,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Specialization Of</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference DOMAIN_CONTEXT__SPECIALIZATION_OF = eINSTANCE.getDomainContext_SpecializationOf();
@@ -2229,7 +2228,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Element Type ID Prefix</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute DOMAIN_CONTEXT__ELEMENT_TYPE_ID_PREFIX = eINSTANCE.getDomainContext_ElementTypeIDPrefix();
@@ -2238,7 +2237,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Element Type Name Prefix</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute DOMAIN_CONTEXT__ELEMENT_TYPE_NAME_PREFIX = eINSTANCE.getDomainContext_ElementTypeNamePrefix();
@@ -2247,7 +2246,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Element Types</b></em>' containment reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference DOMAIN_CONTEXT__ELEMENT_TYPES = eINSTANCE.getDomainContext_ElementTypes();
@@ -2256,7 +2255,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Default Helper Path</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute DOMAIN_CONTEXT__DEFAULT_HELPER_PATH = eINSTANCE.getDomainContext_DefaultHelperPath();
@@ -2265,7 +2264,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Advices</b></em>' containment reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference DOMAIN_CONTEXT__ADVICES = eINSTANCE.getDomainContext_Advices();
@@ -2274,7 +2273,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Bindings</b></em>' containment reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference DOMAIN_CONTEXT__BINDINGS = eINSTANCE.getDomainContext_Bindings();
@@ -2283,7 +2282,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Gen Handlers</b></em>' containment reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference DOMAIN_CONTEXT__GEN_HANDLERS = eINSTANCE.getDomainContext_GenHandlers();
@@ -2292,7 +2291,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Generated Source Folder</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute DOMAIN_CONTEXT__GENERATED_SOURCE_FOLDER = eINSTANCE.getDomainContext_GeneratedSourceFolder();
@@ -2301,7 +2300,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Menu</b></em>' containment reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference DOMAIN_CONTEXT__MENU = eINSTANCE.getDomainContext_Menu();
@@ -2310,7 +2309,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Command</b></em>' containment reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference DOMAIN_CONTEXT__COMMAND = eINSTANCE.getDomainContext_Command();
@@ -2319,7 +2318,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.domaincontextcodegen.impl.ElementTypesImpl <em>Element Types</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.impl.ElementTypesImpl
* @see org.eclipse.papyrus.domaincontextcodegen.impl.DomaincontextcodegenPackageImpl#getElementTypes()
* @generated
@@ -2330,7 +2329,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Types</b></em>' containment reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference ELEMENT_TYPES__TYPES = eINSTANCE.getElementTypes_Types();
@@ -2339,7 +2338,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Domain</b></em>' container reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference ELEMENT_TYPES__DOMAIN = eINSTANCE.getElementTypes_Domain();
@@ -2348,7 +2347,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.domaincontextcodegen.impl.ElementTypeImpl <em>Element Type</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.impl.ElementTypeImpl
* @see org.eclipse.papyrus.domaincontextcodegen.impl.DomaincontextcodegenPackageImpl#getElementType()
* @generated
@@ -2359,7 +2358,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Name</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute ELEMENT_TYPE__NAME = eINSTANCE.getElementType_Name();
@@ -2368,7 +2367,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Helper</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute ELEMENT_TYPE__HELPER = eINSTANCE.getElementType_Helper();
@@ -2377,7 +2376,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Owner</b></em>' container reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference ELEMENT_TYPE__OWNER = eINSTANCE.getElementType_Owner();
@@ -2386,7 +2385,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Icon</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute ELEMENT_TYPE__ICON = eINSTANCE.getElementType_Icon();
@@ -2395,7 +2394,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.domaincontextcodegen.impl.MetaClassTypeImpl <em>Meta Class Type</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.impl.MetaClassTypeImpl
* @see org.eclipse.papyrus.domaincontextcodegen.impl.DomaincontextcodegenPackageImpl#getMetaClassType()
* @generated
@@ -2406,7 +2405,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Meta Class</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference META_CLASS_TYPE__META_CLASS = eINSTANCE.getMetaClassType_MetaClass();
@@ -2416,7 +2415,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.impl.SpecializationTypeImpl
* @see org.eclipse.papyrus.domaincontextcodegen.impl.DomaincontextcodegenPackageImpl#getSpecializationType()
* @generated
@@ -2427,7 +2426,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Ref</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference SPECIALIZATION_TYPE__REF = eINSTANCE.getSpecializationType_Ref();
@@ -2436,7 +2435,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Matcher</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute SPECIALIZATION_TYPE__MATCHER = eINSTANCE.getSpecializationType_Matcher();
@@ -2445,7 +2444,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Gen Matcher</b></em>' containment reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference SPECIALIZATION_TYPE__GEN_MATCHER = eINSTANCE.getSpecializationType_GenMatcher();
@@ -2454,7 +2453,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Gen Helper</b></em>' containment reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference SPECIALIZATION_TYPE__GEN_HELPER = eINSTANCE.getSpecializationType_GenHelper();
@@ -2463,7 +2462,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.domaincontextcodegen.impl.AdviceImpl <em>Advice</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.impl.AdviceImpl
* @see org.eclipse.papyrus.domaincontextcodegen.impl.DomaincontextcodegenPackageImpl#getAdvice()
* @generated
@@ -2474,7 +2473,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Advice ID</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute ADVICE__ADVICE_ID = eINSTANCE.getAdvice_AdviceID();
@@ -2483,7 +2482,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Ref</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference ADVICE__REF = eINSTANCE.getAdvice_Ref();
@@ -2492,7 +2491,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Advice Path</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute ADVICE__ADVICE_PATH = eINSTANCE.getAdvice_AdvicePath();
@@ -2501,7 +2500,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Inheritance</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute ADVICE__INHERITANCE = eINSTANCE.getAdvice_Inheritance();
@@ -2511,7 +2510,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* <em>Element Type Bindings</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.impl.ElementTypeBindingsImpl
* @see org.eclipse.papyrus.domaincontextcodegen.impl.DomaincontextcodegenPackageImpl#getElementTypeBindings()
* @generated
@@ -2522,7 +2521,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Client Context ID</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute ELEMENT_TYPE_BINDINGS__CLIENT_CONTEXT_ID = eINSTANCE.getElementTypeBindings_ClientContextID();
@@ -2531,7 +2530,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Bindings</b></em>' containment reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference ELEMENT_TYPE_BINDINGS__BINDINGS = eINSTANCE.getElementTypeBindings_Bindings();
@@ -2540,7 +2539,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.domaincontextcodegen.impl.AdviceBindingImpl <em>Advice Binding</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.impl.AdviceBindingImpl
* @see org.eclipse.papyrus.domaincontextcodegen.impl.DomaincontextcodegenPackageImpl#getAdviceBinding()
* @generated
@@ -2551,7 +2550,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Ref</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference ADVICE_BINDING__REF = eINSTANCE.getAdviceBinding_Ref();
@@ -2560,7 +2559,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.domaincontextcodegen.impl.BindingImpl <em>Binding</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.impl.BindingImpl
* @see org.eclipse.papyrus.domaincontextcodegen.impl.DomaincontextcodegenPackageImpl#getBinding()
* @generated
@@ -2571,7 +2570,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Owner</b></em>' container reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference BINDING__OWNER = eINSTANCE.getBinding_Owner();
@@ -2580,17 +2579,16 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Pattern</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute BINDING__PATTERN = eINSTANCE.getBinding_Pattern();
/**
- * The meta object literal for the '{@link org.eclipse.papyrus.domaincontextcodegen.impl.ElementTypeBindingImpl <em>Element Type Binding</em>}
- * ' class.
+ * The meta object literal for the '{@link org.eclipse.papyrus.domaincontextcodegen.impl.ElementTypeBindingImpl <em>Element Type Binding</em>} ' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.impl.ElementTypeBindingImpl
* @see org.eclipse.papyrus.domaincontextcodegen.impl.DomaincontextcodegenPackageImpl#getElementTypeBinding()
* @generated
@@ -2601,7 +2599,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Ref</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference ELEMENT_TYPE_BINDING__REF = eINSTANCE.getElementTypeBinding_Ref();
@@ -2610,7 +2608,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.domaincontextcodegen.impl.GenHandlersImpl <em>Gen Handlers</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.impl.GenHandlersImpl
* @see org.eclipse.papyrus.domaincontextcodegen.impl.DomaincontextcodegenPackageImpl#getGenHandlers()
* @generated
@@ -2621,7 +2619,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Handler Package</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute GEN_HANDLERS__HANDLER_PACKAGE = eINSTANCE.getGenHandlers_HandlerPackage();
@@ -2630,7 +2628,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Super Class</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute GEN_HANDLERS__SUPER_CLASS = eINSTANCE.getGenHandlers_SuperClass();
@@ -2639,7 +2637,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Super Class Package</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute GEN_HANDLERS__SUPER_CLASS_PACKAGE = eINSTANCE.getGenHandlers_SuperClassPackage();
@@ -2648,7 +2646,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Element Type Enumerator</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute GEN_HANDLERS__ELEMENT_TYPE_ENUMERATOR = eINSTANCE.getGenHandlers_ElementTypeEnumerator();
@@ -2657,7 +2655,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Element Type Enumerator Package</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute GEN_HANDLERS__ELEMENT_TYPE_ENUMERATOR_PACKAGE = eINSTANCE.getGenHandlers_ElementTypeEnumeratorPackage();
@@ -2666,7 +2664,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Visible Create Child Handlers</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference GEN_HANDLERS__VISIBLE_CREATE_CHILD_HANDLERS = eINSTANCE.getGenHandlers_VisibleCreateChildHandlers();
@@ -2675,7 +2673,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Parent Domain Create Child</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference GEN_HANDLERS__PARENT_DOMAIN_CREATE_CHILD = eINSTANCE.getGenHandlers_ParentDomainCreateChild();
@@ -2684,7 +2682,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Create Child Menu Location URI</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute GEN_HANDLERS__CREATE_CHILD_MENU_LOCATION_URI = eINSTANCE.getGenHandlers_CreateChildMenuLocationURI();
@@ -2693,7 +2691,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.domaincontextcodegen.impl.GenMatcherImpl <em>Gen Matcher</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.impl.GenMatcherImpl
* @see org.eclipse.papyrus.domaincontextcodegen.impl.DomaincontextcodegenPackageImpl#getGenMatcher()
* @generated
@@ -2704,7 +2702,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Name</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute GEN_MATCHER__NAME = eINSTANCE.getGenMatcher_Name();
@@ -2713,7 +2711,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.domaincontextcodegen.impl.GenHelperImpl <em>Gen Helper</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.impl.GenHelperImpl
* @see org.eclipse.papyrus.domaincontextcodegen.impl.DomaincontextcodegenPackageImpl#getGenHelper()
* @generated
@@ -2724,7 +2722,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Name</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute GEN_HELPER__NAME = eINSTANCE.getGenHelper_Name();
@@ -2734,7 +2732,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* <em>Stereotyped Element Matcher</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.impl.StereotypedElementMatcherImpl
* @see org.eclipse.papyrus.domaincontextcodegen.impl.DomaincontextcodegenPackageImpl#getStereotypedElementMatcher()
* @generated
@@ -2745,7 +2743,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Stereotype Name</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute STEREOTYPED_ELEMENT_MATCHER__STEREOTYPE_NAME = eINSTANCE.getStereotypedElementMatcher_StereotypeName();
@@ -2754,7 +2752,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Stereotype Package</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute STEREOTYPED_ELEMENT_MATCHER__STEREOTYPE_PACKAGE = eINSTANCE.getStereotypedElementMatcher_StereotypePackage();
@@ -2763,7 +2761,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Base Element Name</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute STEREOTYPED_ELEMENT_MATCHER__BASE_ELEMENT_NAME = eINSTANCE.getStereotypedElementMatcher_BaseElementName();
@@ -2772,7 +2770,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Base Element Package</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute STEREOTYPED_ELEMENT_MATCHER__BASE_ELEMENT_PACKAGE = eINSTANCE.getStereotypedElementMatcher_BaseElementPackage();
@@ -2782,7 +2780,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* <em>Stereotyped Element Helper</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.impl.StereotypedElementHelperImpl
* @see org.eclipse.papyrus.domaincontextcodegen.impl.DomaincontextcodegenPackageImpl#getStereotypedElementHelper()
* @generated
@@ -2793,7 +2791,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Stereotype Name</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute STEREOTYPED_ELEMENT_HELPER__STEREOTYPE_NAME = eINSTANCE.getStereotypedElementHelper_StereotypeName();
@@ -2802,7 +2800,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Stereotype Package</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute STEREOTYPED_ELEMENT_HELPER__STEREOTYPE_PACKAGE = eINSTANCE.getStereotypedElementHelper_StereotypePackage();
@@ -2811,7 +2809,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Base Element Name</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute STEREOTYPED_ELEMENT_HELPER__BASE_ELEMENT_NAME = eINSTANCE.getStereotypedElementHelper_BaseElementName();
@@ -2820,7 +2818,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Base Element Package</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute STEREOTYPED_ELEMENT_HELPER__BASE_ELEMENT_PACKAGE = eINSTANCE.getStereotypedElementHelper_BaseElementPackage();
@@ -2830,7 +2828,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.impl.MenuDeclarationImpl
* @see org.eclipse.papyrus.domaincontextcodegen.impl.DomaincontextcodegenPackageImpl#getMenuDeclaration()
* @generated
@@ -2841,7 +2839,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Location URI</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute MENU_DECLARATION__LOCATION_URI = eINSTANCE.getMenuDeclaration_LocationURI();
@@ -2850,7 +2848,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Commands</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference MENU_DECLARATION__COMMANDS = eINSTANCE.getMenuDeclaration_Commands();
@@ -2860,7 +2858,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.impl.CommandDeclarationImpl
* @see org.eclipse.papyrus.domaincontextcodegen.impl.DomaincontextcodegenPackageImpl#getCommandDeclaration()
* @generated
@@ -2871,7 +2869,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Commands</b></em>' containment reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference COMMAND_DECLARATION__COMMANDS = eINSTANCE.getCommandDeclaration_Commands();
@@ -2880,7 +2878,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.domaincontextcodegen.impl.CommandImpl <em>Command</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.impl.CommandImpl
* @see org.eclipse.papyrus.domaincontextcodegen.impl.DomaincontextcodegenPackageImpl#getCommand()
* @generated
@@ -2891,7 +2889,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Element Type</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference COMMAND__ELEMENT_TYPE = eINSTANCE.getCommand_ElementType();
@@ -2900,7 +2898,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Icon</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute COMMAND__ICON = eINSTANCE.getCommand_Icon();
@@ -2909,7 +2907,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.domaincontextcodegen.InheritanceKind <em>Inheritance Kind</em>}' enum.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.InheritanceKind
* @see org.eclipse.papyrus.domaincontextcodegen.impl.DomaincontextcodegenPackageImpl#getInheritanceKind()
* @generated
@@ -2918,4 +2916,4 @@ public interface DomaincontextcodegenPackage extends EPackage {
}
-} //DomaincontextcodegenPackage
+} // DomaincontextcodegenPackage
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/ElementType.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/ElementType.java
index 8d42e23698f..30d76b594dc 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/ElementType.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/ElementType.java
@@ -12,7 +12,7 @@ import org.eclipse.emf.ecore.EObject;
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Element Type</b></em>'.
* <!-- end-user-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
@@ -22,7 +22,7 @@ import org.eclipse.emf.ecore.EObject;
* <li>{@link org.eclipse.papyrus.domaincontextcodegen.ElementType#getIcon <em>Icon</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getElementType()
* @model abstract="true"
* @generated
@@ -36,7 +36,7 @@ public interface ElementType extends EObject {
* If the meaning of the '<em>Name</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Name</em>' attribute.
* @see #setName(String)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getElementType_Name()
@@ -49,9 +49,9 @@ public interface ElementType extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.domaincontextcodegen.ElementType#getName <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Name</em>' attribute.
+ * the new value of the '<em>Name</em>' attribute.
* @see #getName()
* @generated
*/
@@ -64,7 +64,7 @@ public interface ElementType extends EObject {
* If the meaning of the '<em>Helper</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Helper</em>' attribute.
* @see #setHelper(String)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getElementType_Helper()
@@ -77,9 +77,9 @@ public interface ElementType extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.domaincontextcodegen.ElementType#getHelper <em>Helper</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Helper</em>' attribute.
+ * the new value of the '<em>Helper</em>' attribute.
* @see #getHelper()
* @generated
*/
@@ -93,7 +93,7 @@ public interface ElementType extends EObject {
* If the meaning of the '<em>Owner</em>' container reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Owner</em>' container reference.
* @see #setOwner(ElementTypes)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getElementType_Owner()
@@ -107,9 +107,9 @@ public interface ElementType extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.domaincontextcodegen.ElementType#getOwner <em>Owner</em>}' container reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Owner</em>' container reference.
+ * the new value of the '<em>Owner</em>' container reference.
* @see #getOwner()
* @generated
*/
@@ -122,7 +122,7 @@ public interface ElementType extends EObject {
* If the meaning of the '<em>Icon</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Icon</em>' attribute.
* @see #setIcon(String)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getElementType_Icon()
@@ -135,9 +135,9 @@ public interface ElementType extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.domaincontextcodegen.ElementType#getIcon <em>Icon</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Icon</em>' attribute.
+ * the new value of the '<em>Icon</em>' attribute.
* @see #getIcon()
* @generated
*/
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/ElementTypeBinding.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/ElementTypeBinding.java
index a89f734c158..5a7fb9bfe10 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/ElementTypeBinding.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/ElementTypeBinding.java
@@ -10,14 +10,14 @@ package org.eclipse.papyrus.domaincontextcodegen;
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Element Type Binding</b></em>'.
* <!-- end-user-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.papyrus.domaincontextcodegen.ElementTypeBinding#getRef <em>Ref</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getElementTypeBinding()
* @model
* @generated
@@ -31,7 +31,7 @@ public interface ElementTypeBinding extends Binding {
* If the meaning of the '<em>Ref</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Ref</em>' reference.
* @see #setRef(ElementType)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getElementTypeBinding_Ref()
@@ -44,9 +44,9 @@ public interface ElementTypeBinding extends Binding {
* Sets the value of the '{@link org.eclipse.papyrus.domaincontextcodegen.ElementTypeBinding#getRef <em>Ref</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Ref</em>' reference.
+ * the new value of the '<em>Ref</em>' reference.
* @see #getRef()
* @generated
*/
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/ElementTypeBindings.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/ElementTypeBindings.java
index 0184a6522f7..0d260a86c7f 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/ElementTypeBindings.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/ElementTypeBindings.java
@@ -13,7 +13,7 @@ import org.eclipse.emf.ecore.EObject;
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Element Type Bindings</b></em>'.
* <!-- end-user-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
@@ -21,7 +21,7 @@ import org.eclipse.emf.ecore.EObject;
* <li>{@link org.eclipse.papyrus.domaincontextcodegen.ElementTypeBindings#getBindings <em>Bindings</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getElementTypeBindings()
* @model
* @generated
@@ -35,7 +35,7 @@ public interface ElementTypeBindings extends EObject {
* If the meaning of the '<em>Client Context ID</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Client Context ID</em>' attribute.
* @see #setClientContextID(String)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getElementTypeBindings_ClientContextID()
@@ -49,9 +49,9 @@ public interface ElementTypeBindings extends EObject {
* attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Client Context ID</em>' attribute.
+ * the new value of the '<em>Client Context ID</em>' attribute.
* @see #getClientContextID()
* @generated
*/
@@ -66,7 +66,7 @@ public interface ElementTypeBindings extends EObject {
* If the meaning of the '<em>Bindings</em>' containment reference list isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Bindings</em>' containment reference list.
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getElementTypeBindings_Bindings()
* @see org.eclipse.papyrus.domaincontextcodegen.Binding#getOwner
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/ElementTypes.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/ElementTypes.java
index 4b89dae0f5e..e5dff54c901 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/ElementTypes.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/ElementTypes.java
@@ -13,7 +13,7 @@ import org.eclipse.emf.ecore.EObject;
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Element Types</b></em>'.
* <!-- end-user-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
@@ -21,7 +21,7 @@ import org.eclipse.emf.ecore.EObject;
* <li>{@link org.eclipse.papyrus.domaincontextcodegen.ElementTypes#getDomain <em>Domain</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getElementTypes()
* @model
* @generated
@@ -37,7 +37,7 @@ public interface ElementTypes extends EObject {
* If the meaning of the '<em>Types</em>' containment reference list isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Types</em>' containment reference list.
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getElementTypes_Types()
* @see org.eclipse.papyrus.domaincontextcodegen.ElementType#getOwner
@@ -48,14 +48,13 @@ public interface ElementTypes extends EObject {
/**
* Returns the value of the '<em><b>Domain</b></em>' container reference.
- * It is bidirectional and its opposite is '{@link org.eclipse.papyrus.domaincontextcodegen.DomainContext#getElementTypes <em>Element Types</em>}
- * '.
+ * It is bidirectional and its opposite is '{@link org.eclipse.papyrus.domaincontextcodegen.DomainContext#getElementTypes <em>Element Types</em>} '.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Domain</em>' container reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Domain</em>' container reference.
* @see #setDomain(DomainContext)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getElementTypes_Domain()
@@ -69,9 +68,9 @@ public interface ElementTypes extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.domaincontextcodegen.ElementTypes#getDomain <em>Domain</em>}' container reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Domain</em>' container reference.
+ * the new value of the '<em>Domain</em>' container reference.
* @see #getDomain()
* @generated
*/
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/GenHandlers.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/GenHandlers.java
index 58c6aebb46f..28e682f4520 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/GenHandlers.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/GenHandlers.java
@@ -13,7 +13,7 @@ import org.eclipse.emf.ecore.EObject;
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Gen Handlers</b></em>'.
* <!-- end-user-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
@@ -27,7 +27,7 @@ import org.eclipse.emf.ecore.EObject;
* <li>{@link org.eclipse.papyrus.domaincontextcodegen.GenHandlers#getCreateChildMenuLocationURI <em>Create Child Menu Location URI</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getGenHandlers()
* @model
* @generated
@@ -41,7 +41,7 @@ public interface GenHandlers extends EObject {
* If the meaning of the '<em>Handler Package</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Handler Package</em>' attribute.
* @see #setHandlerPackage(String)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getGenHandlers_HandlerPackage()
@@ -54,9 +54,9 @@ public interface GenHandlers extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.domaincontextcodegen.GenHandlers#getHandlerPackage <em>Handler Package</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Handler Package</em>' attribute.
+ * the new value of the '<em>Handler Package</em>' attribute.
* @see #getHandlerPackage()
* @generated
*/
@@ -69,7 +69,7 @@ public interface GenHandlers extends EObject {
* If the meaning of the '<em>Super Class</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Super Class</em>' attribute.
* @see #setSuperClass(String)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getGenHandlers_SuperClass()
@@ -82,9 +82,9 @@ public interface GenHandlers extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.domaincontextcodegen.GenHandlers#getSuperClass <em>Super Class</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Super Class</em>' attribute.
+ * the new value of the '<em>Super Class</em>' attribute.
* @see #getSuperClass()
* @generated
*/
@@ -97,7 +97,7 @@ public interface GenHandlers extends EObject {
* If the meaning of the '<em>Super Class Package</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Super Class Package</em>' attribute.
* @see #setSuperClassPackage(String)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getGenHandlers_SuperClassPackage()
@@ -111,9 +111,9 @@ public interface GenHandlers extends EObject {
* attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Super Class Package</em>' attribute.
+ * the new value of the '<em>Super Class Package</em>' attribute.
* @see #getSuperClassPackage()
* @generated
*/
@@ -126,7 +126,7 @@ public interface GenHandlers extends EObject {
* If the meaning of the '<em>Element Type Enumerator</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Element Type Enumerator</em>' attribute.
* @see #setElementTypeEnumerator(String)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getGenHandlers_ElementTypeEnumerator()
@@ -140,9 +140,9 @@ public interface GenHandlers extends EObject {
* attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Element Type Enumerator</em>' attribute.
+ * the new value of the '<em>Element Type Enumerator</em>' attribute.
* @see #getElementTypeEnumerator()
* @generated
*/
@@ -155,7 +155,7 @@ public interface GenHandlers extends EObject {
* If the meaning of the '<em>Element Type Enumerator Package</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Element Type Enumerator Package</em>' attribute.
* @see #setElementTypeEnumeratorPackage(String)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getGenHandlers_ElementTypeEnumeratorPackage()
@@ -169,9 +169,9 @@ public interface GenHandlers extends EObject {
* <em>Element Type Enumerator Package</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Element Type Enumerator Package</em>' attribute.
+ * the new value of the '<em>Element Type Enumerator Package</em>' attribute.
* @see #getElementTypeEnumeratorPackage()
* @generated
*/
@@ -185,7 +185,7 @@ public interface GenHandlers extends EObject {
* If the meaning of the '<em>Visible Create Child Handlers</em>' reference list isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Visible Create Child Handlers</em>' reference list.
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getGenHandlers_VisibleCreateChildHandlers()
* @model
@@ -201,7 +201,7 @@ public interface GenHandlers extends EObject {
* If the meaning of the '<em>Parent Domain Create Child</em>' reference list isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Parent Domain Create Child</em>' reference list.
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getGenHandlers_ParentDomainCreateChild()
* @model
@@ -216,7 +216,7 @@ public interface GenHandlers extends EObject {
* If the meaning of the '<em>Create Child Menu Location URI</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Create Child Menu Location URI</em>' attribute.
* @see #setCreateChildMenuLocationURI(String)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getGenHandlers_CreateChildMenuLocationURI()
@@ -230,9 +230,9 @@ public interface GenHandlers extends EObject {
* <em>Create Child Menu Location URI</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Create Child Menu Location URI</em>' attribute.
+ * the new value of the '<em>Create Child Menu Location URI</em>' attribute.
* @see #getCreateChildMenuLocationURI()
* @generated
*/
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/GenHelper.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/GenHelper.java
index 72defc734f9..c068f707c9f 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/GenHelper.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/GenHelper.java
@@ -12,14 +12,14 @@ import org.eclipse.emf.ecore.EObject;
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Gen Helper</b></em>'.
* <!-- end-user-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.papyrus.domaincontextcodegen.GenHelper#getName <em>Name</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getGenHelper()
* @model abstract="true"
* @generated
@@ -33,7 +33,7 @@ public interface GenHelper extends EObject {
* If the meaning of the '<em>Name</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Name</em>' attribute.
* @see #setName(String)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getGenHelper_Name()
@@ -46,9 +46,9 @@ public interface GenHelper extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.domaincontextcodegen.GenHelper#getName <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Name</em>' attribute.
+ * the new value of the '<em>Name</em>' attribute.
* @see #getName()
* @generated
*/
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/GenMatcher.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/GenMatcher.java
index 8814df5b960..2ab54bace1c 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/GenMatcher.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/GenMatcher.java
@@ -12,14 +12,14 @@ import org.eclipse.emf.ecore.EObject;
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Gen Matcher</b></em>'.
* <!-- end-user-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.papyrus.domaincontextcodegen.GenMatcher#getName <em>Name</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getGenMatcher()
* @model abstract="true"
* @generated
@@ -33,7 +33,7 @@ public interface GenMatcher extends EObject {
* If the meaning of the '<em>Name</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Name</em>' attribute.
* @see #setName(String)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getGenMatcher_Name()
@@ -46,9 +46,9 @@ public interface GenMatcher extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.domaincontextcodegen.GenMatcher#getName <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Name</em>' attribute.
+ * the new value of the '<em>Name</em>' attribute.
* @see #getName()
* @generated
*/
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/InheritanceKind.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/InheritanceKind.java
index 601dff850f8..139856940f2 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/InheritanceKind.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/InheritanceKind.java
@@ -17,7 +17,7 @@ import org.eclipse.emf.common.util.Enumerator;
* A representation of the literals of the enumeration '<em><b>Inheritance Kind</b></em>',
* and utility methods for working with them.
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getInheritanceKind()
* @model
* @generated
@@ -27,7 +27,7 @@ public enum InheritanceKind implements Enumerator {
* The '<em><b>None</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #NONE_VALUE
* @generated
* @ordered
@@ -36,7 +36,7 @@ public enum InheritanceKind implements Enumerator {
* The '<em><b>All</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #ALL_VALUE
* @generated
* @ordered
@@ -50,7 +50,7 @@ public enum InheritanceKind implements Enumerator {
* If the meaning of '<em><b>None</b></em>' literal object isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @see #NONE
* @model name="none"
* @generated
@@ -65,7 +65,7 @@ public enum InheritanceKind implements Enumerator {
* If the meaning of '<em><b>All</b></em>' literal object isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @see #ALL
* @model name="all"
* @generated
@@ -77,16 +77,16 @@ public enum InheritanceKind implements Enumerator {
* An array of all the '<em><b>Inheritance Kind</b></em>' enumerators.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- private static final InheritanceKind[] VALUES_ARRAY = new InheritanceKind[]{ NONE, ALL, };
+ private static final InheritanceKind[] VALUES_ARRAY = new InheritanceKind[] { NONE, ALL, };
/**
* A public read-only list of all the '<em><b>Inheritance Kind</b></em>' enumerators.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public static final List<InheritanceKind> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
@@ -95,13 +95,13 @@ public enum InheritanceKind implements Enumerator {
* Returns the '<em><b>Inheritance Kind</b></em>' literal with the specified literal value.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public static InheritanceKind get(String literal) {
- for(int i = 0; i < VALUES_ARRAY.length; ++i) {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i) {
InheritanceKind result = VALUES_ARRAY[i];
- if(result.toString().equals(literal)) {
+ if (result.toString().equals(literal)) {
return result;
}
}
@@ -112,13 +112,13 @@ public enum InheritanceKind implements Enumerator {
* Returns the '<em><b>Inheritance Kind</b></em>' literal with the specified name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public static InheritanceKind getByName(String name) {
- for(int i = 0; i < VALUES_ARRAY.length; ++i) {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i) {
InheritanceKind result = VALUES_ARRAY[i];
- if(result.getName().equals(name)) {
+ if (result.getName().equals(name)) {
return result;
}
}
@@ -129,11 +129,11 @@ public enum InheritanceKind implements Enumerator {
* Returns the '<em><b>Inheritance Kind</b></em>' literal with the specified integer value.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public static InheritanceKind get(int value) {
- switch(value) {
+ switch (value) {
case NONE_VALUE:
return NONE;
case ALL_VALUE:
@@ -145,7 +145,7 @@ public enum InheritanceKind implements Enumerator {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
private final int value;
@@ -153,7 +153,7 @@ public enum InheritanceKind implements Enumerator {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
private final String name;
@@ -161,7 +161,7 @@ public enum InheritanceKind implements Enumerator {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
private final String literal;
@@ -170,7 +170,7 @@ public enum InheritanceKind implements Enumerator {
* Only this class can construct instances.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
private InheritanceKind(int value, String name, String literal) {
@@ -182,7 +182,7 @@ public enum InheritanceKind implements Enumerator {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public int getValue() {
@@ -192,7 +192,7 @@ public enum InheritanceKind implements Enumerator {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String getName() {
@@ -202,7 +202,7 @@ public enum InheritanceKind implements Enumerator {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String getLiteral() {
@@ -213,7 +213,7 @@ public enum InheritanceKind implements Enumerator {
* Returns the literal value of the enumerator, which is its string representation.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -221,4 +221,4 @@ public enum InheritanceKind implements Enumerator {
return literal;
}
-} //InheritanceKind
+} // InheritanceKind
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/MenuDeclaration.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/MenuDeclaration.java
index c9222c74a45..e22d724225f 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/MenuDeclaration.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/MenuDeclaration.java
@@ -13,7 +13,7 @@ import org.eclipse.emf.ecore.EObject;
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Menu Declaration</b></em>'.
* <!-- end-user-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
@@ -21,7 +21,7 @@ import org.eclipse.emf.ecore.EObject;
* <li>{@link org.eclipse.papyrus.domaincontextcodegen.MenuDeclaration#getCommands <em>Commands</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getMenuDeclaration()
* @model
* @generated
@@ -35,7 +35,7 @@ public interface MenuDeclaration extends EObject {
* If the meaning of the '<em>Location URI</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Location URI</em>' attribute.
* @see #setLocationURI(String)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getMenuDeclaration_LocationURI()
@@ -48,9 +48,9 @@ public interface MenuDeclaration extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.domaincontextcodegen.MenuDeclaration#getLocationURI <em>Location URI</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Location URI</em>' attribute.
+ * the new value of the '<em>Location URI</em>' attribute.
* @see #getLocationURI()
* @generated
*/
@@ -64,7 +64,7 @@ public interface MenuDeclaration extends EObject {
* If the meaning of the '<em>Commands</em>' reference list isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Commands</em>' reference list.
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getMenuDeclaration_Commands()
* @model
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/MetaClassType.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/MetaClassType.java
index 814872a62e3..4477d07698e 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/MetaClassType.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/MetaClassType.java
@@ -12,14 +12,14 @@ import org.eclipse.emf.ecore.EClass;
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Meta Class Type</b></em>'.
* <!-- end-user-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.papyrus.domaincontextcodegen.MetaClassType#getMetaClass <em>Meta Class</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getMetaClassType()
* @model
* @generated
@@ -33,7 +33,7 @@ public interface MetaClassType extends ElementType {
* If the meaning of the '<em>Meta Class</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Meta Class</em>' reference.
* @see #setMetaClass(EClass)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getMetaClassType_MetaClass()
@@ -46,9 +46,9 @@ public interface MetaClassType extends ElementType {
* Sets the value of the '{@link org.eclipse.papyrus.domaincontextcodegen.MetaClassType#getMetaClass <em>Meta Class</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Meta Class</em>' reference.
+ * the new value of the '<em>Meta Class</em>' reference.
* @see #getMetaClass()
* @generated
*/
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/SpecializationType.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/SpecializationType.java
index fae5f6d3519..3b87ce43a85 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/SpecializationType.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/SpecializationType.java
@@ -10,7 +10,7 @@ package org.eclipse.papyrus.domaincontextcodegen;
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Specialization Type</b></em>'.
* <!-- end-user-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
@@ -20,7 +20,7 @@ package org.eclipse.papyrus.domaincontextcodegen;
* <li>{@link org.eclipse.papyrus.domaincontextcodegen.SpecializationType#getGenHelper <em>Gen Helper</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getSpecializationType()
* @model
* @generated
@@ -34,7 +34,7 @@ public interface SpecializationType extends ElementType {
* If the meaning of the '<em>Ref</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Ref</em>' reference.
* @see #setRef(ElementType)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getSpecializationType_Ref()
@@ -47,9 +47,9 @@ public interface SpecializationType extends ElementType {
* Sets the value of the '{@link org.eclipse.papyrus.domaincontextcodegen.SpecializationType#getRef <em>Ref</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Ref</em>' reference.
+ * the new value of the '<em>Ref</em>' reference.
* @see #getRef()
* @generated
*/
@@ -62,7 +62,7 @@ public interface SpecializationType extends ElementType {
* If the meaning of the '<em>Matcher</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Matcher</em>' attribute.
* @see #setMatcher(String)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getSpecializationType_Matcher()
@@ -75,9 +75,9 @@ public interface SpecializationType extends ElementType {
* Sets the value of the '{@link org.eclipse.papyrus.domaincontextcodegen.SpecializationType#getMatcher <em>Matcher</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Matcher</em>' attribute.
+ * the new value of the '<em>Matcher</em>' attribute.
* @see #getMatcher()
* @generated
*/
@@ -90,7 +90,7 @@ public interface SpecializationType extends ElementType {
* If the meaning of the '<em>Gen Matcher</em>' containment reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Gen Matcher</em>' containment reference.
* @see #setGenMatcher(GenMatcher)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getSpecializationType_GenMatcher()
@@ -104,9 +104,9 @@ public interface SpecializationType extends ElementType {
* reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Gen Matcher</em>' containment reference.
+ * the new value of the '<em>Gen Matcher</em>' containment reference.
* @see #getGenMatcher()
* @generated
*/
@@ -119,7 +119,7 @@ public interface SpecializationType extends ElementType {
* If the meaning of the '<em>Gen Helper</em>' containment reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Gen Helper</em>' containment reference.
* @see #setGenHelper(GenHelper)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getSpecializationType_GenHelper()
@@ -133,9 +133,9 @@ public interface SpecializationType extends ElementType {
* reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Gen Helper</em>' containment reference.
+ * the new value of the '<em>Gen Helper</em>' containment reference.
* @see #getGenHelper()
* @generated
*/
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/StereotypedElementHelper.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/StereotypedElementHelper.java
index 1ee8a53df29..6c862546f77 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/StereotypedElementHelper.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/StereotypedElementHelper.java
@@ -10,7 +10,7 @@ package org.eclipse.papyrus.domaincontextcodegen;
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Stereotyped Element Helper</b></em>'.
* <!-- end-user-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
@@ -20,7 +20,7 @@ package org.eclipse.papyrus.domaincontextcodegen;
* <li>{@link org.eclipse.papyrus.domaincontextcodegen.StereotypedElementHelper#getBaseElementPackage <em>Base Element Package</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getStereotypedElementHelper()
* @model
* @generated
@@ -34,7 +34,7 @@ public interface StereotypedElementHelper extends GenHelper {
* If the meaning of the '<em>Stereotype Name</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Stereotype Name</em>' attribute.
* @see #setStereotypeName(String)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getStereotypedElementHelper_StereotypeName()
@@ -48,9 +48,9 @@ public interface StereotypedElementHelper extends GenHelper {
* attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Stereotype Name</em>' attribute.
+ * the new value of the '<em>Stereotype Name</em>' attribute.
* @see #getStereotypeName()
* @generated
*/
@@ -63,7 +63,7 @@ public interface StereotypedElementHelper extends GenHelper {
* If the meaning of the '<em>Stereotype Package</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Stereotype Package</em>' attribute.
* @see #setStereotypePackage(String)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getStereotypedElementHelper_StereotypePackage()
@@ -77,9 +77,9 @@ public interface StereotypedElementHelper extends GenHelper {
* <em>Stereotype Package</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Stereotype Package</em>' attribute.
+ * the new value of the '<em>Stereotype Package</em>' attribute.
* @see #getStereotypePackage()
* @generated
*/
@@ -92,7 +92,7 @@ public interface StereotypedElementHelper extends GenHelper {
* If the meaning of the '<em>Base Element Name</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Base Element Name</em>' attribute.
* @see #setBaseElementName(String)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getStereotypedElementHelper_BaseElementName()
@@ -106,9 +106,9 @@ public interface StereotypedElementHelper extends GenHelper {
* attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Base Element Name</em>' attribute.
+ * the new value of the '<em>Base Element Name</em>' attribute.
* @see #getBaseElementName()
* @generated
*/
@@ -121,7 +121,7 @@ public interface StereotypedElementHelper extends GenHelper {
* If the meaning of the '<em>Base Element Package</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Base Element Package</em>' attribute.
* @see #setBaseElementPackage(String)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getStereotypedElementHelper_BaseElementPackage()
@@ -135,9 +135,9 @@ public interface StereotypedElementHelper extends GenHelper {
* <em>Base Element Package</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Base Element Package</em>' attribute.
+ * the new value of the '<em>Base Element Package</em>' attribute.
* @see #getBaseElementPackage()
* @generated
*/
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/StereotypedElementMatcher.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/StereotypedElementMatcher.java
index 90c8aa43382..1f74cb7843a 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/StereotypedElementMatcher.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/StereotypedElementMatcher.java
@@ -10,7 +10,7 @@ package org.eclipse.papyrus.domaincontextcodegen;
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Stereotyped Element Matcher</b></em>'.
* <!-- end-user-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
@@ -20,7 +20,7 @@ package org.eclipse.papyrus.domaincontextcodegen;
* <li>{@link org.eclipse.papyrus.domaincontextcodegen.StereotypedElementMatcher#getBaseElementPackage <em>Base Element Package</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getStereotypedElementMatcher()
* @model
* @generated
@@ -34,7 +34,7 @@ public interface StereotypedElementMatcher extends GenMatcher {
* If the meaning of the '<em>Stereotype Name</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Stereotype Name</em>' attribute.
* @see #setStereotypeName(String)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getStereotypedElementMatcher_StereotypeName()
@@ -48,9 +48,9 @@ public interface StereotypedElementMatcher extends GenMatcher {
* attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Stereotype Name</em>' attribute.
+ * the new value of the '<em>Stereotype Name</em>' attribute.
* @see #getStereotypeName()
* @generated
*/
@@ -63,7 +63,7 @@ public interface StereotypedElementMatcher extends GenMatcher {
* If the meaning of the '<em>Stereotype Package</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Stereotype Package</em>' attribute.
* @see #setStereotypePackage(String)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getStereotypedElementMatcher_StereotypePackage()
@@ -77,9 +77,9 @@ public interface StereotypedElementMatcher extends GenMatcher {
* <em>Stereotype Package</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Stereotype Package</em>' attribute.
+ * the new value of the '<em>Stereotype Package</em>' attribute.
* @see #getStereotypePackage()
* @generated
*/
@@ -92,7 +92,7 @@ public interface StereotypedElementMatcher extends GenMatcher {
* If the meaning of the '<em>Base Element Name</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Base Element Name</em>' attribute.
* @see #setBaseElementName(String)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getStereotypedElementMatcher_BaseElementName()
@@ -102,13 +102,12 @@ public interface StereotypedElementMatcher extends GenMatcher {
String getBaseElementName();
/**
- * Sets the value of the '{@link org.eclipse.papyrus.domaincontextcodegen.StereotypedElementMatcher#getBaseElementName <em>Base Element Name</em>}
- * ' attribute.
+ * Sets the value of the '{@link org.eclipse.papyrus.domaincontextcodegen.StereotypedElementMatcher#getBaseElementName <em>Base Element Name</em>} ' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Base Element Name</em>' attribute.
+ * the new value of the '<em>Base Element Name</em>' attribute.
* @see #getBaseElementName()
* @generated
*/
@@ -121,7 +120,7 @@ public interface StereotypedElementMatcher extends GenMatcher {
* If the meaning of the '<em>Base Element Package</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Base Element Package</em>' attribute.
* @see #setBaseElementPackage(String)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getStereotypedElementMatcher_BaseElementPackage()
@@ -135,9 +134,9 @@ public interface StereotypedElementMatcher extends GenMatcher {
* <em>Base Element Package</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Base Element Package</em>' attribute.
+ * the new value of the '<em>Base Element Package</em>' attribute.
* @see #getBaseElementPackage()
* @generated
*/
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/AdviceBindingImpl.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/AdviceBindingImpl.java
index c0c2915ec09..ac385ef2ccf 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/AdviceBindingImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/AdviceBindingImpl.java
@@ -24,7 +24,7 @@ import org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage;
* <li>{@link org.eclipse.papyrus.domaincontextcodegen.impl.AdviceBindingImpl#getRef <em>Ref</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class AdviceBindingImpl extends BindingImpl implements AdviceBinding {
@@ -33,7 +33,7 @@ public class AdviceBindingImpl extends BindingImpl implements AdviceBinding {
* The cached value of the '{@link #getRef() <em>Ref</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getRef()
* @generated
* @ordered
@@ -43,7 +43,7 @@ public class AdviceBindingImpl extends BindingImpl implements AdviceBinding {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected AdviceBindingImpl() {
@@ -53,7 +53,7 @@ public class AdviceBindingImpl extends BindingImpl implements AdviceBinding {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -64,16 +64,17 @@ public class AdviceBindingImpl extends BindingImpl implements AdviceBinding {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public Advice getRef() {
- if(ref != null && ref.eIsProxy()) {
- InternalEObject oldRef = (InternalEObject)ref;
- ref = (Advice)eResolveProxy(oldRef);
- if(ref != oldRef) {
- if(eNotificationRequired())
+ if (ref != null && ref.eIsProxy()) {
+ InternalEObject oldRef = (InternalEObject) ref;
+ ref = (Advice) eResolveProxy(oldRef);
+ if (ref != oldRef) {
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, DomaincontextcodegenPackage.ADVICE_BINDING__REF, oldRef, ref));
+ }
}
}
return ref;
@@ -82,7 +83,7 @@ public class AdviceBindingImpl extends BindingImpl implements AdviceBinding {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public Advice basicGetRef() {
@@ -92,28 +93,30 @@ public class AdviceBindingImpl extends BindingImpl implements AdviceBinding {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setRef(Advice newRef) {
Advice oldRef = ref;
ref = newRef;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.ADVICE_BINDING__REF, oldRef, ref));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.ADVICE_BINDING__REF:
- if(resolve)
+ if (resolve) {
return getRef();
+ }
return basicGetRef();
}
return super.eGet(featureID, resolve, coreType);
@@ -122,14 +125,14 @@ public class AdviceBindingImpl extends BindingImpl implements AdviceBinding {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.ADVICE_BINDING__REF:
- setRef((Advice)newValue);
+ setRef((Advice) newValue);
return;
}
super.eSet(featureID, newValue);
@@ -138,14 +141,14 @@ public class AdviceBindingImpl extends BindingImpl implements AdviceBinding {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.ADVICE_BINDING__REF:
- setRef((Advice)null);
+ setRef((Advice) null);
return;
}
super.eUnset(featureID);
@@ -154,16 +157,16 @@ public class AdviceBindingImpl extends BindingImpl implements AdviceBinding {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.ADVICE_BINDING__REF:
return ref != null;
}
return super.eIsSet(featureID);
}
-} //AdviceBindingImpl
+} // AdviceBindingImpl
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/AdviceImpl.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/AdviceImpl.java
index 028b06c2f8d..fcace7e9bce 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/AdviceImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/AdviceImpl.java
@@ -29,7 +29,7 @@ import org.eclipse.papyrus.domaincontextcodegen.InheritanceKind;
* <li>{@link org.eclipse.papyrus.domaincontextcodegen.impl.AdviceImpl#getInheritance <em>Inheritance</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class AdviceImpl extends EObjectImpl implements Advice {
@@ -38,7 +38,7 @@ public class AdviceImpl extends EObjectImpl implements Advice {
* The default value of the '{@link #getAdviceID() <em>Advice ID</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getAdviceID()
* @generated
* @ordered
@@ -49,7 +49,7 @@ public class AdviceImpl extends EObjectImpl implements Advice {
* The cached value of the '{@link #getAdviceID() <em>Advice ID</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getAdviceID()
* @generated
* @ordered
@@ -60,7 +60,7 @@ public class AdviceImpl extends EObjectImpl implements Advice {
* The cached value of the '{@link #getRef() <em>Ref</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getRef()
* @generated
* @ordered
@@ -71,7 +71,7 @@ public class AdviceImpl extends EObjectImpl implements Advice {
* The default value of the '{@link #getAdvicePath() <em>Advice Path</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getAdvicePath()
* @generated
* @ordered
@@ -82,7 +82,7 @@ public class AdviceImpl extends EObjectImpl implements Advice {
* The cached value of the '{@link #getAdvicePath() <em>Advice Path</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getAdvicePath()
* @generated
* @ordered
@@ -93,7 +93,7 @@ public class AdviceImpl extends EObjectImpl implements Advice {
* The default value of the '{@link #getInheritance() <em>Inheritance</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getInheritance()
* @generated
* @ordered
@@ -104,7 +104,7 @@ public class AdviceImpl extends EObjectImpl implements Advice {
* The cached value of the '{@link #getInheritance() <em>Inheritance</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getInheritance()
* @generated
* @ordered
@@ -114,7 +114,7 @@ public class AdviceImpl extends EObjectImpl implements Advice {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected AdviceImpl() {
@@ -124,7 +124,7 @@ public class AdviceImpl extends EObjectImpl implements Advice {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -135,7 +135,7 @@ public class AdviceImpl extends EObjectImpl implements Advice {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String getAdviceID() {
@@ -145,29 +145,31 @@ public class AdviceImpl extends EObjectImpl implements Advice {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setAdviceID(String newAdviceID) {
String oldAdviceID = adviceID;
adviceID = newAdviceID;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.ADVICE__ADVICE_ID, oldAdviceID, adviceID));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public ElementType getRef() {
- if(ref != null && ref.eIsProxy()) {
- InternalEObject oldRef = (InternalEObject)ref;
- ref = (ElementType)eResolveProxy(oldRef);
- if(ref != oldRef) {
- if(eNotificationRequired())
+ if (ref != null && ref.eIsProxy()) {
+ InternalEObject oldRef = (InternalEObject) ref;
+ ref = (ElementType) eResolveProxy(oldRef);
+ if (ref != oldRef) {
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, DomaincontextcodegenPackage.ADVICE__REF, oldRef, ref));
+ }
}
}
return ref;
@@ -176,7 +178,7 @@ public class AdviceImpl extends EObjectImpl implements Advice {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public ElementType basicGetRef() {
@@ -186,20 +188,21 @@ public class AdviceImpl extends EObjectImpl implements Advice {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setRef(ElementType newRef) {
ElementType oldRef = ref;
ref = newRef;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.ADVICE__REF, oldRef, ref));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String getAdvicePath() {
@@ -209,20 +212,21 @@ public class AdviceImpl extends EObjectImpl implements Advice {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setAdvicePath(String newAdvicePath) {
String oldAdvicePath = advicePath;
advicePath = newAdvicePath;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.ADVICE__ADVICE_PATH, oldAdvicePath, advicePath));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public InheritanceKind getInheritance() {
@@ -232,30 +236,32 @@ public class AdviceImpl extends EObjectImpl implements Advice {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setInheritance(InheritanceKind newInheritance) {
InheritanceKind oldInheritance = inheritance;
inheritance = newInheritance == null ? INHERITANCE_EDEFAULT : newInheritance;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.ADVICE__INHERITANCE, oldInheritance, inheritance));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.ADVICE__ADVICE_ID:
return getAdviceID();
case DomaincontextcodegenPackage.ADVICE__REF:
- if(resolve)
+ if (resolve) {
return getRef();
+ }
return basicGetRef();
case DomaincontextcodegenPackage.ADVICE__ADVICE_PATH:
return getAdvicePath();
@@ -268,23 +274,23 @@ public class AdviceImpl extends EObjectImpl implements Advice {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.ADVICE__ADVICE_ID:
- setAdviceID((String)newValue);
+ setAdviceID((String) newValue);
return;
case DomaincontextcodegenPackage.ADVICE__REF:
- setRef((ElementType)newValue);
+ setRef((ElementType) newValue);
return;
case DomaincontextcodegenPackage.ADVICE__ADVICE_PATH:
- setAdvicePath((String)newValue);
+ setAdvicePath((String) newValue);
return;
case DomaincontextcodegenPackage.ADVICE__INHERITANCE:
- setInheritance((InheritanceKind)newValue);
+ setInheritance((InheritanceKind) newValue);
return;
}
super.eSet(featureID, newValue);
@@ -293,17 +299,17 @@ public class AdviceImpl extends EObjectImpl implements Advice {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.ADVICE__ADVICE_ID:
setAdviceID(ADVICE_ID_EDEFAULT);
return;
case DomaincontextcodegenPackage.ADVICE__REF:
- setRef((ElementType)null);
+ setRef((ElementType) null);
return;
case DomaincontextcodegenPackage.ADVICE__ADVICE_PATH:
setAdvicePath(ADVICE_PATH_EDEFAULT);
@@ -318,12 +324,12 @@ public class AdviceImpl extends EObjectImpl implements Advice {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.ADVICE__ADVICE_ID:
return ADVICE_ID_EDEFAULT == null ? adviceID != null : !ADVICE_ID_EDEFAULT.equals(adviceID);
case DomaincontextcodegenPackage.ADVICE__REF:
@@ -339,13 +345,14 @@ public class AdviceImpl extends EObjectImpl implements Advice {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public String toString() {
- if(eIsProxy())
+ if (eIsProxy()) {
return super.toString();
+ }
StringBuffer result = new StringBuffer(super.toString());
result.append(" (adviceID: ");
@@ -358,4 +365,4 @@ public class AdviceImpl extends EObjectImpl implements Advice {
return result.toString();
}
-} //AdviceImpl
+} // AdviceImpl
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/BindingImpl.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/BindingImpl.java
index 0a407d6430c..5deca1f38cf 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/BindingImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/BindingImpl.java
@@ -28,7 +28,7 @@ import org.eclipse.papyrus.domaincontextcodegen.ElementTypeBindings;
* <li>{@link org.eclipse.papyrus.domaincontextcodegen.impl.BindingImpl#getPattern <em>Pattern</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public abstract class BindingImpl extends EObjectImpl implements Binding {
@@ -37,7 +37,7 @@ public abstract class BindingImpl extends EObjectImpl implements Binding {
* The default value of the '{@link #getPattern() <em>Pattern</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getPattern()
* @generated
* @ordered
@@ -48,7 +48,7 @@ public abstract class BindingImpl extends EObjectImpl implements Binding {
* The cached value of the '{@link #getPattern() <em>Pattern</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getPattern()
* @generated
* @ordered
@@ -58,7 +58,7 @@ public abstract class BindingImpl extends EObjectImpl implements Binding {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected BindingImpl() {
@@ -68,7 +68,7 @@ public abstract class BindingImpl extends EObjectImpl implements Binding {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -79,52 +79,58 @@ public abstract class BindingImpl extends EObjectImpl implements Binding {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public ElementTypeBindings getOwner() {
- if(eContainerFeatureID() != DomaincontextcodegenPackage.BINDING__OWNER)
+ if (eContainerFeatureID() != DomaincontextcodegenPackage.BINDING__OWNER) {
return null;
- return (ElementTypeBindings)eContainer();
+ }
+ return (ElementTypeBindings) eContainer();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public NotificationChain basicSetOwner(ElementTypeBindings newOwner, NotificationChain msgs) {
- msgs = eBasicSetContainer((InternalEObject)newOwner, DomaincontextcodegenPackage.BINDING__OWNER, msgs);
+ msgs = eBasicSetContainer((InternalEObject) newOwner, DomaincontextcodegenPackage.BINDING__OWNER, msgs);
return msgs;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setOwner(ElementTypeBindings newOwner) {
- if(newOwner != eInternalContainer() || (eContainerFeatureID() != DomaincontextcodegenPackage.BINDING__OWNER && newOwner != null)) {
- if(EcoreUtil.isAncestor(this, newOwner))
+ if (newOwner != eInternalContainer() || (eContainerFeatureID() != DomaincontextcodegenPackage.BINDING__OWNER && newOwner != null)) {
+ if (EcoreUtil.isAncestor(this, newOwner)) {
throw new IllegalArgumentException("Recursive containment not allowed for " + toString());
+ }
NotificationChain msgs = null;
- if(eInternalContainer() != null)
+ if (eInternalContainer() != null) {
msgs = eBasicRemoveFromContainer(msgs);
- if(newOwner != null)
- msgs = ((InternalEObject)newOwner).eInverseAdd(this, DomaincontextcodegenPackage.ELEMENT_TYPE_BINDINGS__BINDINGS, ElementTypeBindings.class, msgs);
+ }
+ if (newOwner != null) {
+ msgs = ((InternalEObject) newOwner).eInverseAdd(this, DomaincontextcodegenPackage.ELEMENT_TYPE_BINDINGS__BINDINGS, ElementTypeBindings.class, msgs);
+ }
msgs = basicSetOwner(newOwner, msgs);
- if(msgs != null)
+ if (msgs != null) {
msgs.dispatch();
- } else if(eNotificationRequired())
+ }
+ } else if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.BINDING__OWNER, newOwner, newOwner));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String getPattern() {
@@ -134,29 +140,31 @@ public abstract class BindingImpl extends EObjectImpl implements Binding {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setPattern(String newPattern) {
String oldPattern = pattern;
pattern = newPattern;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.BINDING__PATTERN, oldPattern, pattern));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.BINDING__OWNER:
- if(eInternalContainer() != null)
+ if (eInternalContainer() != null) {
msgs = eBasicRemoveFromContainer(msgs);
- return basicSetOwner((ElementTypeBindings)otherEnd, msgs);
+ }
+ return basicSetOwner((ElementTypeBindings) otherEnd, msgs);
}
return super.eInverseAdd(otherEnd, featureID, msgs);
}
@@ -164,12 +172,12 @@ public abstract class BindingImpl extends EObjectImpl implements Binding {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.BINDING__OWNER:
return basicSetOwner(null, msgs);
}
@@ -179,12 +187,12 @@ public abstract class BindingImpl extends EObjectImpl implements Binding {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs) {
- switch(eContainerFeatureID()) {
+ switch (eContainerFeatureID()) {
case DomaincontextcodegenPackage.BINDING__OWNER:
return eInternalContainer().eInverseRemove(this, DomaincontextcodegenPackage.ELEMENT_TYPE_BINDINGS__BINDINGS, ElementTypeBindings.class, msgs);
}
@@ -194,12 +202,12 @@ public abstract class BindingImpl extends EObjectImpl implements Binding {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.BINDING__OWNER:
return getOwner();
case DomaincontextcodegenPackage.BINDING__PATTERN:
@@ -211,17 +219,17 @@ public abstract class BindingImpl extends EObjectImpl implements Binding {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.BINDING__OWNER:
- setOwner((ElementTypeBindings)newValue);
+ setOwner((ElementTypeBindings) newValue);
return;
case DomaincontextcodegenPackage.BINDING__PATTERN:
- setPattern((String)newValue);
+ setPattern((String) newValue);
return;
}
super.eSet(featureID, newValue);
@@ -230,14 +238,14 @@ public abstract class BindingImpl extends EObjectImpl implements Binding {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.BINDING__OWNER:
- setOwner((ElementTypeBindings)null);
+ setOwner((ElementTypeBindings) null);
return;
case DomaincontextcodegenPackage.BINDING__PATTERN:
setPattern(PATTERN_EDEFAULT);
@@ -249,12 +257,12 @@ public abstract class BindingImpl extends EObjectImpl implements Binding {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.BINDING__OWNER:
return getOwner() != null;
case DomaincontextcodegenPackage.BINDING__PATTERN:
@@ -266,13 +274,14 @@ public abstract class BindingImpl extends EObjectImpl implements Binding {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public String toString() {
- if(eIsProxy())
+ if (eIsProxy()) {
return super.toString();
+ }
StringBuffer result = new StringBuffer(super.toString());
result.append(" (pattern: ");
@@ -281,4 +290,4 @@ public abstract class BindingImpl extends EObjectImpl implements Binding {
return result.toString();
}
-} //BindingImpl
+} // BindingImpl
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/CommandDeclarationImpl.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/CommandDeclarationImpl.java
index c1293058e3d..6b4be851bcf 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/CommandDeclarationImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/CommandDeclarationImpl.java
@@ -29,7 +29,7 @@ import org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage;
* <li>{@link org.eclipse.papyrus.domaincontextcodegen.impl.CommandDeclarationImpl#getCommands <em>Commands</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class CommandDeclarationImpl extends EObjectImpl implements CommandDeclaration {
@@ -38,7 +38,7 @@ public class CommandDeclarationImpl extends EObjectImpl implements CommandDeclar
* The cached value of the '{@link #getCommands() <em>Commands</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getCommands()
* @generated
* @ordered
@@ -48,7 +48,7 @@ public class CommandDeclarationImpl extends EObjectImpl implements CommandDeclar
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected CommandDeclarationImpl() {
@@ -58,7 +58,7 @@ public class CommandDeclarationImpl extends EObjectImpl implements CommandDeclar
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -69,11 +69,11 @@ public class CommandDeclarationImpl extends EObjectImpl implements CommandDeclar
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EList<Command> getCommands() {
- if(commands == null) {
+ if (commands == null) {
commands = new EObjectContainmentEList<Command>(Command.class, this, DomaincontextcodegenPackage.COMMAND_DECLARATION__COMMANDS);
}
return commands;
@@ -82,14 +82,14 @@ public class CommandDeclarationImpl extends EObjectImpl implements CommandDeclar
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.COMMAND_DECLARATION__COMMANDS:
- return ((InternalEList<?>)getCommands()).basicRemove(otherEnd, msgs);
+ return ((InternalEList<?>) getCommands()).basicRemove(otherEnd, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
@@ -97,12 +97,12 @@ public class CommandDeclarationImpl extends EObjectImpl implements CommandDeclar
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.COMMAND_DECLARATION__COMMANDS:
return getCommands();
}
@@ -112,16 +112,16 @@ public class CommandDeclarationImpl extends EObjectImpl implements CommandDeclar
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.COMMAND_DECLARATION__COMMANDS:
getCommands().clear();
- getCommands().addAll((Collection<? extends Command>)newValue);
+ getCommands().addAll((Collection<? extends Command>) newValue);
return;
}
super.eSet(featureID, newValue);
@@ -130,12 +130,12 @@ public class CommandDeclarationImpl extends EObjectImpl implements CommandDeclar
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.COMMAND_DECLARATION__COMMANDS:
getCommands().clear();
return;
@@ -146,16 +146,16 @@ public class CommandDeclarationImpl extends EObjectImpl implements CommandDeclar
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.COMMAND_DECLARATION__COMMANDS:
return commands != null && !commands.isEmpty();
}
return super.eIsSet(featureID);
}
-} //CommandDeclarationImpl
+} // CommandDeclarationImpl
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/CommandImpl.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/CommandImpl.java
index 1e16821c27b..ad3077ed5a1 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/CommandImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/CommandImpl.java
@@ -26,7 +26,7 @@ import org.eclipse.papyrus.domaincontextcodegen.ElementType;
* <li>{@link org.eclipse.papyrus.domaincontextcodegen.impl.CommandImpl#getIcon <em>Icon</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class CommandImpl extends EObjectImpl implements Command {
@@ -35,7 +35,7 @@ public class CommandImpl extends EObjectImpl implements Command {
* The cached value of the '{@link #getElementType() <em>Element Type</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getElementType()
* @generated
* @ordered
@@ -46,7 +46,7 @@ public class CommandImpl extends EObjectImpl implements Command {
* The default value of the '{@link #getIcon() <em>Icon</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getIcon()
* @generated
* @ordered
@@ -57,7 +57,7 @@ public class CommandImpl extends EObjectImpl implements Command {
* The cached value of the '{@link #getIcon() <em>Icon</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getIcon()
* @generated
* @ordered
@@ -67,7 +67,7 @@ public class CommandImpl extends EObjectImpl implements Command {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected CommandImpl() {
@@ -77,7 +77,7 @@ public class CommandImpl extends EObjectImpl implements Command {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -88,16 +88,17 @@ public class CommandImpl extends EObjectImpl implements Command {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public ElementType getElementType() {
- if(elementType != null && elementType.eIsProxy()) {
- InternalEObject oldElementType = (InternalEObject)elementType;
- elementType = (ElementType)eResolveProxy(oldElementType);
- if(elementType != oldElementType) {
- if(eNotificationRequired())
+ if (elementType != null && elementType.eIsProxy()) {
+ InternalEObject oldElementType = (InternalEObject) elementType;
+ elementType = (ElementType) eResolveProxy(oldElementType);
+ if (elementType != oldElementType) {
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, DomaincontextcodegenPackage.COMMAND__ELEMENT_TYPE, oldElementType, elementType));
+ }
}
}
return elementType;
@@ -106,7 +107,7 @@ public class CommandImpl extends EObjectImpl implements Command {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public ElementType basicGetElementType() {
@@ -116,20 +117,21 @@ public class CommandImpl extends EObjectImpl implements Command {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setElementType(ElementType newElementType) {
ElementType oldElementType = elementType;
elementType = newElementType;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.COMMAND__ELEMENT_TYPE, oldElementType, elementType));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String getIcon() {
@@ -139,28 +141,30 @@ public class CommandImpl extends EObjectImpl implements Command {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setIcon(String newIcon) {
String oldIcon = icon;
icon = newIcon;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.COMMAND__ICON, oldIcon, icon));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.COMMAND__ELEMENT_TYPE:
- if(resolve)
+ if (resolve) {
return getElementType();
+ }
return basicGetElementType();
case DomaincontextcodegenPackage.COMMAND__ICON:
return getIcon();
@@ -171,17 +175,17 @@ public class CommandImpl extends EObjectImpl implements Command {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.COMMAND__ELEMENT_TYPE:
- setElementType((ElementType)newValue);
+ setElementType((ElementType) newValue);
return;
case DomaincontextcodegenPackage.COMMAND__ICON:
- setIcon((String)newValue);
+ setIcon((String) newValue);
return;
}
super.eSet(featureID, newValue);
@@ -190,14 +194,14 @@ public class CommandImpl extends EObjectImpl implements Command {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.COMMAND__ELEMENT_TYPE:
- setElementType((ElementType)null);
+ setElementType((ElementType) null);
return;
case DomaincontextcodegenPackage.COMMAND__ICON:
setIcon(ICON_EDEFAULT);
@@ -209,12 +213,12 @@ public class CommandImpl extends EObjectImpl implements Command {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.COMMAND__ELEMENT_TYPE:
return elementType != null;
case DomaincontextcodegenPackage.COMMAND__ICON:
@@ -226,13 +230,14 @@ public class CommandImpl extends EObjectImpl implements Command {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public String toString() {
- if(eIsProxy())
+ if (eIsProxy()) {
return super.toString();
+ }
StringBuffer result = new StringBuffer(super.toString());
result.append(" (icon: ");
@@ -241,4 +246,4 @@ public class CommandImpl extends EObjectImpl implements Command {
return result.toString();
}
-} //CommandImpl
+} // CommandImpl
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/DomainContextImpl.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/DomainContextImpl.java
index 0d78c526a65..b4f02e68225 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/DomainContextImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/DomainContextImpl.java
@@ -51,7 +51,7 @@ import org.eclipse.papyrus.domaincontextcodegen.MenuDeclaration;
* <li>{@link org.eclipse.papyrus.domaincontextcodegen.impl.DomainContextImpl#getCommand <em>Command</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class DomainContextImpl extends EObjectImpl implements DomainContext {
@@ -60,7 +60,7 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
* The default value of the '{@link #getTypeProjectName() <em>Type Project Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getTypeProjectName()
* @generated
* @ordered
@@ -71,7 +71,7 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
* The cached value of the '{@link #getTypeProjectName() <em>Type Project Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getTypeProjectName()
* @generated
* @ordered
@@ -82,7 +82,7 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
* The default value of the '{@link #getHandlerProjectName() <em>Handler Project Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getHandlerProjectName()
* @generated
* @ordered
@@ -93,7 +93,7 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
* The cached value of the '{@link #getHandlerProjectName() <em>Handler Project Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getHandlerProjectName()
* @generated
* @ordered
@@ -104,7 +104,7 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
* The default value of the '{@link #getIClientContextID() <em>IClient Context ID</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getIClientContextID()
* @generated
* @ordered
@@ -115,7 +115,7 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
* The cached value of the '{@link #getIClientContextID() <em>IClient Context ID</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getIClientContextID()
* @generated
* @ordered
@@ -126,7 +126,7 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
* The cached value of the '{@link #getMetamodel() <em>Metamodel</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getMetamodel()
* @generated
* @ordered
@@ -137,7 +137,7 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
* The cached value of the '{@link #getSpecializationOf() <em>Specialization Of</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getSpecializationOf()
* @generated
* @ordered
@@ -148,7 +148,7 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
* The default value of the '{@link #getElementTypeIDPrefix() <em>Element Type ID Prefix</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getElementTypeIDPrefix()
* @generated
* @ordered
@@ -159,7 +159,7 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
* The cached value of the '{@link #getElementTypeIDPrefix() <em>Element Type ID Prefix</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getElementTypeIDPrefix()
* @generated
* @ordered
@@ -170,7 +170,7 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
* The default value of the '{@link #getElementTypeNamePrefix() <em>Element Type Name Prefix</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getElementTypeNamePrefix()
* @generated
* @ordered
@@ -181,7 +181,7 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
* The cached value of the '{@link #getElementTypeNamePrefix() <em>Element Type Name Prefix</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getElementTypeNamePrefix()
* @generated
* @ordered
@@ -192,7 +192,7 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
* The cached value of the '{@link #getElementTypes() <em>Element Types</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getElementTypes()
* @generated
* @ordered
@@ -203,7 +203,7 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
* The default value of the '{@link #getDefaultHelperPath() <em>Default Helper Path</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getDefaultHelperPath()
* @generated
* @ordered
@@ -214,7 +214,7 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
* The cached value of the '{@link #getDefaultHelperPath() <em>Default Helper Path</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getDefaultHelperPath()
* @generated
* @ordered
@@ -225,7 +225,7 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
* The cached value of the '{@link #getAdvices() <em>Advices</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getAdvices()
* @generated
* @ordered
@@ -236,7 +236,7 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
* The cached value of the '{@link #getBindings() <em>Bindings</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getBindings()
* @generated
* @ordered
@@ -247,7 +247,7 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
* The cached value of the '{@link #getGenHandlers() <em>Gen Handlers</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getGenHandlers()
* @generated
* @ordered
@@ -258,7 +258,7 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
* The default value of the '{@link #getGeneratedSourceFolder() <em>Generated Source Folder</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getGeneratedSourceFolder()
* @generated
* @ordered
@@ -269,7 +269,7 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
* The cached value of the '{@link #getGeneratedSourceFolder() <em>Generated Source Folder</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getGeneratedSourceFolder()
* @generated
* @ordered
@@ -280,7 +280,7 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
* The cached value of the '{@link #getMenu() <em>Menu</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getMenu()
* @generated
* @ordered
@@ -291,7 +291,7 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
* The cached value of the '{@link #getCommand() <em>Command</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getCommand()
* @generated
* @ordered
@@ -301,7 +301,7 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected DomainContextImpl() {
@@ -311,7 +311,7 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -322,7 +322,7 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String getTypeProjectName() {
@@ -332,20 +332,21 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setTypeProjectName(String newTypeProjectName) {
String oldTypeProjectName = typeProjectName;
typeProjectName = newTypeProjectName;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.DOMAIN_CONTEXT__TYPE_PROJECT_NAME, oldTypeProjectName, typeProjectName));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String getHandlerProjectName() {
@@ -355,20 +356,21 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setHandlerProjectName(String newHandlerProjectName) {
String oldHandlerProjectName = handlerProjectName;
handlerProjectName = newHandlerProjectName;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.DOMAIN_CONTEXT__HANDLER_PROJECT_NAME, oldHandlerProjectName, handlerProjectName));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String getIClientContextID() {
@@ -378,29 +380,31 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setIClientContextID(String newIClientContextID) {
String oldIClientContextID = iClientContextID;
iClientContextID = newIClientContextID;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.DOMAIN_CONTEXT__ICLIENT_CONTEXT_ID, oldIClientContextID, iClientContextID));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EPackage getMetamodel() {
- if(metamodel != null && metamodel.eIsProxy()) {
- InternalEObject oldMetamodel = (InternalEObject)metamodel;
- metamodel = (EPackage)eResolveProxy(oldMetamodel);
- if(metamodel != oldMetamodel) {
- if(eNotificationRequired())
+ if (metamodel != null && metamodel.eIsProxy()) {
+ InternalEObject oldMetamodel = (InternalEObject) metamodel;
+ metamodel = (EPackage) eResolveProxy(oldMetamodel);
+ if (metamodel != oldMetamodel) {
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, DomaincontextcodegenPackage.DOMAIN_CONTEXT__METAMODEL, oldMetamodel, metamodel));
+ }
}
}
return metamodel;
@@ -409,7 +413,7 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EPackage basicGetMetamodel() {
@@ -419,29 +423,31 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setMetamodel(EPackage newMetamodel) {
EPackage oldMetamodel = metamodel;
metamodel = newMetamodel;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.DOMAIN_CONTEXT__METAMODEL, oldMetamodel, metamodel));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public DomainContext getSpecializationOf() {
- if(specializationOf != null && specializationOf.eIsProxy()) {
- InternalEObject oldSpecializationOf = (InternalEObject)specializationOf;
- specializationOf = (DomainContext)eResolveProxy(oldSpecializationOf);
- if(specializationOf != oldSpecializationOf) {
- if(eNotificationRequired())
+ if (specializationOf != null && specializationOf.eIsProxy()) {
+ InternalEObject oldSpecializationOf = (InternalEObject) specializationOf;
+ specializationOf = (DomainContext) eResolveProxy(oldSpecializationOf);
+ if (specializationOf != oldSpecializationOf) {
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, DomaincontextcodegenPackage.DOMAIN_CONTEXT__SPECIALIZATION_OF, oldSpecializationOf, specializationOf));
+ }
}
}
return specializationOf;
@@ -450,7 +456,7 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public DomainContext basicGetSpecializationOf() {
@@ -460,20 +466,21 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setSpecializationOf(DomainContext newSpecializationOf) {
DomainContext oldSpecializationOf = specializationOf;
specializationOf = newSpecializationOf;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.DOMAIN_CONTEXT__SPECIALIZATION_OF, oldSpecializationOf, specializationOf));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String getElementTypeIDPrefix() {
@@ -483,20 +490,21 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setElementTypeIDPrefix(String newElementTypeIDPrefix) {
String oldElementTypeIDPrefix = elementTypeIDPrefix;
elementTypeIDPrefix = newElementTypeIDPrefix;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.DOMAIN_CONTEXT__ELEMENT_TYPE_ID_PREFIX, oldElementTypeIDPrefix, elementTypeIDPrefix));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String getElementTypeNamePrefix() {
@@ -506,20 +514,21 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setElementTypeNamePrefix(String newElementTypeNamePrefix) {
String oldElementTypeNamePrefix = elementTypeNamePrefix;
elementTypeNamePrefix = newElementTypeNamePrefix;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.DOMAIN_CONTEXT__ELEMENT_TYPE_NAME_PREFIX, oldElementTypeNamePrefix, elementTypeNamePrefix));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public ElementTypes getElementTypes() {
@@ -529,18 +538,19 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public NotificationChain basicSetElementTypes(ElementTypes newElementTypes, NotificationChain msgs) {
ElementTypes oldElementTypes = elementTypes;
elementTypes = newElementTypes;
- if(eNotificationRequired()) {
+ if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.DOMAIN_CONTEXT__ELEMENT_TYPES, oldElementTypes, newElementTypes);
- if(msgs == null)
+ if (msgs == null) {
msgs = notification;
- else
+ } else {
msgs.add(notification);
+ }
}
return msgs;
}
@@ -548,27 +558,31 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setElementTypes(ElementTypes newElementTypes) {
- if(newElementTypes != elementTypes) {
+ if (newElementTypes != elementTypes) {
NotificationChain msgs = null;
- if(elementTypes != null)
- msgs = ((InternalEObject)elementTypes).eInverseRemove(this, DomaincontextcodegenPackage.ELEMENT_TYPES__DOMAIN, ElementTypes.class, msgs);
- if(newElementTypes != null)
- msgs = ((InternalEObject)newElementTypes).eInverseAdd(this, DomaincontextcodegenPackage.ELEMENT_TYPES__DOMAIN, ElementTypes.class, msgs);
+ if (elementTypes != null) {
+ msgs = ((InternalEObject) elementTypes).eInverseRemove(this, DomaincontextcodegenPackage.ELEMENT_TYPES__DOMAIN, ElementTypes.class, msgs);
+ }
+ if (newElementTypes != null) {
+ msgs = ((InternalEObject) newElementTypes).eInverseAdd(this, DomaincontextcodegenPackage.ELEMENT_TYPES__DOMAIN, ElementTypes.class, msgs);
+ }
msgs = basicSetElementTypes(newElementTypes, msgs);
- if(msgs != null)
+ if (msgs != null) {
msgs.dispatch();
- } else if(eNotificationRequired())
+ }
+ } else if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.DOMAIN_CONTEXT__ELEMENT_TYPES, newElementTypes, newElementTypes));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String getDefaultHelperPath() {
@@ -578,24 +592,25 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setDefaultHelperPath(String newDefaultHelperPath) {
String oldDefaultHelperPath = defaultHelperPath;
defaultHelperPath = newDefaultHelperPath;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.DOMAIN_CONTEXT__DEFAULT_HELPER_PATH, oldDefaultHelperPath, defaultHelperPath));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EList<Advice> getAdvices() {
- if(advices == null) {
+ if (advices == null) {
advices = new EObjectContainmentEList<Advice>(Advice.class, this, DomaincontextcodegenPackage.DOMAIN_CONTEXT__ADVICES);
}
return advices;
@@ -604,11 +619,11 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EList<ElementTypeBindings> getBindings() {
- if(bindings == null) {
+ if (bindings == null) {
bindings = new EObjectContainmentEList<ElementTypeBindings>(ElementTypeBindings.class, this, DomaincontextcodegenPackage.DOMAIN_CONTEXT__BINDINGS);
}
return bindings;
@@ -617,7 +632,7 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public GenHandlers getGenHandlers() {
@@ -627,18 +642,19 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public NotificationChain basicSetGenHandlers(GenHandlers newGenHandlers, NotificationChain msgs) {
GenHandlers oldGenHandlers = genHandlers;
genHandlers = newGenHandlers;
- if(eNotificationRequired()) {
+ if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.DOMAIN_CONTEXT__GEN_HANDLERS, oldGenHandlers, newGenHandlers);
- if(msgs == null)
+ if (msgs == null) {
msgs = notification;
- else
+ } else {
msgs.add(notification);
+ }
}
return msgs;
}
@@ -646,27 +662,31 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setGenHandlers(GenHandlers newGenHandlers) {
- if(newGenHandlers != genHandlers) {
+ if (newGenHandlers != genHandlers) {
NotificationChain msgs = null;
- if(genHandlers != null)
- msgs = ((InternalEObject)genHandlers).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - DomaincontextcodegenPackage.DOMAIN_CONTEXT__GEN_HANDLERS, null, msgs);
- if(newGenHandlers != null)
- msgs = ((InternalEObject)newGenHandlers).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - DomaincontextcodegenPackage.DOMAIN_CONTEXT__GEN_HANDLERS, null, msgs);
+ if (genHandlers != null) {
+ msgs = ((InternalEObject) genHandlers).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - DomaincontextcodegenPackage.DOMAIN_CONTEXT__GEN_HANDLERS, null, msgs);
+ }
+ if (newGenHandlers != null) {
+ msgs = ((InternalEObject) newGenHandlers).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - DomaincontextcodegenPackage.DOMAIN_CONTEXT__GEN_HANDLERS, null, msgs);
+ }
msgs = basicSetGenHandlers(newGenHandlers, msgs);
- if(msgs != null)
+ if (msgs != null) {
msgs.dispatch();
- } else if(eNotificationRequired())
+ }
+ } else if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.DOMAIN_CONTEXT__GEN_HANDLERS, newGenHandlers, newGenHandlers));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String getGeneratedSourceFolder() {
@@ -676,24 +696,25 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setGeneratedSourceFolder(String newGeneratedSourceFolder) {
String oldGeneratedSourceFolder = generatedSourceFolder;
generatedSourceFolder = newGeneratedSourceFolder;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.DOMAIN_CONTEXT__GENERATED_SOURCE_FOLDER, oldGeneratedSourceFolder, generatedSourceFolder));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EList<MenuDeclaration> getMenu() {
- if(menu == null) {
+ if (menu == null) {
menu = new EObjectContainmentEList<MenuDeclaration>(MenuDeclaration.class, this, DomaincontextcodegenPackage.DOMAIN_CONTEXT__MENU);
}
return menu;
@@ -702,11 +723,11 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EList<CommandDeclaration> getCommand() {
- if(command == null) {
+ if (command == null) {
command = new EObjectContainmentEList<CommandDeclaration>(CommandDeclaration.class, this, DomaincontextcodegenPackage.DOMAIN_CONTEXT__COMMAND);
}
return command;
@@ -715,16 +736,17 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.DOMAIN_CONTEXT__ELEMENT_TYPES:
- if(elementTypes != null)
- msgs = ((InternalEObject)elementTypes).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - DomaincontextcodegenPackage.DOMAIN_CONTEXT__ELEMENT_TYPES, null, msgs);
- return basicSetElementTypes((ElementTypes)otherEnd, msgs);
+ if (elementTypes != null) {
+ msgs = ((InternalEObject) elementTypes).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - DomaincontextcodegenPackage.DOMAIN_CONTEXT__ELEMENT_TYPES, null, msgs);
+ }
+ return basicSetElementTypes((ElementTypes) otherEnd, msgs);
}
return super.eInverseAdd(otherEnd, featureID, msgs);
}
@@ -732,24 +754,24 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.DOMAIN_CONTEXT__ELEMENT_TYPES:
return basicSetElementTypes(null, msgs);
case DomaincontextcodegenPackage.DOMAIN_CONTEXT__ADVICES:
- return ((InternalEList<?>)getAdvices()).basicRemove(otherEnd, msgs);
+ return ((InternalEList<?>) getAdvices()).basicRemove(otherEnd, msgs);
case DomaincontextcodegenPackage.DOMAIN_CONTEXT__BINDINGS:
- return ((InternalEList<?>)getBindings()).basicRemove(otherEnd, msgs);
+ return ((InternalEList<?>) getBindings()).basicRemove(otherEnd, msgs);
case DomaincontextcodegenPackage.DOMAIN_CONTEXT__GEN_HANDLERS:
return basicSetGenHandlers(null, msgs);
case DomaincontextcodegenPackage.DOMAIN_CONTEXT__MENU:
- return ((InternalEList<?>)getMenu()).basicRemove(otherEnd, msgs);
+ return ((InternalEList<?>) getMenu()).basicRemove(otherEnd, msgs);
case DomaincontextcodegenPackage.DOMAIN_CONTEXT__COMMAND:
- return ((InternalEList<?>)getCommand()).basicRemove(otherEnd, msgs);
+ return ((InternalEList<?>) getCommand()).basicRemove(otherEnd, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
@@ -757,12 +779,12 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.DOMAIN_CONTEXT__TYPE_PROJECT_NAME:
return getTypeProjectName();
case DomaincontextcodegenPackage.DOMAIN_CONTEXT__HANDLER_PROJECT_NAME:
@@ -770,12 +792,14 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
case DomaincontextcodegenPackage.DOMAIN_CONTEXT__ICLIENT_CONTEXT_ID:
return getIClientContextID();
case DomaincontextcodegenPackage.DOMAIN_CONTEXT__METAMODEL:
- if(resolve)
+ if (resolve) {
return getMetamodel();
+ }
return basicGetMetamodel();
case DomaincontextcodegenPackage.DOMAIN_CONTEXT__SPECIALIZATION_OF:
- if(resolve)
+ if (resolve) {
return getSpecializationOf();
+ }
return basicGetSpecializationOf();
case DomaincontextcodegenPackage.DOMAIN_CONTEXT__ELEMENT_TYPE_ID_PREFIX:
return getElementTypeIDPrefix();
@@ -804,61 +828,61 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.DOMAIN_CONTEXT__TYPE_PROJECT_NAME:
- setTypeProjectName((String)newValue);
+ setTypeProjectName((String) newValue);
return;
case DomaincontextcodegenPackage.DOMAIN_CONTEXT__HANDLER_PROJECT_NAME:
- setHandlerProjectName((String)newValue);
+ setHandlerProjectName((String) newValue);
return;
case DomaincontextcodegenPackage.DOMAIN_CONTEXT__ICLIENT_CONTEXT_ID:
- setIClientContextID((String)newValue);
+ setIClientContextID((String) newValue);
return;
case DomaincontextcodegenPackage.DOMAIN_CONTEXT__METAMODEL:
- setMetamodel((EPackage)newValue);
+ setMetamodel((EPackage) newValue);
return;
case DomaincontextcodegenPackage.DOMAIN_CONTEXT__SPECIALIZATION_OF:
- setSpecializationOf((DomainContext)newValue);
+ setSpecializationOf((DomainContext) newValue);
return;
case DomaincontextcodegenPackage.DOMAIN_CONTEXT__ELEMENT_TYPE_ID_PREFIX:
- setElementTypeIDPrefix((String)newValue);
+ setElementTypeIDPrefix((String) newValue);
return;
case DomaincontextcodegenPackage.DOMAIN_CONTEXT__ELEMENT_TYPE_NAME_PREFIX:
- setElementTypeNamePrefix((String)newValue);
+ setElementTypeNamePrefix((String) newValue);
return;
case DomaincontextcodegenPackage.DOMAIN_CONTEXT__ELEMENT_TYPES:
- setElementTypes((ElementTypes)newValue);
+ setElementTypes((ElementTypes) newValue);
return;
case DomaincontextcodegenPackage.DOMAIN_CONTEXT__DEFAULT_HELPER_PATH:
- setDefaultHelperPath((String)newValue);
+ setDefaultHelperPath((String) newValue);
return;
case DomaincontextcodegenPackage.DOMAIN_CONTEXT__ADVICES:
getAdvices().clear();
- getAdvices().addAll((Collection<? extends Advice>)newValue);
+ getAdvices().addAll((Collection<? extends Advice>) newValue);
return;
case DomaincontextcodegenPackage.DOMAIN_CONTEXT__BINDINGS:
getBindings().clear();
- getBindings().addAll((Collection<? extends ElementTypeBindings>)newValue);
+ getBindings().addAll((Collection<? extends ElementTypeBindings>) newValue);
return;
case DomaincontextcodegenPackage.DOMAIN_CONTEXT__GEN_HANDLERS:
- setGenHandlers((GenHandlers)newValue);
+ setGenHandlers((GenHandlers) newValue);
return;
case DomaincontextcodegenPackage.DOMAIN_CONTEXT__GENERATED_SOURCE_FOLDER:
- setGeneratedSourceFolder((String)newValue);
+ setGeneratedSourceFolder((String) newValue);
return;
case DomaincontextcodegenPackage.DOMAIN_CONTEXT__MENU:
getMenu().clear();
- getMenu().addAll((Collection<? extends MenuDeclaration>)newValue);
+ getMenu().addAll((Collection<? extends MenuDeclaration>) newValue);
return;
case DomaincontextcodegenPackage.DOMAIN_CONTEXT__COMMAND:
getCommand().clear();
- getCommand().addAll((Collection<? extends CommandDeclaration>)newValue);
+ getCommand().addAll((Collection<? extends CommandDeclaration>) newValue);
return;
}
super.eSet(featureID, newValue);
@@ -867,12 +891,12 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.DOMAIN_CONTEXT__TYPE_PROJECT_NAME:
setTypeProjectName(TYPE_PROJECT_NAME_EDEFAULT);
return;
@@ -883,10 +907,10 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
setIClientContextID(ICLIENT_CONTEXT_ID_EDEFAULT);
return;
case DomaincontextcodegenPackage.DOMAIN_CONTEXT__METAMODEL:
- setMetamodel((EPackage)null);
+ setMetamodel((EPackage) null);
return;
case DomaincontextcodegenPackage.DOMAIN_CONTEXT__SPECIALIZATION_OF:
- setSpecializationOf((DomainContext)null);
+ setSpecializationOf((DomainContext) null);
return;
case DomaincontextcodegenPackage.DOMAIN_CONTEXT__ELEMENT_TYPE_ID_PREFIX:
setElementTypeIDPrefix(ELEMENT_TYPE_ID_PREFIX_EDEFAULT);
@@ -895,7 +919,7 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
setElementTypeNamePrefix(ELEMENT_TYPE_NAME_PREFIX_EDEFAULT);
return;
case DomaincontextcodegenPackage.DOMAIN_CONTEXT__ELEMENT_TYPES:
- setElementTypes((ElementTypes)null);
+ setElementTypes((ElementTypes) null);
return;
case DomaincontextcodegenPackage.DOMAIN_CONTEXT__DEFAULT_HELPER_PATH:
setDefaultHelperPath(DEFAULT_HELPER_PATH_EDEFAULT);
@@ -907,7 +931,7 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
getBindings().clear();
return;
case DomaincontextcodegenPackage.DOMAIN_CONTEXT__GEN_HANDLERS:
- setGenHandlers((GenHandlers)null);
+ setGenHandlers((GenHandlers) null);
return;
case DomaincontextcodegenPackage.DOMAIN_CONTEXT__GENERATED_SOURCE_FOLDER:
setGeneratedSourceFolder(GENERATED_SOURCE_FOLDER_EDEFAULT);
@@ -925,12 +949,12 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.DOMAIN_CONTEXT__TYPE_PROJECT_NAME:
return TYPE_PROJECT_NAME_EDEFAULT == null ? typeProjectName != null : !TYPE_PROJECT_NAME_EDEFAULT.equals(typeProjectName);
case DomaincontextcodegenPackage.DOMAIN_CONTEXT__HANDLER_PROJECT_NAME:
@@ -968,13 +992,14 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public String toString() {
- if(eIsProxy())
+ if (eIsProxy()) {
return super.toString();
+ }
StringBuffer result = new StringBuffer(super.toString());
result.append(" (typeProjectName: ");
@@ -995,4 +1020,4 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
return result.toString();
}
-} //DomainContextImpl
+} // DomainContextImpl
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/DomaincontextcodegenFactoryImpl.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/DomaincontextcodegenFactoryImpl.java
index 3ce9d717561..243766271a7 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/DomaincontextcodegenFactoryImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/DomaincontextcodegenFactoryImpl.java
@@ -34,7 +34,7 @@ import org.eclipse.papyrus.domaincontextcodegen.StereotypedElementMatcher;
* <!-- begin-user-doc -->
* An implementation of the model <b>Factory</b>.
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public class DomaincontextcodegenFactoryImpl extends EFactoryImpl implements DomaincontextcodegenFactory {
@@ -43,13 +43,13 @@ public class DomaincontextcodegenFactoryImpl extends EFactoryImpl implements Dom
* Creates the default factory implementation.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public static DomaincontextcodegenFactory init() {
try {
- DomaincontextcodegenFactory theDomaincontextcodegenFactory = (DomaincontextcodegenFactory)EPackage.Registry.INSTANCE.getEFactory("http://www.eclipse.org/papyrus/2010/domaincontextcodegen");
- if(theDomaincontextcodegenFactory != null) {
+ DomaincontextcodegenFactory theDomaincontextcodegenFactory = (DomaincontextcodegenFactory) EPackage.Registry.INSTANCE.getEFactory("http://www.eclipse.org/papyrus/2010/domaincontextcodegen");
+ if (theDomaincontextcodegenFactory != null) {
return theDomaincontextcodegenFactory;
}
} catch (Exception exception) {
@@ -62,7 +62,7 @@ public class DomaincontextcodegenFactoryImpl extends EFactoryImpl implements Dom
* Creates an instance of the factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public DomaincontextcodegenFactoryImpl() {
@@ -72,12 +72,12 @@ public class DomaincontextcodegenFactoryImpl extends EFactoryImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public EObject create(EClass eClass) {
- switch(eClass.getClassifierID()) {
+ switch (eClass.getClassifierID()) {
case DomaincontextcodegenPackage.DOMAIN_CONTEXT:
return createDomainContext();
case DomaincontextcodegenPackage.ELEMENT_TYPES:
@@ -114,12 +114,12 @@ public class DomaincontextcodegenFactoryImpl extends EFactoryImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Object createFromString(EDataType eDataType, String initialValue) {
- switch(eDataType.getClassifierID()) {
+ switch (eDataType.getClassifierID()) {
case DomaincontextcodegenPackage.INHERITANCE_KIND:
return createInheritanceKindFromString(eDataType, initialValue);
default:
@@ -130,12 +130,12 @@ public class DomaincontextcodegenFactoryImpl extends EFactoryImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public String convertToString(EDataType eDataType, Object instanceValue) {
- switch(eDataType.getClassifierID()) {
+ switch (eDataType.getClassifierID()) {
case DomaincontextcodegenPackage.INHERITANCE_KIND:
return convertInheritanceKindToString(eDataType, instanceValue);
default:
@@ -146,7 +146,7 @@ public class DomaincontextcodegenFactoryImpl extends EFactoryImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public DomainContext createDomainContext() {
@@ -157,7 +157,7 @@ public class DomaincontextcodegenFactoryImpl extends EFactoryImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public ElementTypes createElementTypes() {
@@ -168,7 +168,7 @@ public class DomaincontextcodegenFactoryImpl extends EFactoryImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public MetaClassType createMetaClassType() {
@@ -179,7 +179,7 @@ public class DomaincontextcodegenFactoryImpl extends EFactoryImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public SpecializationType createSpecializationType() {
@@ -190,7 +190,7 @@ public class DomaincontextcodegenFactoryImpl extends EFactoryImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public Advice createAdvice() {
@@ -201,7 +201,7 @@ public class DomaincontextcodegenFactoryImpl extends EFactoryImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public ElementTypeBindings createElementTypeBindings() {
@@ -212,7 +212,7 @@ public class DomaincontextcodegenFactoryImpl extends EFactoryImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public ElementTypeBinding createElementTypeBinding() {
@@ -223,7 +223,7 @@ public class DomaincontextcodegenFactoryImpl extends EFactoryImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public AdviceBinding createAdviceBinding() {
@@ -234,7 +234,7 @@ public class DomaincontextcodegenFactoryImpl extends EFactoryImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public GenHandlers createGenHandlers() {
@@ -245,7 +245,7 @@ public class DomaincontextcodegenFactoryImpl extends EFactoryImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public StereotypedElementMatcher createStereotypedElementMatcher() {
@@ -256,7 +256,7 @@ public class DomaincontextcodegenFactoryImpl extends EFactoryImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public StereotypedElementHelper createStereotypedElementHelper() {
@@ -267,7 +267,7 @@ public class DomaincontextcodegenFactoryImpl extends EFactoryImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public MenuDeclaration createMenuDeclaration() {
@@ -278,7 +278,7 @@ public class DomaincontextcodegenFactoryImpl extends EFactoryImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public CommandDeclaration createCommandDeclaration() {
@@ -289,7 +289,7 @@ public class DomaincontextcodegenFactoryImpl extends EFactoryImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public Command createCommand() {
@@ -300,20 +300,21 @@ public class DomaincontextcodegenFactoryImpl extends EFactoryImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public InheritanceKind createInheritanceKindFromString(EDataType eDataType, String initialValue) {
InheritanceKind result = InheritanceKind.get(initialValue);
- if(result == null)
+ if (result == null) {
throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
+ }
return result;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String convertInheritanceKindToString(EDataType eDataType, Object instanceValue) {
@@ -323,17 +324,17 @@ public class DomaincontextcodegenFactoryImpl extends EFactoryImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public DomaincontextcodegenPackage getDomaincontextcodegenPackage() {
- return (DomaincontextcodegenPackage)getEPackage();
+ return (DomaincontextcodegenPackage) getEPackage();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @deprecated
* @generated
*/
@@ -342,4 +343,4 @@ public class DomaincontextcodegenFactoryImpl extends EFactoryImpl implements Dom
return DomaincontextcodegenPackage.eINSTANCE;
}
-} //DomaincontextcodegenFactoryImpl
+} // DomaincontextcodegenFactoryImpl
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/DomaincontextcodegenPackageImpl.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/DomaincontextcodegenPackageImpl.java
index 556c61616a7..52e9746d47f 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/DomaincontextcodegenPackageImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/DomaincontextcodegenPackageImpl.java
@@ -39,7 +39,7 @@ import org.eclipse.papyrus.domaincontextcodegen.StereotypedElementMatcher;
* <!-- begin-user-doc -->
* An implementation of the model <b>Package</b>.
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public class DomaincontextcodegenPackageImpl extends EPackageImpl implements DomaincontextcodegenPackage {
@@ -47,7 +47,7 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EClass domainContextEClass = null;
@@ -55,7 +55,7 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EClass elementTypesEClass = null;
@@ -63,7 +63,7 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EClass elementTypeEClass = null;
@@ -71,7 +71,7 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EClass metaClassTypeEClass = null;
@@ -79,7 +79,7 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EClass specializationTypeEClass = null;
@@ -87,7 +87,7 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EClass adviceEClass = null;
@@ -95,7 +95,7 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EClass elementTypeBindingsEClass = null;
@@ -103,7 +103,7 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EClass adviceBindingEClass = null;
@@ -111,7 +111,7 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EClass bindingEClass = null;
@@ -119,7 +119,7 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EClass elementTypeBindingEClass = null;
@@ -127,7 +127,7 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EClass genHandlersEClass = null;
@@ -135,7 +135,7 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EClass genMatcherEClass = null;
@@ -143,7 +143,7 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EClass genHelperEClass = null;
@@ -151,7 +151,7 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EClass stereotypedElementMatcherEClass = null;
@@ -159,7 +159,7 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EClass stereotypedElementHelperEClass = null;
@@ -167,7 +167,7 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EClass menuDeclarationEClass = null;
@@ -175,7 +175,7 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EClass commandDeclarationEClass = null;
@@ -183,7 +183,7 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EClass commandEClass = null;
@@ -191,7 +191,7 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EEnum inheritanceKindEEnum = null;
@@ -201,9 +201,8 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
* package
* package URI value.
* <p>
- * Note: the correct way to create the package is via the static factory method {@link #init init()}, which also performs initialization of the
- * package, or returns the registered package, if one already exists. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Note: the correct way to create the package is via the static factory method {@link #init init()}, which also performs initialization of the package, or returns the registered package, if one already exists. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see org.eclipse.emf.ecore.EPackage.Registry
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#eNS_URI
* @see #init()
@@ -216,29 +215,31 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
private static boolean isInited = false;
/**
* Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
- *
+ *
* <p>
- * This method is used to initialize {@link DomaincontextcodegenPackage#eINSTANCE} when that field is accessed. Clients should not invoke it
- * directly. Instead, they should simply access that field to obtain the package. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * This method is used to initialize {@link DomaincontextcodegenPackage#eINSTANCE} when that field is accessed. Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
* @see #eNS_URI
* @see #createPackageContents()
* @see #initializePackageContents()
* @generated
*/
public static DomaincontextcodegenPackage init() {
- if(isInited)
- return (DomaincontextcodegenPackage)EPackage.Registry.INSTANCE.getEPackage(DomaincontextcodegenPackage.eNS_URI);
+ if (isInited) {
+ return (DomaincontextcodegenPackage) EPackage.Registry.INSTANCE.getEPackage(DomaincontextcodegenPackage.eNS_URI);
+ }
// Obtain or create and register package
- DomaincontextcodegenPackageImpl theDomaincontextcodegenPackage = (DomaincontextcodegenPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof DomaincontextcodegenPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new DomaincontextcodegenPackageImpl());
+ DomaincontextcodegenPackageImpl theDomaincontextcodegenPackage = (DomaincontextcodegenPackageImpl) (EPackage.Registry.INSTANCE.get(eNS_URI) instanceof DomaincontextcodegenPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI)
+ : new DomaincontextcodegenPackageImpl());
isInited = true;
@@ -263,7 +264,7 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EClass getDomainContext() {
@@ -273,157 +274,157 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EAttribute getDomainContext_TypeProjectName() {
- return (EAttribute)domainContextEClass.getEStructuralFeatures().get(0);
+ return (EAttribute) domainContextEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EAttribute getDomainContext_HandlerProjectName() {
- return (EAttribute)domainContextEClass.getEStructuralFeatures().get(1);
+ return (EAttribute) domainContextEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EAttribute getDomainContext_IClientContextID() {
- return (EAttribute)domainContextEClass.getEStructuralFeatures().get(2);
+ return (EAttribute) domainContextEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getDomainContext_Metamodel() {
- return (EReference)domainContextEClass.getEStructuralFeatures().get(3);
+ return (EReference) domainContextEClass.getEStructuralFeatures().get(3);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getDomainContext_SpecializationOf() {
- return (EReference)domainContextEClass.getEStructuralFeatures().get(4);
+ return (EReference) domainContextEClass.getEStructuralFeatures().get(4);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EAttribute getDomainContext_ElementTypeIDPrefix() {
- return (EAttribute)domainContextEClass.getEStructuralFeatures().get(5);
+ return (EAttribute) domainContextEClass.getEStructuralFeatures().get(5);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EAttribute getDomainContext_ElementTypeNamePrefix() {
- return (EAttribute)domainContextEClass.getEStructuralFeatures().get(6);
+ return (EAttribute) domainContextEClass.getEStructuralFeatures().get(6);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getDomainContext_ElementTypes() {
- return (EReference)domainContextEClass.getEStructuralFeatures().get(7);
+ return (EReference) domainContextEClass.getEStructuralFeatures().get(7);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EAttribute getDomainContext_DefaultHelperPath() {
- return (EAttribute)domainContextEClass.getEStructuralFeatures().get(8);
+ return (EAttribute) domainContextEClass.getEStructuralFeatures().get(8);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getDomainContext_Advices() {
- return (EReference)domainContextEClass.getEStructuralFeatures().get(9);
+ return (EReference) domainContextEClass.getEStructuralFeatures().get(9);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getDomainContext_Bindings() {
- return (EReference)domainContextEClass.getEStructuralFeatures().get(10);
+ return (EReference) domainContextEClass.getEStructuralFeatures().get(10);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getDomainContext_GenHandlers() {
- return (EReference)domainContextEClass.getEStructuralFeatures().get(11);
+ return (EReference) domainContextEClass.getEStructuralFeatures().get(11);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EAttribute getDomainContext_GeneratedSourceFolder() {
- return (EAttribute)domainContextEClass.getEStructuralFeatures().get(12);
+ return (EAttribute) domainContextEClass.getEStructuralFeatures().get(12);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getDomainContext_Menu() {
- return (EReference)domainContextEClass.getEStructuralFeatures().get(13);
+ return (EReference) domainContextEClass.getEStructuralFeatures().get(13);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getDomainContext_Command() {
- return (EReference)domainContextEClass.getEStructuralFeatures().get(14);
+ return (EReference) domainContextEClass.getEStructuralFeatures().get(14);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EClass getElementTypes() {
@@ -433,27 +434,27 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getElementTypes_Types() {
- return (EReference)elementTypesEClass.getEStructuralFeatures().get(0);
+ return (EReference) elementTypesEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getElementTypes_Domain() {
- return (EReference)elementTypesEClass.getEStructuralFeatures().get(1);
+ return (EReference) elementTypesEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EClass getElementType() {
@@ -463,47 +464,47 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EAttribute getElementType_Name() {
- return (EAttribute)elementTypeEClass.getEStructuralFeatures().get(0);
+ return (EAttribute) elementTypeEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EAttribute getElementType_Helper() {
- return (EAttribute)elementTypeEClass.getEStructuralFeatures().get(1);
+ return (EAttribute) elementTypeEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getElementType_Owner() {
- return (EReference)elementTypeEClass.getEStructuralFeatures().get(2);
+ return (EReference) elementTypeEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EAttribute getElementType_Icon() {
- return (EAttribute)elementTypeEClass.getEStructuralFeatures().get(3);
+ return (EAttribute) elementTypeEClass.getEStructuralFeatures().get(3);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EClass getMetaClassType() {
@@ -513,17 +514,17 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getMetaClassType_MetaClass() {
- return (EReference)metaClassTypeEClass.getEStructuralFeatures().get(0);
+ return (EReference) metaClassTypeEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EClass getSpecializationType() {
@@ -533,47 +534,47 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getSpecializationType_Ref() {
- return (EReference)specializationTypeEClass.getEStructuralFeatures().get(0);
+ return (EReference) specializationTypeEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EAttribute getSpecializationType_Matcher() {
- return (EAttribute)specializationTypeEClass.getEStructuralFeatures().get(1);
+ return (EAttribute) specializationTypeEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getSpecializationType_GenMatcher() {
- return (EReference)specializationTypeEClass.getEStructuralFeatures().get(2);
+ return (EReference) specializationTypeEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getSpecializationType_GenHelper() {
- return (EReference)specializationTypeEClass.getEStructuralFeatures().get(3);
+ return (EReference) specializationTypeEClass.getEStructuralFeatures().get(3);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EClass getAdvice() {
@@ -583,47 +584,47 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EAttribute getAdvice_AdviceID() {
- return (EAttribute)adviceEClass.getEStructuralFeatures().get(0);
+ return (EAttribute) adviceEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getAdvice_Ref() {
- return (EReference)adviceEClass.getEStructuralFeatures().get(1);
+ return (EReference) adviceEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EAttribute getAdvice_AdvicePath() {
- return (EAttribute)adviceEClass.getEStructuralFeatures().get(2);
+ return (EAttribute) adviceEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EAttribute getAdvice_Inheritance() {
- return (EAttribute)adviceEClass.getEStructuralFeatures().get(3);
+ return (EAttribute) adviceEClass.getEStructuralFeatures().get(3);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EClass getElementTypeBindings() {
@@ -633,27 +634,27 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EAttribute getElementTypeBindings_ClientContextID() {
- return (EAttribute)elementTypeBindingsEClass.getEStructuralFeatures().get(0);
+ return (EAttribute) elementTypeBindingsEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getElementTypeBindings_Bindings() {
- return (EReference)elementTypeBindingsEClass.getEStructuralFeatures().get(1);
+ return (EReference) elementTypeBindingsEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EClass getAdviceBinding() {
@@ -663,17 +664,17 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getAdviceBinding_Ref() {
- return (EReference)adviceBindingEClass.getEStructuralFeatures().get(0);
+ return (EReference) adviceBindingEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EClass getBinding() {
@@ -683,27 +684,27 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getBinding_Owner() {
- return (EReference)bindingEClass.getEStructuralFeatures().get(0);
+ return (EReference) bindingEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EAttribute getBinding_Pattern() {
- return (EAttribute)bindingEClass.getEStructuralFeatures().get(1);
+ return (EAttribute) bindingEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EClass getElementTypeBinding() {
@@ -713,17 +714,17 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getElementTypeBinding_Ref() {
- return (EReference)elementTypeBindingEClass.getEStructuralFeatures().get(0);
+ return (EReference) elementTypeBindingEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EClass getGenHandlers() {
@@ -733,87 +734,87 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EAttribute getGenHandlers_HandlerPackage() {
- return (EAttribute)genHandlersEClass.getEStructuralFeatures().get(0);
+ return (EAttribute) genHandlersEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EAttribute getGenHandlers_SuperClass() {
- return (EAttribute)genHandlersEClass.getEStructuralFeatures().get(1);
+ return (EAttribute) genHandlersEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EAttribute getGenHandlers_SuperClassPackage() {
- return (EAttribute)genHandlersEClass.getEStructuralFeatures().get(2);
+ return (EAttribute) genHandlersEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EAttribute getGenHandlers_ElementTypeEnumerator() {
- return (EAttribute)genHandlersEClass.getEStructuralFeatures().get(3);
+ return (EAttribute) genHandlersEClass.getEStructuralFeatures().get(3);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EAttribute getGenHandlers_ElementTypeEnumeratorPackage() {
- return (EAttribute)genHandlersEClass.getEStructuralFeatures().get(4);
+ return (EAttribute) genHandlersEClass.getEStructuralFeatures().get(4);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getGenHandlers_VisibleCreateChildHandlers() {
- return (EReference)genHandlersEClass.getEStructuralFeatures().get(5);
+ return (EReference) genHandlersEClass.getEStructuralFeatures().get(5);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getGenHandlers_ParentDomainCreateChild() {
- return (EReference)genHandlersEClass.getEStructuralFeatures().get(6);
+ return (EReference) genHandlersEClass.getEStructuralFeatures().get(6);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EAttribute getGenHandlers_CreateChildMenuLocationURI() {
- return (EAttribute)genHandlersEClass.getEStructuralFeatures().get(7);
+ return (EAttribute) genHandlersEClass.getEStructuralFeatures().get(7);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EClass getGenMatcher() {
@@ -823,17 +824,17 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EAttribute getGenMatcher_Name() {
- return (EAttribute)genMatcherEClass.getEStructuralFeatures().get(0);
+ return (EAttribute) genMatcherEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EClass getGenHelper() {
@@ -843,17 +844,17 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EAttribute getGenHelper_Name() {
- return (EAttribute)genHelperEClass.getEStructuralFeatures().get(0);
+ return (EAttribute) genHelperEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EClass getStereotypedElementMatcher() {
@@ -863,47 +864,47 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EAttribute getStereotypedElementMatcher_StereotypeName() {
- return (EAttribute)stereotypedElementMatcherEClass.getEStructuralFeatures().get(0);
+ return (EAttribute) stereotypedElementMatcherEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EAttribute getStereotypedElementMatcher_StereotypePackage() {
- return (EAttribute)stereotypedElementMatcherEClass.getEStructuralFeatures().get(1);
+ return (EAttribute) stereotypedElementMatcherEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EAttribute getStereotypedElementMatcher_BaseElementName() {
- return (EAttribute)stereotypedElementMatcherEClass.getEStructuralFeatures().get(2);
+ return (EAttribute) stereotypedElementMatcherEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EAttribute getStereotypedElementMatcher_BaseElementPackage() {
- return (EAttribute)stereotypedElementMatcherEClass.getEStructuralFeatures().get(3);
+ return (EAttribute) stereotypedElementMatcherEClass.getEStructuralFeatures().get(3);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EClass getStereotypedElementHelper() {
@@ -913,47 +914,47 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EAttribute getStereotypedElementHelper_StereotypeName() {
- return (EAttribute)stereotypedElementHelperEClass.getEStructuralFeatures().get(0);
+ return (EAttribute) stereotypedElementHelperEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EAttribute getStereotypedElementHelper_StereotypePackage() {
- return (EAttribute)stereotypedElementHelperEClass.getEStructuralFeatures().get(1);
+ return (EAttribute) stereotypedElementHelperEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EAttribute getStereotypedElementHelper_BaseElementName() {
- return (EAttribute)stereotypedElementHelperEClass.getEStructuralFeatures().get(2);
+ return (EAttribute) stereotypedElementHelperEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EAttribute getStereotypedElementHelper_BaseElementPackage() {
- return (EAttribute)stereotypedElementHelperEClass.getEStructuralFeatures().get(3);
+ return (EAttribute) stereotypedElementHelperEClass.getEStructuralFeatures().get(3);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EClass getMenuDeclaration() {
@@ -963,27 +964,27 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EAttribute getMenuDeclaration_LocationURI() {
- return (EAttribute)menuDeclarationEClass.getEStructuralFeatures().get(0);
+ return (EAttribute) menuDeclarationEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getMenuDeclaration_Commands() {
- return (EReference)menuDeclarationEClass.getEStructuralFeatures().get(1);
+ return (EReference) menuDeclarationEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EClass getCommandDeclaration() {
@@ -993,17 +994,17 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getCommandDeclaration_Commands() {
- return (EReference)commandDeclarationEClass.getEStructuralFeatures().get(0);
+ return (EReference) commandDeclarationEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EClass getCommand() {
@@ -1013,27 +1014,27 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getCommand_ElementType() {
- return (EReference)commandEClass.getEStructuralFeatures().get(0);
+ return (EReference) commandEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EAttribute getCommand_Icon() {
- return (EAttribute)commandEClass.getEStructuralFeatures().get(1);
+ return (EAttribute) commandEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EEnum getInheritanceKind() {
@@ -1043,17 +1044,17 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public DomaincontextcodegenFactory getDomaincontextcodegenFactory() {
- return (DomaincontextcodegenFactory)getEFactoryInstance();
+ return (DomaincontextcodegenFactory) getEFactoryInstance();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
private boolean isCreated = false;
@@ -1063,12 +1064,13 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
* guarded to have no affect on any invocation but its first.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void createPackageContents() {
- if(isCreated)
+ if (isCreated) {
return;
+ }
isCreated = true;
// Create classes and their features
@@ -1174,7 +1176,7 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
private boolean isInitialized = false;
@@ -1184,12 +1186,13 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
* method is guarded to have no affect on any invocation but its first.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void initializePackageContents() {
- if(isInitialized)
+ if (isInitialized) {
return;
+ }
isInitialized = true;
// Initialize package
@@ -1198,7 +1201,7 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
setNsURI(eNS_URI);
// Obtain other dependent packages
- EcorePackage theEcorePackage = (EcorePackage)EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI);
+ EcorePackage theEcorePackage = (EcorePackage) EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI);
// Create type parameters
@@ -1217,37 +1220,49 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
initEAttribute(getDomainContext_TypeProjectName(), ecorePackage.getEString(), "typeProjectName", null, 1, 1, DomainContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getDomainContext_HandlerProjectName(), ecorePackage.getEString(), "handlerProjectName", null, 1, 1, DomainContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getDomainContext_IClientContextID(), ecorePackage.getEString(), "IClientContextID", null, 0, 1, DomainContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getDomainContext_Metamodel(), ecorePackage.getEPackage(), null, "metamodel", null, 1, 1, DomainContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getDomainContext_SpecializationOf(), this.getDomainContext(), null, "specializationOf", null, 0, 1, DomainContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getDomainContext_Metamodel(), ecorePackage.getEPackage(), null, "metamodel", null, 1, 1, DomainContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
+ IS_ORDERED);
+ initEReference(getDomainContext_SpecializationOf(), this.getDomainContext(), null, "specializationOf", null, 0, 1, DomainContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
initEAttribute(getDomainContext_ElementTypeIDPrefix(), ecorePackage.getEString(), "elementTypeIDPrefix", null, 1, 1, DomainContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getDomainContext_ElementTypeNamePrefix(), ecorePackage.getEString(), "elementTypeNamePrefix", null, 1, 1, DomainContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getDomainContext_ElementTypes(), this.getElementTypes(), this.getElementTypes_Domain(), "elementTypes", null, 0, 1, DomainContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getDomainContext_ElementTypes(), this.getElementTypes(), this.getElementTypes_Domain(), "elementTypes", null, 0, 1, DomainContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
+ IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getDomainContext_DefaultHelperPath(), ecorePackage.getEString(), "defaultHelperPath", null, 1, 1, DomainContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getDomainContext_Advices(), this.getAdvice(), null, "advices", null, 0, -1, DomainContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getDomainContext_Bindings(), this.getElementTypeBindings(), null, "bindings", null, 0, -1, DomainContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getDomainContext_GenHandlers(), this.getGenHandlers(), null, "genHandlers", null, 0, 1, DomainContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getDomainContext_Bindings(), this.getElementTypeBindings(), null, "bindings", null, 0, -1, DomainContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
+ IS_ORDERED);
+ initEReference(getDomainContext_GenHandlers(), this.getGenHandlers(), null, "genHandlers", null, 0, 1, DomainContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
+ IS_ORDERED);
initEAttribute(getDomainContext_GeneratedSourceFolder(), ecorePackage.getEString(), "generatedSourceFolder", null, 1, 1, DomainContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getDomainContext_Menu(), this.getMenuDeclaration(), null, "menu", null, 0, -1, DomainContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getDomainContext_Command(), this.getCommandDeclaration(), null, "command", null, 0, -1, DomainContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getDomainContext_Command(), this.getCommandDeclaration(), null, "command", null, 0, -1, DomainContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
+ IS_ORDERED);
initEClass(elementTypesEClass, ElementTypes.class, "ElementTypes", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getElementTypes_Types(), this.getElementType(), this.getElementType_Owner(), "types", null, 0, -1, ElementTypes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getElementTypes_Domain(), this.getDomainContext(), this.getDomainContext_ElementTypes(), "domain", null, 0, 1, ElementTypes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getElementTypes_Types(), this.getElementType(), this.getElementType_Owner(), "types", null, 0, -1, ElementTypes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEReference(getElementTypes_Domain(), this.getDomainContext(), this.getDomainContext_ElementTypes(), "domain", null, 0, 1, ElementTypes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
+ IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(elementTypeEClass, ElementType.class, "ElementType", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getElementType_Name(), ecorePackage.getEString(), "name", null, 0, 1, ElementType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getElementType_Helper(), ecorePackage.getEString(), "helper", null, 0, 1, ElementType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getElementType_Owner(), this.getElementTypes(), this.getElementTypes_Types(), "owner", null, 0, 1, ElementType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getElementType_Owner(), this.getElementTypes(), this.getElementTypes_Types(), "owner", null, 0, 1, ElementType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
initEAttribute(getElementType_Icon(), theEcorePackage.getEString(), "icon", null, 0, 1, ElementType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(metaClassTypeEClass, MetaClassType.class, "MetaClassType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getMetaClassType_MetaClass(), ecorePackage.getEClass(), null, "metaClass", null, 1, 1, MetaClassType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getMetaClassType_MetaClass(), ecorePackage.getEClass(), null, "metaClass", null, 1, 1, MetaClassType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
+ IS_ORDERED);
initEClass(specializationTypeEClass, SpecializationType.class, "SpecializationType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEReference(getSpecializationType_Ref(), this.getElementType(), null, "ref", null, 0, 1, SpecializationType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getSpecializationType_Matcher(), ecorePackage.getEString(), "matcher", null, 0, 1, SpecializationType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getSpecializationType_GenMatcher(), this.getGenMatcher(), null, "genMatcher", null, 0, 1, SpecializationType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getSpecializationType_GenHelper(), this.getGenHelper(), null, "genHelper", null, 0, 1, SpecializationType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getSpecializationType_GenMatcher(), this.getGenMatcher(), null, "genMatcher", null, 0, 1, SpecializationType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
+ IS_ORDERED);
+ initEReference(getSpecializationType_GenHelper(), this.getGenHelper(), null, "genHelper", null, 0, 1, SpecializationType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
+ IS_ORDERED);
initEClass(adviceEClass, Advice.class, "Advice", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getAdvice_AdviceID(), ecorePackage.getEString(), "adviceID", null, 0, 1, Advice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
@@ -1257,10 +1272,12 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
initEClass(elementTypeBindingsEClass, ElementTypeBindings.class, "ElementTypeBindings", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getElementTypeBindings_ClientContextID(), ecorePackage.getEString(), "clientContextID", null, 0, 1, ElementTypeBindings.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getElementTypeBindings_Bindings(), this.getBinding(), this.getBinding_Owner(), "bindings", null, 0, -1, ElementTypeBindings.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getElementTypeBindings_Bindings(), this.getBinding(), this.getBinding_Owner(), "bindings", null, 0, -1, ElementTypeBindings.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
initEClass(bindingEClass, Binding.class, "Binding", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getBinding_Owner(), this.getElementTypeBindings(), this.getElementTypeBindings_Bindings(), "owner", null, 1, 1, Binding.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getBinding_Owner(), this.getElementTypeBindings(), this.getElementTypeBindings_Bindings(), "owner", null, 1, 1, Binding.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
initEAttribute(getBinding_Pattern(), ecorePackage.getEString(), "pattern", null, 0, 1, Binding.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(elementTypeBindingEClass, ElementTypeBinding.class, "ElementTypeBinding", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
@@ -1274,10 +1291,14 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
initEAttribute(getGenHandlers_SuperClass(), ecorePackage.getEString(), "superClass", null, 0, 1, GenHandlers.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getGenHandlers_SuperClassPackage(), ecorePackage.getEString(), "superClassPackage", null, 0, 1, GenHandlers.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getGenHandlers_ElementTypeEnumerator(), ecorePackage.getEString(), "elementTypeEnumerator", null, 0, 1, GenHandlers.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getGenHandlers_ElementTypeEnumeratorPackage(), ecorePackage.getEString(), "elementTypeEnumeratorPackage", null, 0, 1, GenHandlers.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getGenHandlers_VisibleCreateChildHandlers(), this.getElementType(), null, "visibleCreateChildHandlers", null, 0, -1, GenHandlers.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getGenHandlers_ParentDomainCreateChild(), this.getElementType(), null, "parentDomainCreateChild", null, 0, -1, GenHandlers.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getGenHandlers_CreateChildMenuLocationURI(), theEcorePackage.getEString(), "createChildMenuLocationURI", null, 0, 1, GenHandlers.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getGenHandlers_ElementTypeEnumeratorPackage(), ecorePackage.getEString(), "elementTypeEnumeratorPackage", null, 0, 1, GenHandlers.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
+ IS_ORDERED);
+ initEReference(getGenHandlers_VisibleCreateChildHandlers(), this.getElementType(), null, "visibleCreateChildHandlers", null, 0, -1, GenHandlers.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
+ IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getGenHandlers_ParentDomainCreateChild(), this.getElementType(), null, "parentDomainCreateChild", null, 0, -1, GenHandlers.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getGenHandlers_CreateChildMenuLocationURI(), theEcorePackage.getEString(), "createChildMenuLocationURI", null, 0, 1, GenHandlers.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
+ IS_ORDERED);
initEClass(genMatcherEClass, GenMatcher.class, "GenMatcher", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getGenMatcher_Name(), ecorePackage.getEString(), "name", null, 0, 1, GenMatcher.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
@@ -1286,23 +1307,32 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
initEAttribute(getGenHelper_Name(), ecorePackage.getEString(), "name", null, 0, 1, GenHelper.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(stereotypedElementMatcherEClass, StereotypedElementMatcher.class, "StereotypedElementMatcher", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getStereotypedElementMatcher_StereotypeName(), theEcorePackage.getEString(), "stereotypeName", null, 0, 1, StereotypedElementMatcher.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getStereotypedElementMatcher_StereotypePackage(), theEcorePackage.getEString(), "stereotypePackage", null, 0, 1, StereotypedElementMatcher.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getStereotypedElementMatcher_BaseElementName(), theEcorePackage.getEString(), "baseElementName", null, 0, 1, StereotypedElementMatcher.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getStereotypedElementMatcher_BaseElementPackage(), theEcorePackage.getEString(), "baseElementPackage", null, 0, 1, StereotypedElementMatcher.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getStereotypedElementMatcher_StereotypeName(), theEcorePackage.getEString(), "stereotypeName", null, 0, 1, StereotypedElementMatcher.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
+ IS_ORDERED);
+ initEAttribute(getStereotypedElementMatcher_StereotypePackage(), theEcorePackage.getEString(), "stereotypePackage", null, 0, 1, StereotypedElementMatcher.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getStereotypedElementMatcher_BaseElementName(), theEcorePackage.getEString(), "baseElementName", null, 0, 1, StereotypedElementMatcher.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
+ IS_ORDERED);
+ initEAttribute(getStereotypedElementMatcher_BaseElementPackage(), theEcorePackage.getEString(), "baseElementPackage", null, 0, 1, StereotypedElementMatcher.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
initEClass(stereotypedElementHelperEClass, StereotypedElementHelper.class, "StereotypedElementHelper", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getStereotypedElementHelper_StereotypeName(), theEcorePackage.getEString(), "stereotypeName", null, 0, 1, StereotypedElementHelper.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getStereotypedElementHelper_StereotypePackage(), theEcorePackage.getEString(), "stereotypePackage", null, 0, 1, StereotypedElementHelper.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getStereotypedElementHelper_BaseElementName(), theEcorePackage.getEString(), "baseElementName", null, 0, 1, StereotypedElementHelper.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getStereotypedElementHelper_BaseElementPackage(), theEcorePackage.getEString(), "baseElementPackage", null, 0, 1, StereotypedElementHelper.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getStereotypedElementHelper_StereotypeName(), theEcorePackage.getEString(), "stereotypeName", null, 0, 1, StereotypedElementHelper.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
+ IS_ORDERED);
+ initEAttribute(getStereotypedElementHelper_StereotypePackage(), theEcorePackage.getEString(), "stereotypePackage", null, 0, 1, StereotypedElementHelper.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
+ IS_ORDERED);
+ initEAttribute(getStereotypedElementHelper_BaseElementName(), theEcorePackage.getEString(), "baseElementName", null, 0, 1, StereotypedElementHelper.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
+ IS_ORDERED);
+ initEAttribute(getStereotypedElementHelper_BaseElementPackage(), theEcorePackage.getEString(), "baseElementPackage", null, 0, 1, StereotypedElementHelper.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
initEClass(menuDeclarationEClass, MenuDeclaration.class, "MenuDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getMenuDeclaration_LocationURI(), theEcorePackage.getEString(), "locationURI", null, 0, 1, MenuDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getMenuDeclaration_Commands(), this.getCommand(), null, "commands", null, 0, -1, MenuDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(commandDeclarationEClass, CommandDeclaration.class, "CommandDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getCommandDeclaration_Commands(), this.getCommand(), null, "commands", null, 0, -1, CommandDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getCommandDeclaration_Commands(), this.getCommand(), null, "commands", null, 0, -1, CommandDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
+ IS_ORDERED);
initEClass(commandEClass, Command.class, "Command", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEReference(getCommand_ElementType(), this.getElementType(), null, "elementType", null, 0, 1, Command.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
@@ -1317,4 +1347,4 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
createResource(eNS_URI);
}
-} //DomaincontextcodegenPackageImpl
+} // DomaincontextcodegenPackageImpl
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/ElementTypeBindingImpl.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/ElementTypeBindingImpl.java
index 70a4968d110..28798283a95 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/ElementTypeBindingImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/ElementTypeBindingImpl.java
@@ -24,7 +24,7 @@ import org.eclipse.papyrus.domaincontextcodegen.ElementTypeBinding;
* <li>{@link org.eclipse.papyrus.domaincontextcodegen.impl.ElementTypeBindingImpl#getRef <em>Ref</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class ElementTypeBindingImpl extends BindingImpl implements ElementTypeBinding {
@@ -33,7 +33,7 @@ public class ElementTypeBindingImpl extends BindingImpl implements ElementTypeBi
* The cached value of the '{@link #getRef() <em>Ref</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getRef()
* @generated
* @ordered
@@ -43,7 +43,7 @@ public class ElementTypeBindingImpl extends BindingImpl implements ElementTypeBi
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected ElementTypeBindingImpl() {
@@ -53,7 +53,7 @@ public class ElementTypeBindingImpl extends BindingImpl implements ElementTypeBi
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -64,16 +64,17 @@ public class ElementTypeBindingImpl extends BindingImpl implements ElementTypeBi
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public ElementType getRef() {
- if(ref != null && ref.eIsProxy()) {
- InternalEObject oldRef = (InternalEObject)ref;
- ref = (ElementType)eResolveProxy(oldRef);
- if(ref != oldRef) {
- if(eNotificationRequired())
+ if (ref != null && ref.eIsProxy()) {
+ InternalEObject oldRef = (InternalEObject) ref;
+ ref = (ElementType) eResolveProxy(oldRef);
+ if (ref != oldRef) {
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, DomaincontextcodegenPackage.ELEMENT_TYPE_BINDING__REF, oldRef, ref));
+ }
}
}
return ref;
@@ -82,7 +83,7 @@ public class ElementTypeBindingImpl extends BindingImpl implements ElementTypeBi
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public ElementType basicGetRef() {
@@ -92,28 +93,30 @@ public class ElementTypeBindingImpl extends BindingImpl implements ElementTypeBi
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setRef(ElementType newRef) {
ElementType oldRef = ref;
ref = newRef;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.ELEMENT_TYPE_BINDING__REF, oldRef, ref));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.ELEMENT_TYPE_BINDING__REF:
- if(resolve)
+ if (resolve) {
return getRef();
+ }
return basicGetRef();
}
return super.eGet(featureID, resolve, coreType);
@@ -122,14 +125,14 @@ public class ElementTypeBindingImpl extends BindingImpl implements ElementTypeBi
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.ELEMENT_TYPE_BINDING__REF:
- setRef((ElementType)newValue);
+ setRef((ElementType) newValue);
return;
}
super.eSet(featureID, newValue);
@@ -138,14 +141,14 @@ public class ElementTypeBindingImpl extends BindingImpl implements ElementTypeBi
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.ELEMENT_TYPE_BINDING__REF:
- setRef((ElementType)null);
+ setRef((ElementType) null);
return;
}
super.eUnset(featureID);
@@ -154,16 +157,16 @@ public class ElementTypeBindingImpl extends BindingImpl implements ElementTypeBi
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.ELEMENT_TYPE_BINDING__REF:
return ref != null;
}
return super.eIsSet(featureID);
}
-} //ElementTypeBindingImpl
+} // ElementTypeBindingImpl
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/ElementTypeBindingsImpl.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/ElementTypeBindingsImpl.java
index bb01b62bebf..3df3266912d 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/ElementTypeBindingsImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/ElementTypeBindingsImpl.java
@@ -32,7 +32,7 @@ import org.eclipse.papyrus.domaincontextcodegen.ElementTypeBindings;
* <li>{@link org.eclipse.papyrus.domaincontextcodegen.impl.ElementTypeBindingsImpl#getBindings <em>Bindings</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class ElementTypeBindingsImpl extends EObjectImpl implements ElementTypeBindings {
@@ -41,7 +41,7 @@ public class ElementTypeBindingsImpl extends EObjectImpl implements ElementTypeB
* The default value of the '{@link #getClientContextID() <em>Client Context ID</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getClientContextID()
* @generated
* @ordered
@@ -52,7 +52,7 @@ public class ElementTypeBindingsImpl extends EObjectImpl implements ElementTypeB
* The cached value of the '{@link #getClientContextID() <em>Client Context ID</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getClientContextID()
* @generated
* @ordered
@@ -63,7 +63,7 @@ public class ElementTypeBindingsImpl extends EObjectImpl implements ElementTypeB
* The cached value of the '{@link #getBindings() <em>Bindings</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getBindings()
* @generated
* @ordered
@@ -73,7 +73,7 @@ public class ElementTypeBindingsImpl extends EObjectImpl implements ElementTypeB
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected ElementTypeBindingsImpl() {
@@ -83,7 +83,7 @@ public class ElementTypeBindingsImpl extends EObjectImpl implements ElementTypeB
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -94,7 +94,7 @@ public class ElementTypeBindingsImpl extends EObjectImpl implements ElementTypeB
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String getClientContextID() {
@@ -104,24 +104,25 @@ public class ElementTypeBindingsImpl extends EObjectImpl implements ElementTypeB
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setClientContextID(String newClientContextID) {
String oldClientContextID = clientContextID;
clientContextID = newClientContextID;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.ELEMENT_TYPE_BINDINGS__CLIENT_CONTEXT_ID, oldClientContextID, clientContextID));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EList<Binding> getBindings() {
- if(bindings == null) {
+ if (bindings == null) {
bindings = new EObjectContainmentWithInverseEList<Binding>(Binding.class, this, DomaincontextcodegenPackage.ELEMENT_TYPE_BINDINGS__BINDINGS, DomaincontextcodegenPackage.BINDING__OWNER);
}
return bindings;
@@ -130,15 +131,15 @@ public class ElementTypeBindingsImpl extends EObjectImpl implements ElementTypeB
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.ELEMENT_TYPE_BINDINGS__BINDINGS:
- return ((InternalEList<InternalEObject>)(InternalEList<?>)getBindings()).basicAdd(otherEnd, msgs);
+ return ((InternalEList<InternalEObject>) (InternalEList<?>) getBindings()).basicAdd(otherEnd, msgs);
}
return super.eInverseAdd(otherEnd, featureID, msgs);
}
@@ -146,14 +147,14 @@ public class ElementTypeBindingsImpl extends EObjectImpl implements ElementTypeB
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.ELEMENT_TYPE_BINDINGS__BINDINGS:
- return ((InternalEList<?>)getBindings()).basicRemove(otherEnd, msgs);
+ return ((InternalEList<?>) getBindings()).basicRemove(otherEnd, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
@@ -161,12 +162,12 @@ public class ElementTypeBindingsImpl extends EObjectImpl implements ElementTypeB
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.ELEMENT_TYPE_BINDINGS__CLIENT_CONTEXT_ID:
return getClientContextID();
case DomaincontextcodegenPackage.ELEMENT_TYPE_BINDINGS__BINDINGS:
@@ -178,19 +179,19 @@ public class ElementTypeBindingsImpl extends EObjectImpl implements ElementTypeB
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.ELEMENT_TYPE_BINDINGS__CLIENT_CONTEXT_ID:
- setClientContextID((String)newValue);
+ setClientContextID((String) newValue);
return;
case DomaincontextcodegenPackage.ELEMENT_TYPE_BINDINGS__BINDINGS:
getBindings().clear();
- getBindings().addAll((Collection<? extends Binding>)newValue);
+ getBindings().addAll((Collection<? extends Binding>) newValue);
return;
}
super.eSet(featureID, newValue);
@@ -199,12 +200,12 @@ public class ElementTypeBindingsImpl extends EObjectImpl implements ElementTypeB
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.ELEMENT_TYPE_BINDINGS__CLIENT_CONTEXT_ID:
setClientContextID(CLIENT_CONTEXT_ID_EDEFAULT);
return;
@@ -218,12 +219,12 @@ public class ElementTypeBindingsImpl extends EObjectImpl implements ElementTypeB
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.ELEMENT_TYPE_BINDINGS__CLIENT_CONTEXT_ID:
return CLIENT_CONTEXT_ID_EDEFAULT == null ? clientContextID != null : !CLIENT_CONTEXT_ID_EDEFAULT.equals(clientContextID);
case DomaincontextcodegenPackage.ELEMENT_TYPE_BINDINGS__BINDINGS:
@@ -235,13 +236,14 @@ public class ElementTypeBindingsImpl extends EObjectImpl implements ElementTypeB
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public String toString() {
- if(eIsProxy())
+ if (eIsProxy()) {
return super.toString();
+ }
StringBuffer result = new StringBuffer(super.toString());
result.append(" (clientContextID: ");
@@ -250,4 +252,4 @@ public class ElementTypeBindingsImpl extends EObjectImpl implements ElementTypeB
return result.toString();
}
-} //ElementTypeBindingsImpl
+} // ElementTypeBindingsImpl
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/ElementTypeImpl.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/ElementTypeImpl.java
index ee57132fc1f..74800614f76 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/ElementTypeImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/ElementTypeImpl.java
@@ -30,7 +30,7 @@ import org.eclipse.papyrus.domaincontextcodegen.ElementTypes;
* <li>{@link org.eclipse.papyrus.domaincontextcodegen.impl.ElementTypeImpl#getIcon <em>Icon</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public abstract class ElementTypeImpl extends EObjectImpl implements ElementType {
@@ -39,7 +39,7 @@ public abstract class ElementTypeImpl extends EObjectImpl implements ElementType
* The default value of the '{@link #getName() <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getName()
* @generated
* @ordered
@@ -50,7 +50,7 @@ public abstract class ElementTypeImpl extends EObjectImpl implements ElementType
* The cached value of the '{@link #getName() <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getName()
* @generated
* @ordered
@@ -61,7 +61,7 @@ public abstract class ElementTypeImpl extends EObjectImpl implements ElementType
* The default value of the '{@link #getHelper() <em>Helper</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getHelper()
* @generated
* @ordered
@@ -72,7 +72,7 @@ public abstract class ElementTypeImpl extends EObjectImpl implements ElementType
* The cached value of the '{@link #getHelper() <em>Helper</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getHelper()
* @generated
* @ordered
@@ -83,7 +83,7 @@ public abstract class ElementTypeImpl extends EObjectImpl implements ElementType
* The default value of the '{@link #getIcon() <em>Icon</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getIcon()
* @generated
* @ordered
@@ -94,7 +94,7 @@ public abstract class ElementTypeImpl extends EObjectImpl implements ElementType
* The cached value of the '{@link #getIcon() <em>Icon</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getIcon()
* @generated
* @ordered
@@ -104,7 +104,7 @@ public abstract class ElementTypeImpl extends EObjectImpl implements ElementType
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected ElementTypeImpl() {
@@ -114,7 +114,7 @@ public abstract class ElementTypeImpl extends EObjectImpl implements ElementType
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -125,7 +125,7 @@ public abstract class ElementTypeImpl extends EObjectImpl implements ElementType
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String getName() {
@@ -135,20 +135,21 @@ public abstract class ElementTypeImpl extends EObjectImpl implements ElementType
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setName(String newName) {
String oldName = name;
name = newName;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.ELEMENT_TYPE__NAME, oldName, name));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String getHelper() {
@@ -158,65 +159,72 @@ public abstract class ElementTypeImpl extends EObjectImpl implements ElementType
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setHelper(String newHelper) {
String oldHelper = helper;
helper = newHelper;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.ELEMENT_TYPE__HELPER, oldHelper, helper));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public ElementTypes getOwner() {
- if(eContainerFeatureID() != DomaincontextcodegenPackage.ELEMENT_TYPE__OWNER)
+ if (eContainerFeatureID() != DomaincontextcodegenPackage.ELEMENT_TYPE__OWNER) {
return null;
- return (ElementTypes)eContainer();
+ }
+ return (ElementTypes) eContainer();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public NotificationChain basicSetOwner(ElementTypes newOwner, NotificationChain msgs) {
- msgs = eBasicSetContainer((InternalEObject)newOwner, DomaincontextcodegenPackage.ELEMENT_TYPE__OWNER, msgs);
+ msgs = eBasicSetContainer((InternalEObject) newOwner, DomaincontextcodegenPackage.ELEMENT_TYPE__OWNER, msgs);
return msgs;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setOwner(ElementTypes newOwner) {
- if(newOwner != eInternalContainer() || (eContainerFeatureID() != DomaincontextcodegenPackage.ELEMENT_TYPE__OWNER && newOwner != null)) {
- if(EcoreUtil.isAncestor(this, newOwner))
+ if (newOwner != eInternalContainer() || (eContainerFeatureID() != DomaincontextcodegenPackage.ELEMENT_TYPE__OWNER && newOwner != null)) {
+ if (EcoreUtil.isAncestor(this, newOwner)) {
throw new IllegalArgumentException("Recursive containment not allowed for " + toString());
+ }
NotificationChain msgs = null;
- if(eInternalContainer() != null)
+ if (eInternalContainer() != null) {
msgs = eBasicRemoveFromContainer(msgs);
- if(newOwner != null)
- msgs = ((InternalEObject)newOwner).eInverseAdd(this, DomaincontextcodegenPackage.ELEMENT_TYPES__TYPES, ElementTypes.class, msgs);
+ }
+ if (newOwner != null) {
+ msgs = ((InternalEObject) newOwner).eInverseAdd(this, DomaincontextcodegenPackage.ELEMENT_TYPES__TYPES, ElementTypes.class, msgs);
+ }
msgs = basicSetOwner(newOwner, msgs);
- if(msgs != null)
+ if (msgs != null) {
msgs.dispatch();
- } else if(eNotificationRequired())
+ }
+ } else if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.ELEMENT_TYPE__OWNER, newOwner, newOwner));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String getIcon() {
@@ -226,29 +234,31 @@ public abstract class ElementTypeImpl extends EObjectImpl implements ElementType
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setIcon(String newIcon) {
String oldIcon = icon;
icon = newIcon;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.ELEMENT_TYPE__ICON, oldIcon, icon));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.ELEMENT_TYPE__OWNER:
- if(eInternalContainer() != null)
+ if (eInternalContainer() != null) {
msgs = eBasicRemoveFromContainer(msgs);
- return basicSetOwner((ElementTypes)otherEnd, msgs);
+ }
+ return basicSetOwner((ElementTypes) otherEnd, msgs);
}
return super.eInverseAdd(otherEnd, featureID, msgs);
}
@@ -256,12 +266,12 @@ public abstract class ElementTypeImpl extends EObjectImpl implements ElementType
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.ELEMENT_TYPE__OWNER:
return basicSetOwner(null, msgs);
}
@@ -271,12 +281,12 @@ public abstract class ElementTypeImpl extends EObjectImpl implements ElementType
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs) {
- switch(eContainerFeatureID()) {
+ switch (eContainerFeatureID()) {
case DomaincontextcodegenPackage.ELEMENT_TYPE__OWNER:
return eInternalContainer().eInverseRemove(this, DomaincontextcodegenPackage.ELEMENT_TYPES__TYPES, ElementTypes.class, msgs);
}
@@ -286,12 +296,12 @@ public abstract class ElementTypeImpl extends EObjectImpl implements ElementType
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.ELEMENT_TYPE__NAME:
return getName();
case DomaincontextcodegenPackage.ELEMENT_TYPE__HELPER:
@@ -307,23 +317,23 @@ public abstract class ElementTypeImpl extends EObjectImpl implements ElementType
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.ELEMENT_TYPE__NAME:
- setName((String)newValue);
+ setName((String) newValue);
return;
case DomaincontextcodegenPackage.ELEMENT_TYPE__HELPER:
- setHelper((String)newValue);
+ setHelper((String) newValue);
return;
case DomaincontextcodegenPackage.ELEMENT_TYPE__OWNER:
- setOwner((ElementTypes)newValue);
+ setOwner((ElementTypes) newValue);
return;
case DomaincontextcodegenPackage.ELEMENT_TYPE__ICON:
- setIcon((String)newValue);
+ setIcon((String) newValue);
return;
}
super.eSet(featureID, newValue);
@@ -332,12 +342,12 @@ public abstract class ElementTypeImpl extends EObjectImpl implements ElementType
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.ELEMENT_TYPE__NAME:
setName(NAME_EDEFAULT);
return;
@@ -345,7 +355,7 @@ public abstract class ElementTypeImpl extends EObjectImpl implements ElementType
setHelper(HELPER_EDEFAULT);
return;
case DomaincontextcodegenPackage.ELEMENT_TYPE__OWNER:
- setOwner((ElementTypes)null);
+ setOwner((ElementTypes) null);
return;
case DomaincontextcodegenPackage.ELEMENT_TYPE__ICON:
setIcon(ICON_EDEFAULT);
@@ -357,12 +367,12 @@ public abstract class ElementTypeImpl extends EObjectImpl implements ElementType
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.ELEMENT_TYPE__NAME:
return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
case DomaincontextcodegenPackage.ELEMENT_TYPE__HELPER:
@@ -378,13 +388,14 @@ public abstract class ElementTypeImpl extends EObjectImpl implements ElementType
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public String toString() {
- if(eIsProxy())
+ if (eIsProxy()) {
return super.toString();
+ }
StringBuffer result = new StringBuffer(super.toString());
result.append(" (name: ");
@@ -397,4 +408,4 @@ public abstract class ElementTypeImpl extends EObjectImpl implements ElementType
return result.toString();
}
-} //ElementTypeImpl
+} // ElementTypeImpl
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/ElementTypesImpl.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/ElementTypesImpl.java
index 264a752da86..c64408b53aa 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/ElementTypesImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/ElementTypesImpl.java
@@ -34,7 +34,7 @@ import org.eclipse.papyrus.domaincontextcodegen.ElementTypes;
* <li>{@link org.eclipse.papyrus.domaincontextcodegen.impl.ElementTypesImpl#getDomain <em>Domain</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class ElementTypesImpl extends EObjectImpl implements ElementTypes {
@@ -43,7 +43,7 @@ public class ElementTypesImpl extends EObjectImpl implements ElementTypes {
* The cached value of the '{@link #getTypes() <em>Types</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getTypes()
* @generated
* @ordered
@@ -53,7 +53,7 @@ public class ElementTypesImpl extends EObjectImpl implements ElementTypes {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected ElementTypesImpl() {
@@ -63,7 +63,7 @@ public class ElementTypesImpl extends EObjectImpl implements ElementTypes {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -74,11 +74,11 @@ public class ElementTypesImpl extends EObjectImpl implements ElementTypes {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EList<ElementType> getTypes() {
- if(types == null) {
+ if (types == null) {
types = new EObjectContainmentWithInverseEList<ElementType>(ElementType.class, this, DomaincontextcodegenPackage.ELEMENT_TYPES__TYPES, DomaincontextcodegenPackage.ELEMENT_TYPE__OWNER);
}
return types;
@@ -87,64 +87,71 @@ public class ElementTypesImpl extends EObjectImpl implements ElementTypes {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public DomainContext getDomain() {
- if(eContainerFeatureID() != DomaincontextcodegenPackage.ELEMENT_TYPES__DOMAIN)
+ if (eContainerFeatureID() != DomaincontextcodegenPackage.ELEMENT_TYPES__DOMAIN) {
return null;
- return (DomainContext)eContainer();
+ }
+ return (DomainContext) eContainer();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public NotificationChain basicSetDomain(DomainContext newDomain, NotificationChain msgs) {
- msgs = eBasicSetContainer((InternalEObject)newDomain, DomaincontextcodegenPackage.ELEMENT_TYPES__DOMAIN, msgs);
+ msgs = eBasicSetContainer((InternalEObject) newDomain, DomaincontextcodegenPackage.ELEMENT_TYPES__DOMAIN, msgs);
return msgs;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setDomain(DomainContext newDomain) {
- if(newDomain != eInternalContainer() || (eContainerFeatureID() != DomaincontextcodegenPackage.ELEMENT_TYPES__DOMAIN && newDomain != null)) {
- if(EcoreUtil.isAncestor(this, newDomain))
+ if (newDomain != eInternalContainer() || (eContainerFeatureID() != DomaincontextcodegenPackage.ELEMENT_TYPES__DOMAIN && newDomain != null)) {
+ if (EcoreUtil.isAncestor(this, newDomain)) {
throw new IllegalArgumentException("Recursive containment not allowed for " + toString());
+ }
NotificationChain msgs = null;
- if(eInternalContainer() != null)
+ if (eInternalContainer() != null) {
msgs = eBasicRemoveFromContainer(msgs);
- if(newDomain != null)
- msgs = ((InternalEObject)newDomain).eInverseAdd(this, DomaincontextcodegenPackage.DOMAIN_CONTEXT__ELEMENT_TYPES, DomainContext.class, msgs);
+ }
+ if (newDomain != null) {
+ msgs = ((InternalEObject) newDomain).eInverseAdd(this, DomaincontextcodegenPackage.DOMAIN_CONTEXT__ELEMENT_TYPES, DomainContext.class, msgs);
+ }
msgs = basicSetDomain(newDomain, msgs);
- if(msgs != null)
+ if (msgs != null) {
msgs.dispatch();
- } else if(eNotificationRequired())
+ }
+ } else if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.ELEMENT_TYPES__DOMAIN, newDomain, newDomain));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.ELEMENT_TYPES__TYPES:
- return ((InternalEList<InternalEObject>)(InternalEList<?>)getTypes()).basicAdd(otherEnd, msgs);
+ return ((InternalEList<InternalEObject>) (InternalEList<?>) getTypes()).basicAdd(otherEnd, msgs);
case DomaincontextcodegenPackage.ELEMENT_TYPES__DOMAIN:
- if(eInternalContainer() != null)
+ if (eInternalContainer() != null) {
msgs = eBasicRemoveFromContainer(msgs);
- return basicSetDomain((DomainContext)otherEnd, msgs);
+ }
+ return basicSetDomain((DomainContext) otherEnd, msgs);
}
return super.eInverseAdd(otherEnd, featureID, msgs);
}
@@ -152,14 +159,14 @@ public class ElementTypesImpl extends EObjectImpl implements ElementTypes {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.ELEMENT_TYPES__TYPES:
- return ((InternalEList<?>)getTypes()).basicRemove(otherEnd, msgs);
+ return ((InternalEList<?>) getTypes()).basicRemove(otherEnd, msgs);
case DomaincontextcodegenPackage.ELEMENT_TYPES__DOMAIN:
return basicSetDomain(null, msgs);
}
@@ -169,12 +176,12 @@ public class ElementTypesImpl extends EObjectImpl implements ElementTypes {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs) {
- switch(eContainerFeatureID()) {
+ switch (eContainerFeatureID()) {
case DomaincontextcodegenPackage.ELEMENT_TYPES__DOMAIN:
return eInternalContainer().eInverseRemove(this, DomaincontextcodegenPackage.DOMAIN_CONTEXT__ELEMENT_TYPES, DomainContext.class, msgs);
}
@@ -184,12 +191,12 @@ public class ElementTypesImpl extends EObjectImpl implements ElementTypes {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.ELEMENT_TYPES__TYPES:
return getTypes();
case DomaincontextcodegenPackage.ELEMENT_TYPES__DOMAIN:
@@ -201,19 +208,19 @@ public class ElementTypesImpl extends EObjectImpl implements ElementTypes {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.ELEMENT_TYPES__TYPES:
getTypes().clear();
- getTypes().addAll((Collection<? extends ElementType>)newValue);
+ getTypes().addAll((Collection<? extends ElementType>) newValue);
return;
case DomaincontextcodegenPackage.ELEMENT_TYPES__DOMAIN:
- setDomain((DomainContext)newValue);
+ setDomain((DomainContext) newValue);
return;
}
super.eSet(featureID, newValue);
@@ -222,17 +229,17 @@ public class ElementTypesImpl extends EObjectImpl implements ElementTypes {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.ELEMENT_TYPES__TYPES:
getTypes().clear();
return;
case DomaincontextcodegenPackage.ELEMENT_TYPES__DOMAIN:
- setDomain((DomainContext)null);
+ setDomain((DomainContext) null);
return;
}
super.eUnset(featureID);
@@ -241,12 +248,12 @@ public class ElementTypesImpl extends EObjectImpl implements ElementTypes {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.ELEMENT_TYPES__TYPES:
return types != null && !types.isEmpty();
case DomaincontextcodegenPackage.ELEMENT_TYPES__DOMAIN:
@@ -255,4 +262,4 @@ public class ElementTypesImpl extends EObjectImpl implements ElementTypes {
return super.eIsSet(featureID);
}
-} //ElementTypesImpl
+} // ElementTypesImpl
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/GenHandlersImpl.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/GenHandlersImpl.java
index e47f7ee904c..794de1d9fe7 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/GenHandlersImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/GenHandlersImpl.java
@@ -35,7 +35,7 @@ import org.eclipse.papyrus.domaincontextcodegen.GenHandlers;
* <li>{@link org.eclipse.papyrus.domaincontextcodegen.impl.GenHandlersImpl#getCreateChildMenuLocationURI <em>Create Child Menu Location URI</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class GenHandlersImpl extends EObjectImpl implements GenHandlers {
@@ -44,7 +44,7 @@ public class GenHandlersImpl extends EObjectImpl implements GenHandlers {
* The default value of the '{@link #getHandlerPackage() <em>Handler Package</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getHandlerPackage()
* @generated
* @ordered
@@ -55,7 +55,7 @@ public class GenHandlersImpl extends EObjectImpl implements GenHandlers {
* The cached value of the '{@link #getHandlerPackage() <em>Handler Package</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getHandlerPackage()
* @generated
* @ordered
@@ -66,7 +66,7 @@ public class GenHandlersImpl extends EObjectImpl implements GenHandlers {
* The default value of the '{@link #getSuperClass() <em>Super Class</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getSuperClass()
* @generated
* @ordered
@@ -77,7 +77,7 @@ public class GenHandlersImpl extends EObjectImpl implements GenHandlers {
* The cached value of the '{@link #getSuperClass() <em>Super Class</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getSuperClass()
* @generated
* @ordered
@@ -88,7 +88,7 @@ public class GenHandlersImpl extends EObjectImpl implements GenHandlers {
* The default value of the '{@link #getSuperClassPackage() <em>Super Class Package</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getSuperClassPackage()
* @generated
* @ordered
@@ -99,7 +99,7 @@ public class GenHandlersImpl extends EObjectImpl implements GenHandlers {
* The cached value of the '{@link #getSuperClassPackage() <em>Super Class Package</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getSuperClassPackage()
* @generated
* @ordered
@@ -110,7 +110,7 @@ public class GenHandlersImpl extends EObjectImpl implements GenHandlers {
* The default value of the '{@link #getElementTypeEnumerator() <em>Element Type Enumerator</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getElementTypeEnumerator()
* @generated
* @ordered
@@ -121,7 +121,7 @@ public class GenHandlersImpl extends EObjectImpl implements GenHandlers {
* The cached value of the '{@link #getElementTypeEnumerator() <em>Element Type Enumerator</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getElementTypeEnumerator()
* @generated
* @ordered
@@ -132,7 +132,7 @@ public class GenHandlersImpl extends EObjectImpl implements GenHandlers {
* The default value of the '{@link #getElementTypeEnumeratorPackage() <em>Element Type Enumerator Package</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getElementTypeEnumeratorPackage()
* @generated
* @ordered
@@ -143,7 +143,7 @@ public class GenHandlersImpl extends EObjectImpl implements GenHandlers {
* The cached value of the '{@link #getElementTypeEnumeratorPackage() <em>Element Type Enumerator Package</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getElementTypeEnumeratorPackage()
* @generated
* @ordered
@@ -154,7 +154,7 @@ public class GenHandlersImpl extends EObjectImpl implements GenHandlers {
* The cached value of the '{@link #getVisibleCreateChildHandlers() <em>Visible Create Child Handlers</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getVisibleCreateChildHandlers()
* @generated
* @ordered
@@ -165,7 +165,7 @@ public class GenHandlersImpl extends EObjectImpl implements GenHandlers {
* The cached value of the '{@link #getParentDomainCreateChild() <em>Parent Domain Create Child</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getParentDomainCreateChild()
* @generated
* @ordered
@@ -176,7 +176,7 @@ public class GenHandlersImpl extends EObjectImpl implements GenHandlers {
* The default value of the '{@link #getCreateChildMenuLocationURI() <em>Create Child Menu Location URI</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getCreateChildMenuLocationURI()
* @generated
* @ordered
@@ -187,7 +187,7 @@ public class GenHandlersImpl extends EObjectImpl implements GenHandlers {
* The cached value of the '{@link #getCreateChildMenuLocationURI() <em>Create Child Menu Location URI</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getCreateChildMenuLocationURI()
* @generated
* @ordered
@@ -197,7 +197,7 @@ public class GenHandlersImpl extends EObjectImpl implements GenHandlers {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected GenHandlersImpl() {
@@ -207,7 +207,7 @@ public class GenHandlersImpl extends EObjectImpl implements GenHandlers {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -218,7 +218,7 @@ public class GenHandlersImpl extends EObjectImpl implements GenHandlers {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String getHandlerPackage() {
@@ -228,20 +228,21 @@ public class GenHandlersImpl extends EObjectImpl implements GenHandlers {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setHandlerPackage(String newHandlerPackage) {
String oldHandlerPackage = handlerPackage;
handlerPackage = newHandlerPackage;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.GEN_HANDLERS__HANDLER_PACKAGE, oldHandlerPackage, handlerPackage));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String getSuperClass() {
@@ -251,20 +252,21 @@ public class GenHandlersImpl extends EObjectImpl implements GenHandlers {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setSuperClass(String newSuperClass) {
String oldSuperClass = superClass;
superClass = newSuperClass;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.GEN_HANDLERS__SUPER_CLASS, oldSuperClass, superClass));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String getSuperClassPackage() {
@@ -274,20 +276,21 @@ public class GenHandlersImpl extends EObjectImpl implements GenHandlers {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setSuperClassPackage(String newSuperClassPackage) {
String oldSuperClassPackage = superClassPackage;
superClassPackage = newSuperClassPackage;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.GEN_HANDLERS__SUPER_CLASS_PACKAGE, oldSuperClassPackage, superClassPackage));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String getElementTypeEnumerator() {
@@ -297,20 +300,21 @@ public class GenHandlersImpl extends EObjectImpl implements GenHandlers {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setElementTypeEnumerator(String newElementTypeEnumerator) {
String oldElementTypeEnumerator = elementTypeEnumerator;
elementTypeEnumerator = newElementTypeEnumerator;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.GEN_HANDLERS__ELEMENT_TYPE_ENUMERATOR, oldElementTypeEnumerator, elementTypeEnumerator));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String getElementTypeEnumeratorPackage() {
@@ -320,24 +324,25 @@ public class GenHandlersImpl extends EObjectImpl implements GenHandlers {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setElementTypeEnumeratorPackage(String newElementTypeEnumeratorPackage) {
String oldElementTypeEnumeratorPackage = elementTypeEnumeratorPackage;
elementTypeEnumeratorPackage = newElementTypeEnumeratorPackage;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.GEN_HANDLERS__ELEMENT_TYPE_ENUMERATOR_PACKAGE, oldElementTypeEnumeratorPackage, elementTypeEnumeratorPackage));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EList<ElementType> getVisibleCreateChildHandlers() {
- if(visibleCreateChildHandlers == null) {
+ if (visibleCreateChildHandlers == null) {
visibleCreateChildHandlers = new EObjectResolvingEList<ElementType>(ElementType.class, this, DomaincontextcodegenPackage.GEN_HANDLERS__VISIBLE_CREATE_CHILD_HANDLERS);
}
return visibleCreateChildHandlers;
@@ -346,11 +351,11 @@ public class GenHandlersImpl extends EObjectImpl implements GenHandlers {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EList<ElementType> getParentDomainCreateChild() {
- if(parentDomainCreateChild == null) {
+ if (parentDomainCreateChild == null) {
parentDomainCreateChild = new EObjectResolvingEList<ElementType>(ElementType.class, this, DomaincontextcodegenPackage.GEN_HANDLERS__PARENT_DOMAIN_CREATE_CHILD);
}
return parentDomainCreateChild;
@@ -359,7 +364,7 @@ public class GenHandlersImpl extends EObjectImpl implements GenHandlers {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String getCreateChildMenuLocationURI() {
@@ -369,25 +374,26 @@ public class GenHandlersImpl extends EObjectImpl implements GenHandlers {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setCreateChildMenuLocationURI(String newCreateChildMenuLocationURI) {
String oldCreateChildMenuLocationURI = createChildMenuLocationURI;
createChildMenuLocationURI = newCreateChildMenuLocationURI;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.GEN_HANDLERS__CREATE_CHILD_MENU_LOCATION_URI, oldCreateChildMenuLocationURI, createChildMenuLocationURI));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.GEN_HANDLERS__HANDLER_PACKAGE:
return getHandlerPackage();
case DomaincontextcodegenPackage.GEN_HANDLERS__SUPER_CLASS:
@@ -411,38 +417,38 @@ public class GenHandlersImpl extends EObjectImpl implements GenHandlers {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.GEN_HANDLERS__HANDLER_PACKAGE:
- setHandlerPackage((String)newValue);
+ setHandlerPackage((String) newValue);
return;
case DomaincontextcodegenPackage.GEN_HANDLERS__SUPER_CLASS:
- setSuperClass((String)newValue);
+ setSuperClass((String) newValue);
return;
case DomaincontextcodegenPackage.GEN_HANDLERS__SUPER_CLASS_PACKAGE:
- setSuperClassPackage((String)newValue);
+ setSuperClassPackage((String) newValue);
return;
case DomaincontextcodegenPackage.GEN_HANDLERS__ELEMENT_TYPE_ENUMERATOR:
- setElementTypeEnumerator((String)newValue);
+ setElementTypeEnumerator((String) newValue);
return;
case DomaincontextcodegenPackage.GEN_HANDLERS__ELEMENT_TYPE_ENUMERATOR_PACKAGE:
- setElementTypeEnumeratorPackage((String)newValue);
+ setElementTypeEnumeratorPackage((String) newValue);
return;
case DomaincontextcodegenPackage.GEN_HANDLERS__VISIBLE_CREATE_CHILD_HANDLERS:
getVisibleCreateChildHandlers().clear();
- getVisibleCreateChildHandlers().addAll((Collection<? extends ElementType>)newValue);
+ getVisibleCreateChildHandlers().addAll((Collection<? extends ElementType>) newValue);
return;
case DomaincontextcodegenPackage.GEN_HANDLERS__PARENT_DOMAIN_CREATE_CHILD:
getParentDomainCreateChild().clear();
- getParentDomainCreateChild().addAll((Collection<? extends ElementType>)newValue);
+ getParentDomainCreateChild().addAll((Collection<? extends ElementType>) newValue);
return;
case DomaincontextcodegenPackage.GEN_HANDLERS__CREATE_CHILD_MENU_LOCATION_URI:
- setCreateChildMenuLocationURI((String)newValue);
+ setCreateChildMenuLocationURI((String) newValue);
return;
}
super.eSet(featureID, newValue);
@@ -451,12 +457,12 @@ public class GenHandlersImpl extends EObjectImpl implements GenHandlers {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.GEN_HANDLERS__HANDLER_PACKAGE:
setHandlerPackage(HANDLER_PACKAGE_EDEFAULT);
return;
@@ -488,12 +494,12 @@ public class GenHandlersImpl extends EObjectImpl implements GenHandlers {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.GEN_HANDLERS__HANDLER_PACKAGE:
return HANDLER_PACKAGE_EDEFAULT == null ? handlerPackage != null : !HANDLER_PACKAGE_EDEFAULT.equals(handlerPackage);
case DomaincontextcodegenPackage.GEN_HANDLERS__SUPER_CLASS:
@@ -517,13 +523,14 @@ public class GenHandlersImpl extends EObjectImpl implements GenHandlers {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public String toString() {
- if(eIsProxy())
+ if (eIsProxy()) {
return super.toString();
+ }
StringBuffer result = new StringBuffer(super.toString());
result.append(" (handlerPackage: ");
@@ -542,4 +549,4 @@ public class GenHandlersImpl extends EObjectImpl implements GenHandlers {
return result.toString();
}
-} //GenHandlersImpl
+} // GenHandlersImpl
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/GenHelperImpl.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/GenHelperImpl.java
index 555987f9ff9..ea216475caf 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/GenHelperImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/GenHelperImpl.java
@@ -23,7 +23,7 @@ import org.eclipse.papyrus.domaincontextcodegen.GenHelper;
* <li>{@link org.eclipse.papyrus.domaincontextcodegen.impl.GenHelperImpl#getName <em>Name</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public abstract class GenHelperImpl extends EObjectImpl implements GenHelper {
@@ -32,7 +32,7 @@ public abstract class GenHelperImpl extends EObjectImpl implements GenHelper {
* The default value of the '{@link #getName() <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getName()
* @generated
* @ordered
@@ -43,7 +43,7 @@ public abstract class GenHelperImpl extends EObjectImpl implements GenHelper {
* The cached value of the '{@link #getName() <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getName()
* @generated
* @ordered
@@ -53,7 +53,7 @@ public abstract class GenHelperImpl extends EObjectImpl implements GenHelper {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected GenHelperImpl() {
@@ -63,7 +63,7 @@ public abstract class GenHelperImpl extends EObjectImpl implements GenHelper {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -74,7 +74,7 @@ public abstract class GenHelperImpl extends EObjectImpl implements GenHelper {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String getName() {
@@ -84,25 +84,26 @@ public abstract class GenHelperImpl extends EObjectImpl implements GenHelper {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setName(String newName) {
String oldName = name;
name = newName;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.GEN_HELPER__NAME, oldName, name));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.GEN_HELPER__NAME:
return getName();
}
@@ -112,14 +113,14 @@ public abstract class GenHelperImpl extends EObjectImpl implements GenHelper {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.GEN_HELPER__NAME:
- setName((String)newValue);
+ setName((String) newValue);
return;
}
super.eSet(featureID, newValue);
@@ -128,12 +129,12 @@ public abstract class GenHelperImpl extends EObjectImpl implements GenHelper {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.GEN_HELPER__NAME:
setName(NAME_EDEFAULT);
return;
@@ -144,12 +145,12 @@ public abstract class GenHelperImpl extends EObjectImpl implements GenHelper {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.GEN_HELPER__NAME:
return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
}
@@ -159,13 +160,14 @@ public abstract class GenHelperImpl extends EObjectImpl implements GenHelper {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public String toString() {
- if(eIsProxy())
+ if (eIsProxy()) {
return super.toString();
+ }
StringBuffer result = new StringBuffer(super.toString());
result.append(" (name: ");
@@ -174,4 +176,4 @@ public abstract class GenHelperImpl extends EObjectImpl implements GenHelper {
return result.toString();
}
-} //GenHelperImpl
+} // GenHelperImpl
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/GenMatcherImpl.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/GenMatcherImpl.java
index f44fb7f5861..2998b210e36 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/GenMatcherImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/GenMatcherImpl.java
@@ -23,7 +23,7 @@ import org.eclipse.papyrus.domaincontextcodegen.GenMatcher;
* <li>{@link org.eclipse.papyrus.domaincontextcodegen.impl.GenMatcherImpl#getName <em>Name</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public abstract class GenMatcherImpl extends EObjectImpl implements GenMatcher {
@@ -32,7 +32,7 @@ public abstract class GenMatcherImpl extends EObjectImpl implements GenMatcher {
* The default value of the '{@link #getName() <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getName()
* @generated
* @ordered
@@ -43,7 +43,7 @@ public abstract class GenMatcherImpl extends EObjectImpl implements GenMatcher {
* The cached value of the '{@link #getName() <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getName()
* @generated
* @ordered
@@ -53,7 +53,7 @@ public abstract class GenMatcherImpl extends EObjectImpl implements GenMatcher {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected GenMatcherImpl() {
@@ -63,7 +63,7 @@ public abstract class GenMatcherImpl extends EObjectImpl implements GenMatcher {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -74,7 +74,7 @@ public abstract class GenMatcherImpl extends EObjectImpl implements GenMatcher {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String getName() {
@@ -84,25 +84,26 @@ public abstract class GenMatcherImpl extends EObjectImpl implements GenMatcher {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setName(String newName) {
String oldName = name;
name = newName;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.GEN_MATCHER__NAME, oldName, name));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.GEN_MATCHER__NAME:
return getName();
}
@@ -112,14 +113,14 @@ public abstract class GenMatcherImpl extends EObjectImpl implements GenMatcher {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.GEN_MATCHER__NAME:
- setName((String)newValue);
+ setName((String) newValue);
return;
}
super.eSet(featureID, newValue);
@@ -128,12 +129,12 @@ public abstract class GenMatcherImpl extends EObjectImpl implements GenMatcher {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.GEN_MATCHER__NAME:
setName(NAME_EDEFAULT);
return;
@@ -144,12 +145,12 @@ public abstract class GenMatcherImpl extends EObjectImpl implements GenMatcher {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.GEN_MATCHER__NAME:
return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
}
@@ -159,13 +160,14 @@ public abstract class GenMatcherImpl extends EObjectImpl implements GenMatcher {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public String toString() {
- if(eIsProxy())
+ if (eIsProxy()) {
return super.toString();
+ }
StringBuffer result = new StringBuffer(super.toString());
result.append(" (name: ");
@@ -174,4 +176,4 @@ public abstract class GenMatcherImpl extends EObjectImpl implements GenMatcher {
return result.toString();
}
-} //GenMatcherImpl
+} // GenMatcherImpl
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/MenuDeclarationImpl.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/MenuDeclarationImpl.java
index 4f1c456b767..3f84d5c27c8 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/MenuDeclarationImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/MenuDeclarationImpl.java
@@ -29,7 +29,7 @@ import org.eclipse.papyrus.domaincontextcodegen.MenuDeclaration;
* <li>{@link org.eclipse.papyrus.domaincontextcodegen.impl.MenuDeclarationImpl#getCommands <em>Commands</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class MenuDeclarationImpl extends EObjectImpl implements MenuDeclaration {
@@ -38,7 +38,7 @@ public class MenuDeclarationImpl extends EObjectImpl implements MenuDeclaration
* The default value of the '{@link #getLocationURI() <em>Location URI</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getLocationURI()
* @generated
* @ordered
@@ -49,7 +49,7 @@ public class MenuDeclarationImpl extends EObjectImpl implements MenuDeclaration
* The cached value of the '{@link #getLocationURI() <em>Location URI</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getLocationURI()
* @generated
* @ordered
@@ -60,7 +60,7 @@ public class MenuDeclarationImpl extends EObjectImpl implements MenuDeclaration
* The cached value of the '{@link #getCommands() <em>Commands</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getCommands()
* @generated
* @ordered
@@ -70,7 +70,7 @@ public class MenuDeclarationImpl extends EObjectImpl implements MenuDeclaration
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected MenuDeclarationImpl() {
@@ -80,7 +80,7 @@ public class MenuDeclarationImpl extends EObjectImpl implements MenuDeclaration
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -91,7 +91,7 @@ public class MenuDeclarationImpl extends EObjectImpl implements MenuDeclaration
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String getLocationURI() {
@@ -101,24 +101,25 @@ public class MenuDeclarationImpl extends EObjectImpl implements MenuDeclaration
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setLocationURI(String newLocationURI) {
String oldLocationURI = locationURI;
locationURI = newLocationURI;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.MENU_DECLARATION__LOCATION_URI, oldLocationURI, locationURI));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EList<Command> getCommands() {
- if(commands == null) {
+ if (commands == null) {
commands = new EObjectResolvingEList<Command>(Command.class, this, DomaincontextcodegenPackage.MENU_DECLARATION__COMMANDS);
}
return commands;
@@ -127,12 +128,12 @@ public class MenuDeclarationImpl extends EObjectImpl implements MenuDeclaration
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.MENU_DECLARATION__LOCATION_URI:
return getLocationURI();
case DomaincontextcodegenPackage.MENU_DECLARATION__COMMANDS:
@@ -144,19 +145,19 @@ public class MenuDeclarationImpl extends EObjectImpl implements MenuDeclaration
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.MENU_DECLARATION__LOCATION_URI:
- setLocationURI((String)newValue);
+ setLocationURI((String) newValue);
return;
case DomaincontextcodegenPackage.MENU_DECLARATION__COMMANDS:
getCommands().clear();
- getCommands().addAll((Collection<? extends Command>)newValue);
+ getCommands().addAll((Collection<? extends Command>) newValue);
return;
}
super.eSet(featureID, newValue);
@@ -165,12 +166,12 @@ public class MenuDeclarationImpl extends EObjectImpl implements MenuDeclaration
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.MENU_DECLARATION__LOCATION_URI:
setLocationURI(LOCATION_URI_EDEFAULT);
return;
@@ -184,12 +185,12 @@ public class MenuDeclarationImpl extends EObjectImpl implements MenuDeclaration
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.MENU_DECLARATION__LOCATION_URI:
return LOCATION_URI_EDEFAULT == null ? locationURI != null : !LOCATION_URI_EDEFAULT.equals(locationURI);
case DomaincontextcodegenPackage.MENU_DECLARATION__COMMANDS:
@@ -201,13 +202,14 @@ public class MenuDeclarationImpl extends EObjectImpl implements MenuDeclaration
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public String toString() {
- if(eIsProxy())
+ if (eIsProxy()) {
return super.toString();
+ }
StringBuffer result = new StringBuffer(super.toString());
result.append(" (locationURI: ");
@@ -216,4 +218,4 @@ public class MenuDeclarationImpl extends EObjectImpl implements MenuDeclaration
return result.toString();
}
-} //MenuDeclarationImpl
+} // MenuDeclarationImpl
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/MetaClassTypeImpl.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/MetaClassTypeImpl.java
index d103975e4ff..07bebf974de 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/MetaClassTypeImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/MetaClassTypeImpl.java
@@ -23,7 +23,7 @@ import org.eclipse.papyrus.domaincontextcodegen.MetaClassType;
* <li>{@link org.eclipse.papyrus.domaincontextcodegen.impl.MetaClassTypeImpl#getMetaClass <em>Meta Class</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class MetaClassTypeImpl extends ElementTypeImpl implements MetaClassType {
@@ -32,7 +32,7 @@ public class MetaClassTypeImpl extends ElementTypeImpl implements MetaClassType
* The cached value of the '{@link #getMetaClass() <em>Meta Class</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getMetaClass()
* @generated
* @ordered
@@ -42,7 +42,7 @@ public class MetaClassTypeImpl extends ElementTypeImpl implements MetaClassType
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected MetaClassTypeImpl() {
@@ -52,7 +52,7 @@ public class MetaClassTypeImpl extends ElementTypeImpl implements MetaClassType
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -63,16 +63,17 @@ public class MetaClassTypeImpl extends ElementTypeImpl implements MetaClassType
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EClass getMetaClass() {
- if(metaClass != null && metaClass.eIsProxy()) {
- InternalEObject oldMetaClass = (InternalEObject)metaClass;
- metaClass = (EClass)eResolveProxy(oldMetaClass);
- if(metaClass != oldMetaClass) {
- if(eNotificationRequired())
+ if (metaClass != null && metaClass.eIsProxy()) {
+ InternalEObject oldMetaClass = (InternalEObject) metaClass;
+ metaClass = (EClass) eResolveProxy(oldMetaClass);
+ if (metaClass != oldMetaClass) {
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, DomaincontextcodegenPackage.META_CLASS_TYPE__META_CLASS, oldMetaClass, metaClass));
+ }
}
}
return metaClass;
@@ -81,7 +82,7 @@ public class MetaClassTypeImpl extends ElementTypeImpl implements MetaClassType
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EClass basicGetMetaClass() {
@@ -91,28 +92,30 @@ public class MetaClassTypeImpl extends ElementTypeImpl implements MetaClassType
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setMetaClass(EClass newMetaClass) {
EClass oldMetaClass = metaClass;
metaClass = newMetaClass;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.META_CLASS_TYPE__META_CLASS, oldMetaClass, metaClass));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.META_CLASS_TYPE__META_CLASS:
- if(resolve)
+ if (resolve) {
return getMetaClass();
+ }
return basicGetMetaClass();
}
return super.eGet(featureID, resolve, coreType);
@@ -121,14 +124,14 @@ public class MetaClassTypeImpl extends ElementTypeImpl implements MetaClassType
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.META_CLASS_TYPE__META_CLASS:
- setMetaClass((EClass)newValue);
+ setMetaClass((EClass) newValue);
return;
}
super.eSet(featureID, newValue);
@@ -137,14 +140,14 @@ public class MetaClassTypeImpl extends ElementTypeImpl implements MetaClassType
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.META_CLASS_TYPE__META_CLASS:
- setMetaClass((EClass)null);
+ setMetaClass((EClass) null);
return;
}
super.eUnset(featureID);
@@ -153,16 +156,16 @@ public class MetaClassTypeImpl extends ElementTypeImpl implements MetaClassType
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.META_CLASS_TYPE__META_CLASS:
return metaClass != null;
}
return super.eIsSet(featureID);
}
-} //MetaClassTypeImpl
+} // MetaClassTypeImpl
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/SpecializationTypeImpl.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/SpecializationTypeImpl.java
index 933dedcc145..530d2bcb9e5 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/SpecializationTypeImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/SpecializationTypeImpl.java
@@ -30,7 +30,7 @@ import org.eclipse.papyrus.domaincontextcodegen.SpecializationType;
* <li>{@link org.eclipse.papyrus.domaincontextcodegen.impl.SpecializationTypeImpl#getGenHelper <em>Gen Helper</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class SpecializationTypeImpl extends ElementTypeImpl implements SpecializationType {
@@ -39,7 +39,7 @@ public class SpecializationTypeImpl extends ElementTypeImpl implements Specializ
* The cached value of the '{@link #getRef() <em>Ref</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getRef()
* @generated
* @ordered
@@ -50,7 +50,7 @@ public class SpecializationTypeImpl extends ElementTypeImpl implements Specializ
* The default value of the '{@link #getMatcher() <em>Matcher</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getMatcher()
* @generated
* @ordered
@@ -61,7 +61,7 @@ public class SpecializationTypeImpl extends ElementTypeImpl implements Specializ
* The cached value of the '{@link #getMatcher() <em>Matcher</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getMatcher()
* @generated
* @ordered
@@ -72,7 +72,7 @@ public class SpecializationTypeImpl extends ElementTypeImpl implements Specializ
* The cached value of the '{@link #getGenMatcher() <em>Gen Matcher</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getGenMatcher()
* @generated
* @ordered
@@ -83,7 +83,7 @@ public class SpecializationTypeImpl extends ElementTypeImpl implements Specializ
* The cached value of the '{@link #getGenHelper() <em>Gen Helper</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getGenHelper()
* @generated
* @ordered
@@ -93,7 +93,7 @@ public class SpecializationTypeImpl extends ElementTypeImpl implements Specializ
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected SpecializationTypeImpl() {
@@ -103,7 +103,7 @@ public class SpecializationTypeImpl extends ElementTypeImpl implements Specializ
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -114,16 +114,17 @@ public class SpecializationTypeImpl extends ElementTypeImpl implements Specializ
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public ElementType getRef() {
- if(ref != null && ref.eIsProxy()) {
- InternalEObject oldRef = (InternalEObject)ref;
- ref = (ElementType)eResolveProxy(oldRef);
- if(ref != oldRef) {
- if(eNotificationRequired())
+ if (ref != null && ref.eIsProxy()) {
+ InternalEObject oldRef = (InternalEObject) ref;
+ ref = (ElementType) eResolveProxy(oldRef);
+ if (ref != oldRef) {
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, DomaincontextcodegenPackage.SPECIALIZATION_TYPE__REF, oldRef, ref));
+ }
}
}
return ref;
@@ -132,7 +133,7 @@ public class SpecializationTypeImpl extends ElementTypeImpl implements Specializ
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public ElementType basicGetRef() {
@@ -142,20 +143,21 @@ public class SpecializationTypeImpl extends ElementTypeImpl implements Specializ
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setRef(ElementType newRef) {
ElementType oldRef = ref;
ref = newRef;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.SPECIALIZATION_TYPE__REF, oldRef, ref));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String getMatcher() {
@@ -165,20 +167,21 @@ public class SpecializationTypeImpl extends ElementTypeImpl implements Specializ
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setMatcher(String newMatcher) {
String oldMatcher = matcher;
matcher = newMatcher;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.SPECIALIZATION_TYPE__MATCHER, oldMatcher, matcher));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public GenMatcher getGenMatcher() {
@@ -188,18 +191,19 @@ public class SpecializationTypeImpl extends ElementTypeImpl implements Specializ
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public NotificationChain basicSetGenMatcher(GenMatcher newGenMatcher, NotificationChain msgs) {
GenMatcher oldGenMatcher = genMatcher;
genMatcher = newGenMatcher;
- if(eNotificationRequired()) {
+ if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.SPECIALIZATION_TYPE__GEN_MATCHER, oldGenMatcher, newGenMatcher);
- if(msgs == null)
+ if (msgs == null) {
msgs = notification;
- else
+ } else {
msgs.add(notification);
+ }
}
return msgs;
}
@@ -207,27 +211,31 @@ public class SpecializationTypeImpl extends ElementTypeImpl implements Specializ
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setGenMatcher(GenMatcher newGenMatcher) {
- if(newGenMatcher != genMatcher) {
+ if (newGenMatcher != genMatcher) {
NotificationChain msgs = null;
- if(genMatcher != null)
- msgs = ((InternalEObject)genMatcher).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - DomaincontextcodegenPackage.SPECIALIZATION_TYPE__GEN_MATCHER, null, msgs);
- if(newGenMatcher != null)
- msgs = ((InternalEObject)newGenMatcher).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - DomaincontextcodegenPackage.SPECIALIZATION_TYPE__GEN_MATCHER, null, msgs);
+ if (genMatcher != null) {
+ msgs = ((InternalEObject) genMatcher).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - DomaincontextcodegenPackage.SPECIALIZATION_TYPE__GEN_MATCHER, null, msgs);
+ }
+ if (newGenMatcher != null) {
+ msgs = ((InternalEObject) newGenMatcher).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - DomaincontextcodegenPackage.SPECIALIZATION_TYPE__GEN_MATCHER, null, msgs);
+ }
msgs = basicSetGenMatcher(newGenMatcher, msgs);
- if(msgs != null)
+ if (msgs != null) {
msgs.dispatch();
- } else if(eNotificationRequired())
+ }
+ } else if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.SPECIALIZATION_TYPE__GEN_MATCHER, newGenMatcher, newGenMatcher));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public GenHelper getGenHelper() {
@@ -237,18 +245,19 @@ public class SpecializationTypeImpl extends ElementTypeImpl implements Specializ
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public NotificationChain basicSetGenHelper(GenHelper newGenHelper, NotificationChain msgs) {
GenHelper oldGenHelper = genHelper;
genHelper = newGenHelper;
- if(eNotificationRequired()) {
+ if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.SPECIALIZATION_TYPE__GEN_HELPER, oldGenHelper, newGenHelper);
- if(msgs == null)
+ if (msgs == null) {
msgs = notification;
- else
+ } else {
msgs.add(notification);
+ }
}
return msgs;
}
@@ -256,32 +265,36 @@ public class SpecializationTypeImpl extends ElementTypeImpl implements Specializ
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setGenHelper(GenHelper newGenHelper) {
- if(newGenHelper != genHelper) {
+ if (newGenHelper != genHelper) {
NotificationChain msgs = null;
- if(genHelper != null)
- msgs = ((InternalEObject)genHelper).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - DomaincontextcodegenPackage.SPECIALIZATION_TYPE__GEN_HELPER, null, msgs);
- if(newGenHelper != null)
- msgs = ((InternalEObject)newGenHelper).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - DomaincontextcodegenPackage.SPECIALIZATION_TYPE__GEN_HELPER, null, msgs);
+ if (genHelper != null) {
+ msgs = ((InternalEObject) genHelper).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - DomaincontextcodegenPackage.SPECIALIZATION_TYPE__GEN_HELPER, null, msgs);
+ }
+ if (newGenHelper != null) {
+ msgs = ((InternalEObject) newGenHelper).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - DomaincontextcodegenPackage.SPECIALIZATION_TYPE__GEN_HELPER, null, msgs);
+ }
msgs = basicSetGenHelper(newGenHelper, msgs);
- if(msgs != null)
+ if (msgs != null) {
msgs.dispatch();
- } else if(eNotificationRequired())
+ }
+ } else if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.SPECIALIZATION_TYPE__GEN_HELPER, newGenHelper, newGenHelper));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.SPECIALIZATION_TYPE__GEN_MATCHER:
return basicSetGenMatcher(null, msgs);
case DomaincontextcodegenPackage.SPECIALIZATION_TYPE__GEN_HELPER:
@@ -293,15 +306,16 @@ public class SpecializationTypeImpl extends ElementTypeImpl implements Specializ
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.SPECIALIZATION_TYPE__REF:
- if(resolve)
+ if (resolve) {
return getRef();
+ }
return basicGetRef();
case DomaincontextcodegenPackage.SPECIALIZATION_TYPE__MATCHER:
return getMatcher();
@@ -316,23 +330,23 @@ public class SpecializationTypeImpl extends ElementTypeImpl implements Specializ
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.SPECIALIZATION_TYPE__REF:
- setRef((ElementType)newValue);
+ setRef((ElementType) newValue);
return;
case DomaincontextcodegenPackage.SPECIALIZATION_TYPE__MATCHER:
- setMatcher((String)newValue);
+ setMatcher((String) newValue);
return;
case DomaincontextcodegenPackage.SPECIALIZATION_TYPE__GEN_MATCHER:
- setGenMatcher((GenMatcher)newValue);
+ setGenMatcher((GenMatcher) newValue);
return;
case DomaincontextcodegenPackage.SPECIALIZATION_TYPE__GEN_HELPER:
- setGenHelper((GenHelper)newValue);
+ setGenHelper((GenHelper) newValue);
return;
}
super.eSet(featureID, newValue);
@@ -341,23 +355,23 @@ public class SpecializationTypeImpl extends ElementTypeImpl implements Specializ
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.SPECIALIZATION_TYPE__REF:
- setRef((ElementType)null);
+ setRef((ElementType) null);
return;
case DomaincontextcodegenPackage.SPECIALIZATION_TYPE__MATCHER:
setMatcher(MATCHER_EDEFAULT);
return;
case DomaincontextcodegenPackage.SPECIALIZATION_TYPE__GEN_MATCHER:
- setGenMatcher((GenMatcher)null);
+ setGenMatcher((GenMatcher) null);
return;
case DomaincontextcodegenPackage.SPECIALIZATION_TYPE__GEN_HELPER:
- setGenHelper((GenHelper)null);
+ setGenHelper((GenHelper) null);
return;
}
super.eUnset(featureID);
@@ -366,12 +380,12 @@ public class SpecializationTypeImpl extends ElementTypeImpl implements Specializ
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.SPECIALIZATION_TYPE__REF:
return ref != null;
case DomaincontextcodegenPackage.SPECIALIZATION_TYPE__MATCHER:
@@ -387,13 +401,14 @@ public class SpecializationTypeImpl extends ElementTypeImpl implements Specializ
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public String toString() {
- if(eIsProxy())
+ if (eIsProxy()) {
return super.toString();
+ }
StringBuffer result = new StringBuffer(super.toString());
result.append(" (matcher: ");
@@ -402,4 +417,4 @@ public class SpecializationTypeImpl extends ElementTypeImpl implements Specializ
return result.toString();
}
-} //SpecializationTypeImpl
+} // SpecializationTypeImpl
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/StereotypedElementHelperImpl.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/StereotypedElementHelperImpl.java
index f19783d7a4c..58e592e0535 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/StereotypedElementHelperImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/StereotypedElementHelperImpl.java
@@ -25,7 +25,7 @@ import org.eclipse.papyrus.domaincontextcodegen.StereotypedElementHelper;
* <li>{@link org.eclipse.papyrus.domaincontextcodegen.impl.StereotypedElementHelperImpl#getBaseElementPackage <em>Base Element Package</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class StereotypedElementHelperImpl extends GenHelperImpl implements StereotypedElementHelper {
@@ -34,7 +34,7 @@ public class StereotypedElementHelperImpl extends GenHelperImpl implements Stere
* The default value of the '{@link #getStereotypeName() <em>Stereotype Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getStereotypeName()
* @generated
* @ordered
@@ -45,7 +45,7 @@ public class StereotypedElementHelperImpl extends GenHelperImpl implements Stere
* The cached value of the '{@link #getStereotypeName() <em>Stereotype Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getStereotypeName()
* @generated
* @ordered
@@ -56,7 +56,7 @@ public class StereotypedElementHelperImpl extends GenHelperImpl implements Stere
* The default value of the '{@link #getStereotypePackage() <em>Stereotype Package</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getStereotypePackage()
* @generated
* @ordered
@@ -67,7 +67,7 @@ public class StereotypedElementHelperImpl extends GenHelperImpl implements Stere
* The cached value of the '{@link #getStereotypePackage() <em>Stereotype Package</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getStereotypePackage()
* @generated
* @ordered
@@ -78,7 +78,7 @@ public class StereotypedElementHelperImpl extends GenHelperImpl implements Stere
* The default value of the '{@link #getBaseElementName() <em>Base Element Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getBaseElementName()
* @generated
* @ordered
@@ -89,7 +89,7 @@ public class StereotypedElementHelperImpl extends GenHelperImpl implements Stere
* The cached value of the '{@link #getBaseElementName() <em>Base Element Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getBaseElementName()
* @generated
* @ordered
@@ -100,7 +100,7 @@ public class StereotypedElementHelperImpl extends GenHelperImpl implements Stere
* The default value of the '{@link #getBaseElementPackage() <em>Base Element Package</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getBaseElementPackage()
* @generated
* @ordered
@@ -111,7 +111,7 @@ public class StereotypedElementHelperImpl extends GenHelperImpl implements Stere
* The cached value of the '{@link #getBaseElementPackage() <em>Base Element Package</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getBaseElementPackage()
* @generated
* @ordered
@@ -121,7 +121,7 @@ public class StereotypedElementHelperImpl extends GenHelperImpl implements Stere
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected StereotypedElementHelperImpl() {
@@ -131,7 +131,7 @@ public class StereotypedElementHelperImpl extends GenHelperImpl implements Stere
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -142,7 +142,7 @@ public class StereotypedElementHelperImpl extends GenHelperImpl implements Stere
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String getStereotypeName() {
@@ -152,20 +152,21 @@ public class StereotypedElementHelperImpl extends GenHelperImpl implements Stere
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setStereotypeName(String newStereotypeName) {
String oldStereotypeName = stereotypeName;
stereotypeName = newStereotypeName;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.STEREOTYPED_ELEMENT_HELPER__STEREOTYPE_NAME, oldStereotypeName, stereotypeName));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String getStereotypePackage() {
@@ -175,20 +176,21 @@ public class StereotypedElementHelperImpl extends GenHelperImpl implements Stere
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setStereotypePackage(String newStereotypePackage) {
String oldStereotypePackage = stereotypePackage;
stereotypePackage = newStereotypePackage;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.STEREOTYPED_ELEMENT_HELPER__STEREOTYPE_PACKAGE, oldStereotypePackage, stereotypePackage));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String getBaseElementName() {
@@ -198,20 +200,21 @@ public class StereotypedElementHelperImpl extends GenHelperImpl implements Stere
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setBaseElementName(String newBaseElementName) {
String oldBaseElementName = baseElementName;
baseElementName = newBaseElementName;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.STEREOTYPED_ELEMENT_HELPER__BASE_ELEMENT_NAME, oldBaseElementName, baseElementName));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String getBaseElementPackage() {
@@ -221,25 +224,26 @@ public class StereotypedElementHelperImpl extends GenHelperImpl implements Stere
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setBaseElementPackage(String newBaseElementPackage) {
String oldBaseElementPackage = baseElementPackage;
baseElementPackage = newBaseElementPackage;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.STEREOTYPED_ELEMENT_HELPER__BASE_ELEMENT_PACKAGE, oldBaseElementPackage, baseElementPackage));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.STEREOTYPED_ELEMENT_HELPER__STEREOTYPE_NAME:
return getStereotypeName();
case DomaincontextcodegenPackage.STEREOTYPED_ELEMENT_HELPER__STEREOTYPE_PACKAGE:
@@ -255,23 +259,23 @@ public class StereotypedElementHelperImpl extends GenHelperImpl implements Stere
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.STEREOTYPED_ELEMENT_HELPER__STEREOTYPE_NAME:
- setStereotypeName((String)newValue);
+ setStereotypeName((String) newValue);
return;
case DomaincontextcodegenPackage.STEREOTYPED_ELEMENT_HELPER__STEREOTYPE_PACKAGE:
- setStereotypePackage((String)newValue);
+ setStereotypePackage((String) newValue);
return;
case DomaincontextcodegenPackage.STEREOTYPED_ELEMENT_HELPER__BASE_ELEMENT_NAME:
- setBaseElementName((String)newValue);
+ setBaseElementName((String) newValue);
return;
case DomaincontextcodegenPackage.STEREOTYPED_ELEMENT_HELPER__BASE_ELEMENT_PACKAGE:
- setBaseElementPackage((String)newValue);
+ setBaseElementPackage((String) newValue);
return;
}
super.eSet(featureID, newValue);
@@ -280,12 +284,12 @@ public class StereotypedElementHelperImpl extends GenHelperImpl implements Stere
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.STEREOTYPED_ELEMENT_HELPER__STEREOTYPE_NAME:
setStereotypeName(STEREOTYPE_NAME_EDEFAULT);
return;
@@ -305,12 +309,12 @@ public class StereotypedElementHelperImpl extends GenHelperImpl implements Stere
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.STEREOTYPED_ELEMENT_HELPER__STEREOTYPE_NAME:
return STEREOTYPE_NAME_EDEFAULT == null ? stereotypeName != null : !STEREOTYPE_NAME_EDEFAULT.equals(stereotypeName);
case DomaincontextcodegenPackage.STEREOTYPED_ELEMENT_HELPER__STEREOTYPE_PACKAGE:
@@ -326,13 +330,14 @@ public class StereotypedElementHelperImpl extends GenHelperImpl implements Stere
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public String toString() {
- if(eIsProxy())
+ if (eIsProxy()) {
return super.toString();
+ }
StringBuffer result = new StringBuffer(super.toString());
result.append(" (stereotypeName: ");
@@ -347,4 +352,4 @@ public class StereotypedElementHelperImpl extends GenHelperImpl implements Stere
return result.toString();
}
-} //StereotypedElementHelperImpl
+} // StereotypedElementHelperImpl
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/StereotypedElementMatcherImpl.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/StereotypedElementMatcherImpl.java
index 5456f04c403..0ca45ca5bed 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/StereotypedElementMatcherImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/StereotypedElementMatcherImpl.java
@@ -25,7 +25,7 @@ import org.eclipse.papyrus.domaincontextcodegen.StereotypedElementMatcher;
* <li>{@link org.eclipse.papyrus.domaincontextcodegen.impl.StereotypedElementMatcherImpl#getBaseElementPackage <em>Base Element Package</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class StereotypedElementMatcherImpl extends GenMatcherImpl implements StereotypedElementMatcher {
@@ -34,7 +34,7 @@ public class StereotypedElementMatcherImpl extends GenMatcherImpl implements Ste
* The default value of the '{@link #getStereotypeName() <em>Stereotype Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getStereotypeName()
* @generated
* @ordered
@@ -45,7 +45,7 @@ public class StereotypedElementMatcherImpl extends GenMatcherImpl implements Ste
* The cached value of the '{@link #getStereotypeName() <em>Stereotype Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getStereotypeName()
* @generated
* @ordered
@@ -56,7 +56,7 @@ public class StereotypedElementMatcherImpl extends GenMatcherImpl implements Ste
* The default value of the '{@link #getStereotypePackage() <em>Stereotype Package</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getStereotypePackage()
* @generated
* @ordered
@@ -67,7 +67,7 @@ public class StereotypedElementMatcherImpl extends GenMatcherImpl implements Ste
* The cached value of the '{@link #getStereotypePackage() <em>Stereotype Package</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getStereotypePackage()
* @generated
* @ordered
@@ -78,7 +78,7 @@ public class StereotypedElementMatcherImpl extends GenMatcherImpl implements Ste
* The default value of the '{@link #getBaseElementName() <em>Base Element Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getBaseElementName()
* @generated
* @ordered
@@ -89,7 +89,7 @@ public class StereotypedElementMatcherImpl extends GenMatcherImpl implements Ste
* The cached value of the '{@link #getBaseElementName() <em>Base Element Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getBaseElementName()
* @generated
* @ordered
@@ -100,7 +100,7 @@ public class StereotypedElementMatcherImpl extends GenMatcherImpl implements Ste
* The default value of the '{@link #getBaseElementPackage() <em>Base Element Package</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getBaseElementPackage()
* @generated
* @ordered
@@ -111,7 +111,7 @@ public class StereotypedElementMatcherImpl extends GenMatcherImpl implements Ste
* The cached value of the '{@link #getBaseElementPackage() <em>Base Element Package</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getBaseElementPackage()
* @generated
* @ordered
@@ -121,7 +121,7 @@ public class StereotypedElementMatcherImpl extends GenMatcherImpl implements Ste
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected StereotypedElementMatcherImpl() {
@@ -131,7 +131,7 @@ public class StereotypedElementMatcherImpl extends GenMatcherImpl implements Ste
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -142,7 +142,7 @@ public class StereotypedElementMatcherImpl extends GenMatcherImpl implements Ste
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String getStereotypeName() {
@@ -152,20 +152,21 @@ public class StereotypedElementMatcherImpl extends GenMatcherImpl implements Ste
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setStereotypeName(String newStereotypeName) {
String oldStereotypeName = stereotypeName;
stereotypeName = newStereotypeName;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.STEREOTYPED_ELEMENT_MATCHER__STEREOTYPE_NAME, oldStereotypeName, stereotypeName));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String getStereotypePackage() {
@@ -175,20 +176,21 @@ public class StereotypedElementMatcherImpl extends GenMatcherImpl implements Ste
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setStereotypePackage(String newStereotypePackage) {
String oldStereotypePackage = stereotypePackage;
stereotypePackage = newStereotypePackage;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.STEREOTYPED_ELEMENT_MATCHER__STEREOTYPE_PACKAGE, oldStereotypePackage, stereotypePackage));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String getBaseElementName() {
@@ -198,20 +200,21 @@ public class StereotypedElementMatcherImpl extends GenMatcherImpl implements Ste
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setBaseElementName(String newBaseElementName) {
String oldBaseElementName = baseElementName;
baseElementName = newBaseElementName;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.STEREOTYPED_ELEMENT_MATCHER__BASE_ELEMENT_NAME, oldBaseElementName, baseElementName));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String getBaseElementPackage() {
@@ -221,25 +224,26 @@ public class StereotypedElementMatcherImpl extends GenMatcherImpl implements Ste
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setBaseElementPackage(String newBaseElementPackage) {
String oldBaseElementPackage = baseElementPackage;
baseElementPackage = newBaseElementPackage;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.STEREOTYPED_ELEMENT_MATCHER__BASE_ELEMENT_PACKAGE, oldBaseElementPackage, baseElementPackage));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.STEREOTYPED_ELEMENT_MATCHER__STEREOTYPE_NAME:
return getStereotypeName();
case DomaincontextcodegenPackage.STEREOTYPED_ELEMENT_MATCHER__STEREOTYPE_PACKAGE:
@@ -255,23 +259,23 @@ public class StereotypedElementMatcherImpl extends GenMatcherImpl implements Ste
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.STEREOTYPED_ELEMENT_MATCHER__STEREOTYPE_NAME:
- setStereotypeName((String)newValue);
+ setStereotypeName((String) newValue);
return;
case DomaincontextcodegenPackage.STEREOTYPED_ELEMENT_MATCHER__STEREOTYPE_PACKAGE:
- setStereotypePackage((String)newValue);
+ setStereotypePackage((String) newValue);
return;
case DomaincontextcodegenPackage.STEREOTYPED_ELEMENT_MATCHER__BASE_ELEMENT_NAME:
- setBaseElementName((String)newValue);
+ setBaseElementName((String) newValue);
return;
case DomaincontextcodegenPackage.STEREOTYPED_ELEMENT_MATCHER__BASE_ELEMENT_PACKAGE:
- setBaseElementPackage((String)newValue);
+ setBaseElementPackage((String) newValue);
return;
}
super.eSet(featureID, newValue);
@@ -280,12 +284,12 @@ public class StereotypedElementMatcherImpl extends GenMatcherImpl implements Ste
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.STEREOTYPED_ELEMENT_MATCHER__STEREOTYPE_NAME:
setStereotypeName(STEREOTYPE_NAME_EDEFAULT);
return;
@@ -305,12 +309,12 @@ public class StereotypedElementMatcherImpl extends GenMatcherImpl implements Ste
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.STEREOTYPED_ELEMENT_MATCHER__STEREOTYPE_NAME:
return STEREOTYPE_NAME_EDEFAULT == null ? stereotypeName != null : !STEREOTYPE_NAME_EDEFAULT.equals(stereotypeName);
case DomaincontextcodegenPackage.STEREOTYPED_ELEMENT_MATCHER__STEREOTYPE_PACKAGE:
@@ -326,13 +330,14 @@ public class StereotypedElementMatcherImpl extends GenMatcherImpl implements Ste
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public String toString() {
- if(eIsProxy())
+ if (eIsProxy()) {
return super.toString();
+ }
StringBuffer result = new StringBuffer(super.toString());
result.append(" (stereotypeName: ");
@@ -347,4 +352,4 @@ public class StereotypedElementMatcherImpl extends GenMatcherImpl implements Ste
return result.toString();
}
-} //StereotypedElementMatcherImpl
+} // StereotypedElementMatcherImpl
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/util/DomaincontextcodegenAdapterFactory.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/util/DomaincontextcodegenAdapterFactory.java
index c4717c77403..ee677dbc959 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/util/DomaincontextcodegenAdapterFactory.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/util/DomaincontextcodegenAdapterFactory.java
@@ -35,7 +35,7 @@ import org.eclipse.papyrus.domaincontextcodegen.StereotypedElementMatcher;
* The <b>Adapter Factory</b> for the model.
* It provides an adapter <code>createXXX</code> method for each class of the model.
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage
* @generated
*/
@@ -45,7 +45,7 @@ public class DomaincontextcodegenAdapterFactory extends AdapterFactoryImpl {
* The cached model package.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected static DomaincontextcodegenPackage modelPackage;
@@ -54,11 +54,11 @@ public class DomaincontextcodegenAdapterFactory extends AdapterFactoryImpl {
* Creates an instance of the adapter factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public DomaincontextcodegenAdapterFactory() {
- if(modelPackage == null) {
+ if (modelPackage == null) {
modelPackage = DomaincontextcodegenPackage.eINSTANCE;
}
}
@@ -68,17 +68,17 @@ public class DomaincontextcodegenAdapterFactory extends AdapterFactoryImpl {
* <!-- begin-user-doc -->
* This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
* <!-- end-user-doc -->
- *
+ *
* @return whether this factory is applicable for the type of the object.
* @generated
*/
@Override
public boolean isFactoryForType(Object object) {
- if(object == modelPackage) {
+ if (object == modelPackage) {
return true;
}
- if(object instanceof EObject) {
- return ((EObject)object).eClass().getEPackage() == modelPackage;
+ if (object instanceof EObject) {
+ return ((EObject) object).eClass().getEPackage() == modelPackage;
}
return false;
}
@@ -87,7 +87,7 @@ public class DomaincontextcodegenAdapterFactory extends AdapterFactoryImpl {
* The switch that delegates to the <code>createXXX</code> methods.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected DomaincontextcodegenSwitch<Adapter> modelSwitch = new DomaincontextcodegenSwitch<Adapter>() {
@@ -192,15 +192,15 @@ public class DomaincontextcodegenAdapterFactory extends AdapterFactoryImpl {
* Creates an adapter for the <code>target</code>.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param target
- * the object to adapt.
+ * the object to adapt.
* @return the adapter for the <code>target</code>.
* @generated
*/
@Override
public Adapter createAdapter(Notifier target) {
- return modelSwitch.doSwitch((EObject)target);
+ return modelSwitch.doSwitch((EObject) target);
}
/**
@@ -209,7 +209,7 @@ public class DomaincontextcodegenAdapterFactory extends AdapterFactoryImpl {
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.domaincontextcodegen.DomainContext
* @generated
@@ -224,7 +224,7 @@ public class DomaincontextcodegenAdapterFactory extends AdapterFactoryImpl {
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.domaincontextcodegen.ElementTypes
* @generated
@@ -239,7 +239,7 @@ public class DomaincontextcodegenAdapterFactory extends AdapterFactoryImpl {
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.domaincontextcodegen.ElementType
* @generated
@@ -254,7 +254,7 @@ public class DomaincontextcodegenAdapterFactory extends AdapterFactoryImpl {
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.domaincontextcodegen.MetaClassType
* @generated
@@ -264,13 +264,12 @@ public class DomaincontextcodegenAdapterFactory extends AdapterFactoryImpl {
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.domaincontextcodegen.SpecializationType <em>Specialization Type</em>}
- * '.
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.domaincontextcodegen.SpecializationType <em>Specialization Type</em>} '.
* <!-- begin-user-doc -->
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.domaincontextcodegen.SpecializationType
* @generated
@@ -285,7 +284,7 @@ public class DomaincontextcodegenAdapterFactory extends AdapterFactoryImpl {
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.domaincontextcodegen.Advice
* @generated
@@ -301,7 +300,7 @@ public class DomaincontextcodegenAdapterFactory extends AdapterFactoryImpl {
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.domaincontextcodegen.ElementTypeBindings
* @generated
@@ -316,7 +315,7 @@ public class DomaincontextcodegenAdapterFactory extends AdapterFactoryImpl {
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.domaincontextcodegen.AdviceBinding
* @generated
@@ -331,7 +330,7 @@ public class DomaincontextcodegenAdapterFactory extends AdapterFactoryImpl {
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.domaincontextcodegen.Binding
* @generated
@@ -341,13 +340,12 @@ public class DomaincontextcodegenAdapterFactory extends AdapterFactoryImpl {
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.domaincontextcodegen.ElementTypeBinding <em>Element Type Binding</em>}
- * '.
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.domaincontextcodegen.ElementTypeBinding <em>Element Type Binding</em>} '.
* <!-- begin-user-doc -->
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.domaincontextcodegen.ElementTypeBinding
* @generated
@@ -362,7 +360,7 @@ public class DomaincontextcodegenAdapterFactory extends AdapterFactoryImpl {
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.domaincontextcodegen.GenHandlers
* @generated
@@ -377,7 +375,7 @@ public class DomaincontextcodegenAdapterFactory extends AdapterFactoryImpl {
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.domaincontextcodegen.GenMatcher
* @generated
@@ -392,7 +390,7 @@ public class DomaincontextcodegenAdapterFactory extends AdapterFactoryImpl {
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.domaincontextcodegen.GenHelper
* @generated
@@ -408,7 +406,7 @@ public class DomaincontextcodegenAdapterFactory extends AdapterFactoryImpl {
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.domaincontextcodegen.StereotypedElementMatcher
* @generated
@@ -424,7 +422,7 @@ public class DomaincontextcodegenAdapterFactory extends AdapterFactoryImpl {
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.domaincontextcodegen.StereotypedElementHelper
* @generated
@@ -439,7 +437,7 @@ public class DomaincontextcodegenAdapterFactory extends AdapterFactoryImpl {
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.domaincontextcodegen.MenuDeclaration
* @generated
@@ -449,13 +447,12 @@ public class DomaincontextcodegenAdapterFactory extends AdapterFactoryImpl {
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.domaincontextcodegen.CommandDeclaration <em>Command Declaration</em>}
- * '.
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.domaincontextcodegen.CommandDeclaration <em>Command Declaration</em>} '.
* <!-- begin-user-doc -->
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.domaincontextcodegen.CommandDeclaration
* @generated
@@ -470,7 +467,7 @@ public class DomaincontextcodegenAdapterFactory extends AdapterFactoryImpl {
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.domaincontextcodegen.Command
* @generated
@@ -484,7 +481,7 @@ public class DomaincontextcodegenAdapterFactory extends AdapterFactoryImpl {
* <!-- begin-user-doc -->
* This default implementation returns null.
* <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @generated
*/
@@ -492,4 +489,4 @@ public class DomaincontextcodegenAdapterFactory extends AdapterFactoryImpl {
return null;
}
-} //DomaincontextcodegenAdapterFactory
+} // DomaincontextcodegenAdapterFactory
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/util/DomaincontextcodegenSwitch.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/util/DomaincontextcodegenSwitch.java
index e0f95a4a220..1492533ad2a 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/util/DomaincontextcodegenSwitch.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/util/DomaincontextcodegenSwitch.java
@@ -38,7 +38,7 @@ import org.eclipse.papyrus.domaincontextcodegen.StereotypedElementMatcher;
* until a non-null result is returned,
* which is the result of the switch.
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage
* @generated
*/
@@ -48,7 +48,7 @@ public class DomaincontextcodegenSwitch<T> extends Switch<T> {
* The cached model package
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected static DomaincontextcodegenPackage modelPackage;
@@ -57,11 +57,11 @@ public class DomaincontextcodegenSwitch<T> extends Switch<T> {
* Creates an instance of the switch.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public DomaincontextcodegenSwitch() {
- if(modelPackage == null) {
+ if (modelPackage == null) {
modelPackage = DomaincontextcodegenPackage.eINSTANCE;
}
}
@@ -70,7 +70,7 @@ public class DomaincontextcodegenSwitch<T> extends Switch<T> {
* Checks whether this is a switch for the given package.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @parameter ePackage the package in question.
* @return whether this is a switch for the given package.
* @generated
@@ -84,167 +84,173 @@ public class DomaincontextcodegenSwitch<T> extends Switch<T> {
* Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the first non-null result returned by a <code>caseXXX</code> call.
* @generated
*/
@Override
protected T doSwitch(int classifierID, EObject theEObject) {
- switch(classifierID) {
- case DomaincontextcodegenPackage.DOMAIN_CONTEXT:
- {
- DomainContext domainContext = (DomainContext)theEObject;
+ switch (classifierID) {
+ case DomaincontextcodegenPackage.DOMAIN_CONTEXT: {
+ DomainContext domainContext = (DomainContext) theEObject;
T result = caseDomainContext(domainContext);
- if(result == null)
+ if (result == null) {
result = defaultCase(theEObject);
+ }
return result;
}
- case DomaincontextcodegenPackage.ELEMENT_TYPES:
- {
- ElementTypes elementTypes = (ElementTypes)theEObject;
+ case DomaincontextcodegenPackage.ELEMENT_TYPES: {
+ ElementTypes elementTypes = (ElementTypes) theEObject;
T result = caseElementTypes(elementTypes);
- if(result == null)
+ if (result == null) {
result = defaultCase(theEObject);
+ }
return result;
}
- case DomaincontextcodegenPackage.ELEMENT_TYPE:
- {
- ElementType elementType = (ElementType)theEObject;
+ case DomaincontextcodegenPackage.ELEMENT_TYPE: {
+ ElementType elementType = (ElementType) theEObject;
T result = caseElementType(elementType);
- if(result == null)
+ if (result == null) {
result = defaultCase(theEObject);
+ }
return result;
}
- case DomaincontextcodegenPackage.META_CLASS_TYPE:
- {
- MetaClassType metaClassType = (MetaClassType)theEObject;
+ case DomaincontextcodegenPackage.META_CLASS_TYPE: {
+ MetaClassType metaClassType = (MetaClassType) theEObject;
T result = caseMetaClassType(metaClassType);
- if(result == null)
+ if (result == null) {
result = caseElementType(metaClassType);
- if(result == null)
+ }
+ if (result == null) {
result = defaultCase(theEObject);
+ }
return result;
}
- case DomaincontextcodegenPackage.SPECIALIZATION_TYPE:
- {
- SpecializationType specializationType = (SpecializationType)theEObject;
+ case DomaincontextcodegenPackage.SPECIALIZATION_TYPE: {
+ SpecializationType specializationType = (SpecializationType) theEObject;
T result = caseSpecializationType(specializationType);
- if(result == null)
+ if (result == null) {
result = caseElementType(specializationType);
- if(result == null)
+ }
+ if (result == null) {
result = defaultCase(theEObject);
+ }
return result;
}
- case DomaincontextcodegenPackage.ADVICE:
- {
- Advice advice = (Advice)theEObject;
+ case DomaincontextcodegenPackage.ADVICE: {
+ Advice advice = (Advice) theEObject;
T result = caseAdvice(advice);
- if(result == null)
+ if (result == null) {
result = defaultCase(theEObject);
+ }
return result;
}
- case DomaincontextcodegenPackage.ELEMENT_TYPE_BINDINGS:
- {
- ElementTypeBindings elementTypeBindings = (ElementTypeBindings)theEObject;
+ case DomaincontextcodegenPackage.ELEMENT_TYPE_BINDINGS: {
+ ElementTypeBindings elementTypeBindings = (ElementTypeBindings) theEObject;
T result = caseElementTypeBindings(elementTypeBindings);
- if(result == null)
+ if (result == null) {
result = defaultCase(theEObject);
+ }
return result;
}
- case DomaincontextcodegenPackage.BINDING:
- {
- Binding binding = (Binding)theEObject;
+ case DomaincontextcodegenPackage.BINDING: {
+ Binding binding = (Binding) theEObject;
T result = caseBinding(binding);
- if(result == null)
+ if (result == null) {
result = defaultCase(theEObject);
+ }
return result;
}
- case DomaincontextcodegenPackage.ELEMENT_TYPE_BINDING:
- {
- ElementTypeBinding elementTypeBinding = (ElementTypeBinding)theEObject;
+ case DomaincontextcodegenPackage.ELEMENT_TYPE_BINDING: {
+ ElementTypeBinding elementTypeBinding = (ElementTypeBinding) theEObject;
T result = caseElementTypeBinding(elementTypeBinding);
- if(result == null)
+ if (result == null) {
result = caseBinding(elementTypeBinding);
- if(result == null)
+ }
+ if (result == null) {
result = defaultCase(theEObject);
+ }
return result;
}
- case DomaincontextcodegenPackage.ADVICE_BINDING:
- {
- AdviceBinding adviceBinding = (AdviceBinding)theEObject;
+ case DomaincontextcodegenPackage.ADVICE_BINDING: {
+ AdviceBinding adviceBinding = (AdviceBinding) theEObject;
T result = caseAdviceBinding(adviceBinding);
- if(result == null)
+ if (result == null) {
result = caseBinding(adviceBinding);
- if(result == null)
+ }
+ if (result == null) {
result = defaultCase(theEObject);
+ }
return result;
}
- case DomaincontextcodegenPackage.GEN_HANDLERS:
- {
- GenHandlers genHandlers = (GenHandlers)theEObject;
+ case DomaincontextcodegenPackage.GEN_HANDLERS: {
+ GenHandlers genHandlers = (GenHandlers) theEObject;
T result = caseGenHandlers(genHandlers);
- if(result == null)
+ if (result == null) {
result = defaultCase(theEObject);
+ }
return result;
}
- case DomaincontextcodegenPackage.GEN_MATCHER:
- {
- GenMatcher genMatcher = (GenMatcher)theEObject;
+ case DomaincontextcodegenPackage.GEN_MATCHER: {
+ GenMatcher genMatcher = (GenMatcher) theEObject;
T result = caseGenMatcher(genMatcher);
- if(result == null)
+ if (result == null) {
result = defaultCase(theEObject);
+ }
return result;
}
- case DomaincontextcodegenPackage.GEN_HELPER:
- {
- GenHelper genHelper = (GenHelper)theEObject;
+ case DomaincontextcodegenPackage.GEN_HELPER: {
+ GenHelper genHelper = (GenHelper) theEObject;
T result = caseGenHelper(genHelper);
- if(result == null)
+ if (result == null) {
result = defaultCase(theEObject);
+ }
return result;
}
- case DomaincontextcodegenPackage.STEREOTYPED_ELEMENT_MATCHER:
- {
- StereotypedElementMatcher stereotypedElementMatcher = (StereotypedElementMatcher)theEObject;
+ case DomaincontextcodegenPackage.STEREOTYPED_ELEMENT_MATCHER: {
+ StereotypedElementMatcher stereotypedElementMatcher = (StereotypedElementMatcher) theEObject;
T result = caseStereotypedElementMatcher(stereotypedElementMatcher);
- if(result == null)
+ if (result == null) {
result = caseGenMatcher(stereotypedElementMatcher);
- if(result == null)
+ }
+ if (result == null) {
result = defaultCase(theEObject);
+ }
return result;
}
- case DomaincontextcodegenPackage.STEREOTYPED_ELEMENT_HELPER:
- {
- StereotypedElementHelper stereotypedElementHelper = (StereotypedElementHelper)theEObject;
+ case DomaincontextcodegenPackage.STEREOTYPED_ELEMENT_HELPER: {
+ StereotypedElementHelper stereotypedElementHelper = (StereotypedElementHelper) theEObject;
T result = caseStereotypedElementHelper(stereotypedElementHelper);
- if(result == null)
+ if (result == null) {
result = caseGenHelper(stereotypedElementHelper);
- if(result == null)
+ }
+ if (result == null) {
result = defaultCase(theEObject);
+ }
return result;
}
- case DomaincontextcodegenPackage.MENU_DECLARATION:
- {
- MenuDeclaration menuDeclaration = (MenuDeclaration)theEObject;
+ case DomaincontextcodegenPackage.MENU_DECLARATION: {
+ MenuDeclaration menuDeclaration = (MenuDeclaration) theEObject;
T result = caseMenuDeclaration(menuDeclaration);
- if(result == null)
+ if (result == null) {
result = defaultCase(theEObject);
+ }
return result;
}
- case DomaincontextcodegenPackage.COMMAND_DECLARATION:
- {
- CommandDeclaration commandDeclaration = (CommandDeclaration)theEObject;
+ case DomaincontextcodegenPackage.COMMAND_DECLARATION: {
+ CommandDeclaration commandDeclaration = (CommandDeclaration) theEObject;
T result = caseCommandDeclaration(commandDeclaration);
- if(result == null)
+ if (result == null) {
result = defaultCase(theEObject);
+ }
return result;
}
- case DomaincontextcodegenPackage.COMMAND:
- {
- Command command = (Command)theEObject;
+ case DomaincontextcodegenPackage.COMMAND: {
+ Command command = (Command) theEObject;
T result = caseCommand(command);
- if(result == null)
+ if (result == null) {
result = defaultCase(theEObject);
+ }
return result;
}
default:
@@ -258,9 +264,9 @@ public class DomaincontextcodegenSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- *
+ *
* @param object
- * the target of the switch.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Domain Context</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -275,9 +281,9 @@ public class DomaincontextcodegenSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- *
+ *
* @param object
- * the target of the switch.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Element Types</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -292,9 +298,9 @@ public class DomaincontextcodegenSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- *
+ *
* @param object
- * the target of the switch.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Element Type</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -309,9 +315,9 @@ public class DomaincontextcodegenSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- *
+ *
* @param object
- * the target of the switch.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Meta Class Type</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -326,9 +332,9 @@ public class DomaincontextcodegenSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- *
+ *
* @param object
- * the target of the switch.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Specialization Type</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -343,9 +349,9 @@ public class DomaincontextcodegenSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- *
+ *
* @param object
- * the target of the switch.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Advice</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -360,9 +366,9 @@ public class DomaincontextcodegenSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- *
+ *
* @param object
- * the target of the switch.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Element Type Bindings</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -377,9 +383,9 @@ public class DomaincontextcodegenSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- *
+ *
* @param object
- * the target of the switch.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Advice Binding</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -394,9 +400,9 @@ public class DomaincontextcodegenSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- *
+ *
* @param object
- * the target of the switch.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Binding</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -411,9 +417,9 @@ public class DomaincontextcodegenSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- *
+ *
* @param object
- * the target of the switch.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Element Type Binding</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -428,9 +434,9 @@ public class DomaincontextcodegenSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- *
+ *
* @param object
- * the target of the switch.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Gen Handlers</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -445,9 +451,9 @@ public class DomaincontextcodegenSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- *
+ *
* @param object
- * the target of the switch.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Gen Matcher</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -462,9 +468,9 @@ public class DomaincontextcodegenSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- *
+ *
* @param object
- * the target of the switch.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Gen Helper</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -479,9 +485,9 @@ public class DomaincontextcodegenSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- *
+ *
* @param object
- * the target of the switch.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Stereotyped Element Matcher</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -496,9 +502,9 @@ public class DomaincontextcodegenSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- *
+ *
* @param object
- * the target of the switch.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Stereotyped Element Helper</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -513,9 +519,9 @@ public class DomaincontextcodegenSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- *
+ *
* @param object
- * the target of the switch.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Menu Declaration</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -530,9 +536,9 @@ public class DomaincontextcodegenSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- *
+ *
* @param object
- * the target of the switch.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Command Declaration</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -547,9 +553,9 @@ public class DomaincontextcodegenSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- *
+ *
* @param object
- * the target of the switch.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Command</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -564,9 +570,9 @@ public class DomaincontextcodegenSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch, but this is the last case anyway.
* <!-- end-user-doc -->
- *
+ *
* @param object
- * the target of the switch.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>EObject</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject)
* @generated
@@ -576,4 +582,4 @@ public class DomaincontextcodegenSwitch<T> extends Switch<T> {
return null;
}
-} //DomaincontextcodegenSwitch
+} // DomaincontextcodegenSwitch
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/transforsrc/org/eclipse/papyrus/domaincontextcodegen/modules/GenerateHandlers.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/transforsrc/org/eclipse/papyrus/domaincontextcodegen/modules/GenerateHandlers.java
index eb6e1300ed4..a1e9db722fa 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/transforsrc/org/eclipse/papyrus/domaincontextcodegen/modules/GenerateHandlers.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/transforsrc/org/eclipse/papyrus/domaincontextcodegen/modules/GenerateHandlers.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Obeo - initial API and implementation
*******************************************************************************/
@@ -30,380 +30,371 @@ import org.eclipse.emf.ecore.resource.ResourceSet;
* @generated
*/
public class GenerateHandlers extends AbstractAcceleoGenerator {
- /**
- * The name of the module.
- *
- * @generated
- */
- public static final String MODULE_FILE_NAME = "/org/eclipse/papyrus/domaincontextcodegen/modules/generateHandlers";
-
- /**
- * The name of the templates that are to be generated.
- *
- * @generated
- */
- public static final String[] TEMPLATE_NAMES = { "generateHandlers" };
-
- /**
- * The list of properties files from the launch parameters (Launch configuration).
- *
- * @generated
- */
- private List<String> propertiesFiles = new ArrayList<String>();
-
- /**
- * Allows the public constructor to be used. Note that a generator created
- * this way cannot be used to launch generations before one of
- * {@link #initialize(EObject, File, List)} or
- * {@link #initialize(URI, File, List)} is called.
- * <p>
- * The main reason for this constructor is to allow clients of this
- * generation to call it from another Java file, as it allows for the
- * retrieval of {@link #getProperties()} and
- * {@link #getGenerationListeners()}.
- * </p>
- *
- * @generated
- */
- public GenerateHandlers() {
- // Empty implementation
- }
-
- /**
- * This allows clients to instantiates a generator with all required information.
- *
- * @param modelURI
- * URI where the model on which this generator will be used is located.
- * @param targetFolder
- * This will be used as the output folder for this generation : it will be the base path
- * against which all file block URLs will be resolved.
- * @param arguments
- * If the template which will be called requires more than one argument taken from the model,
- * pass them here.
- * @throws IOException
- * This can be thrown in three scenarios : the module cannot be found, it cannot be loaded, or
- * the model cannot be loaded.
- * @generated
- */
- public GenerateHandlers(URI modelURI, File targetFolder,
- List<? extends Object> arguments) throws IOException {
- initialize(modelURI, targetFolder, arguments);
- }
-
- /**
- * This allows clients to instantiates a generator with all required information.
- *
- * @param model
- * We'll iterate over the content of this element to find Objects matching the first parameter
- * of the template we need to call.
- * @param targetFolder
- * This will be used as the output folder for this generation : it will be the base path
- * against which all file block URLs will be resolved.
- * @param arguments
- * If the template which will be called requires more than one argument taken from the model,
- * pass them here.
- * @throws IOException
- * This can be thrown in two scenarios : the module cannot be found, or it cannot be loaded.
- * @generated
- */
- public GenerateHandlers(EObject model, File targetFolder,
- List<? extends Object> arguments) throws IOException {
- initialize(model, targetFolder, arguments);
- }
-
- /**
- * This can be used to launch the generation from a standalone application.
- *
- * @param args
- * Arguments of the generation.
- * @generated
- */
- public static void main(String[] args) {
- try {
- if (args.length < 2) {
- System.out.println("Arguments not valid : {model, folder}.");
- } else {
- URI modelURI = URI.createFileURI(args[0]);
- File folder = new File(args[1]);
-
- List<String> arguments = new ArrayList<String>();
-
- /*
- * If you want to change the content of this method, do NOT forget to change the "@generated"
- * tag in the Javadoc of this method to "@generated NOT". Without this new tag, any compilation
- * of the Acceleo module with the main template that has caused the creation of this class will
- * revert your modifications.
- */
-
- /*
- * Add in this list all the arguments used by the starting point of the generation
- * If your main template is called on an element of your model and a String, you can
- * add in "arguments" this "String" attribute.
- */
-
- GenerateHandlers generator = new GenerateHandlers(modelURI, folder, arguments);
-
- /*
- * Add the properties from the launch arguments.
- * If you want to programmatically add new properties, add them in "propertiesFiles"
- * You can add the absolute path of a properties files, or even a project relative path.
- * If you want to add another "protocol" for your properties files, please override
- * "getPropertiesLoaderService(AcceleoService)" in order to return a new property loader.
- * The behavior of the properties loader service is explained in the Acceleo documentation
- * (Help -> Help Contents).
- */
-
- for (int i = 2; i < args.length; i++) {
- generator.addPropertiesFile(args[i]);
- }
-
- generator.doGenerate(new BasicMonitor());
- }
- } catch (IOException e) {
- e.printStackTrace();
- }
- }
-
- /**
- * Launches the generation described by this instance.
- *
- * @param monitor
- * This will be used to display progress information to the user.
- * @throws IOException
- * This will be thrown if any of the output files cannot be saved to disk.
- * @generated
- */
- @Override
- public void doGenerate(Monitor monitor) throws IOException {
- /*
- * TODO if you wish to change the generation as a whole, override this. The default behavior should
- * be sufficient in most cases. If you want to change the content of this method, do NOT forget to
- * change the "@generated" tag in the Javadoc of this method to "@generated NOT". Without this new tag,
- * any compilation of the Acceleo module with the main template that has caused the creation of this
- * class will revert your modifications. If you encounter a problem with an unresolved proxy during the
- * generation, you can remove the comments in the following instructions to check for problems. Please
- * note that those instructions may have a significant impact on the performances.
- */
-
- //org.eclipse.emf.ecore.util.EcoreUtil.resolveAll(model);
-
- /*
- * If you want to check for potential errors in your models before the launch of the generation, you
- * use the code below.
- */
-
- //if (model != null && model.eResource() != null) {
- // List<org.eclipse.emf.ecore.resource.Resource.Diagnostic> errors = model.eResource().getErrors();
- // for (org.eclipse.emf.ecore.resource.Resource.Diagnostic diagnostic : errors) {
- // System.err.println(diagnostic.toString());
- // }
- //}
-
- super.doGenerate(monitor);
- }
-
- /**
- * If this generator needs to listen to text generation events, listeners can be returned from here.
- *
- * @return List of listeners that are to be notified when text is generated through this launch.
- * @generated
- */
- @Override
- public List<IAcceleoTextGenerationListener> getGenerationListeners() {
- List<IAcceleoTextGenerationListener> listeners = super.getGenerationListeners();
- /*
- * TODO if you need to listen to generation event, add listeners to the list here. If you want to change
- * the content of this method, do NOT forget to change the "@generated" tag in the Javadoc of this method
- * to "@generated NOT". Without this new tag, any compilation of the Acceleo module with the main template
- * that has caused the creation of this class will revert your modifications.
- */
- return listeners;
- }
-
- /**
- * If you need to change the way files are generated, this is your entry point.
- * <p>
- * The default is {@link org.eclipse.acceleo.engine.generation.strategy.DefaultStrategy}; it generates
- * files on the fly. If you only need to preview the results, return a new
- * {@link org.eclipse.acceleo.engine.generation.strategy.PreviewStrategy}. Both of these aren't aware of
- * the running Eclipse and can be used standalone.
- * </p>
- * <p>
- * If you need the file generation to be aware of the workspace (A typical example is when you wanna
- * override files that are under clear case or any other VCS that could forbid the overriding), then
- * return a new {@link org.eclipse.acceleo.engine.generation.strategy.WorkspaceAwareStrategy}.
- * <b>Note</b>, however, that this <b>cannot</b> be used standalone.
- * </p>
- * <p>
- * All three of these default strategies support merging through JMerge.
- * </p>
- *
- * @return The generation strategy that is to be used for generations launched through this launcher.
- * @generated
- */
- @Override
- public IAcceleoGenerationStrategy getGenerationStrategy() {
- return super.getGenerationStrategy();
- }
-
- /**
- * This will be called in order to find and load the module that will be launched through this launcher.
- * We expect this name not to contain file extension, and the module to be located beside the launcher.
- *
- * @return The name of the module that is to be launched.
- * @generated
- */
- @Override
- public String getModuleName() {
- return MODULE_FILE_NAME;
- }
-
- /**
- * If the module(s) called by this launcher require properties files, return their qualified path from
- * here.Take note that the first added properties files will take precedence over subsequent ones if they
- * contain conflicting keys.
- *
- * @return The list of properties file we need to add to the generation context.
- * @see java.util.ResourceBundle#getBundle(String)
- * @generated
- */
- @Override
- public List<String> getProperties() {
- /*
- * If you want to change the content of this method, do NOT forget to change the "@generated"
- * tag in the Javadoc of this method to "@generated NOT". Without this new tag, any compilation
- * of the Acceleo module with the main template that has caused the creation of this class will
- * revert your modifications.
- */
-
- /*
- * TODO if your generation module requires access to properties files, add their qualified path to the list here.
- *
- * Properties files can be located in an Eclipse plug-in or in the file system (all Acceleo projects are Eclipse
- * plug-in). In order to use properties files located in an Eclipse plugin, you need to add the path of the properties
- * files to the "propertiesFiles" list:
- *
- * final String prefix = "platform:/plugin/";
- * final String pluginName = "org.eclipse.acceleo.module.sample";
- * final String packagePath = "/org/eclipse/acceleo/module/sample/properties/";
- * final String fileName = "default.properties";
- * propertiesFiles.add(prefix + pluginName + packagePath + fileName);
- *
- * With this mechanism, you can load properties files from your plugin or from another plugin.
- *
- * You may want to load properties files from the file system, for that you need to add the absolute path of the file:
- *
- * propertiesFiles.add("C:\Users\MyName\MyFile.properties");
- *
- * If you want to let your users add properties files located in the same folder as the model:
- *
- * if (EMFPlugin.IS_ECLIPSE_RUNNING && model != null && model.eResource() != null) {
- * propertiesFiles.addAll(AcceleoEngineUtils.getPropertiesFilesNearModel(model.eResource()));
- * }
- *
- * To learn more about Properties Files, have a look at the Acceleo documentation (Help -> Help Contents).
- */
- return propertiesFiles;
- }
-
- /**
- * Adds a properties file in the list of properties files.
- *
- * @param propertiesFile
- * The properties file to add.
- * @generated
- * @since 3.1
- */
- @Override
- public void addPropertiesFile(String propertiesFile) {
- this.propertiesFiles.add(propertiesFile);
- }
-
- /**
- * This will be used to get the list of templates that are to be launched by this launcher.
- *
- * @return The list of templates to call on the module {@link #getModuleName()}.
- * @generated
- */
- @Override
- public String[] getTemplateNames() {
- return TEMPLATE_NAMES;
- }
-
- /**
- * This can be used to update the resource set's package registry with all needed EPackages.
- *
- * @param resourceSet
- * The resource set which registry has to be updated.
- * @generated
- */
- @Override
- public void registerPackages(ResourceSet resourceSet) {
- super.registerPackages(resourceSet);
- if (!isInWorkspace(org.eclipse.emf.ecore.EcorePackage.class)) {
- resourceSet.getPackageRegistry().put(org.eclipse.emf.ecore.EcorePackage.eINSTANCE.getNsURI(), org.eclipse.emf.ecore.EcorePackage.eINSTANCE);
- }
-
- /*
- * If you want to change the content of this method, do NOT forget to change the "@generated"
- * tag in the Javadoc of this method to "@generated NOT". Without this new tag, any compilation
- * of the Acceleo module with the main template that has caused the creation of this class will
- * revert your modifications.
- */
-
- /*
- * If you need additional package registrations, you can register them here. The following line
- * (in comment) is an example of the package registration for UML.
- *
- * You can use the method "isInWorkspace(Class c)" to check if the package that you are about to
- * register is in the workspace.
- *
- * To register a package properly, please follow the following conventions:
- *
- * If the package is located in another plug-in, already installed in Eclipse. The following content should
- * have been generated at the beginning of this method. Do not register the package using this mechanism if
- * the metamodel is located in the workspace.
- *
- * if (!isInWorkspace(UMLPackage.class)) {
- * // The normal package registration if your metamodel is in a plugin.
- * resourceSet.getPackageRegistry().put(UMLPackage.eNS_URI, UMLPackage.eINSTANCE);
- * }
- *
- * If the package is located in another project in your workspace, the plugin containing the package has not
- * been register by EMF and Acceleo should register it automatically. If you want to use the generator in
- * stand alone, the regular registration (seen a couple lines before) is needed.
- *
- * To learn more about Package Registration, have a look at the Acceleo documentation (Help -> Help Contents).
- */
- }
-
- /**
- * This can be used to update the resource set's resource factory registry with all needed factories.
- *
- * @param resourceSet
- * The resource set which registry has to be updated.
- * @generated
- */
- @Override
- public void registerResourceFactories(ResourceSet resourceSet) {
- super.registerResourceFactories(resourceSet);
- /*
- * If you want to change the content of this method, do NOT forget to change the "@generated"
- * tag in the Javadoc of this method to "@generated NOT". Without this new tag, any compilation
- * of the Acceleo module with the main template that has caused the creation of this class will
- * revert your modifications.
- */
-
- /*
- * TODO If you need additional resource factories registrations, you can register them here. the following line
- * (in comment) is an example of the resource factory registration for UML.
- *
- * If you want to use the generator in stand alone, the resource factory registration will be required.
- *
- * To learn more about the registration of Resource Factories, have a look at the Acceleo documentation (Help -> Help Contents).
- */
-
- // resourceSet.getResourceFactoryRegistry().getExtensionToFactoryMap().put(UMLResource.FILE_EXTENSION, UMLResource.Factory.INSTANCE);
- }
-
+ /**
+ * The name of the module.
+ *
+ * @generated
+ */
+ public static final String MODULE_FILE_NAME = "/org/eclipse/papyrus/domaincontextcodegen/modules/generateHandlers";
+
+ /**
+ * The name of the templates that are to be generated.
+ *
+ * @generated
+ */
+ public static final String[] TEMPLATE_NAMES = { "generateHandlers" };
+
+ /**
+ * The list of properties files from the launch parameters (Launch configuration).
+ *
+ * @generated
+ */
+ private List<String> propertiesFiles = new ArrayList<String>();
+
+ /**
+ * Allows the public constructor to be used. Note that a generator created
+ * this way cannot be used to launch generations before one of {@link #initialize(EObject, File, List)} or {@link #initialize(URI, File, List)} is called.
+ * <p>
+ * The main reason for this constructor is to allow clients of this generation to call it from another Java file, as it allows for the retrieval of {@link #getProperties()} and {@link #getGenerationListeners()}.
+ * </p>
+ *
+ * @generated
+ */
+ public GenerateHandlers() {
+ // Empty implementation
+ }
+
+ /**
+ * This allows clients to instantiates a generator with all required information.
+ *
+ * @param modelURI
+ * URI where the model on which this generator will be used is located.
+ * @param targetFolder
+ * This will be used as the output folder for this generation : it will be the base path
+ * against which all file block URLs will be resolved.
+ * @param arguments
+ * If the template which will be called requires more than one argument taken from the model,
+ * pass them here.
+ * @throws IOException
+ * This can be thrown in three scenarios : the module cannot be found, it cannot be loaded, or
+ * the model cannot be loaded.
+ * @generated
+ */
+ public GenerateHandlers(URI modelURI, File targetFolder,
+ List<? extends Object> arguments) throws IOException {
+ initialize(modelURI, targetFolder, arguments);
+ }
+
+ /**
+ * This allows clients to instantiates a generator with all required information.
+ *
+ * @param model
+ * We'll iterate over the content of this element to find Objects matching the first parameter
+ * of the template we need to call.
+ * @param targetFolder
+ * This will be used as the output folder for this generation : it will be the base path
+ * against which all file block URLs will be resolved.
+ * @param arguments
+ * If the template which will be called requires more than one argument taken from the model,
+ * pass them here.
+ * @throws IOException
+ * This can be thrown in two scenarios : the module cannot be found, or it cannot be loaded.
+ * @generated
+ */
+ public GenerateHandlers(EObject model, File targetFolder,
+ List<? extends Object> arguments) throws IOException {
+ initialize(model, targetFolder, arguments);
+ }
+
+ /**
+ * This can be used to launch the generation from a standalone application.
+ *
+ * @param args
+ * Arguments of the generation.
+ * @generated
+ */
+ public static void main(String[] args) {
+ try {
+ if (args.length < 2) {
+ System.out.println("Arguments not valid : {model, folder}.");
+ } else {
+ URI modelURI = URI.createFileURI(args[0]);
+ File folder = new File(args[1]);
+
+ List<String> arguments = new ArrayList<String>();
+
+ /*
+ * If you want to change the content of this method, do NOT forget to change the "@generated"
+ * tag in the Javadoc of this method to "@generated NOT". Without this new tag, any compilation
+ * of the Acceleo module with the main template that has caused the creation of this class will
+ * revert your modifications.
+ */
+
+ /*
+ * Add in this list all the arguments used by the starting point of the generation
+ * If your main template is called on an element of your model and a String, you can
+ * add in "arguments" this "String" attribute.
+ */
+
+ GenerateHandlers generator = new GenerateHandlers(modelURI, folder, arguments);
+
+ /*
+ * Add the properties from the launch arguments.
+ * If you want to programmatically add new properties, add them in "propertiesFiles"
+ * You can add the absolute path of a properties files, or even a project relative path.
+ * If you want to add another "protocol" for your properties files, please override
+ * "getPropertiesLoaderService(AcceleoService)" in order to return a new property loader.
+ * The behavior of the properties loader service is explained in the Acceleo documentation
+ * (Help -> Help Contents).
+ */
+
+ for (int i = 2; i < args.length; i++) {
+ generator.addPropertiesFile(args[i]);
+ }
+
+ generator.doGenerate(new BasicMonitor());
+ }
+ } catch (IOException e) {
+ e.printStackTrace();
+ }
+ }
+
+ /**
+ * Launches the generation described by this instance.
+ *
+ * @param monitor
+ * This will be used to display progress information to the user.
+ * @throws IOException
+ * This will be thrown if any of the output files cannot be saved to disk.
+ * @generated
+ */
+ @Override
+ public void doGenerate(Monitor monitor) throws IOException {
+ /*
+ * TODO if you wish to change the generation as a whole, override this. The default behavior should
+ * be sufficient in most cases. If you want to change the content of this method, do NOT forget to
+ * change the "@generated" tag in the Javadoc of this method to "@generated NOT". Without this new tag,
+ * any compilation of the Acceleo module with the main template that has caused the creation of this
+ * class will revert your modifications. If you encounter a problem with an unresolved proxy during the
+ * generation, you can remove the comments in the following instructions to check for problems. Please
+ * note that those instructions may have a significant impact on the performances.
+ */
+
+ // org.eclipse.emf.ecore.util.EcoreUtil.resolveAll(model);
+
+ /*
+ * If you want to check for potential errors in your models before the launch of the generation, you
+ * use the code below.
+ */
+
+ // if (model != null && model.eResource() != null) {
+ // List<org.eclipse.emf.ecore.resource.Resource.Diagnostic> errors = model.eResource().getErrors();
+ // for (org.eclipse.emf.ecore.resource.Resource.Diagnostic diagnostic : errors) {
+ // System.err.println(diagnostic.toString());
+ // }
+ // }
+
+ super.doGenerate(monitor);
+ }
+
+ /**
+ * If this generator needs to listen to text generation events, listeners can be returned from here.
+ *
+ * @return List of listeners that are to be notified when text is generated through this launch.
+ * @generated
+ */
+ @Override
+ public List<IAcceleoTextGenerationListener> getGenerationListeners() {
+ List<IAcceleoTextGenerationListener> listeners = super.getGenerationListeners();
+ /*
+ * TODO if you need to listen to generation event, add listeners to the list here. If you want to change
+ * the content of this method, do NOT forget to change the "@generated" tag in the Javadoc of this method
+ * to "@generated NOT". Without this new tag, any compilation of the Acceleo module with the main template
+ * that has caused the creation of this class will revert your modifications.
+ */
+ return listeners;
+ }
+
+ /**
+ * If you need to change the way files are generated, this is your entry point.
+ * <p>
+ * The default is {@link org.eclipse.acceleo.engine.generation.strategy.DefaultStrategy}; it generates files on the fly. If you only need to preview the results, return a new {@link org.eclipse.acceleo.engine.generation.strategy.PreviewStrategy}. Both of
+ * these aren't aware of the running Eclipse and can be used standalone.
+ * </p>
+ * <p>
+ * If you need the file generation to be aware of the workspace (A typical example is when you wanna override files that are under clear case or any other VCS that could forbid the overriding), then return a new
+ * {@link org.eclipse.acceleo.engine.generation.strategy.WorkspaceAwareStrategy}. <b>Note</b>, however, that this <b>cannot</b> be used standalone.
+ * </p>
+ * <p>
+ * All three of these default strategies support merging through JMerge.
+ * </p>
+ *
+ * @return The generation strategy that is to be used for generations launched through this launcher.
+ * @generated
+ */
+ @Override
+ public IAcceleoGenerationStrategy getGenerationStrategy() {
+ return super.getGenerationStrategy();
+ }
+
+ /**
+ * This will be called in order to find and load the module that will be launched through this launcher.
+ * We expect this name not to contain file extension, and the module to be located beside the launcher.
+ *
+ * @return The name of the module that is to be launched.
+ * @generated
+ */
+ @Override
+ public String getModuleName() {
+ return MODULE_FILE_NAME;
+ }
+
+ /**
+ * If the module(s) called by this launcher require properties files, return their qualified path from
+ * here.Take note that the first added properties files will take precedence over subsequent ones if they
+ * contain conflicting keys.
+ *
+ * @return The list of properties file we need to add to the generation context.
+ * @see java.util.ResourceBundle#getBundle(String)
+ * @generated
+ */
+ @Override
+ public List<String> getProperties() {
+ /*
+ * If you want to change the content of this method, do NOT forget to change the "@generated"
+ * tag in the Javadoc of this method to "@generated NOT". Without this new tag, any compilation
+ * of the Acceleo module with the main template that has caused the creation of this class will
+ * revert your modifications.
+ */
+
+ /*
+ * TODO if your generation module requires access to properties files, add their qualified path to the list here.
+ *
+ * Properties files can be located in an Eclipse plug-in or in the file system (all Acceleo projects are Eclipse
+ * plug-in). In order to use properties files located in an Eclipse plugin, you need to add the path of the properties
+ * files to the "propertiesFiles" list:
+ *
+ * final String prefix = "platform:/plugin/";
+ * final String pluginName = "org.eclipse.acceleo.module.sample";
+ * final String packagePath = "/org/eclipse/acceleo/module/sample/properties/";
+ * final String fileName = "default.properties";
+ * propertiesFiles.add(prefix + pluginName + packagePath + fileName);
+ *
+ * With this mechanism, you can load properties files from your plugin or from another plugin.
+ *
+ * You may want to load properties files from the file system, for that you need to add the absolute path of the file:
+ *
+ * propertiesFiles.add("C:\Users\MyName\MyFile.properties");
+ *
+ * If you want to let your users add properties files located in the same folder as the model:
+ *
+ * if (EMFPlugin.IS_ECLIPSE_RUNNING && model != null && model.eResource() != null) {
+ * propertiesFiles.addAll(AcceleoEngineUtils.getPropertiesFilesNearModel(model.eResource()));
+ * }
+ *
+ * To learn more about Properties Files, have a look at the Acceleo documentation (Help -> Help Contents).
+ */
+ return propertiesFiles;
+ }
+
+ /**
+ * Adds a properties file in the list of properties files.
+ *
+ * @param propertiesFile
+ * The properties file to add.
+ * @generated
+ * @since 3.1
+ */
+ @Override
+ public void addPropertiesFile(String propertiesFile) {
+ this.propertiesFiles.add(propertiesFile);
+ }
+
+ /**
+ * This will be used to get the list of templates that are to be launched by this launcher.
+ *
+ * @return The list of templates to call on the module {@link #getModuleName()}.
+ * @generated
+ */
+ @Override
+ public String[] getTemplateNames() {
+ return TEMPLATE_NAMES;
+ }
+
+ /**
+ * This can be used to update the resource set's package registry with all needed EPackages.
+ *
+ * @param resourceSet
+ * The resource set which registry has to be updated.
+ * @generated
+ */
+ @Override
+ public void registerPackages(ResourceSet resourceSet) {
+ super.registerPackages(resourceSet);
+ if (!isInWorkspace(org.eclipse.emf.ecore.EcorePackage.class)) {
+ resourceSet.getPackageRegistry().put(org.eclipse.emf.ecore.EcorePackage.eINSTANCE.getNsURI(), org.eclipse.emf.ecore.EcorePackage.eINSTANCE);
+ }
+
+ /*
+ * If you want to change the content of this method, do NOT forget to change the "@generated"
+ * tag in the Javadoc of this method to "@generated NOT". Without this new tag, any compilation
+ * of the Acceleo module with the main template that has caused the creation of this class will
+ * revert your modifications.
+ */
+
+ /*
+ * If you need additional package registrations, you can register them here. The following line
+ * (in comment) is an example of the package registration for UML.
+ *
+ * You can use the method "isInWorkspace(Class c)" to check if the package that you are about to
+ * register is in the workspace.
+ *
+ * To register a package properly, please follow the following conventions:
+ *
+ * If the package is located in another plug-in, already installed in Eclipse. The following content should
+ * have been generated at the beginning of this method. Do not register the package using this mechanism if
+ * the metamodel is located in the workspace.
+ *
+ * if (!isInWorkspace(UMLPackage.class)) {
+ * // The normal package registration if your metamodel is in a plugin.
+ * resourceSet.getPackageRegistry().put(UMLPackage.eNS_URI, UMLPackage.eINSTANCE);
+ * }
+ *
+ * If the package is located in another project in your workspace, the plugin containing the package has not
+ * been register by EMF and Acceleo should register it automatically. If you want to use the generator in
+ * stand alone, the regular registration (seen a couple lines before) is needed.
+ *
+ * To learn more about Package Registration, have a look at the Acceleo documentation (Help -> Help Contents).
+ */
+ }
+
+ /**
+ * This can be used to update the resource set's resource factory registry with all needed factories.
+ *
+ * @param resourceSet
+ * The resource set which registry has to be updated.
+ * @generated
+ */
+ @Override
+ public void registerResourceFactories(ResourceSet resourceSet) {
+ super.registerResourceFactories(resourceSet);
+ /*
+ * If you want to change the content of this method, do NOT forget to change the "@generated"
+ * tag in the Javadoc of this method to "@generated NOT". Without this new tag, any compilation
+ * of the Acceleo module with the main template that has caused the creation of this class will
+ * revert your modifications.
+ */
+
+ /*
+ * TODO If you need additional resource factories registrations, you can register them here. the following line
+ * (in comment) is an example of the resource factory registration for UML.
+ *
+ * If you want to use the generator in stand alone, the resource factory registration will be required.
+ *
+ * To learn more about the registration of Resource Factories, have a look at the Acceleo documentation (Help -> Help Contents).
+ */
+
+ // resourceSet.getResourceFactoryRegistry().getExtensionToFactoryMap().put(UMLResource.FILE_EXTENSION, UMLResource.Factory.INSTANCE);
+ }
+
}
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/transforsrc/org/eclipse/papyrus/domaincontextcodegen/modules/GenerateTypes.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/transforsrc/org/eclipse/papyrus/domaincontextcodegen/modules/GenerateTypes.java
index 1ca36771d86..3366e209e76 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/transforsrc/org/eclipse/papyrus/domaincontextcodegen/modules/GenerateTypes.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/transforsrc/org/eclipse/papyrus/domaincontextcodegen/modules/GenerateTypes.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Obeo - initial API and implementation
*******************************************************************************/
@@ -30,380 +30,371 @@ import org.eclipse.emf.ecore.resource.ResourceSet;
* @generated
*/
public class GenerateTypes extends AbstractAcceleoGenerator {
- /**
- * The name of the module.
- *
- * @generated
- */
- public static final String MODULE_FILE_NAME = "/org/eclipse/papyrus/domaincontextcodegen/modules/generateTypes";
-
- /**
- * The name of the templates that are to be generated.
- *
- * @generated
- */
- public static final String[] TEMPLATE_NAMES = { "generate" };
-
- /**
- * The list of properties files from the launch parameters (Launch configuration).
- *
- * @generated
- */
- private List<String> propertiesFiles = new ArrayList<String>();
-
- /**
- * Allows the public constructor to be used. Note that a generator created
- * this way cannot be used to launch generations before one of
- * {@link #initialize(EObject, File, List)} or
- * {@link #initialize(URI, File, List)} is called.
- * <p>
- * The main reason for this constructor is to allow clients of this
- * generation to call it from another Java file, as it allows for the
- * retrieval of {@link #getProperties()} and
- * {@link #getGenerationListeners()}.
- * </p>
- *
- * @generated
- */
- public GenerateTypes() {
- // Empty implementation
- }
-
- /**
- * This allows clients to instantiates a generator with all required information.
- *
- * @param modelURI
- * URI where the model on which this generator will be used is located.
- * @param targetFolder
- * This will be used as the output folder for this generation : it will be the base path
- * against which all file block URLs will be resolved.
- * @param arguments
- * If the template which will be called requires more than one argument taken from the model,
- * pass them here.
- * @throws IOException
- * This can be thrown in three scenarios : the module cannot be found, it cannot be loaded, or
- * the model cannot be loaded.
- * @generated
- */
- public GenerateTypes(URI modelURI, File targetFolder,
- List<? extends Object> arguments) throws IOException {
- initialize(modelURI, targetFolder, arguments);
- }
-
- /**
- * This allows clients to instantiates a generator with all required information.
- *
- * @param model
- * We'll iterate over the content of this element to find Objects matching the first parameter
- * of the template we need to call.
- * @param targetFolder
- * This will be used as the output folder for this generation : it will be the base path
- * against which all file block URLs will be resolved.
- * @param arguments
- * If the template which will be called requires more than one argument taken from the model,
- * pass them here.
- * @throws IOException
- * This can be thrown in two scenarios : the module cannot be found, or it cannot be loaded.
- * @generated
- */
- public GenerateTypes(EObject model, File targetFolder,
- List<? extends Object> arguments) throws IOException {
- initialize(model, targetFolder, arguments);
- }
-
- /**
- * This can be used to launch the generation from a standalone application.
- *
- * @param args
- * Arguments of the generation.
- * @generated
- */
- public static void main(String[] args) {
- try {
- if (args.length < 2) {
- System.out.println("Arguments not valid : {model, folder}.");
- } else {
- URI modelURI = URI.createFileURI(args[0]);
- File folder = new File(args[1]);
-
- List<String> arguments = new ArrayList<String>();
-
- /*
- * If you want to change the content of this method, do NOT forget to change the "@generated"
- * tag in the Javadoc of this method to "@generated NOT". Without this new tag, any compilation
- * of the Acceleo module with the main template that has caused the creation of this class will
- * revert your modifications.
- */
-
- /*
- * Add in this list all the arguments used by the starting point of the generation
- * If your main template is called on an element of your model and a String, you can
- * add in "arguments" this "String" attribute.
- */
-
- GenerateTypes generator = new GenerateTypes(modelURI, folder, arguments);
-
- /*
- * Add the properties from the launch arguments.
- * If you want to programmatically add new properties, add them in "propertiesFiles"
- * You can add the absolute path of a properties files, or even a project relative path.
- * If you want to add another "protocol" for your properties files, please override
- * "getPropertiesLoaderService(AcceleoService)" in order to return a new property loader.
- * The behavior of the properties loader service is explained in the Acceleo documentation
- * (Help -> Help Contents).
- */
-
- for (int i = 2; i < args.length; i++) {
- generator.addPropertiesFile(args[i]);
- }
-
- generator.doGenerate(new BasicMonitor());
- }
- } catch (IOException e) {
- e.printStackTrace();
- }
- }
-
- /**
- * Launches the generation described by this instance.
- *
- * @param monitor
- * This will be used to display progress information to the user.
- * @throws IOException
- * This will be thrown if any of the output files cannot be saved to disk.
- * @generated
- */
- @Override
- public void doGenerate(Monitor monitor) throws IOException {
- /*
- * TODO if you wish to change the generation as a whole, override this. The default behavior should
- * be sufficient in most cases. If you want to change the content of this method, do NOT forget to
- * change the "@generated" tag in the Javadoc of this method to "@generated NOT". Without this new tag,
- * any compilation of the Acceleo module with the main template that has caused the creation of this
- * class will revert your modifications. If you encounter a problem with an unresolved proxy during the
- * generation, you can remove the comments in the following instructions to check for problems. Please
- * note that those instructions may have a significant impact on the performances.
- */
-
- //org.eclipse.emf.ecore.util.EcoreUtil.resolveAll(model);
-
- /*
- * If you want to check for potential errors in your models before the launch of the generation, you
- * use the code below.
- */
-
- //if (model != null && model.eResource() != null) {
- // List<org.eclipse.emf.ecore.resource.Resource.Diagnostic> errors = model.eResource().getErrors();
- // for (org.eclipse.emf.ecore.resource.Resource.Diagnostic diagnostic : errors) {
- // System.err.println(diagnostic.toString());
- // }
- //}
-
- super.doGenerate(monitor);
- }
-
- /**
- * If this generator needs to listen to text generation events, listeners can be returned from here.
- *
- * @return List of listeners that are to be notified when text is generated through this launch.
- * @generated
- */
- @Override
- public List<IAcceleoTextGenerationListener> getGenerationListeners() {
- List<IAcceleoTextGenerationListener> listeners = super.getGenerationListeners();
- /*
- * TODO if you need to listen to generation event, add listeners to the list here. If you want to change
- * the content of this method, do NOT forget to change the "@generated" tag in the Javadoc of this method
- * to "@generated NOT". Without this new tag, any compilation of the Acceleo module with the main template
- * that has caused the creation of this class will revert your modifications.
- */
- return listeners;
- }
-
- /**
- * If you need to change the way files are generated, this is your entry point.
- * <p>
- * The default is {@link org.eclipse.acceleo.engine.generation.strategy.DefaultStrategy}; it generates
- * files on the fly. If you only need to preview the results, return a new
- * {@link org.eclipse.acceleo.engine.generation.strategy.PreviewStrategy}. Both of these aren't aware of
- * the running Eclipse and can be used standalone.
- * </p>
- * <p>
- * If you need the file generation to be aware of the workspace (A typical example is when you wanna
- * override files that are under clear case or any other VCS that could forbid the overriding), then
- * return a new {@link org.eclipse.acceleo.engine.generation.strategy.WorkspaceAwareStrategy}.
- * <b>Note</b>, however, that this <b>cannot</b> be used standalone.
- * </p>
- * <p>
- * All three of these default strategies support merging through JMerge.
- * </p>
- *
- * @return The generation strategy that is to be used for generations launched through this launcher.
- * @generated
- */
- @Override
- public IAcceleoGenerationStrategy getGenerationStrategy() {
- return super.getGenerationStrategy();
- }
-
- /**
- * This will be called in order to find and load the module that will be launched through this launcher.
- * We expect this name not to contain file extension, and the module to be located beside the launcher.
- *
- * @return The name of the module that is to be launched.
- * @generated
- */
- @Override
- public String getModuleName() {
- return MODULE_FILE_NAME;
- }
-
- /**
- * If the module(s) called by this launcher require properties files, return their qualified path from
- * here.Take note that the first added properties files will take precedence over subsequent ones if they
- * contain conflicting keys.
- *
- * @return The list of properties file we need to add to the generation context.
- * @see java.util.ResourceBundle#getBundle(String)
- * @generated
- */
- @Override
- public List<String> getProperties() {
- /*
- * If you want to change the content of this method, do NOT forget to change the "@generated"
- * tag in the Javadoc of this method to "@generated NOT". Without this new tag, any compilation
- * of the Acceleo module with the main template that has caused the creation of this class will
- * revert your modifications.
- */
-
- /*
- * TODO if your generation module requires access to properties files, add their qualified path to the list here.
- *
- * Properties files can be located in an Eclipse plug-in or in the file system (all Acceleo projects are Eclipse
- * plug-in). In order to use properties files located in an Eclipse plugin, you need to add the path of the properties
- * files to the "propertiesFiles" list:
- *
- * final String prefix = "platform:/plugin/";
- * final String pluginName = "org.eclipse.acceleo.module.sample";
- * final String packagePath = "/org/eclipse/acceleo/module/sample/properties/";
- * final String fileName = "default.properties";
- * propertiesFiles.add(prefix + pluginName + packagePath + fileName);
- *
- * With this mechanism, you can load properties files from your plugin or from another plugin.
- *
- * You may want to load properties files from the file system, for that you need to add the absolute path of the file:
- *
- * propertiesFiles.add("C:\Users\MyName\MyFile.properties");
- *
- * If you want to let your users add properties files located in the same folder as the model:
- *
- * if (EMFPlugin.IS_ECLIPSE_RUNNING && model != null && model.eResource() != null) {
- * propertiesFiles.addAll(AcceleoEngineUtils.getPropertiesFilesNearModel(model.eResource()));
- * }
- *
- * To learn more about Properties Files, have a look at the Acceleo documentation (Help -> Help Contents).
- */
- return propertiesFiles;
- }
-
- /**
- * Adds a properties file in the list of properties files.
- *
- * @param propertiesFile
- * The properties file to add.
- * @generated
- * @since 3.1
- */
- @Override
- public void addPropertiesFile(String propertiesFile) {
- this.propertiesFiles.add(propertiesFile);
- }
-
- /**
- * This will be used to get the list of templates that are to be launched by this launcher.
- *
- * @return The list of templates to call on the module {@link #getModuleName()}.
- * @generated
- */
- @Override
- public String[] getTemplateNames() {
- return TEMPLATE_NAMES;
- }
-
- /**
- * This can be used to update the resource set's package registry with all needed EPackages.
- *
- * @param resourceSet
- * The resource set which registry has to be updated.
- * @generated
- */
- @Override
- public void registerPackages(ResourceSet resourceSet) {
- super.registerPackages(resourceSet);
- if (!isInWorkspace(org.eclipse.emf.ecore.EcorePackage.class)) {
- resourceSet.getPackageRegistry().put(org.eclipse.emf.ecore.EcorePackage.eINSTANCE.getNsURI(), org.eclipse.emf.ecore.EcorePackage.eINSTANCE);
- }
-
- /*
- * If you want to change the content of this method, do NOT forget to change the "@generated"
- * tag in the Javadoc of this method to "@generated NOT". Without this new tag, any compilation
- * of the Acceleo module with the main template that has caused the creation of this class will
- * revert your modifications.
- */
-
- /*
- * If you need additional package registrations, you can register them here. The following line
- * (in comment) is an example of the package registration for UML.
- *
- * You can use the method "isInWorkspace(Class c)" to check if the package that you are about to
- * register is in the workspace.
- *
- * To register a package properly, please follow the following conventions:
- *
- * If the package is located in another plug-in, already installed in Eclipse. The following content should
- * have been generated at the beginning of this method. Do not register the package using this mechanism if
- * the metamodel is located in the workspace.
- *
- * if (!isInWorkspace(UMLPackage.class)) {
- * // The normal package registration if your metamodel is in a plugin.
- * resourceSet.getPackageRegistry().put(UMLPackage.eNS_URI, UMLPackage.eINSTANCE);
- * }
- *
- * If the package is located in another project in your workspace, the plugin containing the package has not
- * been register by EMF and Acceleo should register it automatically. If you want to use the generator in
- * stand alone, the regular registration (seen a couple lines before) is needed.
- *
- * To learn more about Package Registration, have a look at the Acceleo documentation (Help -> Help Contents).
- */
- }
-
- /**
- * This can be used to update the resource set's resource factory registry with all needed factories.
- *
- * @param resourceSet
- * The resource set which registry has to be updated.
- * @generated
- */
- @Override
- public void registerResourceFactories(ResourceSet resourceSet) {
- super.registerResourceFactories(resourceSet);
- /*
- * If you want to change the content of this method, do NOT forget to change the "@generated"
- * tag in the Javadoc of this method to "@generated NOT". Without this new tag, any compilation
- * of the Acceleo module with the main template that has caused the creation of this class will
- * revert your modifications.
- */
-
- /*
- * TODO If you need additional resource factories registrations, you can register them here. the following line
- * (in comment) is an example of the resource factory registration for UML.
- *
- * If you want to use the generator in stand alone, the resource factory registration will be required.
- *
- * To learn more about the registration of Resource Factories, have a look at the Acceleo documentation (Help -> Help Contents).
- */
-
- // resourceSet.getResourceFactoryRegistry().getExtensionToFactoryMap().put(UMLResource.FILE_EXTENSION, UMLResource.Factory.INSTANCE);
- }
-
+ /**
+ * The name of the module.
+ *
+ * @generated
+ */
+ public static final String MODULE_FILE_NAME = "/org/eclipse/papyrus/domaincontextcodegen/modules/generateTypes";
+
+ /**
+ * The name of the templates that are to be generated.
+ *
+ * @generated
+ */
+ public static final String[] TEMPLATE_NAMES = { "generate" };
+
+ /**
+ * The list of properties files from the launch parameters (Launch configuration).
+ *
+ * @generated
+ */
+ private List<String> propertiesFiles = new ArrayList<String>();
+
+ /**
+ * Allows the public constructor to be used. Note that a generator created
+ * this way cannot be used to launch generations before one of {@link #initialize(EObject, File, List)} or {@link #initialize(URI, File, List)} is called.
+ * <p>
+ * The main reason for this constructor is to allow clients of this generation to call it from another Java file, as it allows for the retrieval of {@link #getProperties()} and {@link #getGenerationListeners()}.
+ * </p>
+ *
+ * @generated
+ */
+ public GenerateTypes() {
+ // Empty implementation
+ }
+
+ /**
+ * This allows clients to instantiates a generator with all required information.
+ *
+ * @param modelURI
+ * URI where the model on which this generator will be used is located.
+ * @param targetFolder
+ * This will be used as the output folder for this generation : it will be the base path
+ * against which all file block URLs will be resolved.
+ * @param arguments
+ * If the template which will be called requires more than one argument taken from the model,
+ * pass them here.
+ * @throws IOException
+ * This can be thrown in three scenarios : the module cannot be found, it cannot be loaded, or
+ * the model cannot be loaded.
+ * @generated
+ */
+ public GenerateTypes(URI modelURI, File targetFolder,
+ List<? extends Object> arguments) throws IOException {
+ initialize(modelURI, targetFolder, arguments);
+ }
+
+ /**
+ * This allows clients to instantiates a generator with all required information.
+ *
+ * @param model
+ * We'll iterate over the content of this element to find Objects matching the first parameter
+ * of the template we need to call.
+ * @param targetFolder
+ * This will be used as the output folder for this generation : it will be the base path
+ * against which all file block URLs will be resolved.
+ * @param arguments
+ * If the template which will be called requires more than one argument taken from the model,
+ * pass them here.
+ * @throws IOException
+ * This can be thrown in two scenarios : the module cannot be found, or it cannot be loaded.
+ * @generated
+ */
+ public GenerateTypes(EObject model, File targetFolder,
+ List<? extends Object> arguments) throws IOException {
+ initialize(model, targetFolder, arguments);
+ }
+
+ /**
+ * This can be used to launch the generation from a standalone application.
+ *
+ * @param args
+ * Arguments of the generation.
+ * @generated
+ */
+ public static void main(String[] args) {
+ try {
+ if (args.length < 2) {
+ System.out.println("Arguments not valid : {model, folder}.");
+ } else {
+ URI modelURI = URI.createFileURI(args[0]);
+ File folder = new File(args[1]);
+
+ List<String> arguments = new ArrayList<String>();
+
+ /*
+ * If you want to change the content of this method, do NOT forget to change the "@generated"
+ * tag in the Javadoc of this method to "@generated NOT". Without this new tag, any compilation
+ * of the Acceleo module with the main template that has caused the creation of this class will
+ * revert your modifications.
+ */
+
+ /*
+ * Add in this list all the arguments used by the starting point of the generation
+ * If your main template is called on an element of your model and a String, you can
+ * add in "arguments" this "String" attribute.
+ */
+
+ GenerateTypes generator = new GenerateTypes(modelURI, folder, arguments);
+
+ /*
+ * Add the properties from the launch arguments.
+ * If you want to programmatically add new properties, add them in "propertiesFiles"
+ * You can add the absolute path of a properties files, or even a project relative path.
+ * If you want to add another "protocol" for your properties files, please override
+ * "getPropertiesLoaderService(AcceleoService)" in order to return a new property loader.
+ * The behavior of the properties loader service is explained in the Acceleo documentation
+ * (Help -> Help Contents).
+ */
+
+ for (int i = 2; i < args.length; i++) {
+ generator.addPropertiesFile(args[i]);
+ }
+
+ generator.doGenerate(new BasicMonitor());
+ }
+ } catch (IOException e) {
+ e.printStackTrace();
+ }
+ }
+
+ /**
+ * Launches the generation described by this instance.
+ *
+ * @param monitor
+ * This will be used to display progress information to the user.
+ * @throws IOException
+ * This will be thrown if any of the output files cannot be saved to disk.
+ * @generated
+ */
+ @Override
+ public void doGenerate(Monitor monitor) throws IOException {
+ /*
+ * TODO if you wish to change the generation as a whole, override this. The default behavior should
+ * be sufficient in most cases. If you want to change the content of this method, do NOT forget to
+ * change the "@generated" tag in the Javadoc of this method to "@generated NOT". Without this new tag,
+ * any compilation of the Acceleo module with the main template that has caused the creation of this
+ * class will revert your modifications. If you encounter a problem with an unresolved proxy during the
+ * generation, you can remove the comments in the following instructions to check for problems. Please
+ * note that those instructions may have a significant impact on the performances.
+ */
+
+ // org.eclipse.emf.ecore.util.EcoreUtil.resolveAll(model);
+
+ /*
+ * If you want to check for potential errors in your models before the launch of the generation, you
+ * use the code below.
+ */
+
+ // if (model != null && model.eResource() != null) {
+ // List<org.eclipse.emf.ecore.resource.Resource.Diagnostic> errors = model.eResource().getErrors();
+ // for (org.eclipse.emf.ecore.resource.Resource.Diagnostic diagnostic : errors) {
+ // System.err.println(diagnostic.toString());
+ // }
+ // }
+
+ super.doGenerate(monitor);
+ }
+
+ /**
+ * If this generator needs to listen to text generation events, listeners can be returned from here.
+ *
+ * @return List of listeners that are to be notified when text is generated through this launch.
+ * @generated
+ */
+ @Override
+ public List<IAcceleoTextGenerationListener> getGenerationListeners() {
+ List<IAcceleoTextGenerationListener> listeners = super.getGenerationListeners();
+ /*
+ * TODO if you need to listen to generation event, add listeners to the list here. If you want to change
+ * the content of this method, do NOT forget to change the "@generated" tag in the Javadoc of this method
+ * to "@generated NOT". Without this new tag, any compilation of the Acceleo module with the main template
+ * that has caused the creation of this class will revert your modifications.
+ */
+ return listeners;
+ }
+
+ /**
+ * If you need to change the way files are generated, this is your entry point.
+ * <p>
+ * The default is {@link org.eclipse.acceleo.engine.generation.strategy.DefaultStrategy}; it generates files on the fly. If you only need to preview the results, return a new {@link org.eclipse.acceleo.engine.generation.strategy.PreviewStrategy}. Both of
+ * these aren't aware of the running Eclipse and can be used standalone.
+ * </p>
+ * <p>
+ * If you need the file generation to be aware of the workspace (A typical example is when you wanna override files that are under clear case or any other VCS that could forbid the overriding), then return a new
+ * {@link org.eclipse.acceleo.engine.generation.strategy.WorkspaceAwareStrategy}. <b>Note</b>, however, that this <b>cannot</b> be used standalone.
+ * </p>
+ * <p>
+ * All three of these default strategies support merging through JMerge.
+ * </p>
+ *
+ * @return The generation strategy that is to be used for generations launched through this launcher.
+ * @generated
+ */
+ @Override
+ public IAcceleoGenerationStrategy getGenerationStrategy() {
+ return super.getGenerationStrategy();
+ }
+
+ /**
+ * This will be called in order to find and load the module that will be launched through this launcher.
+ * We expect this name not to contain file extension, and the module to be located beside the launcher.
+ *
+ * @return The name of the module that is to be launched.
+ * @generated
+ */
+ @Override
+ public String getModuleName() {
+ return MODULE_FILE_NAME;
+ }
+
+ /**
+ * If the module(s) called by this launcher require properties files, return their qualified path from
+ * here.Take note that the first added properties files will take precedence over subsequent ones if they
+ * contain conflicting keys.
+ *
+ * @return The list of properties file we need to add to the generation context.
+ * @see java.util.ResourceBundle#getBundle(String)
+ * @generated
+ */
+ @Override
+ public List<String> getProperties() {
+ /*
+ * If you want to change the content of this method, do NOT forget to change the "@generated"
+ * tag in the Javadoc of this method to "@generated NOT". Without this new tag, any compilation
+ * of the Acceleo module with the main template that has caused the creation of this class will
+ * revert your modifications.
+ */
+
+ /*
+ * TODO if your generation module requires access to properties files, add their qualified path to the list here.
+ *
+ * Properties files can be located in an Eclipse plug-in or in the file system (all Acceleo projects are Eclipse
+ * plug-in). In order to use properties files located in an Eclipse plugin, you need to add the path of the properties
+ * files to the "propertiesFiles" list:
+ *
+ * final String prefix = "platform:/plugin/";
+ * final String pluginName = "org.eclipse.acceleo.module.sample";
+ * final String packagePath = "/org/eclipse/acceleo/module/sample/properties/";
+ * final String fileName = "default.properties";
+ * propertiesFiles.add(prefix + pluginName + packagePath + fileName);
+ *
+ * With this mechanism, you can load properties files from your plugin or from another plugin.
+ *
+ * You may want to load properties files from the file system, for that you need to add the absolute path of the file:
+ *
+ * propertiesFiles.add("C:\Users\MyName\MyFile.properties");
+ *
+ * If you want to let your users add properties files located in the same folder as the model:
+ *
+ * if (EMFPlugin.IS_ECLIPSE_RUNNING && model != null && model.eResource() != null) {
+ * propertiesFiles.addAll(AcceleoEngineUtils.getPropertiesFilesNearModel(model.eResource()));
+ * }
+ *
+ * To learn more about Properties Files, have a look at the Acceleo documentation (Help -> Help Contents).
+ */
+ return propertiesFiles;
+ }
+
+ /**
+ * Adds a properties file in the list of properties files.
+ *
+ * @param propertiesFile
+ * The properties file to add.
+ * @generated
+ * @since 3.1
+ */
+ @Override
+ public void addPropertiesFile(String propertiesFile) {
+ this.propertiesFiles.add(propertiesFile);
+ }
+
+ /**
+ * This will be used to get the list of templates that are to be launched by this launcher.
+ *
+ * @return The list of templates to call on the module {@link #getModuleName()}.
+ * @generated
+ */
+ @Override
+ public String[] getTemplateNames() {
+ return TEMPLATE_NAMES;
+ }
+
+ /**
+ * This can be used to update the resource set's package registry with all needed EPackages.
+ *
+ * @param resourceSet
+ * The resource set which registry has to be updated.
+ * @generated
+ */
+ @Override
+ public void registerPackages(ResourceSet resourceSet) {
+ super.registerPackages(resourceSet);
+ if (!isInWorkspace(org.eclipse.emf.ecore.EcorePackage.class)) {
+ resourceSet.getPackageRegistry().put(org.eclipse.emf.ecore.EcorePackage.eINSTANCE.getNsURI(), org.eclipse.emf.ecore.EcorePackage.eINSTANCE);
+ }
+
+ /*
+ * If you want to change the content of this method, do NOT forget to change the "@generated"
+ * tag in the Javadoc of this method to "@generated NOT". Without this new tag, any compilation
+ * of the Acceleo module with the main template that has caused the creation of this class will
+ * revert your modifications.
+ */
+
+ /*
+ * If you need additional package registrations, you can register them here. The following line
+ * (in comment) is an example of the package registration for UML.
+ *
+ * You can use the method "isInWorkspace(Class c)" to check if the package that you are about to
+ * register is in the workspace.
+ *
+ * To register a package properly, please follow the following conventions:
+ *
+ * If the package is located in another plug-in, already installed in Eclipse. The following content should
+ * have been generated at the beginning of this method. Do not register the package using this mechanism if
+ * the metamodel is located in the workspace.
+ *
+ * if (!isInWorkspace(UMLPackage.class)) {
+ * // The normal package registration if your metamodel is in a plugin.
+ * resourceSet.getPackageRegistry().put(UMLPackage.eNS_URI, UMLPackage.eINSTANCE);
+ * }
+ *
+ * If the package is located in another project in your workspace, the plugin containing the package has not
+ * been register by EMF and Acceleo should register it automatically. If you want to use the generator in
+ * stand alone, the regular registration (seen a couple lines before) is needed.
+ *
+ * To learn more about Package Registration, have a look at the Acceleo documentation (Help -> Help Contents).
+ */
+ }
+
+ /**
+ * This can be used to update the resource set's resource factory registry with all needed factories.
+ *
+ * @param resourceSet
+ * The resource set which registry has to be updated.
+ * @generated
+ */
+ @Override
+ public void registerResourceFactories(ResourceSet resourceSet) {
+ super.registerResourceFactories(resourceSet);
+ /*
+ * If you want to change the content of this method, do NOT forget to change the "@generated"
+ * tag in the Javadoc of this method to "@generated NOT". Without this new tag, any compilation
+ * of the Acceleo module with the main template that has caused the creation of this class will
+ * revert your modifications.
+ */
+
+ /*
+ * TODO If you need additional resource factories registrations, you can register them here. the following line
+ * (in comment) is an example of the resource factory registration for UML.
+ *
+ * If you want to use the generator in stand alone, the resource factory registration will be required.
+ *
+ * To learn more about the registration of Resource Factories, have a look at the Acceleo documentation (Help -> Help Contents).
+ */
+
+ // resourceSet.getResourceFactoryRegistry().getExtensionToFactoryMap().put(UMLResource.FILE_EXTENSION, UMLResource.Factory.INSTANCE);
+ }
+
}
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/transforsrc/org/eclipse/papyrus/domaincontextcodegen/modules/utils/ModelUtils.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/transforsrc/org/eclipse/papyrus/domaincontextcodegen/modules/utils/ModelUtils.java
index 319d5aaacfe..d19c5385a1d 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/transforsrc/org/eclipse/papyrus/domaincontextcodegen/modules/utils/ModelUtils.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/transforsrc/org/eclipse/papyrus/domaincontextcodegen/modules/utils/ModelUtils.java
@@ -1,9 +1,9 @@
/*******************************************************************************
* Copyright (c) 2010 CEA LIST.
* All rights reserved. This program and the accompanying materials
- * are property of the CEA, their use is subject to specific agreement
+ * are property of the CEA, their use is subject to specific agreement
* with the CEA.
- *
+ *
* Contributors:
* CEA LIST - initial API and implementation
*******************************************************************************/
@@ -20,16 +20,16 @@ public class ModelUtils {
boolean isAbstract = false;
MetaClassType mt = null;
- if(type instanceof MetaClassType) {
- mt = (MetaClassType)type;
+ if (type instanceof MetaClassType) {
+ mt = (MetaClassType) type;
isAbstract = mt.getMetaClass().isAbstract();
- } else if(type instanceof SpecializationType) {
- SpecializationType st = (SpecializationType)type;
+ } else if (type instanceof SpecializationType) {
+ SpecializationType st = (SpecializationType) type;
mt = getMetaClassType(st);
}
- if(mt != null) {
+ if (mt != null) {
isAbstract = mt.getMetaClass().isAbstract();
}
@@ -38,11 +38,11 @@ public class ModelUtils {
private MetaClassType getMetaClassType(SpecializationType st) {
- if(st.getRef() instanceof MetaClassType) {
- return (MetaClassType)st.getRef();
+ if (st.getRef() instanceof MetaClassType) {
+ return (MetaClassType) st.getRef();
- } else if(st.getRef() instanceof SpecializationType) {
- return getMetaClassType((SpecializationType)st.getRef());
+ } else if (st.getRef() instanceof SpecializationType) {
+ return getMetaClassType((SpecializationType) st.getRef());
}
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/transforsrc/org/eclipse/papyrus/domaincontextcodegen/modules/utils/StringUtils.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/transforsrc/org/eclipse/papyrus/domaincontextcodegen/modules/utils/StringUtils.java
index e7e150fc9e6..e0a8aee4d42 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/transforsrc/org/eclipse/papyrus/domaincontextcodegen/modules/utils/StringUtils.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/transforsrc/org/eclipse/papyrus/domaincontextcodegen/modules/utils/StringUtils.java
@@ -1,9 +1,9 @@
/*******************************************************************************
* Copyright (c) 2010 CEA LIST.
* All rights reserved. This program and the accompanying materials
- * are property of the CEA, their use is subject to specific agreement
+ * are property of the CEA, their use is subject to specific agreement
* with the CEA.
- *
+ *
* Contributors:
* CEA LIST - initial API and implementation
*******************************************************************************/
diff --git a/plugins/developer/org.eclipse.papyrus.gmf.editpartview/src/org/eclipse/papyrus/gmf/editpartview/Activator.java b/plugins/developer/org.eclipse.papyrus.gmf.editpartview/src/org/eclipse/papyrus/gmf/editpartview/Activator.java
index e233cd78d69..786dec72c52 100644
--- a/plugins/developer/org.eclipse.papyrus.gmf.editpartview/src/org/eclipse/papyrus/gmf/editpartview/Activator.java
+++ b/plugins/developer/org.eclipse.papyrus.gmf.editpartview/src/org/eclipse/papyrus/gmf/editpartview/Activator.java
@@ -25,6 +25,7 @@ public class Activator extends AbstractUIPlugin {
*
* @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
*/
+ @Override
public void start(BundleContext context) throws Exception {
super.start(context);
plugin = this;
@@ -35,6 +36,7 @@ public class Activator extends AbstractUIPlugin {
*
* @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
*/
+ @Override
public void stop(BundleContext context) throws Exception {
plugin = null;
super.stop(context);
@@ -42,7 +44,7 @@ public class Activator extends AbstractUIPlugin {
/**
* Returns the shared instance
- *
+ *
* @return the shared instance
*/
public static Activator getDefault() {
diff --git a/plugins/developer/org.eclipse.papyrus.gmf.editpartview/src/org/eclipse/papyrus/gmf/editpartview/view/EditPartHierarchyView.java b/plugins/developer/org.eclipse.papyrus.gmf.editpartview/src/org/eclipse/papyrus/gmf/editpartview/view/EditPartHierarchyView.java
index 8f5c010cef4..8f646065bd6 100644
--- a/plugins/developer/org.eclipse.papyrus.gmf.editpartview/src/org/eclipse/papyrus/gmf/editpartview/view/EditPartHierarchyView.java
+++ b/plugins/developer/org.eclipse.papyrus.gmf.editpartview/src/org/eclipse/papyrus/gmf/editpartview/view/EditPartHierarchyView.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2013 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -13,7 +13,6 @@
*/
package org.eclipse.papyrus.gmf.editpartview.view;
-import org.eclipse.gef.ConnectionEditPart;
import org.eclipse.gef.GraphicalEditPart;
import org.eclipse.jface.action.Action;
import org.eclipse.jface.action.IToolBarManager;
@@ -48,9 +47,10 @@ public class EditPartHierarchyView extends ViewPart {
*
* @see org.eclipse.ui.part.WorkbenchPart#setFocus()
*/
+ @Override
public void setFocus() {
Viewer viewer = getViewer();
- if(viewer != null && !viewer.getControl().isDisposed()) {
+ if (viewer != null && !viewer.getControl().isDisposed()) {
viewer.getControl().setFocus();
}
@@ -58,20 +58,20 @@ public class EditPartHierarchyView extends ViewPart {
/**
* Create the main tree control
- *
+ *
* @param parent
* @return Tree
*/
protected Tree createTree(Composite parent) {
Tree tree = new Tree(parent, SWT.H_SCROLL | SWT.V_SCROLL | SWT.MULTI
- | SWT.FULL_SELECTION);
+ | SWT.FULL_SELECTION);
tree.setLinesVisible(true);
return tree;
}
/**
* Return the viewer.
- *
+ *
* @return TreeViewer
*/
protected TreeViewer getViewer() {
@@ -79,22 +79,23 @@ public class EditPartHierarchyView extends ViewPart {
}
/**
- *
+ *
* Constructor.
- *
+ *
*/
public EditPartHierarchyView() {
myEditPartlistener = new ISelectionListener() {
+ @Override
public void selectionChanged(IWorkbenchPart part, ISelection selection) {
- if(selection instanceof IStructuredSelection) {
- Object selectedobject = ((IStructuredSelection)selection).getFirstElement();
- if(selectedobject instanceof GraphicalEditPart) {
- GraphicalEditPart graphicalEP = ((GraphicalEditPart)selectedobject);
+ if (selection instanceof IStructuredSelection) {
+ Object selectedobject = ((IStructuredSelection) selection).getFirstElement();
+ if (selectedobject instanceof GraphicalEditPart) {
+ GraphicalEditPart graphicalEP = ((GraphicalEditPart) selectedobject);
- if(viewer != null) {
- viewer.setInput(new Object[]{ graphicalEP });
+ if (viewer != null) {
+ viewer.setInput(new Object[] { graphicalEP });
viewer.expandAll();
}
}
@@ -169,33 +170,39 @@ public class EditPartHierarchyView extends ViewPart {
protected IContentProvider getContentProvider() {
return new ITreeContentProvider() {
+ @Override
public Object[] getElements(final Object inputElement) {
- if(inputElement instanceof Object[]) {
- return (Object[])inputElement;
+ if (inputElement instanceof Object[]) {
+ return (Object[]) inputElement;
}
return null;
}
+ @Override
public void inputChanged(final Viewer viewer, final Object oldInput, final Object newInput) {
// nothing
}
+ @Override
public void dispose() {
// nothing
}
+ @Override
public boolean hasChildren(final Object element) {
return getChildren(element).length != 0;
}
+ @Override
public Object getParent(final Object element) {
return null;
}
+ @Override
public Object[] getChildren(final Object parentElement) {
- if(parentElement instanceof GraphicalEditPart) {
- return ((GraphicalEditPart)parentElement).getChildren().toArray();
+ if (parentElement instanceof GraphicalEditPart) {
+ return ((GraphicalEditPart) parentElement).getChildren().toArray();
}
return new Object[0];
}
diff --git a/plugins/developer/org.eclipse.papyrus.gmf.editpartview/src/org/eclipse/papyrus/gmf/editpartview/view/EditPartLabelProvider.java b/plugins/developer/org.eclipse.papyrus.gmf.editpartview/src/org/eclipse/papyrus/gmf/editpartview/view/EditPartLabelProvider.java
index 217cb1513c3..ff1506d108e 100644
--- a/plugins/developer/org.eclipse.papyrus.gmf.editpartview/src/org/eclipse/papyrus/gmf/editpartview/view/EditPartLabelProvider.java
+++ b/plugins/developer/org.eclipse.papyrus.gmf.editpartview/src/org/eclipse/papyrus/gmf/editpartview/view/EditPartLabelProvider.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2013 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -27,7 +27,7 @@ import org.eclipse.uml2.uml.NamedElement;
/**
* This is the label provider to display edit parts
- *
+ *
*/
public class EditPartLabelProvider implements ITableLabelProvider, ITableColorProvider {
@@ -35,30 +35,35 @@ public class EditPartLabelProvider implements ITableLabelProvider, ITableColorPr
protected Color customizableDropEditPolicyColor = new Color(Display.getDefault(), 0, 38, 255);
+ @Override
public void removeListener(ILabelProviderListener listener) {
}
+ @Override
public boolean isLabelProperty(Object element, String property) {
return false;
}
+ @Override
public void dispose() {
}
+ @Override
public void addListener(ILabelProviderListener listener) {
}
+ @Override
public String getColumnText(Object element, int columnIndex) {
- if(element instanceof GraphicalEditPart) {
- GraphicalEditPart editPart = (GraphicalEditPart)element;
+ if (element instanceof GraphicalEditPart) {
+ GraphicalEditPart editPart = (GraphicalEditPart) element;
IFigure figure = editPart.getContentPane();
Object model = editPart.getAdapter(EObject.class);
- switch(columnIndex) {
+ switch (columnIndex) {
case 0:
return editPart.getClass().getSimpleName();
case 1:
- if(model instanceof NamedElement) {
- return ((NamedElement)model).getName();
+ if (model instanceof NamedElement) {
+ return ((NamedElement) model).getName();
}
return "not a named element";
case 2:
@@ -70,15 +75,18 @@ public class EditPartLabelProvider implements ITableLabelProvider, ITableColorPr
return "cannot display it: " + element;
}
+ @Override
public Image getColumnImage(Object element, int columnIndex) {
return null;
}
+ @Override
public Color getForeground(Object element, int columnIndex) {
// TODO Auto-generated method stub
return null;
}
+ @Override
public Color getBackground(Object element, int columnIndex) {
// TODO Auto-generated method stub
return null;
diff --git a/plugins/developer/org.eclipse.papyrus.gmf.editpoliciesstates/src/org/eclipse/papyrus/gmf/editpoliciesstates/Activator.java b/plugins/developer/org.eclipse.papyrus.gmf.editpoliciesstates/src/org/eclipse/papyrus/gmf/editpoliciesstates/Activator.java
index 4ccf5fdc029..3a4e39ea385 100644
--- a/plugins/developer/org.eclipse.papyrus.gmf.editpoliciesstates/src/org/eclipse/papyrus/gmf/editpoliciesstates/Activator.java
+++ b/plugins/developer/org.eclipse.papyrus.gmf.editpoliciesstates/src/org/eclipse/papyrus/gmf/editpoliciesstates/Activator.java
@@ -1,6 +1,6 @@
/*****************************************************************************
* Copyright (c) 2013, 2014 CEA LIST and others.
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -26,7 +26,7 @@ public class Activator extends AbstractUIPlugin {
// The shared instance
private static Activator plugin;
-
+
/**
* The constructor
*/
@@ -35,8 +35,10 @@ public class Activator extends AbstractUIPlugin {
/*
* (non-Javadoc)
+ *
* @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
*/
+ @Override
public void start(BundleContext context) throws Exception {
super.start(context);
plugin = this;
@@ -44,8 +46,10 @@ public class Activator extends AbstractUIPlugin {
/*
* (non-Javadoc)
+ *
* @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
*/
+ @Override
public void stop(BundleContext context) throws Exception {
plugin = null;
super.stop(context);
diff --git a/plugins/developer/org.eclipse.papyrus.gmf.editpoliciesstates/src/org/eclipse/papyrus/gmf/editpoliciesstates/view/EditPoliciesStateView.java b/plugins/developer/org.eclipse.papyrus.gmf.editpoliciesstates/src/org/eclipse/papyrus/gmf/editpoliciesstates/view/EditPoliciesStateView.java
index b971532700a..d7af345cd9e 100644
--- a/plugins/developer/org.eclipse.papyrus.gmf.editpoliciesstates/src/org/eclipse/papyrus/gmf/editpoliciesstates/view/EditPoliciesStateView.java
+++ b/plugins/developer/org.eclipse.papyrus.gmf.editpoliciesstates/src/org/eclipse/papyrus/gmf/editpoliciesstates/view/EditPoliciesStateView.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2013 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -18,7 +18,6 @@ import java.util.Collection;
import org.eclipse.gef.EditPolicy;
import org.eclipse.gef.editparts.AbstractEditPart;
-import org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart;
import org.eclipse.jface.action.Action;
import org.eclipse.jface.action.IToolBarManager;
import org.eclipse.jface.viewers.IContentProvider;
@@ -42,21 +41,21 @@ import org.eclipse.ui.part.ViewPart;
/**
* this class is used to see all editpolicies attached to a editpart
* It very specify for papyrus.
- *
+ *
*
*/
public class EditPoliciesStateView extends ViewPart {
/**
- * this a object that represents a line into the table
+ * this a object that represents a line into the table
*/
- class EditPolicyDescriptor{
- public String role="NO ROLE";
- public EditPolicy policy= null;
+ class EditPolicyDescriptor {
+ public String role = "NO ROLE";
+ public EditPolicy policy = null;
}
-
- private ArrayList<EditPolicyDescriptor> editPolicyList = new ArrayList<EditPolicyDescriptor>();
+
+ private ArrayList<EditPolicyDescriptor> editPolicyList = new ArrayList<EditPolicyDescriptor>();
private ISelectionListener myEditPartlistener;
private TreeViewer viewer;
@@ -65,6 +64,7 @@ public class EditPoliciesStateView extends ViewPart {
*
* @see org.eclipse.ui.part.WorkbenchPart#setFocus()
*/
+ @Override
public void setFocus() {
Viewer viewer = getViewer();
if (viewer != null && !viewer.getControl().isDisposed()) {
@@ -75,27 +75,28 @@ public class EditPoliciesStateView extends ViewPart {
/**
* Create the main tree control
- *
+ *
* @param parent
* @return Tree
*/
protected Tree createTree(Composite parent) {
Tree tree = new Tree(parent, SWT.H_SCROLL | SWT.V_SCROLL | SWT.MULTI
- | SWT.FULL_SELECTION);
+ | SWT.FULL_SELECTION);
tree.setLinesVisible(true);
return tree;
}
/**
* Return the viewer.
- *
+ *
* @return TreeViewer
*/
protected TreeViewer getViewer() {
return viewer;
}
+
/**
- *
+ *
* Constructor.
*
*/
@@ -104,43 +105,43 @@ public class EditPoliciesStateView extends ViewPart {
public void selectionChanged(IWorkbenchPart part, ISelection selection) {
- if(selection instanceof IStructuredSelection) {
- Object[] policiesValue=null;
- Object selectedobject = ((IStructuredSelection)selection).getFirstElement();
- if(selectedobject instanceof org.eclipse.gef.GraphicalEditPart) {
- org.eclipse.gef.GraphicalEditPart graphicalEP = ((org.eclipse.gef.GraphicalEditPart)selectedobject);
+ if (selection instanceof IStructuredSelection) {
+ Object[] policiesValue = null;
+ Object selectedobject = ((IStructuredSelection) selection).getFirstElement();
+ if (selectedobject instanceof org.eclipse.gef.GraphicalEditPart) {
+ org.eclipse.gef.GraphicalEditPart graphicalEP = ((org.eclipse.gef.GraphicalEditPart) selectedobject);
Field policiesFiled = null;
try {
policiesFiled = AbstractEditPart.class.getDeclaredField("policies");
- } catch (NoSuchFieldException e ) {
+ } catch (NoSuchFieldException e) {
e.printStackTrace();
- }catch (SecurityException e) {
+ } catch (SecurityException e) {
e.printStackTrace();
}
policiesFiled.setAccessible(true);
try {
- policiesValue = (Object[])policiesFiled.get(graphicalEP);
+ policiesValue = (Object[]) policiesFiled.get(graphicalEP);
} catch (IllegalArgumentException e) {
e.printStackTrace();
- }catch (IllegalAccessException e) {
+ } catch (IllegalAccessException e) {
e.printStackTrace();
}
editPolicyList.clear();
- for(int i=0;i<policiesValue.length;i=i+2) {
- EditPolicyDescriptor epd= new EditPolicyDescriptor();
- if(policiesValue[i] instanceof String){
- epd.role=(String)policiesValue[i];
+ for (int i = 0; i < policiesValue.length; i = i + 2) {
+ EditPolicyDescriptor epd = new EditPolicyDescriptor();
+ if (policiesValue[i] instanceof String) {
+ epd.role = (String) policiesValue[i];
editPolicyList.add(epd);
}
- if(policiesValue[i+1] instanceof EditPolicy){
- epd.policy=(EditPolicy)policiesValue[i+1];
+ if (policiesValue[i + 1] instanceof EditPolicy) {
+ epd.policy = (EditPolicy) policiesValue[i + 1];
}
}
- if(viewer!=null){
+ if (viewer != null) {
viewer.setInput(editPolicyList);
}
}
@@ -157,7 +158,7 @@ public class EditPoliciesStateView extends ViewPart {
viewer.getTree().setHeaderVisible(true);
viewer.getTree().setLinesVisible(true);
- TreeColumn tcName =new TreeColumn(viewer.getTree(), SWT.LEFT);
+ TreeColumn tcName = new TreeColumn(viewer.getTree(), SWT.LEFT);
tcName.setText("Name");
tcName.setWidth(200);
TreeColumn tcDescription = new TreeColumn(viewer.getTree(), SWT.LEFT);
@@ -176,11 +177,11 @@ public class EditPoliciesStateView extends ViewPart {
}
- protected ITableLabelProvider getLabelProvider(){
+ protected ITableLabelProvider getLabelProvider() {
return new EditpolicyLabelProvider();
}
- protected Action getClearViewAction(){
+ protected Action getClearViewAction() {
return new Action() {
@Override
@@ -211,8 +212,8 @@ public class EditPoliciesStateView extends ViewPart {
return new ITreeContentProvider() {
public Object[] getElements(final Object inputElement) {
- if(inputElement instanceof Collection<?>) {
- return ((Collection<?>)inputElement).toArray();
+ if (inputElement instanceof Collection<?>) {
+ return ((Collection<?>) inputElement).toArray();
}
return new Object[0];
@@ -236,9 +237,9 @@ public class EditPoliciesStateView extends ViewPart {
}
public Object[] getChildren(final Object parentElement) {
- if(parentElement instanceof EditPolicyDescriptor) {
- if ( ((EditPolicyDescriptor)parentElement).policy!=null){
- if( ((EditPolicyDescriptor)parentElement).policy instanceof CustomizableDropEditPolicy){
+ if (parentElement instanceof EditPolicyDescriptor) {
+ if (((EditPolicyDescriptor) parentElement).policy != null) {
+ if (((EditPolicyDescriptor) parentElement).policy instanceof CustomizableDropEditPolicy) {
Field defaultDropEditPolicyField;
try {
defaultDropEditPolicyField = CustomizableDropEditPolicy.class.getDeclaredField("defaultDropEditPolicy");
@@ -247,19 +248,19 @@ public class EditPoliciesStateView extends ViewPart {
defaultDropEditPolicyField.setAccessible(true);
defaultCreationEditPolicyField.setAccessible(true);
- EditPolicyDescriptor edp1= new EditPolicyDescriptor();
- EditPolicyDescriptor edp2= new EditPolicyDescriptor();
- edp1.policy=(EditPolicy)defaultDropEditPolicyField.get(((EditPolicyDescriptor)parentElement).policy);
- edp2.policy=(EditPolicy)defaultCreationEditPolicyField.get(((EditPolicyDescriptor)parentElement).policy);
- edp1.role="defaultDropEditPolicy";
- edp2.role="defaultCreationEditPolicy";
- Object[] result= new Object[2];
- result[0]=edp1;
- result[1]=edp2;
+ EditPolicyDescriptor edp1 = new EditPolicyDescriptor();
+ EditPolicyDescriptor edp2 = new EditPolicyDescriptor();
+ edp1.policy = (EditPolicy) defaultDropEditPolicyField.get(((EditPolicyDescriptor) parentElement).policy);
+ edp2.policy = (EditPolicy) defaultCreationEditPolicyField.get(((EditPolicyDescriptor) parentElement).policy);
+ edp1.role = "defaultDropEditPolicy";
+ edp2.role = "defaultCreationEditPolicy";
+ Object[] result = new Object[2];
+ result[0] = edp1;
+ result[1] = edp2;
return result;
- } catch (NoSuchFieldException e ) {
+ } catch (NoSuchFieldException e) {
e.printStackTrace();
- }catch (SecurityException e ) {
+ } catch (SecurityException e) {
e.printStackTrace();
} catch (IllegalArgumentException e) {
e.printStackTrace();
diff --git a/plugins/developer/org.eclipse.papyrus.gmf.editpoliciesstates/src/org/eclipse/papyrus/gmf/editpoliciesstates/view/EditpolicyLabelProvider.java b/plugins/developer/org.eclipse.papyrus.gmf.editpoliciesstates/src/org/eclipse/papyrus/gmf/editpoliciesstates/view/EditpolicyLabelProvider.java
index 535aa863c40..4f9a007dce8 100644
--- a/plugins/developer/org.eclipse.papyrus.gmf.editpoliciesstates/src/org/eclipse/papyrus/gmf/editpoliciesstates/view/EditpolicyLabelProvider.java
+++ b/plugins/developer/org.eclipse.papyrus.gmf.editpoliciesstates/src/org/eclipse/papyrus/gmf/editpoliciesstates/view/EditpolicyLabelProvider.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -25,7 +25,7 @@ import org.eclipse.swt.widgets.Display;
* this is the label provider to display editplicies
*
*/
-public class EditpolicyLabelProvider implements ITableLabelProvider, ITableColorProvider {
+public class EditpolicyLabelProvider implements ITableLabelProvider, ITableColorProvider {
protected Color papyrusColor = new Color(Display.getDefault(), 0, 127, 14);
protected Color customizableDropEditPolicyColor = new Color(Display.getDefault(), 0, 38, 255);
@@ -43,19 +43,22 @@ public class EditpolicyLabelProvider implements ITableLabelProvider, ITableColor
}
public String getColumnText(Object element, int columnIndex) {
- if(element instanceof EditPolicyDescriptor){
+ if (element instanceof EditPolicyDescriptor) {
switch (columnIndex) {
case 0:
- return ((EditPolicyDescriptor)element).role;
+ return ((EditPolicyDescriptor) element).role;
case 1:
- if(((EditPolicyDescriptor)element).policy!=null){
- return ((EditPolicyDescriptor)element).policy.getClass().getName();}
- else{ return "";}
+ if (((EditPolicyDescriptor) element).policy != null) {
+ return ((EditPolicyDescriptor) element).policy.getClass().getName();
+ }
+ else {
+ return "";
+ }
}
}
- return "cannot display it: "+element;
+ return "cannot display it: " + element;
}
public Image getColumnImage(Object element, int columnIndex) {
@@ -63,24 +66,24 @@ public class EditpolicyLabelProvider implements ITableLabelProvider, ITableColor
}
public Color getForeground(Object element, int columnIndex) {
- if(element instanceof EditPolicyDescriptor){
+ if (element instanceof EditPolicyDescriptor) {
switch (columnIndex) {
case 0:
- if(((EditPolicyDescriptor)element).policy!=null){
- if(((EditPolicyDescriptor)element).policy.getClass().getName().contains("CustomizableDropEditPolicy")){
+ if (((EditPolicyDescriptor) element).policy != null) {
+ if (((EditPolicyDescriptor) element).policy.getClass().getName().contains("CustomizableDropEditPolicy")) {
return customizableDropEditPolicyColor;
}
- if(((EditPolicyDescriptor)element).policy.getClass().getName().contains("papyrus")){
+ if (((EditPolicyDescriptor) element).policy.getClass().getName().contains("papyrus")) {
return papyrusColor;
}
}
return Display.getDefault().getSystemColor(0);
- case 1:
- if(((EditPolicyDescriptor)element).policy!=null){
- if(((EditPolicyDescriptor)element).policy.getClass().getName().contains("CustomizableDropEditPolicy")){
+ case 1:
+ if (((EditPolicyDescriptor) element).policy != null) {
+ if (((EditPolicyDescriptor) element).policy.getClass().getName().contains("CustomizableDropEditPolicy")) {
return customizableDropEditPolicyColor;
}
- if(((EditPolicyDescriptor)element).policy.getClass().getName().contains("papyrus")){
+ if (((EditPolicyDescriptor) element).policy.getClass().getName().contains("papyrus")) {
return papyrusColor;
}
}
@@ -95,4 +98,4 @@ public class EditpolicyLabelProvider implements ITableLabelProvider, ITableColor
public Color getBackground(Object element, int columnIndex) {
return null;
}
-};
+};
diff --git a/plugins/developer/org.eclipse.papyrus.gmf.figureview/src/org/eclipse/papyrus/gmf/figureview/Activator.java b/plugins/developer/org.eclipse.papyrus.gmf.figureview/src/org/eclipse/papyrus/gmf/figureview/Activator.java
index c286a86e843..503f3791408 100644
--- a/plugins/developer/org.eclipse.papyrus.gmf.figureview/src/org/eclipse/papyrus/gmf/figureview/Activator.java
+++ b/plugins/developer/org.eclipse.papyrus.gmf.figureview/src/org/eclipse/papyrus/gmf/figureview/Activator.java
@@ -25,6 +25,7 @@ public class Activator extends AbstractUIPlugin {
*
* @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
*/
+ @Override
public void start(BundleContext context) throws Exception {
super.start(context);
plugin = this;
@@ -35,6 +36,7 @@ public class Activator extends AbstractUIPlugin {
*
* @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
*/
+ @Override
public void stop(BundleContext context) throws Exception {
plugin = null;
super.stop(context);
@@ -42,7 +44,7 @@ public class Activator extends AbstractUIPlugin {
/**
* Returns the shared instance
- *
+ *
* @return the shared instance
*/
public static Activator getDefault() {
diff --git a/plugins/developer/org.eclipse.papyrus.gmf.figureview/src/org/eclipse/papyrus/gmf/figureview/view/FigureHierarchyView.java b/plugins/developer/org.eclipse.papyrus.gmf.figureview/src/org/eclipse/papyrus/gmf/figureview/view/FigureHierarchyView.java
index 755feb0c2e8..e169995f18b 100644
--- a/plugins/developer/org.eclipse.papyrus.gmf.figureview/src/org/eclipse/papyrus/gmf/figureview/view/FigureHierarchyView.java
+++ b/plugins/developer/org.eclipse.papyrus.gmf.figureview/src/org/eclipse/papyrus/gmf/figureview/view/FigureHierarchyView.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2013 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -36,7 +36,7 @@ import org.eclipse.ui.part.ViewPart;
/**
* This class shows the figure hierarchy attached to a edit-part
- *
+ *
*/
public class FigureHierarchyView extends ViewPart {
@@ -49,9 +49,10 @@ public class FigureHierarchyView extends ViewPart {
*
* @see org.eclipse.ui.part.WorkbenchPart#setFocus()
*/
+ @Override
public void setFocus() {
Viewer viewer = getViewer();
- if(viewer != null && !viewer.getControl().isDisposed()) {
+ if (viewer != null && !viewer.getControl().isDisposed()) {
viewer.getControl().setFocus();
}
@@ -59,20 +60,20 @@ public class FigureHierarchyView extends ViewPart {
/**
* Create the main tree control
- *
+ *
* @param parent
* @return Tree
*/
protected Tree createTree(Composite parent) {
Tree tree = new Tree(parent, SWT.H_SCROLL | SWT.V_SCROLL | SWT.MULTI
- | SWT.FULL_SELECTION);
+ | SWT.FULL_SELECTION);
tree.setLinesVisible(true);
return tree;
}
/**
* Return the viewer.
- *
+ *
* @return TreeViewer
*/
protected TreeViewer getViewer() {
@@ -80,23 +81,24 @@ public class FigureHierarchyView extends ViewPart {
}
/**
- *
+ *
* Constructor.
- *
+ *
*/
public FigureHierarchyView() {
myEditPartlistener = new ISelectionListener() {
+ @Override
public void selectionChanged(IWorkbenchPart part, ISelection selection) {
- if(selection instanceof IStructuredSelection) {
- Object selectedobject = ((IStructuredSelection)selection).getFirstElement();
- if(selectedobject instanceof GraphicalEditPart) {
- GraphicalEditPart graphicalEP = ((GraphicalEditPart)selectedobject);
+ if (selection instanceof IStructuredSelection) {
+ Object selectedobject = ((IStructuredSelection) selection).getFirstElement();
+ if (selectedobject instanceof GraphicalEditPart) {
+ GraphicalEditPart graphicalEP = ((GraphicalEditPart) selectedobject);
IFigure figure = graphicalEP.getContentPane();
- if(viewer != null) {
- viewer.setInput(new Object[]{ figure });
+ if (viewer != null) {
+ viewer.setInput(new Object[] { figure });
viewer.expandAll();
}
}
@@ -174,33 +176,39 @@ public class FigureHierarchyView extends ViewPart {
protected IContentProvider getContentProvider() {
return new ITreeContentProvider() {
+ @Override
public Object[] getElements(final Object inputElement) {
- if(inputElement instanceof Object[]) {
- return (Object[])inputElement;
+ if (inputElement instanceof Object[]) {
+ return (Object[]) inputElement;
}
return null;
}
+ @Override
public void inputChanged(final Viewer viewer, final Object oldInput, final Object newInput) {
// nothing
}
+ @Override
public void dispose() {
// nothing
}
+ @Override
public boolean hasChildren(final Object element) {
return getChildren(element).length != 0;
}
+ @Override
public Object getParent(final Object element) {
return null;
}
+ @Override
public Object[] getChildren(final Object parentElement) {
- if(parentElement instanceof IFigure) {
- return ((IFigure)parentElement).getChildren().toArray();
+ if (parentElement instanceof IFigure) {
+ return ((IFigure) parentElement).getChildren().toArray();
}
return new Object[0];
}
diff --git a/plugins/developer/org.eclipse.papyrus.gmf.figureview/src/org/eclipse/papyrus/gmf/figureview/view/FigureLabelProvider.java b/plugins/developer/org.eclipse.papyrus.gmf.figureview/src/org/eclipse/papyrus/gmf/figureview/view/FigureLabelProvider.java
index 4f3a7784769..72ac6b7c8cc 100644
--- a/plugins/developer/org.eclipse.papyrus.gmf.figureview/src/org/eclipse/papyrus/gmf/figureview/view/FigureLabelProvider.java
+++ b/plugins/developer/org.eclipse.papyrus.gmf.figureview/src/org/eclipse/papyrus/gmf/figureview/view/FigureLabelProvider.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -10,7 +10,7 @@
* Contributors:
* Ansgar Radermacher (CEA LIST) ansgar.radermacher@cea.fr - Initial API and implementation
* Based on edit policy view from patrick.tessier@cea.fr
- *
+ *
*/
package org.eclipse.papyrus.gmf.figureview.view;
@@ -28,7 +28,7 @@ import org.eclipse.swt.widgets.Display;
/**
* This is the label provider to display figures
- *
+ *
*/
public class FigureLabelProvider implements ITableLabelProvider, ITableColorProvider {
@@ -36,27 +36,32 @@ public class FigureLabelProvider implements ITableLabelProvider, ITableColorProv
protected Color customizableDropEditPolicyColor = new Color(Display.getDefault(), 0, 38, 255);
+ @Override
public void removeListener(ILabelProviderListener listener) {
}
+ @Override
public boolean isLabelProperty(Object element, String property) {
return false;
}
+ @Override
public void dispose() {
}
+ @Override
public void addListener(ILabelProviderListener listener) {
}
+ @Override
public String getColumnText(Object element, int columnIndex) {
- if(element instanceof IFigure) {
- IFigure figure = (IFigure)element;
- switch(columnIndex) {
+ if (element instanceof IFigure) {
+ IFigure figure = (IFigure) element;
+ switch (columnIndex) {
case 0:
String name = figure.getClass().getName();
int index = name.lastIndexOf("."); //$NON-NLS-1$
- if(index == -1) {
+ if (index == -1) {
return name;
}
else {
@@ -65,14 +70,14 @@ public class FigureLabelProvider implements ITableLabelProvider, ITableColorProv
case 1:
return figure.getBounds().toString();
case 2:
- if(figure.getLayoutManager() != null) {
+ if (figure.getLayoutManager() != null) {
return figure.getLayoutManager().getClass().getSimpleName();
}
else {
return "none"; //$NON-NLS-1$
}
case 3:
- if(figure.getBorder() != null) {
+ if (figure.getBorder() != null) {
String borderInfo = figure.getBorder().getClass().getSimpleName();
if (figure.getBorder() instanceof LineBorder) {
borderInfo += String.format(" (%d)", ((LineBorder) figure.getBorder()).getWidth()); //$NON-NLS-1$
@@ -97,15 +102,18 @@ public class FigureLabelProvider implements ITableLabelProvider, ITableColorProv
return "cannot display element: " + element; //$NON-NLS-1$
}
+ @Override
public Image getColumnImage(Object element, int columnIndex) {
return null;
}
+ @Override
public Color getForeground(Object element, int columnIndex) {
// TODO Auto-generated method stub
return null;
}
+ @Override
public Color getBackground(Object element, int columnIndex) {
// TODO Auto-generated method stub
return null;
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/AdditionalEditPartCandies.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/AdditionalEditPartCandies.java
index f70605099f4..51918df1140 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/AdditionalEditPartCandies.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/AdditionalEditPartCandies.java
@@ -15,7 +15,7 @@ package org.eclipse.papyrus.papyrusgmfgenextension;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.AdditionalEditPartCandies#getBaseEditHelperPackage <em>Base Edit Helper Package</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.AdditionalEditPartCandies#getBaseEditHelperPackage <em>Base Edit Helper Package</em>}</li>
* </ul>
* </p>
*
@@ -32,6 +32,7 @@ public interface AdditionalEditPartCandies extends CommentedElement {
* If the meaning of the '<em>Base Edit Helper Package</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Base Edit Helper Package</em>' attribute.
* @see #setBaseEditHelperPackage(String)
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getAdditionalEditPartCandies_BaseEditHelperPackage()
@@ -44,7 +45,9 @@ public interface AdditionalEditPartCandies extends CommentedElement {
* Sets the value of the '{@link org.eclipse.papyrus.papyrusgmfgenextension.AdditionalEditPartCandies#getBaseEditHelperPackage <em>Base Edit Helper Package</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Base Edit Helper Package</em>' attribute.
+ *
+ * @param value
+ * the new value of the '<em>Base Edit Helper Package</em>' attribute.
* @see #getBaseEditHelperPackage()
* @generated
*/
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/AlternateCanvas.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/AlternateCanvas.java
index 15c8d015a50..5e035e44fb2 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/AlternateCanvas.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/AlternateCanvas.java
@@ -18,10 +18,10 @@ import org.eclipse.gmf.codegen.gmfgen.GenDiagram;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.AlternateCanvas#getDomainDiagramElement <em>Domain Diagram Element</em>}</li>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.AlternateCanvas#getAlternateTopLevelNodes <em>Alternate Top Level Nodes</em>}</li>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.AlternateCanvas#getAlternateLinkNodes <em>Alternate Link Nodes</em>}</li>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.AlternateCanvas#getDiagram <em>Diagram</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.AlternateCanvas#getDomainDiagramElement <em>Domain Diagram Element</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.AlternateCanvas#getAlternateTopLevelNodes <em>Alternate Top Level Nodes</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.AlternateCanvas#getAlternateLinkNodes <em>Alternate Link Nodes</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.AlternateCanvas#getDiagram <em>Diagram</em>}</li>
* </ul>
* </p>
*
@@ -38,6 +38,7 @@ public interface AlternateCanvas extends CommentedElement {
* If the meaning of the '<em>Domain Diagram Element</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Domain Diagram Element</em>' reference.
* @see #setDomainDiagramElement(GenClass)
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getAlternateCanvas_DomainDiagramElement()
@@ -50,7 +51,9 @@ public interface AlternateCanvas extends CommentedElement {
* Sets the value of the '{@link org.eclipse.papyrus.papyrusgmfgenextension.AlternateCanvas#getDomainDiagramElement <em>Domain Diagram Element</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Domain Diagram Element</em>' reference.
+ *
+ * @param value
+ * the new value of the '<em>Domain Diagram Element</em>' reference.
* @see #getDomainDiagramElement()
* @generated
*/
@@ -61,10 +64,10 @@ public interface AlternateCanvas extends CommentedElement {
* The list contents are of type {@link org.eclipse.papyrus.papyrusgmfgenextension.AlternateGenTopLevelNode}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Alternate Top Level Nodes</em>' containment reference list isn't clear, there really should be more of a description
- * here...
+ * If the meaning of the '<em>Alternate Top Level Nodes</em>' containment reference list isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Alternate Top Level Nodes</em>' containment reference list.
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getAlternateCanvas_AlternateTopLevelNodes()
* @model containment="true"
@@ -77,10 +80,10 @@ public interface AlternateCanvas extends CommentedElement {
* The list contents are of type {@link org.eclipse.papyrus.papyrusgmfgenextension.AlternateGenLink}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Alternate Link Nodes</em>' containment reference list isn't clear, there really should be more of a description
- * here...
+ * If the meaning of the '<em>Alternate Link Nodes</em>' containment reference list isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Alternate Link Nodes</em>' containment reference list.
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getAlternateCanvas_AlternateLinkNodes()
* @model containment="true"
@@ -95,6 +98,7 @@ public interface AlternateCanvas extends CommentedElement {
* If the meaning of the '<em>Diagram</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Diagram</em>' reference.
* @see #setDiagram(GenDiagram)
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getAlternateCanvas_Diagram()
@@ -107,7 +111,9 @@ public interface AlternateCanvas extends CommentedElement {
* Sets the value of the '{@link org.eclipse.papyrus.papyrusgmfgenextension.AlternateCanvas#getDiagram <em>Diagram</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Diagram</em>' reference.
+ *
+ * @param value
+ * the new value of the '<em>Diagram</em>' reference.
* @see #getDiagram()
* @generated
*/
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/AlternateGenLink.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/AlternateGenLink.java
index 5d3b3bee02a..068ea01ebf2 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/AlternateGenLink.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/AlternateGenLink.java
@@ -17,8 +17,8 @@ import org.eclipse.gmf.codegen.gmfgen.TypeModelFacet;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.AlternateGenLink#getGenLinkNode <em>Gen Link Node</em>}</li>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.AlternateGenLink#getTypeModelFacet <em>Type Model Facet</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.AlternateGenLink#getGenLinkNode <em>Gen Link Node</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.AlternateGenLink#getTypeModelFacet <em>Type Model Facet</em>}</li>
* </ul>
* </p>
*
@@ -35,6 +35,7 @@ public interface AlternateGenLink extends CommentedElement {
* If the meaning of the '<em>Gen Link Node</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Gen Link Node</em>' reference.
* @see #setGenLinkNode(GenLink)
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getAlternateGenLink_GenLinkNode()
@@ -47,7 +48,9 @@ public interface AlternateGenLink extends CommentedElement {
* Sets the value of the '{@link org.eclipse.papyrus.papyrusgmfgenextension.AlternateGenLink#getGenLinkNode <em>Gen Link Node</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Gen Link Node</em>' reference.
+ *
+ * @param value
+ * the new value of the '<em>Gen Link Node</em>' reference.
* @see #getGenLinkNode()
* @generated
*/
@@ -60,6 +63,7 @@ public interface AlternateGenLink extends CommentedElement {
* If the meaning of the '<em>Type Model Facet</em>' containment reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Type Model Facet</em>' containment reference.
* @see #setTypeModelFacet(TypeModelFacet)
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getAlternateGenLink_TypeModelFacet()
@@ -72,7 +76,9 @@ public interface AlternateGenLink extends CommentedElement {
* Sets the value of the '{@link org.eclipse.papyrus.papyrusgmfgenextension.AlternateGenLink#getTypeModelFacet <em>Type Model Facet</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Type Model Facet</em>' containment reference.
+ *
+ * @param value
+ * the new value of the '<em>Type Model Facet</em>' containment reference.
* @see #getTypeModelFacet()
* @generated
*/
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/AlternateGenTopLevelNode.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/AlternateGenTopLevelNode.java
index c2c82f0defe..154bd4695a3 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/AlternateGenTopLevelNode.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/AlternateGenTopLevelNode.java
@@ -17,8 +17,8 @@ import org.eclipse.gmf.codegen.gmfgen.TypeModelFacet;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.AlternateGenTopLevelNode#getGenTopLevelNode <em>Gen Top Level Node</em>}</li>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.AlternateGenTopLevelNode#getTypeModelFacet <em>Type Model Facet</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.AlternateGenTopLevelNode#getGenTopLevelNode <em>Gen Top Level Node</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.AlternateGenTopLevelNode#getTypeModelFacet <em>Type Model Facet</em>}</li>
* </ul>
* </p>
*
@@ -35,6 +35,7 @@ public interface AlternateGenTopLevelNode extends CommentedElement {
* If the meaning of the '<em>Gen Top Level Node</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Gen Top Level Node</em>' reference.
* @see #setGenTopLevelNode(GenTopLevelNode)
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getAlternateGenTopLevelNode_GenTopLevelNode()
@@ -47,7 +48,9 @@ public interface AlternateGenTopLevelNode extends CommentedElement {
* Sets the value of the '{@link org.eclipse.papyrus.papyrusgmfgenextension.AlternateGenTopLevelNode#getGenTopLevelNode <em>Gen Top Level Node</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Gen Top Level Node</em>' reference.
+ *
+ * @param value
+ * the new value of the '<em>Gen Top Level Node</em>' reference.
* @see #getGenTopLevelNode()
* @generated
*/
@@ -60,6 +63,7 @@ public interface AlternateGenTopLevelNode extends CommentedElement {
* If the meaning of the '<em>Type Model Facet</em>' containment reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Type Model Facet</em>' containment reference.
* @see #setTypeModelFacet(TypeModelFacet)
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getAlternateGenTopLevelNode_TypeModelFacet()
@@ -72,7 +76,9 @@ public interface AlternateGenTopLevelNode extends CommentedElement {
* Sets the value of the '{@link org.eclipse.papyrus.papyrusgmfgenextension.AlternateGenTopLevelNode#getTypeModelFacet <em>Type Model Facet</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Type Model Facet</em>' containment reference.
+ *
+ * @param value
+ * the new value of the '<em>Type Model Facet</em>' containment reference.
* @see #getTypeModelFacet()
* @generated
*/
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/CommentedElement.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/CommentedElement.java
index 444aa3bfb89..3b03594038c 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/CommentedElement.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/CommentedElement.java
@@ -16,7 +16,7 @@ import org.eclipse.emf.ecore.EObject;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.CommentedElement#getComment <em>Comment</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.CommentedElement#getComment <em>Comment</em>}</li>
* </ul>
* </p>
*
@@ -33,6 +33,7 @@ public interface CommentedElement extends EObject {
* <!-- begin-model-doc -->
* All extended classes have a comment in order to describe the puprose of this extension
* <!-- end-model-doc -->
+ *
* @return the value of the '<em>Comment</em>' attribute.
* @see #setComment(String)
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getCommentedElement_Comment()
@@ -45,7 +46,9 @@ public interface CommentedElement extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.papyrusgmfgenextension.CommentedElement#getComment <em>Comment</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Comment</em>' attribute.
+ *
+ * @param value
+ * the new value of the '<em>Comment</em>' attribute.
* @see #getComment()
* @generated
*/
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/CompartmentTitleVisibilityPreference.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/CompartmentTitleVisibilityPreference.java
index 03249053dab..7291fdcf7d8 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/CompartmentTitleVisibilityPreference.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/CompartmentTitleVisibilityPreference.java
@@ -22,8 +22,8 @@ import org.eclipse.gmf.codegen.gmfgen.GenCompartment;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.CompartmentTitleVisibilityPreference#isVisibleByDefault <em>Visible By Default</em>}</li>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.CompartmentTitleVisibilityPreference#getCompartments <em>Compartments</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.CompartmentTitleVisibilityPreference#isVisibleByDefault <em>Visible By Default</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.CompartmentTitleVisibilityPreference#getCompartments <em>Compartments</em>}</li>
* </ul>
* </p>
*
@@ -37,10 +37,10 @@ public interface CompartmentTitleVisibilityPreference extends CommentedElement {
* The default value is <code>"true"</code>.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Visible By Default</em>' attribute isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Visible By Default</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Visible By Default</em>' attribute.
* @see #setVisibleByDefault(boolean)
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getCompartmentTitleVisibilityPreference_VisibleByDefault()
@@ -53,7 +53,9 @@ public interface CompartmentTitleVisibilityPreference extends CommentedElement {
* Sets the value of the '{@link org.eclipse.papyrus.papyrusgmfgenextension.CompartmentTitleVisibilityPreference#isVisibleByDefault <em>Visible By Default</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Visible By Default</em>' attribute.
+ *
+ * @param value
+ * the new value of the '<em>Visible By Default</em>' attribute.
* @see #isVisibleByDefault()
* @generated
*/
@@ -64,10 +66,10 @@ public interface CompartmentTitleVisibilityPreference extends CommentedElement {
* The list contents are of type {@link org.eclipse.gmf.codegen.gmfgen.GenCompartment}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Compartments</em>' reference list isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Compartments</em>' reference list isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Compartments</em>' reference list.
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getCompartmentTitleVisibilityPreference_Compartments()
* @model
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/CompartmentVisibilityPreference.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/CompartmentVisibilityPreference.java
index e469ce87633..44f2a80a06f 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/CompartmentVisibilityPreference.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/CompartmentVisibilityPreference.java
@@ -22,8 +22,8 @@ import org.eclipse.gmf.codegen.gmfgen.GenCompartment;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.CompartmentVisibilityPreference#isVisibleByDefault <em>Visible By Default</em>}</li>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.CompartmentVisibilityPreference#getCompartments <em>Compartments</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.CompartmentVisibilityPreference#isVisibleByDefault <em>Visible By Default</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.CompartmentVisibilityPreference#getCompartments <em>Compartments</em>}</li>
* </ul>
* </p>
*
@@ -37,10 +37,10 @@ public interface CompartmentVisibilityPreference extends CommentedElement {
* The default value is <code>"true"</code>.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Visible By Default</em>' attribute isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Visible By Default</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Visible By Default</em>' attribute.
* @see #setVisibleByDefault(boolean)
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getCompartmentVisibilityPreference_VisibleByDefault()
@@ -53,7 +53,9 @@ public interface CompartmentVisibilityPreference extends CommentedElement {
* Sets the value of the '{@link org.eclipse.papyrus.papyrusgmfgenextension.CompartmentVisibilityPreference#isVisibleByDefault <em>Visible By Default</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Visible By Default</em>' attribute.
+ *
+ * @param value
+ * the new value of the '<em>Visible By Default</em>' attribute.
* @see #isVisibleByDefault()
* @generated
*/
@@ -64,10 +66,10 @@ public interface CompartmentVisibilityPreference extends CommentedElement {
* The list contents are of type {@link org.eclipse.gmf.codegen.gmfgen.GenCompartment}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Compartments</em>' reference list isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Compartments</em>' reference list isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Compartments</em>' reference list.
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getCompartmentVisibilityPreference_Compartments()
* @model
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/ConstrainedByReferenceCompartmentItemSemanticEditPolicy.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/ConstrainedByReferenceCompartmentItemSemanticEditPolicy.java
index ac02af4acf3..4524fec301f 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/ConstrainedByReferenceCompartmentItemSemanticEditPolicy.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/ConstrainedByReferenceCompartmentItemSemanticEditPolicy.java
@@ -14,12 +14,13 @@ import org.eclipse.gmf.codegen.gmfgen.GenCommonBase;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.ConstrainedByReferenceCompartmentItemSemanticEditPolicy#getGenView <em>Gen View</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.ConstrainedByReferenceCompartmentItemSemanticEditPolicy#getGenView <em>Gen View</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getConstrainedByReferenceCompartmentItemSemanticEditPolicy()
- * @model annotation="http://www.eclipse.org/emf/2002/GenModel Documentation='Add constraint on Compartment Item Semantic Policy in order to prevent move into compartment of elements which can be contained. This constraint used the child node define in the GMF Model in order to define the correspoding EReference. When a move is executed the item semantic policy will fisrt check that the element can be conatined/referenced by this EReference?'"
+ * @model annotation=
+ * "http://www.eclipse.org/emf/2002/GenModel Documentation='Add constraint on Compartment Item Semantic Policy in order to prevent move into compartment of elements which can be contained. This constraint used the child node define in the GMF Model in order to define the correspoding EReference. When a move is executed the item semantic policy will fisrt check that the element can be conatined/referenced by this EReference?'"
* @generated
*/
public interface ConstrainedByReferenceCompartmentItemSemanticEditPolicy extends CommentedElement {
@@ -28,10 +29,10 @@ public interface ConstrainedByReferenceCompartmentItemSemanticEditPolicy extends
* The list contents are of type {@link org.eclipse.gmf.codegen.gmfgen.GenCommonBase}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Gen View</em>' reference list isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Gen View</em>' reference list isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Gen View</em>' reference list.
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getConstrainedByReferenceCompartmentItemSemanticEditPolicy_GenView()
* @model
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/CustomDiagramUpdaterSingleton.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/CustomDiagramUpdaterSingleton.java
index ae67de7763a..65022bbdaf5 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/CustomDiagramUpdaterSingleton.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/CustomDiagramUpdaterSingleton.java
@@ -11,7 +11,7 @@ package org.eclipse.papyrus.papyrusgmfgenextension;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.CustomDiagramUpdaterSingleton#getSingletonPath <em>Singleton Path</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.CustomDiagramUpdaterSingleton#getSingletonPath <em>Singleton Path</em>}</li>
* </ul>
* </p>
*
@@ -25,10 +25,10 @@ public interface CustomDiagramUpdaterSingleton extends CommentedElement {
* Returns the value of the '<em><b>Singleton Path</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Singleton Path</em>' attribute isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Singleton Path</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Singleton Path</em>' attribute.
* @see #setSingletonPath(String)
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getCustomDiagramUpdaterSingleton_SingletonPath()
@@ -41,7 +41,9 @@ public interface CustomDiagramUpdaterSingleton extends CommentedElement {
* Sets the value of the '{@link org.eclipse.papyrus.papyrusgmfgenextension.CustomDiagramUpdaterSingleton#getSingletonPath <em>Singleton Path</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Singleton Path</em>' attribute.
+ *
+ * @param value
+ * the new value of the '<em>Singleton Path</em>' attribute.
* @see #getSingletonPath()
* @generated
*/
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/EditPartUsingDeleteService.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/EditPartUsingDeleteService.java
index 9da9e73f5a0..33752ace949 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/EditPartUsingDeleteService.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/EditPartUsingDeleteService.java
@@ -18,15 +18,15 @@ import org.eclipse.gmf.codegen.gmfgen.GenCommonBase;
* This element is always linked to a genView (topLevel, or child)
* Used set if an editPart is abstract.
* SuperGenViews is a list of all superEditPart.
- *
+ *
* Thanks to this, it is possible to factorize code and to decrease the number of generated classes.
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.EditPartUsingDeleteService#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.EditPartUsingDeleteService#getGenView <em>Gen View</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.EditPartUsingDeleteService#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.EditPartUsingDeleteService#getGenView <em>Gen View</em>}</li>
* </ul>
* </p>
*
@@ -43,6 +43,7 @@ public interface EditPartUsingDeleteService extends CommentedElement {
* If the meaning of the '<em>Name</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Name</em>' attribute.
* @see #setName(String)
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getEditPartUsingDeleteService_Name()
@@ -55,7 +56,9 @@ public interface EditPartUsingDeleteService extends CommentedElement {
* Sets the value of the '{@link org.eclipse.papyrus.papyrusgmfgenextension.EditPartUsingDeleteService#getName <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Name</em>' attribute.
+ *
+ * @param value
+ * the new value of the '<em>Name</em>' attribute.
* @see #getName()
* @generated
*/
@@ -69,6 +72,7 @@ public interface EditPartUsingDeleteService extends CommentedElement {
* If the meaning of the '<em>Gen View</em>' reference list isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Gen View</em>' reference list.
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getEditPartUsingDeleteService_GenView()
* @model ordered="false"
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/EditPartUsingReorientService.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/EditPartUsingReorientService.java
index a6f3513f78e..a2e7eb5fedb 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/EditPartUsingReorientService.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/EditPartUsingReorientService.java
@@ -19,15 +19,15 @@ import org.eclipse.gmf.codegen.gmfgen.GenLink;
* This element is always linked to a genView (topLevel, or child)
* Used set if an editPart is abstract.
* SuperGenViews is a list of all superEditPart.
- *
+ *
* Thanks to this, it is possible to factorize code and to decrease the number of generated classes.
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.EditPartUsingReorientService#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.EditPartUsingReorientService#getGenView <em>Gen View</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.EditPartUsingReorientService#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.EditPartUsingReorientService#getGenView <em>Gen View</em>}</li>
* </ul>
* </p>
*
@@ -40,10 +40,10 @@ public interface EditPartUsingReorientService extends CommentedElement {
* Returns the value of the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Name</em>' attribute isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Name</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Name</em>' attribute.
* @see #setName(String)
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getEditPartUsingReorientService_Name()
@@ -56,7 +56,9 @@ public interface EditPartUsingReorientService extends CommentedElement {
* Sets the value of the '{@link org.eclipse.papyrus.papyrusgmfgenextension.EditPartUsingReorientService#getName <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Name</em>' attribute.
+ *
+ * @param value
+ * the new value of the '<em>Name</em>' attribute.
* @see #getName()
* @generated
*/
@@ -67,10 +69,10 @@ public interface EditPartUsingReorientService extends CommentedElement {
* The list contents are of type {@link org.eclipse.gmf.codegen.gmfgen.GenLink}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Gen View</em>' reference list isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Gen View</em>' reference list isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Gen View</em>' reference list.
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getEditPartUsingReorientService_GenView()
* @model ordered="false"
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/ExtendedGenView.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/ExtendedGenView.java
index ff2ed2bc01c..5f88ddb1abb 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/ExtendedGenView.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/ExtendedGenView.java
@@ -18,19 +18,19 @@ import org.eclipse.gmf.codegen.gmfgen.GenCommonBase;
* This element is always linked to a genView (topLevel, or child)
* Used set if an editPart is abstract.
* SuperGenViews is a list of all superEditPart.
- *
+ *
* Thanks to this, it is possible to factorize code and to decrease the number of generated classes.
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.ExtendedGenView#getGenView <em>Gen View</em>}</li>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.ExtendedGenView#isIsAbstract <em>Is Abstract</em>}</li>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.ExtendedGenView#getSuperGenViews <em>Super Gen Views</em>}</li>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.ExtendedGenView#getPropRefreshHook <em>Prop Refresh Hook</em>}</li>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.ExtendedGenView#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.ExtendedGenView#getSuperOwnedEditPart <em>Super Owned Edit Part</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.ExtendedGenView#getGenView <em>Gen View</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.ExtendedGenView#isIsAbstract <em>Is Abstract</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.ExtendedGenView#getSuperGenViews <em>Super Gen Views</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.ExtendedGenView#getPropRefreshHook <em>Prop Refresh Hook</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.ExtendedGenView#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.ExtendedGenView#getSuperOwnedEditPart <em>Super Owned Edit Part</em>}</li>
* </ul>
* </p>
*
@@ -48,6 +48,7 @@ public interface ExtendedGenView extends CommentedElement {
* If the meaning of the '<em>Gen View</em>' reference list isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Gen View</em>' reference list.
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getExtendedGenView_GenView()
* @model required="true" ordered="false"
@@ -62,6 +63,7 @@ public interface ExtendedGenView extends CommentedElement {
* If the meaning of the '<em>Is Abstract</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Is Abstract</em>' attribute.
* @see #setIsAbstract(boolean)
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getExtendedGenView_IsAbstract()
@@ -74,7 +76,9 @@ public interface ExtendedGenView extends CommentedElement {
* Sets the value of the '{@link org.eclipse.papyrus.papyrusgmfgenextension.ExtendedGenView#isIsAbstract <em>Is Abstract</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Is Abstract</em>' attribute.
+ *
+ * @param value
+ * the new value of the '<em>Is Abstract</em>' attribute.
* @see #isIsAbstract()
* @generated
*/
@@ -88,6 +92,7 @@ public interface ExtendedGenView extends CommentedElement {
* If the meaning of the '<em>Super Gen Views</em>' reference list isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Super Gen Views</em>' reference list.
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getExtendedGenView_SuperGenViews()
* @model ordered="false"
@@ -102,6 +107,7 @@ public interface ExtendedGenView extends CommentedElement {
* If the meaning of the '<em>Prop Refresh Hook</em>' containment reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Prop Refresh Hook</em>' containment reference.
* @see #setPropRefreshHook(PropertyRefreshHook)
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getExtendedGenView_PropRefreshHook()
@@ -114,7 +120,9 @@ public interface ExtendedGenView extends CommentedElement {
* Sets the value of the '{@link org.eclipse.papyrus.papyrusgmfgenextension.ExtendedGenView#getPropRefreshHook <em>Prop Refresh Hook</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Prop Refresh Hook</em>' containment reference.
+ *
+ * @param value
+ * the new value of the '<em>Prop Refresh Hook</em>' containment reference.
* @see #getPropRefreshHook()
* @generated
*/
@@ -127,6 +135,7 @@ public interface ExtendedGenView extends CommentedElement {
* If the meaning of the '<em>Name</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Name</em>' attribute.
* @see #setName(String)
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getExtendedGenView_Name()
@@ -139,7 +148,9 @@ public interface ExtendedGenView extends CommentedElement {
* Sets the value of the '{@link org.eclipse.papyrus.papyrusgmfgenextension.ExtendedGenView#getName <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Name</em>' attribute.
+ *
+ * @param value
+ * the new value of the '<em>Name</em>' attribute.
* @see #getName()
* @generated
*/
@@ -152,6 +163,7 @@ public interface ExtendedGenView extends CommentedElement {
* If the meaning of the '<em>Super Owned Edit Part</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Super Owned Edit Part</em>' attribute.
* @see #setSuperOwnedEditPart(String)
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getExtendedGenView_SuperOwnedEditPart()
@@ -164,7 +176,9 @@ public interface ExtendedGenView extends CommentedElement {
* Sets the value of the '{@link org.eclipse.papyrus.papyrusgmfgenextension.ExtendedGenView#getSuperOwnedEditPart <em>Super Owned Edit Part</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Super Owned Edit Part</em>' attribute.
+ *
+ * @param value
+ * the new value of the '<em>Super Owned Edit Part</em>' attribute.
* @see #getSuperOwnedEditPart()
* @generated
*/
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/ExternalHook.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/ExternalHook.java
index ef697e7ca20..f12fba37e0b 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/ExternalHook.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/ExternalHook.java
@@ -20,7 +20,7 @@ package org.eclipse.papyrus.papyrusgmfgenextension;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.ExternalHook#getClasspath <em>Classpath</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.ExternalHook#getClasspath <em>Classpath</em>}</li>
* </ul>
* </p>
*
@@ -37,6 +37,7 @@ public interface ExternalHook extends CommentedElement {
* If the meaning of the '<em>Classpath</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Classpath</em>' attribute.
* @see #setClasspath(String)
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getExternalHook_Classpath()
@@ -49,7 +50,9 @@ public interface ExternalHook extends CommentedElement {
* Sets the value of the '{@link org.eclipse.papyrus.papyrusgmfgenextension.ExternalHook#getClasspath <em>Classpath</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Classpath</em>' attribute.
+ *
+ * @param value
+ * the new value of the '<em>Classpath</em>' attribute.
* @see #getClasspath()
* @generated
*/
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/ExternalMetamodelType.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/ExternalMetamodelType.java
index aa00fb3c374..78a20cfabc6 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/ExternalMetamodelType.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/ExternalMetamodelType.java
@@ -14,7 +14,7 @@ import org.eclipse.papyrus.domaincontextcodegen.ElementType;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.ExternalMetamodelType#getElementTypeRef <em>Element Type Ref</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.ExternalMetamodelType#getElementTypeRef <em>Element Type Ref</em>}</li>
* </ul>
* </p>
*
@@ -27,10 +27,10 @@ public interface ExternalMetamodelType extends MetamodelType {
* Returns the value of the '<em><b>Element Type Ref</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Element Type Ref</em>' reference isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Element Type Ref</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Element Type Ref</em>' reference.
* @see #setElementTypeRef(ElementType)
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getExternalMetamodelType_ElementTypeRef()
@@ -43,7 +43,9 @@ public interface ExternalMetamodelType extends MetamodelType {
* Sets the value of the '{@link org.eclipse.papyrus.papyrusgmfgenextension.ExternalMetamodelType#getElementTypeRef <em>Element Type Ref</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Element Type Ref</em>' reference.
+ *
+ * @param value
+ * the new value of the '<em>Element Type Ref</em>' reference.
* @see #getElementTypeRef()
* @generated
*/
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/GenNodeConstraint.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/GenNodeConstraint.java
index 1efb46c3e5c..bf686aa0c6c 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/GenNodeConstraint.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/GenNodeConstraint.java
@@ -18,8 +18,8 @@ import org.eclipse.gmf.codegen.gmfgen.GenNode;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.GenNodeConstraint#getGenNode <em>Gen Node</em>}</li>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.GenNodeConstraint#getGenConstraint <em>Gen Constraint</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.GenNodeConstraint#getGenNode <em>Gen Node</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.GenNodeConstraint#getGenConstraint <em>Gen Constraint</em>}</li>
* </ul>
* </p>
*
@@ -37,6 +37,7 @@ public interface GenNodeConstraint extends CommentedElement {
* If the meaning of the '<em>Gen Node</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Gen Node</em>' reference list.
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getGenNodeConstraint_GenNode()
* @model
@@ -51,6 +52,7 @@ public interface GenNodeConstraint extends CommentedElement {
* If the meaning of the '<em>Gen Constraint</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Gen Constraint</em>' reference.
* @see #setGenConstraint(GenConstraint)
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getGenNodeConstraint_GenConstraint()
@@ -63,7 +65,9 @@ public interface GenNodeConstraint extends CommentedElement {
* Sets the value of the '{@link org.eclipse.papyrus.papyrusgmfgenextension.GenNodeConstraint#getGenConstraint <em>Gen Constraint</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Gen Constraint</em>' reference.
+ *
+ * @param value
+ * the new value of the '<em>Gen Constraint</em>' reference.
* @see #getGenConstraint()
* @generated
*/
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/HiddenLabels.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/HiddenLabels.java
index 292ec617591..db0cab15dd1 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/HiddenLabels.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/HiddenLabels.java
@@ -21,16 +21,16 @@ import org.eclipse.gmf.codegen.gmfgen.GenLinkLabel;
* Labels non referenced by this node will be visible.
* The attribute visibleByDefault allows to define this behavior.
* This behavior can be change in the Preference Page by the user.
- *
- *
+ *
+ *
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.HiddenLabels#getLinkLabels <em>Link Labels</em>}</li>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.HiddenLabels#getExternalNodeLabels <em>External Node Labels</em>}</li>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.HiddenLabels#isVisibleByDefault <em>Visible By Default</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.HiddenLabels#getLinkLabels <em>Link Labels</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.HiddenLabels#getExternalNodeLabels <em>External Node Labels</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.HiddenLabels#isVisibleByDefault <em>Visible By Default</em>}</li>
* </ul>
* </p>
*
@@ -44,10 +44,10 @@ public interface HiddenLabels extends CommentedElement {
* The list contents are of type {@link org.eclipse.gmf.codegen.gmfgen.GenLinkLabel}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Link Labels</em>' reference list isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Link Labels</em>' reference list isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Link Labels</em>' reference list.
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getHiddenLabels_LinkLabels()
* @model
@@ -60,10 +60,10 @@ public interface HiddenLabels extends CommentedElement {
* The list contents are of type {@link org.eclipse.gmf.codegen.gmfgen.GenExternalNodeLabel}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>External Node Labels</em>' reference list isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>External Node Labels</em>' reference list isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>External Node Labels</em>' reference list.
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getHiddenLabels_ExternalNodeLabels()
* @model
@@ -75,10 +75,10 @@ public interface HiddenLabels extends CommentedElement {
* Returns the value of the '<em><b>Visible By Default</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Visible By Default</em>' attribute isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Visible By Default</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Visible By Default</em>' attribute.
* @see #setVisibleByDefault(boolean)
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getHiddenLabels_VisibleByDefault()
@@ -91,7 +91,9 @@ public interface HiddenLabels extends CommentedElement {
* Sets the value of the '{@link org.eclipse.papyrus.papyrusgmfgenextension.HiddenLabels#isVisibleByDefault <em>Visible By Default</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Visible By Default</em>' attribute.
+ *
+ * @param value
+ * the new value of the '<em>Visible By Default</em>' attribute.
* @see #isVisibleByDefault()
* @generated
*/
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/LabelVisibilityPreference.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/LabelVisibilityPreference.java
index 7cb9f3c089c..7a88aa32700 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/LabelVisibilityPreference.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/LabelVisibilityPreference.java
@@ -21,18 +21,18 @@ import org.eclipse.gmf.codegen.gmfgen.GenLinkLabel;
* role : the role of the Label (Stereotype, Source Multiplicity, Target Multiplicity, Name, ...)
* iconPath : an icon illustrating the role of the Label
* visibleByDefault : if false, the label is not visible when the element is created
- *
+ *
* These informations are used by the action Show/Hide Label.
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.LabelVisibilityPreference#getRole <em>Role</em>}</li>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.LabelVisibilityPreference#getIconPathRole <em>Icon Path Role</em>}</li>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.LabelVisibilityPreference#getLinkLabels <em>Link Labels</em>}</li>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.LabelVisibilityPreference#getExternalNodeLabels <em>External Node Labels</em>}</li>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.LabelVisibilityPreference#isVisibleByDefault <em>Visible By Default</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.LabelVisibilityPreference#getRole <em>Role</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.LabelVisibilityPreference#getIconPathRole <em>Icon Path Role</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.LabelVisibilityPreference#getLinkLabels <em>Link Labels</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.LabelVisibilityPreference#getExternalNodeLabels <em>External Node Labels</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.LabelVisibilityPreference#isVisibleByDefault <em>Visible By Default</em>}</li>
* </ul>
* </p>
*
@@ -45,10 +45,10 @@ public interface LabelVisibilityPreference extends CommentedElement {
* Returns the value of the '<em><b>Role</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Role</em>' attribute isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Role</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Role</em>' attribute.
* @see #setRole(String)
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getLabelVisibilityPreference_Role()
@@ -61,7 +61,9 @@ public interface LabelVisibilityPreference extends CommentedElement {
* Sets the value of the '{@link org.eclipse.papyrus.papyrusgmfgenextension.LabelVisibilityPreference#getRole <em>Role</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Role</em>' attribute.
+ *
+ * @param value
+ * the new value of the '<em>Role</em>' attribute.
* @see #getRole()
* @generated
*/
@@ -71,10 +73,10 @@ public interface LabelVisibilityPreference extends CommentedElement {
* Returns the value of the '<em><b>Icon Path Role</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Icon Path Role</em>' attribute isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Icon Path Role</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Icon Path Role</em>' attribute.
* @see #setIconPathRole(String)
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getLabelVisibilityPreference_IconPathRole()
@@ -87,7 +89,9 @@ public interface LabelVisibilityPreference extends CommentedElement {
* Sets the value of the '{@link org.eclipse.papyrus.papyrusgmfgenextension.LabelVisibilityPreference#getIconPathRole <em>Icon Path Role</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Icon Path Role</em>' attribute.
+ *
+ * @param value
+ * the new value of the '<em>Icon Path Role</em>' attribute.
* @see #getIconPathRole()
* @generated
*/
@@ -98,10 +102,10 @@ public interface LabelVisibilityPreference extends CommentedElement {
* The list contents are of type {@link org.eclipse.gmf.codegen.gmfgen.GenLinkLabel}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Link Labels</em>' reference list isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Link Labels</em>' reference list isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Link Labels</em>' reference list.
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getLabelVisibilityPreference_LinkLabels()
* @model
@@ -114,10 +118,10 @@ public interface LabelVisibilityPreference extends CommentedElement {
* The list contents are of type {@link org.eclipse.gmf.codegen.gmfgen.GenExternalNodeLabel}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>External Node Labels</em>' reference list isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>External Node Labels</em>' reference list isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>External Node Labels</em>' reference list.
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getLabelVisibilityPreference_ExternalNodeLabels()
* @model
@@ -130,10 +134,10 @@ public interface LabelVisibilityPreference extends CommentedElement {
* The default value is <code>"true"</code>.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Visible By Default</em>' attribute isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Visible By Default</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Visible By Default</em>' attribute.
* @see #setVisibleByDefault(boolean)
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getLabelVisibilityPreference_VisibleByDefault()
@@ -146,7 +150,9 @@ public interface LabelVisibilityPreference extends CommentedElement {
* Sets the value of the '{@link org.eclipse.papyrus.papyrusgmfgenextension.LabelVisibilityPreference#isVisibleByDefault <em>Visible By Default</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Visible By Default</em>' attribute.
+ *
+ * @param value
+ * the new value of the '<em>Visible By Default</em>' attribute.
* @see #isVisibleByDefault()
* @generated
*/
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/MutatingCanvas.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/MutatingCanvas.java
index 044c44565cf..1b45585c46b 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/MutatingCanvas.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/MutatingCanvas.java
@@ -16,7 +16,7 @@ import org.eclipse.emf.common.util.EList;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.MutatingCanvas#getAlternateCanvases <em>Alternate Canvases</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.MutatingCanvas#getAlternateCanvases <em>Alternate Canvases</em>}</li>
* </ul>
* </p>
*
@@ -31,10 +31,10 @@ public interface MutatingCanvas extends CommentedElement {
* The list contents are of type {@link org.eclipse.papyrus.papyrusgmfgenextension.AlternateCanvas}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Alternate Canvases</em>' containment reference list isn't clear, there really should be more of a description
- * here...
+ * If the meaning of the '<em>Alternate Canvases</em>' containment reference list isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Alternate Canvases</em>' containment reference list.
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getMutatingCanvas_AlternateCanvases()
* @model containment="true"
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/OwnedEditpart.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/OwnedEditpart.java
index c5e504a6441..9ead9d56007 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/OwnedEditpart.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/OwnedEditpart.java
@@ -15,7 +15,7 @@ package org.eclipse.papyrus.papyrusgmfgenextension;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.OwnedEditpart#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.OwnedEditpart#getName <em>Name</em>}</li>
* </ul>
* </p>
*
@@ -32,6 +32,7 @@ public interface OwnedEditpart extends ExternalHook {
* If the meaning of the '<em>Name</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Name</em>' attribute.
* @see #setName(String)
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getOwnedEditpart_Name()
@@ -44,7 +45,9 @@ public interface OwnedEditpart extends ExternalHook {
* Sets the value of the '{@link org.eclipse.papyrus.papyrusgmfgenextension.OwnedEditpart#getName <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Name</em>' attribute.
+ *
+ * @param value
+ * the new value of the '<em>Name</em>' attribute.
* @see #getName()
* @generated
*/
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/PapyrusExtensionRootNode.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/PapyrusExtensionRootNode.java
index 891c1e79355..1d011e9241b 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/PapyrusExtensionRootNode.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/PapyrusExtensionRootNode.java
@@ -16,7 +16,7 @@ import org.eclipse.emf.common.util.EList;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.PapyrusExtensionRootNode#getExtensionNodes <em>Extension Nodes</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.PapyrusExtensionRootNode#getExtensionNodes <em>Extension Nodes</em>}</li>
* </ul>
* </p>
*
@@ -34,6 +34,7 @@ public interface PapyrusExtensionRootNode extends CommentedElement {
* If the meaning of the '<em>Extension Nodes</em>' containment reference list isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Extension Nodes</em>' containment reference list.
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getPapyrusExtensionRootNode_ExtensionNodes()
* @model containment="true"
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/PapyrusgmfgenextensionFactory.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/PapyrusgmfgenextensionFactory.java
index 01b9cc79ecd..3e22d60e7cd 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/PapyrusgmfgenextensionFactory.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/PapyrusgmfgenextensionFactory.java
@@ -13,6 +13,7 @@ import org.eclipse.emf.ecore.EFactory;
* The <b>Factory</b> for the model.
* It provides a create method for each non-abstract class of the model.
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage
* @generated
*/
@@ -22,6 +23,7 @@ public interface PapyrusgmfgenextensionFactory extends EFactory {
* The singleton instance of the factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
PapyrusgmfgenextensionFactory eINSTANCE = org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionFactoryImpl.init();
@@ -30,6 +32,7 @@ public interface PapyrusgmfgenextensionFactory extends EFactory {
* Returns a new object of class '<em>Extended Gen View</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Extended Gen View</em>'.
* @generated
*/
@@ -39,6 +42,7 @@ public interface PapyrusgmfgenextensionFactory extends EFactory {
* Returns a new object of class '<em>Commented Element</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Commented Element</em>'.
* @generated
*/
@@ -48,6 +52,7 @@ public interface PapyrusgmfgenextensionFactory extends EFactory {
* Returns a new object of class '<em>Property Refresh Hook</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Property Refresh Hook</em>'.
* @generated
*/
@@ -57,6 +62,7 @@ public interface PapyrusgmfgenextensionFactory extends EFactory {
* Returns a new object of class '<em>External Hook</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>External Hook</em>'.
* @generated
*/
@@ -66,6 +72,7 @@ public interface PapyrusgmfgenextensionFactory extends EFactory {
* Returns a new object of class '<em>Specific Locator</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Specific Locator</em>'.
* @generated
*/
@@ -75,6 +82,7 @@ public interface PapyrusgmfgenextensionFactory extends EFactory {
* Returns a new object of class '<em>Papyrus Extension Root Node</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Papyrus Extension Root Node</em>'.
* @generated
*/
@@ -84,6 +92,7 @@ public interface PapyrusgmfgenextensionFactory extends EFactory {
* Returns a new object of class '<em>Alternate Canvas</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Alternate Canvas</em>'.
* @generated
*/
@@ -93,6 +102,7 @@ public interface PapyrusgmfgenextensionFactory extends EFactory {
* Returns a new object of class '<em>Alternate Gen Top Level Node</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Alternate Gen Top Level Node</em>'.
* @generated
*/
@@ -102,6 +112,7 @@ public interface PapyrusgmfgenextensionFactory extends EFactory {
* Returns a new object of class '<em>Alternate Gen Link</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Alternate Gen Link</em>'.
* @generated
*/
@@ -111,6 +122,7 @@ public interface PapyrusgmfgenextensionFactory extends EFactory {
* Returns a new object of class '<em>Mutating Canvas</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Mutating Canvas</em>'.
* @generated
*/
@@ -120,6 +132,7 @@ public interface PapyrusgmfgenextensionFactory extends EFactory {
* Returns a new object of class '<em>Owned Editpart</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Owned Editpart</em>'.
* @generated
*/
@@ -129,6 +142,7 @@ public interface PapyrusgmfgenextensionFactory extends EFactory {
* Returns a new object of class '<em>Specific Diagram Updater</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Specific Diagram Updater</em>'.
* @generated
*/
@@ -138,6 +152,7 @@ public interface PapyrusgmfgenextensionFactory extends EFactory {
* Returns a new object of class '<em>Gen Node Constraint</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Gen Node Constraint</em>'.
* @generated
*/
@@ -147,6 +162,7 @@ public interface PapyrusgmfgenextensionFactory extends EFactory {
* Returns a new object of class '<em>Specific Locator External Label</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Specific Locator External Label</em>'.
* @generated
*/
@@ -156,6 +172,7 @@ public interface PapyrusgmfgenextensionFactory extends EFactory {
* Returns a new object of class '<em>Additional Edit Part Candies</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Additional Edit Part Candies</em>'.
* @generated
*/
@@ -165,6 +182,7 @@ public interface PapyrusgmfgenextensionFactory extends EFactory {
* Returns a new object of class '<em>Edit Part Using Delete Service</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Edit Part Using Delete Service</em>'.
* @generated
*/
@@ -174,6 +192,7 @@ public interface PapyrusgmfgenextensionFactory extends EFactory {
* Returns a new object of class '<em>Edit Part Using Reorient Service</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Edit Part Using Reorient Service</em>'.
* @generated
*/
@@ -183,6 +202,7 @@ public interface PapyrusgmfgenextensionFactory extends EFactory {
* Returns a new object of class '<em>Label Visibility Preference</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Label Visibility Preference</em>'.
* @generated
*/
@@ -192,6 +212,7 @@ public interface PapyrusgmfgenextensionFactory extends EFactory {
* Returns a new object of class '<em>Compartment Visibility Preference</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Compartment Visibility Preference</em>'.
* @generated
*/
@@ -201,6 +222,7 @@ public interface PapyrusgmfgenextensionFactory extends EFactory {
* Returns a new object of class '<em>Compartment Title Visibility Preference</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Compartment Title Visibility Preference</em>'.
* @generated
*/
@@ -210,6 +232,7 @@ public interface PapyrusgmfgenextensionFactory extends EFactory {
* Returns a new object of class '<em>Constrained By Reference Compartment Item Semantic Edit Policy</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Constrained By Reference Compartment Item Semantic Edit Policy</em>'.
* @generated
*/
@@ -219,6 +242,7 @@ public interface PapyrusgmfgenextensionFactory extends EFactory {
* Returns a new object of class '<em>External Element Types Library</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>External Element Types Library</em>'.
* @generated
*/
@@ -228,6 +252,7 @@ public interface PapyrusgmfgenextensionFactory extends EFactory {
* Returns a new object of class '<em>External Metamodel Type</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>External Metamodel Type</em>'.
* @generated
*/
@@ -237,6 +262,7 @@ public interface PapyrusgmfgenextensionFactory extends EFactory {
* Returns a new object of class '<em>Generate Using Element Type Creation Command</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Generate Using Element Type Creation Command</em>'.
* @generated
*/
@@ -246,6 +272,7 @@ public interface PapyrusgmfgenextensionFactory extends EFactory {
* Returns a new object of class '<em>Custom Diagram Updater Singleton</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Custom Diagram Updater Singleton</em>'.
* @generated
*/
@@ -255,9 +282,10 @@ public interface PapyrusgmfgenextensionFactory extends EFactory {
* Returns the package supported by this factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the package supported by this factory.
* @generated
*/
PapyrusgmfgenextensionPackage getPapyrusgmfgenextensionPackage();
-} //PapyrusgmfgenextensionFactory
+} // PapyrusgmfgenextensionFactory
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/PapyrusgmfgenextensionPackage.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/PapyrusgmfgenextensionPackage.java
index 9fe4cb34381..6e74e22832b 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/PapyrusgmfgenextensionPackage.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/PapyrusgmfgenextensionPackage.java
@@ -23,6 +23,7 @@ import org.eclipse.gmf.codegen.gmfgen.GMFGenPackage;
* <li>and each data type</li>
* </ul>
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionFactory
* @model kind="package"
* @generated
@@ -33,6 +34,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The package name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
String eNAME = "papyrusgmfgenextension";
@@ -41,6 +43,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The package namespace URI.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
String eNS_URI = "http://www.eclipse.org/papyrus/2009/papyrusgmfgenextension";
@@ -49,6 +52,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The package namespace name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
String eNS_PREFIX = "papyrusgmfgenextension";
@@ -57,6 +61,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The singleton instance of the package.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
PapyrusgmfgenextensionPackage eINSTANCE = org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl.init();
@@ -65,6 +70,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.CommentedElementImpl <em>Commented Element</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.CommentedElementImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getCommentedElement()
* @generated
@@ -75,6 +81,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Comment</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -84,6 +91,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The number of structural features of the '<em>Commented Element</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -93,6 +101,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.ExtendedGenViewImpl <em>Extended Gen View</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.ExtendedGenViewImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getExtendedGenView()
* @generated
@@ -103,6 +112,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Comment</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -112,6 +122,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Gen View</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -121,6 +132,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Is Abstract</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -130,6 +142,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Super Gen Views</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -139,6 +152,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Prop Refresh Hook</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -148,6 +162,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -157,6 +172,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Super Owned Edit Part</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -166,6 +182,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The number of structural features of the '<em>Extended Gen View</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -175,6 +192,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.ExternalHookImpl <em>External Hook</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.ExternalHookImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getExternalHook()
* @generated
@@ -185,6 +203,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Comment</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -194,6 +213,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Classpath</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -203,6 +223,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The number of structural features of the '<em>External Hook</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -212,6 +233,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.PropertyRefreshHookImpl <em>Property Refresh Hook</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PropertyRefreshHookImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getPropertyRefreshHook()
* @generated
@@ -222,6 +244,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Comment</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -231,6 +254,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Classpath</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -240,6 +264,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Triggering Condition</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -249,6 +274,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Action</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -258,6 +284,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The number of structural features of the '<em>Property Refresh Hook</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -267,6 +294,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.SpecificLocatorImpl <em>Specific Locator</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.SpecificLocatorImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getSpecificLocator()
* @generated
@@ -277,6 +305,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Comment</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -286,6 +315,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Classpath</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -295,6 +325,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Gen Child Side Affixed Node</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -304,6 +335,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The number of structural features of the '<em>Specific Locator</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -313,6 +345,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusExtensionRootNodeImpl <em>Papyrus Extension Root Node</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusExtensionRootNodeImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getPapyrusExtensionRootNode()
* @generated
@@ -323,6 +356,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Comment</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -332,6 +366,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Extension Nodes</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -341,6 +376,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The number of structural features of the '<em>Papyrus Extension Root Node</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -350,6 +386,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.AlternateCanvasImpl <em>Alternate Canvas</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.AlternateCanvasImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getAlternateCanvas()
* @generated
@@ -360,6 +397,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Comment</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -369,6 +407,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Domain Diagram Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -378,6 +417,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Alternate Top Level Nodes</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -387,6 +427,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Alternate Link Nodes</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -396,6 +437,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Diagram</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -405,6 +447,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The number of structural features of the '<em>Alternate Canvas</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -414,6 +457,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.AlternateGenTopLevelNodeImpl <em>Alternate Gen Top Level Node</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.AlternateGenTopLevelNodeImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getAlternateGenTopLevelNode()
* @generated
@@ -424,6 +468,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Comment</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -433,6 +478,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Gen Top Level Node</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -442,6 +488,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Type Model Facet</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -451,6 +498,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The number of structural features of the '<em>Alternate Gen Top Level Node</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -460,6 +508,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.AlternateGenLinkImpl <em>Alternate Gen Link</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.AlternateGenLinkImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getAlternateGenLink()
* @generated
@@ -470,6 +519,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Comment</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -479,6 +529,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Gen Link Node</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -488,6 +539,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Type Model Facet</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -497,6 +549,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The number of structural features of the '<em>Alternate Gen Link</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -506,6 +559,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.MutatingCanvasImpl <em>Mutating Canvas</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.MutatingCanvasImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getMutatingCanvas()
* @generated
@@ -516,6 +570,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Comment</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -525,6 +580,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Alternate Canvases</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -534,6 +590,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The number of structural features of the '<em>Mutating Canvas</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -544,6 +601,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.OwnedEditpartImpl <em>Owned Editpart</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.OwnedEditpartImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getOwnedEditpart()
* @generated
@@ -554,6 +612,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Comment</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -563,6 +622,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Classpath</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -572,6 +632,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -581,6 +642,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The number of structural features of the '<em>Owned Editpart</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -591,6 +653,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.SpecificDiagramUpdaterImpl <em>Specific Diagram Updater</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.SpecificDiagramUpdaterImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getSpecificDiagramUpdater()
* @generated
@@ -601,6 +664,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Comment</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -610,6 +674,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Classpath</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -619,6 +684,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Gen Node</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -628,6 +694,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The number of structural features of the '<em>Specific Diagram Updater</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -638,6 +705,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.GenNodeConstraintImpl <em>Gen Node Constraint</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.GenNodeConstraintImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getGenNodeConstraint()
* @generated
@@ -648,6 +716,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Comment</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -657,6 +726,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Gen Node</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -666,6 +736,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Gen Constraint</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -675,6 +746,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The number of structural features of the '<em>Gen Node Constraint</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -685,6 +757,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.SpecificLocatorExternalLabelImpl <em>Specific Locator External Label</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.SpecificLocatorExternalLabelImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getSpecificLocatorExternalLabel()
* @generated
@@ -695,6 +768,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Comment</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -704,6 +778,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Classpath</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -713,6 +788,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Gen External Node Label</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -722,6 +798,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The number of structural features of the '<em>Specific Locator External Label</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -732,6 +809,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.AdditionalEditPartCandiesImpl <em>Additional Edit Part Candies</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.AdditionalEditPartCandiesImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getAdditionalEditPartCandies()
* @generated
@@ -742,6 +820,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Comment</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -751,6 +830,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Base Edit Helper Package</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -760,6 +840,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The number of structural features of the '<em>Additional Edit Part Candies</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -770,6 +851,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.EditPartUsingDeleteServiceImpl <em>Edit Part Using Delete Service</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.EditPartUsingDeleteServiceImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getEditPartUsingDeleteService()
* @generated
@@ -780,6 +862,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Comment</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -789,6 +872,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -798,6 +882,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Gen View</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -807,6 +892,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The number of structural features of the '<em>Edit Part Using Delete Service</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -817,6 +903,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.EditPartUsingReorientServiceImpl <em>Edit Part Using Reorient Service</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.EditPartUsingReorientServiceImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getEditPartUsingReorientService()
* @generated
@@ -827,6 +914,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Comment</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -836,6 +924,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -845,6 +934,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Gen View</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -854,6 +944,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The number of structural features of the '<em>Edit Part Using Reorient Service</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -864,6 +955,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.LabelVisibilityPreferenceImpl <em>Label Visibility Preference</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.LabelVisibilityPreferenceImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getLabelVisibilityPreference()
* @generated
@@ -874,6 +966,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Comment</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -883,6 +976,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Role</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -892,6 +986,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Icon Path Role</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -901,6 +996,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Link Labels</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -910,6 +1006,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>External Node Labels</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -919,6 +1016,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Visible By Default</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -928,6 +1026,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The number of structural features of the '<em>Label Visibility Preference</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -937,6 +1036,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.CompartmentVisibilityPreferenceImpl <em>Compartment Visibility Preference</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.CompartmentVisibilityPreferenceImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getCompartmentVisibilityPreference()
* @generated
@@ -947,6 +1047,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Comment</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -956,6 +1057,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Visible By Default</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -965,6 +1067,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Compartments</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -974,6 +1077,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The number of structural features of the '<em>Compartment Visibility Preference</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -984,6 +1088,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.CompartmentTitleVisibilityPreferenceImpl <em>Compartment Title Visibility Preference</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.CompartmentTitleVisibilityPreferenceImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getCompartmentTitleVisibilityPreference()
* @generated
@@ -994,6 +1099,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Comment</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1003,6 +1109,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Visible By Default</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1012,6 +1119,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Compartments</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1021,6 +1129,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The number of structural features of the '<em>Compartment Title Visibility Preference</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1031,6 +1140,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.ConstrainedByReferenceCompartmentItemSemanticEditPolicyImpl <em>Constrained By Reference Compartment Item Semantic Edit Policy</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.ConstrainedByReferenceCompartmentItemSemanticEditPolicyImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getConstrainedByReferenceCompartmentItemSemanticEditPolicy()
* @generated
@@ -1041,6 +1151,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Comment</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1050,6 +1161,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Gen View</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1059,6 +1171,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The number of structural features of the '<em>Constrained By Reference Compartment Item Semantic Edit Policy</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1069,6 +1182,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.ExternalElementTypesLibraryImpl <em>External Element Types Library</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.ExternalElementTypesLibraryImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getExternalElementTypesLibrary()
* @generated
@@ -1079,6 +1193,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Diagram Run Time Class</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1088,6 +1203,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Visual ID</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1097,6 +1213,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Element Type</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1106,6 +1223,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Edit Part Class Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1115,6 +1233,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Item Semantic Edit Policy Class Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1124,6 +1243,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Notation View Factory Class Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1133,6 +1253,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Viewmap</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1142,6 +1263,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Styles</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1151,6 +1273,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Behaviour</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1160,6 +1283,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Sans Domain</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1169,6 +1293,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Contained Nodes</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1178,6 +1303,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Canonical Edit Policy Class Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1187,6 +1313,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Child Nodes</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1196,6 +1323,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Gen Outgoing Links</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1205,6 +1333,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Gen Incoming Links</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1214,6 +1343,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Model Facet</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1223,6 +1353,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Labels</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1232,6 +1363,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Compartments</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1241,6 +1373,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Primary Drag Edit Policy Qualified Class Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1250,6 +1383,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Graphical Node Edit Policy Class Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1259,6 +1393,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Create Command Class Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1268,6 +1403,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Reoriented Incoming Links</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1277,6 +1413,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Comment</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1286,6 +1423,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The number of structural features of the '<em>External Element Types Library</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1295,6 +1433,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.ExternalMetamodelTypeImpl <em>External Metamodel Type</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.ExternalMetamodelTypeImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getExternalMetamodelType()
* @generated
@@ -1305,6 +1444,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Diagram Element</b></em>' container reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1314,6 +1454,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Unique Identifier</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1323,6 +1464,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Display Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1332,6 +1474,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Defined Externally</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1341,6 +1484,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Edit Helper Class Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1350,6 +1494,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Element Type Ref</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1359,6 +1504,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The number of structural features of the '<em>External Metamodel Type</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1369,6 +1515,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.GenerateUsingElementTypeCreationCommandImpl <em>Generate Using Element Type Creation Command</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.GenerateUsingElementTypeCreationCommandImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getGenerateUsingElementTypeCreationCommand()
* @generated
@@ -1379,6 +1526,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Comment</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1388,6 +1536,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The number of structural features of the '<em>Generate Using Element Type Creation Command</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1398,6 +1547,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.CustomDiagramUpdaterSingletonImpl <em>Custom Diagram Updater Singleton</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.CustomDiagramUpdaterSingletonImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getCustomDiagramUpdaterSingleton()
* @generated
@@ -1408,6 +1558,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Comment</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1417,6 +1568,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Singleton Path</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1426,6 +1578,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The number of structural features of the '<em>Custom Diagram Updater Singleton</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1436,6 +1589,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.papyrusgmfgenextension.ExtendedGenView <em>Extended Gen View</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Extended Gen View</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.ExtendedGenView
* @generated
@@ -1446,6 +1600,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for the reference list '{@link org.eclipse.papyrus.papyrusgmfgenextension.ExtendedGenView#getGenView <em>Gen View</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference list '<em>Gen View</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.ExtendedGenView#getGenView()
* @see #getExtendedGenView()
@@ -1457,6 +1612,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.papyrusgmfgenextension.ExtendedGenView#isIsAbstract <em>Is Abstract</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the attribute '<em>Is Abstract</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.ExtendedGenView#isIsAbstract()
* @see #getExtendedGenView()
@@ -1468,6 +1624,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for the reference list '{@link org.eclipse.papyrus.papyrusgmfgenextension.ExtendedGenView#getSuperGenViews <em>Super Gen Views</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference list '<em>Super Gen Views</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.ExtendedGenView#getSuperGenViews()
* @see #getExtendedGenView()
@@ -1479,6 +1636,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for the containment reference '{@link org.eclipse.papyrus.papyrusgmfgenextension.ExtendedGenView#getPropRefreshHook <em>Prop Refresh Hook</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the containment reference '<em>Prop Refresh Hook</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.ExtendedGenView#getPropRefreshHook()
* @see #getExtendedGenView()
@@ -1490,6 +1648,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.papyrusgmfgenextension.ExtendedGenView#getName <em>Name</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the attribute '<em>Name</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.ExtendedGenView#getName()
* @see #getExtendedGenView()
@@ -1501,6 +1660,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.papyrusgmfgenextension.ExtendedGenView#getSuperOwnedEditPart <em>Super Owned Edit Part</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the attribute '<em>Super Owned Edit Part</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.ExtendedGenView#getSuperOwnedEditPart()
* @see #getExtendedGenView()
@@ -1512,6 +1672,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.papyrusgmfgenextension.CommentedElement <em>Commented Element</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Commented Element</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.CommentedElement
* @generated
@@ -1522,6 +1683,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.papyrusgmfgenextension.CommentedElement#getComment <em>Comment</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the attribute '<em>Comment</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.CommentedElement#getComment()
* @see #getCommentedElement()
@@ -1533,6 +1695,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.papyrusgmfgenextension.PropertyRefreshHook <em>Property Refresh Hook</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Property Refresh Hook</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.PropertyRefreshHook
* @generated
@@ -1543,6 +1706,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.papyrusgmfgenextension.PropertyRefreshHook#getTriggeringCondition <em>Triggering Condition</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the attribute '<em>Triggering Condition</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.PropertyRefreshHook#getTriggeringCondition()
* @see #getPropertyRefreshHook()
@@ -1554,6 +1718,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.papyrusgmfgenextension.PropertyRefreshHook#getAction <em>Action</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the attribute '<em>Action</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.PropertyRefreshHook#getAction()
* @see #getPropertyRefreshHook()
@@ -1565,6 +1730,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.papyrusgmfgenextension.ExternalHook <em>External Hook</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>External Hook</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.ExternalHook
* @generated
@@ -1575,6 +1741,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.papyrusgmfgenextension.ExternalHook#getClasspath <em>Classpath</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the attribute '<em>Classpath</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.ExternalHook#getClasspath()
* @see #getExternalHook()
@@ -1586,6 +1753,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.papyrusgmfgenextension.SpecificLocator <em>Specific Locator</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Specific Locator</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.SpecificLocator
* @generated
@@ -1596,6 +1764,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for the reference list '{@link org.eclipse.papyrus.papyrusgmfgenextension.SpecificLocator#getGenChildSideAffixedNode <em>Gen Child Side Affixed Node</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference list '<em>Gen Child Side Affixed Node</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.SpecificLocator#getGenChildSideAffixedNode()
* @see #getSpecificLocator()
@@ -1607,6 +1776,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.papyrusgmfgenextension.PapyrusExtensionRootNode <em>Papyrus Extension Root Node</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Papyrus Extension Root Node</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusExtensionRootNode
* @generated
@@ -1617,6 +1787,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.papyrusgmfgenextension.PapyrusExtensionRootNode#getExtensionNodes <em>Extension Nodes</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the containment reference list '<em>Extension Nodes</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusExtensionRootNode#getExtensionNodes()
* @see #getPapyrusExtensionRootNode()
@@ -1628,6 +1799,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.papyrusgmfgenextension.AlternateCanvas <em>Alternate Canvas</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Alternate Canvas</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.AlternateCanvas
* @generated
@@ -1638,6 +1810,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.papyrusgmfgenextension.AlternateCanvas#getDomainDiagramElement <em>Domain Diagram Element</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference '<em>Domain Diagram Element</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.AlternateCanvas#getDomainDiagramElement()
* @see #getAlternateCanvas()
@@ -1649,6 +1822,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.papyrusgmfgenextension.AlternateCanvas#getAlternateTopLevelNodes <em>Alternate Top Level Nodes</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the containment reference list '<em>Alternate Top Level Nodes</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.AlternateCanvas#getAlternateTopLevelNodes()
* @see #getAlternateCanvas()
@@ -1660,6 +1834,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.papyrusgmfgenextension.AlternateCanvas#getAlternateLinkNodes <em>Alternate Link Nodes</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the containment reference list '<em>Alternate Link Nodes</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.AlternateCanvas#getAlternateLinkNodes()
* @see #getAlternateCanvas()
@@ -1671,6 +1846,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.papyrusgmfgenextension.AlternateCanvas#getDiagram <em>Diagram</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference '<em>Diagram</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.AlternateCanvas#getDiagram()
* @see #getAlternateCanvas()
@@ -1682,6 +1858,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.papyrusgmfgenextension.AlternateGenTopLevelNode <em>Alternate Gen Top Level Node</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Alternate Gen Top Level Node</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.AlternateGenTopLevelNode
* @generated
@@ -1692,6 +1869,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.papyrusgmfgenextension.AlternateGenTopLevelNode#getGenTopLevelNode <em>Gen Top Level Node</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference '<em>Gen Top Level Node</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.AlternateGenTopLevelNode#getGenTopLevelNode()
* @see #getAlternateGenTopLevelNode()
@@ -1703,6 +1881,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for the containment reference '{@link org.eclipse.papyrus.papyrusgmfgenextension.AlternateGenTopLevelNode#getTypeModelFacet <em>Type Model Facet</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the containment reference '<em>Type Model Facet</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.AlternateGenTopLevelNode#getTypeModelFacet()
* @see #getAlternateGenTopLevelNode()
@@ -1714,6 +1893,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.papyrusgmfgenextension.AlternateGenLink <em>Alternate Gen Link</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Alternate Gen Link</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.AlternateGenLink
* @generated
@@ -1724,6 +1904,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.papyrusgmfgenextension.AlternateGenLink#getGenLinkNode <em>Gen Link Node</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference '<em>Gen Link Node</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.AlternateGenLink#getGenLinkNode()
* @see #getAlternateGenLink()
@@ -1735,6 +1916,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for the containment reference '{@link org.eclipse.papyrus.papyrusgmfgenextension.AlternateGenLink#getTypeModelFacet <em>Type Model Facet</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the containment reference '<em>Type Model Facet</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.AlternateGenLink#getTypeModelFacet()
* @see #getAlternateGenLink()
@@ -1746,6 +1928,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.papyrusgmfgenextension.MutatingCanvas <em>Mutating Canvas</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Mutating Canvas</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.MutatingCanvas
* @generated
@@ -1756,6 +1939,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.papyrusgmfgenextension.MutatingCanvas#getAlternateCanvases <em>Alternate Canvases</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the containment reference list '<em>Alternate Canvases</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.MutatingCanvas#getAlternateCanvases()
* @see #getMutatingCanvas()
@@ -1767,6 +1951,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.papyrusgmfgenextension.OwnedEditpart <em>Owned Editpart</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Owned Editpart</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.OwnedEditpart
* @generated
@@ -1777,6 +1962,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.papyrusgmfgenextension.OwnedEditpart#getName <em>Name</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the attribute '<em>Name</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.OwnedEditpart#getName()
* @see #getOwnedEditpart()
@@ -1788,6 +1974,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.papyrusgmfgenextension.SpecificDiagramUpdater <em>Specific Diagram Updater</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Specific Diagram Updater</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.SpecificDiagramUpdater
* @generated
@@ -1798,6 +1985,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.papyrusgmfgenextension.SpecificDiagramUpdater#getGenNode <em>Gen Node</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference '<em>Gen Node</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.SpecificDiagramUpdater#getGenNode()
* @see #getSpecificDiagramUpdater()
@@ -1809,6 +1997,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.papyrusgmfgenextension.GenNodeConstraint <em>Gen Node Constraint</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Gen Node Constraint</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.GenNodeConstraint
* @generated
@@ -1819,6 +2008,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for the reference list '{@link org.eclipse.papyrus.papyrusgmfgenextension.GenNodeConstraint#getGenNode <em>Gen Node</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference list '<em>Gen Node</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.GenNodeConstraint#getGenNode()
* @see #getGenNodeConstraint()
@@ -1830,6 +2020,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.papyrusgmfgenextension.GenNodeConstraint#getGenConstraint <em>Gen Constraint</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference '<em>Gen Constraint</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.GenNodeConstraint#getGenConstraint()
* @see #getGenNodeConstraint()
@@ -1841,6 +2032,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.papyrusgmfgenextension.SpecificLocatorExternalLabel <em>Specific Locator External Label</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Specific Locator External Label</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.SpecificLocatorExternalLabel
* @generated
@@ -1851,6 +2043,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for the reference list '{@link org.eclipse.papyrus.papyrusgmfgenextension.SpecificLocatorExternalLabel#getGenExternalNodeLabel <em>Gen External Node Label</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference list '<em>Gen External Node Label</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.SpecificLocatorExternalLabel#getGenExternalNodeLabel()
* @see #getSpecificLocatorExternalLabel()
@@ -1862,6 +2055,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.papyrusgmfgenextension.AdditionalEditPartCandies <em>Additional Edit Part Candies</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Additional Edit Part Candies</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.AdditionalEditPartCandies
* @generated
@@ -1872,6 +2066,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.papyrusgmfgenextension.AdditionalEditPartCandies#getBaseEditHelperPackage <em>Base Edit Helper Package</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the attribute '<em>Base Edit Helper Package</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.AdditionalEditPartCandies#getBaseEditHelperPackage()
* @see #getAdditionalEditPartCandies()
@@ -1883,6 +2078,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.papyrusgmfgenextension.EditPartUsingDeleteService <em>Edit Part Using Delete Service</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Edit Part Using Delete Service</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.EditPartUsingDeleteService
* @generated
@@ -1893,6 +2089,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.papyrusgmfgenextension.EditPartUsingDeleteService#getName <em>Name</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the attribute '<em>Name</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.EditPartUsingDeleteService#getName()
* @see #getEditPartUsingDeleteService()
@@ -1904,6 +2101,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for the reference list '{@link org.eclipse.papyrus.papyrusgmfgenextension.EditPartUsingDeleteService#getGenView <em>Gen View</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference list '<em>Gen View</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.EditPartUsingDeleteService#getGenView()
* @see #getEditPartUsingDeleteService()
@@ -1915,6 +2113,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.papyrusgmfgenextension.EditPartUsingReorientService <em>Edit Part Using Reorient Service</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Edit Part Using Reorient Service</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.EditPartUsingReorientService
* @generated
@@ -1925,6 +2124,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.papyrusgmfgenextension.EditPartUsingReorientService#getName <em>Name</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the attribute '<em>Name</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.EditPartUsingReorientService#getName()
* @see #getEditPartUsingReorientService()
@@ -1936,6 +2136,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for the reference list '{@link org.eclipse.papyrus.papyrusgmfgenextension.EditPartUsingReorientService#getGenView <em>Gen View</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference list '<em>Gen View</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.EditPartUsingReorientService#getGenView()
* @see #getEditPartUsingReorientService()
@@ -1947,6 +2148,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.papyrusgmfgenextension.LabelVisibilityPreference <em>Label Visibility Preference</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Label Visibility Preference</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.LabelVisibilityPreference
* @generated
@@ -1957,6 +2159,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.papyrusgmfgenextension.LabelVisibilityPreference#getRole <em>Role</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the attribute '<em>Role</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.LabelVisibilityPreference#getRole()
* @see #getLabelVisibilityPreference()
@@ -1968,6 +2171,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.papyrusgmfgenextension.LabelVisibilityPreference#getIconPathRole <em>Icon Path Role</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the attribute '<em>Icon Path Role</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.LabelVisibilityPreference#getIconPathRole()
* @see #getLabelVisibilityPreference()
@@ -1979,6 +2183,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for the reference list '{@link org.eclipse.papyrus.papyrusgmfgenextension.LabelVisibilityPreference#getLinkLabels <em>Link Labels</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference list '<em>Link Labels</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.LabelVisibilityPreference#getLinkLabels()
* @see #getLabelVisibilityPreference()
@@ -1990,6 +2195,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for the reference list '{@link org.eclipse.papyrus.papyrusgmfgenextension.LabelVisibilityPreference#getExternalNodeLabels <em>External Node Labels</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference list '<em>External Node Labels</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.LabelVisibilityPreference#getExternalNodeLabels()
* @see #getLabelVisibilityPreference()
@@ -2001,6 +2207,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.papyrusgmfgenextension.LabelVisibilityPreference#isVisibleByDefault <em>Visible By Default</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the attribute '<em>Visible By Default</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.LabelVisibilityPreference#isVisibleByDefault()
* @see #getLabelVisibilityPreference()
@@ -2012,6 +2219,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.papyrusgmfgenextension.CompartmentVisibilityPreference <em>Compartment Visibility Preference</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Compartment Visibility Preference</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.CompartmentVisibilityPreference
* @generated
@@ -2022,6 +2230,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.papyrusgmfgenextension.CompartmentVisibilityPreference#isVisibleByDefault <em>Visible By Default</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the attribute '<em>Visible By Default</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.CompartmentVisibilityPreference#isVisibleByDefault()
* @see #getCompartmentVisibilityPreference()
@@ -2033,6 +2242,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for the reference list '{@link org.eclipse.papyrus.papyrusgmfgenextension.CompartmentVisibilityPreference#getCompartments <em>Compartments</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference list '<em>Compartments</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.CompartmentVisibilityPreference#getCompartments()
* @see #getCompartmentVisibilityPreference()
@@ -2044,6 +2254,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.papyrusgmfgenextension.CompartmentTitleVisibilityPreference <em>Compartment Title Visibility Preference</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Compartment Title Visibility Preference</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.CompartmentTitleVisibilityPreference
* @generated
@@ -2054,6 +2265,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.papyrusgmfgenextension.CompartmentTitleVisibilityPreference#isVisibleByDefault <em>Visible By Default</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the attribute '<em>Visible By Default</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.CompartmentTitleVisibilityPreference#isVisibleByDefault()
* @see #getCompartmentTitleVisibilityPreference()
@@ -2065,6 +2277,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for the reference list '{@link org.eclipse.papyrus.papyrusgmfgenextension.CompartmentTitleVisibilityPreference#getCompartments <em>Compartments</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference list '<em>Compartments</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.CompartmentTitleVisibilityPreference#getCompartments()
* @see #getCompartmentTitleVisibilityPreference()
@@ -2076,6 +2289,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.papyrusgmfgenextension.ConstrainedByReferenceCompartmentItemSemanticEditPolicy <em>Constrained By Reference Compartment Item Semantic Edit Policy</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Constrained By Reference Compartment Item Semantic Edit Policy</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.ConstrainedByReferenceCompartmentItemSemanticEditPolicy
* @generated
@@ -2086,6 +2300,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for the reference list '{@link org.eclipse.papyrus.papyrusgmfgenextension.ConstrainedByReferenceCompartmentItemSemanticEditPolicy#getGenView <em>Gen View</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference list '<em>Gen View</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.ConstrainedByReferenceCompartmentItemSemanticEditPolicy#getGenView()
* @see #getConstrainedByReferenceCompartmentItemSemanticEditPolicy()
@@ -2097,6 +2312,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.papyrusgmfgenextension.ExternalElementTypesLibrary <em>External Element Types Library</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>External Element Types Library</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.ExternalElementTypesLibrary
* @generated
@@ -2107,6 +2323,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.papyrusgmfgenextension.ExternalMetamodelType <em>External Metamodel Type</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>External Metamodel Type</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.ExternalMetamodelType
* @generated
@@ -2117,6 +2334,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.papyrusgmfgenextension.ExternalMetamodelType#getElementTypeRef <em>Element Type Ref</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference '<em>Element Type Ref</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.ExternalMetamodelType#getElementTypeRef()
* @see #getExternalMetamodelType()
@@ -2128,6 +2346,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.papyrusgmfgenextension.GenerateUsingElementTypeCreationCommand <em>Generate Using Element Type Creation Command</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Generate Using Element Type Creation Command</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.GenerateUsingElementTypeCreationCommand
* @generated
@@ -2138,6 +2357,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.papyrusgmfgenextension.CustomDiagramUpdaterSingleton <em>Custom Diagram Updater Singleton</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Custom Diagram Updater Singleton</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.CustomDiagramUpdaterSingleton
* @generated
@@ -2148,6 +2368,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.papyrusgmfgenextension.CustomDiagramUpdaterSingleton#getSingletonPath <em>Singleton Path</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the attribute '<em>Singleton Path</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.CustomDiagramUpdaterSingleton#getSingletonPath()
* @see #getCustomDiagramUpdaterSingleton()
@@ -2159,6 +2380,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the factory that creates the instances of the model.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the factory that creates the instances of the model.
* @generated
*/
@@ -2174,6 +2396,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* <li>and each data type</li>
* </ul>
* <!-- end-user-doc -->
+ *
* @generated
*/
interface Literals {
@@ -2182,6 +2405,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.ExtendedGenViewImpl <em>Extended Gen View</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.ExtendedGenViewImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getExtendedGenView()
* @generated
@@ -2192,6 +2416,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '<em><b>Gen View</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference EXTENDED_GEN_VIEW__GEN_VIEW = eINSTANCE.getExtendedGenView_GenView();
@@ -2200,6 +2425,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '<em><b>Is Abstract</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EAttribute EXTENDED_GEN_VIEW__IS_ABSTRACT = eINSTANCE.getExtendedGenView_IsAbstract();
@@ -2208,6 +2434,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '<em><b>Super Gen Views</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference EXTENDED_GEN_VIEW__SUPER_GEN_VIEWS = eINSTANCE.getExtendedGenView_SuperGenViews();
@@ -2216,6 +2443,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '<em><b>Prop Refresh Hook</b></em>' containment reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference EXTENDED_GEN_VIEW__PROP_REFRESH_HOOK = eINSTANCE.getExtendedGenView_PropRefreshHook();
@@ -2224,6 +2452,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '<em><b>Name</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EAttribute EXTENDED_GEN_VIEW__NAME = eINSTANCE.getExtendedGenView_Name();
@@ -2232,6 +2461,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '<em><b>Super Owned Edit Part</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EAttribute EXTENDED_GEN_VIEW__SUPER_OWNED_EDIT_PART = eINSTANCE.getExtendedGenView_SuperOwnedEditPart();
@@ -2240,6 +2470,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.CommentedElementImpl <em>Commented Element</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.CommentedElementImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getCommentedElement()
* @generated
@@ -2250,6 +2481,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '<em><b>Comment</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EAttribute COMMENTED_ELEMENT__COMMENT = eINSTANCE.getCommentedElement_Comment();
@@ -2258,6 +2490,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.PropertyRefreshHookImpl <em>Property Refresh Hook</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PropertyRefreshHookImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getPropertyRefreshHook()
* @generated
@@ -2268,6 +2501,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '<em><b>Triggering Condition</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EAttribute PROPERTY_REFRESH_HOOK__TRIGGERING_CONDITION = eINSTANCE.getPropertyRefreshHook_TriggeringCondition();
@@ -2276,6 +2510,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '<em><b>Action</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EAttribute PROPERTY_REFRESH_HOOK__ACTION = eINSTANCE.getPropertyRefreshHook_Action();
@@ -2284,6 +2519,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.ExternalHookImpl <em>External Hook</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.ExternalHookImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getExternalHook()
* @generated
@@ -2294,6 +2530,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '<em><b>Classpath</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EAttribute EXTERNAL_HOOK__CLASSPATH = eINSTANCE.getExternalHook_Classpath();
@@ -2302,6 +2539,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.SpecificLocatorImpl <em>Specific Locator</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.SpecificLocatorImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getSpecificLocator()
* @generated
@@ -2312,6 +2550,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '<em><b>Gen Child Side Affixed Node</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference SPECIFIC_LOCATOR__GEN_CHILD_SIDE_AFFIXED_NODE = eINSTANCE.getSpecificLocator_GenChildSideAffixedNode();
@@ -2320,6 +2559,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusExtensionRootNodeImpl <em>Papyrus Extension Root Node</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusExtensionRootNodeImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getPapyrusExtensionRootNode()
* @generated
@@ -2330,6 +2570,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '<em><b>Extension Nodes</b></em>' containment reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference PAPYRUS_EXTENSION_ROOT_NODE__EXTENSION_NODES = eINSTANCE.getPapyrusExtensionRootNode_ExtensionNodes();
@@ -2338,6 +2579,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.AlternateCanvasImpl <em>Alternate Canvas</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.AlternateCanvasImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getAlternateCanvas()
* @generated
@@ -2348,6 +2590,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '<em><b>Domain Diagram Element</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference ALTERNATE_CANVAS__DOMAIN_DIAGRAM_ELEMENT = eINSTANCE.getAlternateCanvas_DomainDiagramElement();
@@ -2356,6 +2599,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '<em><b>Alternate Top Level Nodes</b></em>' containment reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference ALTERNATE_CANVAS__ALTERNATE_TOP_LEVEL_NODES = eINSTANCE.getAlternateCanvas_AlternateTopLevelNodes();
@@ -2364,6 +2608,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '<em><b>Alternate Link Nodes</b></em>' containment reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference ALTERNATE_CANVAS__ALTERNATE_LINK_NODES = eINSTANCE.getAlternateCanvas_AlternateLinkNodes();
@@ -2372,6 +2617,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '<em><b>Diagram</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference ALTERNATE_CANVAS__DIAGRAM = eINSTANCE.getAlternateCanvas_Diagram();
@@ -2380,6 +2626,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.AlternateGenTopLevelNodeImpl <em>Alternate Gen Top Level Node</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.AlternateGenTopLevelNodeImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getAlternateGenTopLevelNode()
* @generated
@@ -2390,6 +2637,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '<em><b>Gen Top Level Node</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference ALTERNATE_GEN_TOP_LEVEL_NODE__GEN_TOP_LEVEL_NODE = eINSTANCE.getAlternateGenTopLevelNode_GenTopLevelNode();
@@ -2398,6 +2646,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '<em><b>Type Model Facet</b></em>' containment reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference ALTERNATE_GEN_TOP_LEVEL_NODE__TYPE_MODEL_FACET = eINSTANCE.getAlternateGenTopLevelNode_TypeModelFacet();
@@ -2406,6 +2655,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.AlternateGenLinkImpl <em>Alternate Gen Link</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.AlternateGenLinkImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getAlternateGenLink()
* @generated
@@ -2416,6 +2666,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '<em><b>Gen Link Node</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference ALTERNATE_GEN_LINK__GEN_LINK_NODE = eINSTANCE.getAlternateGenLink_GenLinkNode();
@@ -2424,6 +2675,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '<em><b>Type Model Facet</b></em>' containment reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference ALTERNATE_GEN_LINK__TYPE_MODEL_FACET = eINSTANCE.getAlternateGenLink_TypeModelFacet();
@@ -2432,6 +2684,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.MutatingCanvasImpl <em>Mutating Canvas</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.MutatingCanvasImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getMutatingCanvas()
* @generated
@@ -2442,6 +2695,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '<em><b>Alternate Canvases</b></em>' containment reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference MUTATING_CANVAS__ALTERNATE_CANVASES = eINSTANCE.getMutatingCanvas_AlternateCanvases();
@@ -2450,6 +2704,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.OwnedEditpartImpl <em>Owned Editpart</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.OwnedEditpartImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getOwnedEditpart()
* @generated
@@ -2460,6 +2715,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '<em><b>Name</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EAttribute OWNED_EDITPART__NAME = eINSTANCE.getOwnedEditpart_Name();
@@ -2468,6 +2724,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.SpecificDiagramUpdaterImpl <em>Specific Diagram Updater</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.SpecificDiagramUpdaterImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getSpecificDiagramUpdater()
* @generated
@@ -2478,6 +2735,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '<em><b>Gen Node</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference SPECIFIC_DIAGRAM_UPDATER__GEN_NODE = eINSTANCE.getSpecificDiagramUpdater_GenNode();
@@ -2486,6 +2744,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.GenNodeConstraintImpl <em>Gen Node Constraint</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.GenNodeConstraintImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getGenNodeConstraint()
* @generated
@@ -2496,6 +2755,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '<em><b>Gen Node</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference GEN_NODE_CONSTRAINT__GEN_NODE = eINSTANCE.getGenNodeConstraint_GenNode();
@@ -2504,6 +2764,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '<em><b>Gen Constraint</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference GEN_NODE_CONSTRAINT__GEN_CONSTRAINT = eINSTANCE.getGenNodeConstraint_GenConstraint();
@@ -2512,6 +2773,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.SpecificLocatorExternalLabelImpl <em>Specific Locator External Label</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.SpecificLocatorExternalLabelImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getSpecificLocatorExternalLabel()
* @generated
@@ -2522,6 +2784,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '<em><b>Gen External Node Label</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference SPECIFIC_LOCATOR_EXTERNAL_LABEL__GEN_EXTERNAL_NODE_LABEL = eINSTANCE.getSpecificLocatorExternalLabel_GenExternalNodeLabel();
@@ -2530,6 +2793,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.AdditionalEditPartCandiesImpl <em>Additional Edit Part Candies</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.AdditionalEditPartCandiesImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getAdditionalEditPartCandies()
* @generated
@@ -2540,6 +2804,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '<em><b>Base Edit Helper Package</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EAttribute ADDITIONAL_EDIT_PART_CANDIES__BASE_EDIT_HELPER_PACKAGE = eINSTANCE.getAdditionalEditPartCandies_BaseEditHelperPackage();
@@ -2548,6 +2813,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.EditPartUsingDeleteServiceImpl <em>Edit Part Using Delete Service</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.EditPartUsingDeleteServiceImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getEditPartUsingDeleteService()
* @generated
@@ -2558,6 +2824,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '<em><b>Name</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EAttribute EDIT_PART_USING_DELETE_SERVICE__NAME = eINSTANCE.getEditPartUsingDeleteService_Name();
@@ -2566,6 +2833,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '<em><b>Gen View</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference EDIT_PART_USING_DELETE_SERVICE__GEN_VIEW = eINSTANCE.getEditPartUsingDeleteService_GenView();
@@ -2574,6 +2842,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.EditPartUsingReorientServiceImpl <em>Edit Part Using Reorient Service</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.EditPartUsingReorientServiceImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getEditPartUsingReorientService()
* @generated
@@ -2584,6 +2853,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '<em><b>Name</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EAttribute EDIT_PART_USING_REORIENT_SERVICE__NAME = eINSTANCE.getEditPartUsingReorientService_Name();
@@ -2592,6 +2862,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '<em><b>Gen View</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference EDIT_PART_USING_REORIENT_SERVICE__GEN_VIEW = eINSTANCE.getEditPartUsingReorientService_GenView();
@@ -2600,6 +2871,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.LabelVisibilityPreferenceImpl <em>Label Visibility Preference</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.LabelVisibilityPreferenceImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getLabelVisibilityPreference()
* @generated
@@ -2610,6 +2882,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '<em><b>Role</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EAttribute LABEL_VISIBILITY_PREFERENCE__ROLE = eINSTANCE.getLabelVisibilityPreference_Role();
@@ -2618,6 +2891,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '<em><b>Icon Path Role</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EAttribute LABEL_VISIBILITY_PREFERENCE__ICON_PATH_ROLE = eINSTANCE.getLabelVisibilityPreference_IconPathRole();
@@ -2626,6 +2900,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '<em><b>Link Labels</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference LABEL_VISIBILITY_PREFERENCE__LINK_LABELS = eINSTANCE.getLabelVisibilityPreference_LinkLabels();
@@ -2634,6 +2909,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '<em><b>External Node Labels</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference LABEL_VISIBILITY_PREFERENCE__EXTERNAL_NODE_LABELS = eINSTANCE.getLabelVisibilityPreference_ExternalNodeLabels();
@@ -2642,6 +2918,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '<em><b>Visible By Default</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EAttribute LABEL_VISIBILITY_PREFERENCE__VISIBLE_BY_DEFAULT = eINSTANCE.getLabelVisibilityPreference_VisibleByDefault();
@@ -2650,6 +2927,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.CompartmentVisibilityPreferenceImpl <em>Compartment Visibility Preference</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.CompartmentVisibilityPreferenceImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getCompartmentVisibilityPreference()
* @generated
@@ -2660,6 +2938,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '<em><b>Visible By Default</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EAttribute COMPARTMENT_VISIBILITY_PREFERENCE__VISIBLE_BY_DEFAULT = eINSTANCE.getCompartmentVisibilityPreference_VisibleByDefault();
@@ -2668,6 +2947,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '<em><b>Compartments</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference COMPARTMENT_VISIBILITY_PREFERENCE__COMPARTMENTS = eINSTANCE.getCompartmentVisibilityPreference_Compartments();
@@ -2676,6 +2956,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.CompartmentTitleVisibilityPreferenceImpl <em>Compartment Title Visibility Preference</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.CompartmentTitleVisibilityPreferenceImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getCompartmentTitleVisibilityPreference()
* @generated
@@ -2686,6 +2967,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '<em><b>Visible By Default</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EAttribute COMPARTMENT_TITLE_VISIBILITY_PREFERENCE__VISIBLE_BY_DEFAULT = eINSTANCE.getCompartmentTitleVisibilityPreference_VisibleByDefault();
@@ -2694,6 +2976,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '<em><b>Compartments</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference COMPARTMENT_TITLE_VISIBILITY_PREFERENCE__COMPARTMENTS = eINSTANCE.getCompartmentTitleVisibilityPreference_Compartments();
@@ -2702,6 +2985,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.ConstrainedByReferenceCompartmentItemSemanticEditPolicyImpl <em>Constrained By Reference Compartment Item Semantic Edit Policy</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.ConstrainedByReferenceCompartmentItemSemanticEditPolicyImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getConstrainedByReferenceCompartmentItemSemanticEditPolicy()
* @generated
@@ -2712,6 +2996,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '<em><b>Gen View</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference CONSTRAINED_BY_REFERENCE_COMPARTMENT_ITEM_SEMANTIC_EDIT_POLICY__GEN_VIEW = eINSTANCE.getConstrainedByReferenceCompartmentItemSemanticEditPolicy_GenView();
@@ -2720,6 +3005,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.ExternalElementTypesLibraryImpl <em>External Element Types Library</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.ExternalElementTypesLibraryImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getExternalElementTypesLibrary()
* @generated
@@ -2730,6 +3016,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.ExternalMetamodelTypeImpl <em>External Metamodel Type</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.ExternalMetamodelTypeImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getExternalMetamodelType()
* @generated
@@ -2740,6 +3027,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '<em><b>Element Type Ref</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference EXTERNAL_METAMODEL_TYPE__ELEMENT_TYPE_REF = eINSTANCE.getExternalMetamodelType_ElementTypeRef();
@@ -2748,6 +3036,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.GenerateUsingElementTypeCreationCommandImpl <em>Generate Using Element Type Creation Command</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.GenerateUsingElementTypeCreationCommandImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getGenerateUsingElementTypeCreationCommand()
* @generated
@@ -2758,6 +3047,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.CustomDiagramUpdaterSingletonImpl <em>Custom Diagram Updater Singleton</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.CustomDiagramUpdaterSingletonImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getCustomDiagramUpdaterSingleton()
* @generated
@@ -2768,10 +3058,11 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '<em><b>Singleton Path</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EAttribute CUSTOM_DIAGRAM_UPDATER_SINGLETON__SINGLETON_PATH = eINSTANCE.getCustomDiagramUpdaterSingleton_SingletonPath();
}
-} //PapyrusgmfgenextensionPackage
+} // PapyrusgmfgenextensionPackage
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/PropertyRefreshHook.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/PropertyRefreshHook.java
index b1c06efc429..9d381aa8598 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/PropertyRefreshHook.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/PropertyRefreshHook.java
@@ -14,16 +14,16 @@ package org.eclipse.papyrus.papyrusgmfgenextension;
*
* <!-- begin-model-doc -->
* This class is used to refresh the figure by taking in account a property of domain element (in the case of Ecore, it can be an Efeature or EReference)
- * The triggeringCondtion describe the needed condition to launch the action on the figure. these two properties can be code lines.
- *
+ * The triggeringCondtion describe the needed condition to launch the action on the figure. these two properties can be code lines.
+ *
* For instance we would like to display active class when the efeature class is "active". Or display composite kind of the association when the kind of the property end is "composite".
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.PropertyRefreshHook#getTriggeringCondition <em>Triggering Condition</em>}</li>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.PropertyRefreshHook#getAction <em>Action</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.PropertyRefreshHook#getTriggeringCondition <em>Triggering Condition</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.PropertyRefreshHook#getAction <em>Action</em>}</li>
* </ul>
* </p>
*
@@ -40,6 +40,7 @@ public interface PropertyRefreshHook extends ExternalHook {
* If the meaning of the '<em>Triggering Condition</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Triggering Condition</em>' attribute.
* @see #setTriggeringCondition(String)
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getPropertyRefreshHook_TriggeringCondition()
@@ -52,7 +53,9 @@ public interface PropertyRefreshHook extends ExternalHook {
* Sets the value of the '{@link org.eclipse.papyrus.papyrusgmfgenextension.PropertyRefreshHook#getTriggeringCondition <em>Triggering Condition</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Triggering Condition</em>' attribute.
+ *
+ * @param value
+ * the new value of the '<em>Triggering Condition</em>' attribute.
* @see #getTriggeringCondition()
* @generated
*/
@@ -65,6 +68,7 @@ public interface PropertyRefreshHook extends ExternalHook {
* If the meaning of the '<em>Action</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Action</em>' attribute.
* @see #setAction(String)
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getPropertyRefreshHook_Action()
@@ -77,7 +81,9 @@ public interface PropertyRefreshHook extends ExternalHook {
* Sets the value of the '{@link org.eclipse.papyrus.papyrusgmfgenextension.PropertyRefreshHook#getAction <em>Action</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Action</em>' attribute.
+ *
+ * @param value
+ * the new value of the '<em>Action</em>' attribute.
* @see #getAction()
* @generated
*/
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/SpecificDiagramUpdater.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/SpecificDiagramUpdater.java
index 087d1ce4a8f..5cbdc1a377a 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/SpecificDiagramUpdater.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/SpecificDiagramUpdater.java
@@ -15,22 +15,22 @@ import org.eclipse.gmf.codegen.gmfgen.GenCommonBase;
*
* <!-- begin-model-doc -->
* This class is used to precise itw own locator used for the border item, like port or template.
- *
+ *
* for example, in the case of templateSignature of ClassEditPart in the method protected boolean addFixedChild(EditPart childEditPart):
- * replacement of the general BorderItemLocator is needed in order to constrain the movement.
- *
+ * replacement of the general BorderItemLocator is needed in order to constrain the movement.
+ *
* if (childEditPart instanceof RedefinableTemplateSignatureEditPart) {
- * // BorderItemLocator locator = new BorderItemLocator(getMainFigure(), PositionConstants.NORTH);
- * BorderItemLocator locator = new TemplateClassifierBorderItemLocator(getMainFigure(), PositionConstants.NORTH);
- * getBorderedFigure().getBorderItemContainer().add(((RedefinableTemplateSignatureEditPart) childEditPart).getFigure(), locator);
- * return true;
+ * // BorderItemLocator locator = new BorderItemLocator(getMainFigure(), PositionConstants.NORTH);
+ * BorderItemLocator locator = new TemplateClassifierBorderItemLocator(getMainFigure(), PositionConstants.NORTH);
+ * getBorderedFigure().getBorderItemContainer().add(((RedefinableTemplateSignatureEditPart) childEditPart).getFigure(), locator);
+ * return true;
* }
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.SpecificDiagramUpdater#getGenNode <em>Gen Node</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.SpecificDiagramUpdater#getGenNode <em>Gen Node</em>}</li>
* </ul>
* </p>
*
@@ -47,6 +47,7 @@ public interface SpecificDiagramUpdater extends ExternalHook {
* If the meaning of the '<em>Gen Node</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Gen Node</em>' reference.
* @see #setGenNode(GenCommonBase)
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getSpecificDiagramUpdater_GenNode()
@@ -59,7 +60,9 @@ public interface SpecificDiagramUpdater extends ExternalHook {
* Sets the value of the '{@link org.eclipse.papyrus.papyrusgmfgenextension.SpecificDiagramUpdater#getGenNode <em>Gen Node</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Gen Node</em>' reference.
+ *
+ * @param value
+ * the new value of the '<em>Gen Node</em>' reference.
* @see #getGenNode()
* @generated
*/
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/SpecificLocator.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/SpecificLocator.java
index 86646604e7b..e7331fc0d23 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/SpecificLocator.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/SpecificLocator.java
@@ -16,22 +16,22 @@ import org.eclipse.gmf.codegen.gmfgen.GenChildSideAffixedNode;
*
* <!-- begin-model-doc -->
* This class is used to precise itw own locator used for the border item, like port or template.
- *
+ *
* for example, in the case of templateSignature of ClassEditPart in the method protected boolean addFixedChild(EditPart childEditPart):
- * replacement of the general BorderItemLocator is needed in order to constrain the movement.
- *
+ * replacement of the general BorderItemLocator is needed in order to constrain the movement.
+ *
* if (childEditPart instanceof RedefinableTemplateSignatureEditPart) {
- * // BorderItemLocator locator = new BorderItemLocator(getMainFigure(), PositionConstants.NORTH);
- * BorderItemLocator locator = new TemplateClassifierBorderItemLocator(getMainFigure(), PositionConstants.NORTH);
- * getBorderedFigure().getBorderItemContainer().add(((RedefinableTemplateSignatureEditPart) childEditPart).getFigure(), locator);
- * return true;
+ * // BorderItemLocator locator = new BorderItemLocator(getMainFigure(), PositionConstants.NORTH);
+ * BorderItemLocator locator = new TemplateClassifierBorderItemLocator(getMainFigure(), PositionConstants.NORTH);
+ * getBorderedFigure().getBorderItemContainer().add(((RedefinableTemplateSignatureEditPart) childEditPart).getFigure(), locator);
+ * return true;
* }
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.SpecificLocator#getGenChildSideAffixedNode <em>Gen Child Side Affixed Node</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.SpecificLocator#getGenChildSideAffixedNode <em>Gen Child Side Affixed Node</em>}</li>
* </ul>
* </p>
*
@@ -49,6 +49,7 @@ public interface SpecificLocator extends ExternalHook {
* If the meaning of the '<em>Gen Child Side Affixed Node</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Gen Child Side Affixed Node</em>' reference list.
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getSpecificLocator_GenChildSideAffixedNode()
* @model
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/SpecificLocatorExternalLabel.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/SpecificLocatorExternalLabel.java
index 41dee6e1c84..b0ed2191537 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/SpecificLocatorExternalLabel.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/SpecificLocatorExternalLabel.java
@@ -16,22 +16,22 @@ import org.eclipse.gmf.codegen.gmfgen.GenExternalNodeLabel;
*
* <!-- begin-model-doc -->
* This class is used to precise itw own locator used for the border item, like port or template.
- *
+ *
* for example, in the case of templateSignature of ClassEditPart in the method protected boolean addFixedChild(EditPart childEditPart):
- * replacement of the general BorderItemLocator is needed in order to constrain the movement.
- *
+ * replacement of the general BorderItemLocator is needed in order to constrain the movement.
+ *
* if (childEditPart instanceof RedefinableTemplateSignatureEditPart) {
- * // BorderItemLocator locator = new BorderItemLocator(getMainFigure(), PositionConstants.NORTH);
- * BorderItemLocator locator = new TemplateClassifierBorderItemLocator(getMainFigure(), PositionConstants.NORTH);
- * getBorderedFigure().getBorderItemContainer().add(((RedefinableTemplateSignatureEditPart) childEditPart).getFigure(), locator);
- * return true;
+ * // BorderItemLocator locator = new BorderItemLocator(getMainFigure(), PositionConstants.NORTH);
+ * BorderItemLocator locator = new TemplateClassifierBorderItemLocator(getMainFigure(), PositionConstants.NORTH);
+ * getBorderedFigure().getBorderItemContainer().add(((RedefinableTemplateSignatureEditPart) childEditPart).getFigure(), locator);
+ * return true;
* }
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.SpecificLocatorExternalLabel#getGenExternalNodeLabel <em>Gen External Node Label</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.SpecificLocatorExternalLabel#getGenExternalNodeLabel <em>Gen External Node Label</em>}</li>
* </ul>
* </p>
*
@@ -49,6 +49,7 @@ public interface SpecificLocatorExternalLabel extends ExternalHook {
* If the meaning of the '<em>Gen External Node Label</em>' reference list isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Gen External Node Label</em>' reference list.
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getSpecificLocatorExternalLabel_GenExternalNodeLabel()
* @model
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/AdditionalEditPartCandiesImpl.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/AdditionalEditPartCandiesImpl.java
index 97f293390b4..0323d0e83cc 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/AdditionalEditPartCandiesImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/AdditionalEditPartCandiesImpl.java
@@ -19,7 +19,7 @@ import org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.AdditionalEditPartCandiesImpl#getBaseEditHelperPackage <em>Base Edit Helper Package</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.AdditionalEditPartCandiesImpl#getBaseEditHelperPackage <em>Base Edit Helper Package</em>}</li>
* </ul>
* </p>
*
@@ -31,6 +31,7 @@ public class AdditionalEditPartCandiesImpl extends CommentedElementImpl implemen
* The default value of the '{@link #getBaseEditHelperPackage() <em>Base Edit Helper Package</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getBaseEditHelperPackage()
* @generated
* @ordered
@@ -41,6 +42,7 @@ public class AdditionalEditPartCandiesImpl extends CommentedElementImpl implemen
* The cached value of the '{@link #getBaseEditHelperPackage() <em>Base Edit Helper Package</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getBaseEditHelperPackage()
* @generated
* @ordered
@@ -50,6 +52,7 @@ public class AdditionalEditPartCandiesImpl extends CommentedElementImpl implemen
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected AdditionalEditPartCandiesImpl() {
@@ -59,6 +62,7 @@ public class AdditionalEditPartCandiesImpl extends CommentedElementImpl implemen
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -69,8 +73,10 @@ public class AdditionalEditPartCandiesImpl extends CommentedElementImpl implemen
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public String getBaseEditHelperPackage() {
return baseEditHelperPackage;
}
@@ -78,25 +84,29 @@ public class AdditionalEditPartCandiesImpl extends CommentedElementImpl implemen
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setBaseEditHelperPackage(String newBaseEditHelperPackage) {
String oldBaseEditHelperPackage = baseEditHelperPackage;
baseEditHelperPackage = newBaseEditHelperPackage;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, PapyrusgmfgenextensionPackage.ADDITIONAL_EDIT_PART_CANDIES__BASE_EDIT_HELPER_PACKAGE, oldBaseEditHelperPackage, baseEditHelperPackage));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.ADDITIONAL_EDIT_PART_CANDIES__BASE_EDIT_HELPER_PACKAGE:
- return getBaseEditHelperPackage();
+ case PapyrusgmfgenextensionPackage.ADDITIONAL_EDIT_PART_CANDIES__BASE_EDIT_HELPER_PACKAGE:
+ return getBaseEditHelperPackage();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -104,14 +114,15 @@ public class AdditionalEditPartCandiesImpl extends CommentedElementImpl implemen
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.ADDITIONAL_EDIT_PART_CANDIES__BASE_EDIT_HELPER_PACKAGE:
- setBaseEditHelperPackage((String)newValue);
- return;
+ case PapyrusgmfgenextensionPackage.ADDITIONAL_EDIT_PART_CANDIES__BASE_EDIT_HELPER_PACKAGE:
+ setBaseEditHelperPackage((String) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -119,14 +130,15 @@ public class AdditionalEditPartCandiesImpl extends CommentedElementImpl implemen
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.ADDITIONAL_EDIT_PART_CANDIES__BASE_EDIT_HELPER_PACKAGE:
- setBaseEditHelperPackage(BASE_EDIT_HELPER_PACKAGE_EDEFAULT);
- return;
+ case PapyrusgmfgenextensionPackage.ADDITIONAL_EDIT_PART_CANDIES__BASE_EDIT_HELPER_PACKAGE:
+ setBaseEditHelperPackage(BASE_EDIT_HELPER_PACKAGE_EDEFAULT);
+ return;
}
super.eUnset(featureID);
}
@@ -134,13 +146,14 @@ public class AdditionalEditPartCandiesImpl extends CommentedElementImpl implemen
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.ADDITIONAL_EDIT_PART_CANDIES__BASE_EDIT_HELPER_PACKAGE:
- return BASE_EDIT_HELPER_PACKAGE_EDEFAULT == null ? baseEditHelperPackage != null : !BASE_EDIT_HELPER_PACKAGE_EDEFAULT.equals(baseEditHelperPackage);
+ case PapyrusgmfgenextensionPackage.ADDITIONAL_EDIT_PART_CANDIES__BASE_EDIT_HELPER_PACKAGE:
+ return BASE_EDIT_HELPER_PACKAGE_EDEFAULT == null ? baseEditHelperPackage != null : !BASE_EDIT_HELPER_PACKAGE_EDEFAULT.equals(baseEditHelperPackage);
}
return super.eIsSet(featureID);
}
@@ -148,11 +161,14 @@ public class AdditionalEditPartCandiesImpl extends CommentedElementImpl implemen
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public String toString() {
- if (eIsProxy()) return super.toString();
+ if (eIsProxy()) {
+ return super.toString();
+ }
StringBuffer result = new StringBuffer(super.toString());
result.append(" (baseEditHelperPackage: ");
@@ -161,4 +177,4 @@ public class AdditionalEditPartCandiesImpl extends CommentedElementImpl implemen
return result.toString();
}
-} //AdditionalEditPartCandiesImpl
+} // AdditionalEditPartCandiesImpl
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/AlternateCanvasImpl.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/AlternateCanvasImpl.java
index cc0b46edc04..85b89830adf 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/AlternateCanvasImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/AlternateCanvasImpl.java
@@ -30,10 +30,10 @@ import org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.AlternateCanvasImpl#getDomainDiagramElement <em>Domain Diagram Element</em>}</li>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.AlternateCanvasImpl#getAlternateTopLevelNodes <em>Alternate Top Level Nodes</em>}</li>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.AlternateCanvasImpl#getAlternateLinkNodes <em>Alternate Link Nodes</em>}</li>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.AlternateCanvasImpl#getDiagram <em>Diagram</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.AlternateCanvasImpl#getDomainDiagramElement <em>Domain Diagram Element</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.AlternateCanvasImpl#getAlternateTopLevelNodes <em>Alternate Top Level Nodes</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.AlternateCanvasImpl#getAlternateLinkNodes <em>Alternate Link Nodes</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.AlternateCanvasImpl#getDiagram <em>Diagram</em>}</li>
* </ul>
* </p>
*
@@ -45,6 +45,7 @@ public class AlternateCanvasImpl extends CommentedElementImpl implements Alterna
* The cached value of the '{@link #getDomainDiagramElement() <em>Domain Diagram Element</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getDomainDiagramElement()
* @generated
* @ordered
@@ -55,6 +56,7 @@ public class AlternateCanvasImpl extends CommentedElementImpl implements Alterna
* The cached value of the '{@link #getAlternateTopLevelNodes() <em>Alternate Top Level Nodes</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getAlternateTopLevelNodes()
* @generated
* @ordered
@@ -65,6 +67,7 @@ public class AlternateCanvasImpl extends CommentedElementImpl implements Alterna
* The cached value of the '{@link #getAlternateLinkNodes() <em>Alternate Link Nodes</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getAlternateLinkNodes()
* @generated
* @ordered
@@ -75,6 +78,7 @@ public class AlternateCanvasImpl extends CommentedElementImpl implements Alterna
* The cached value of the '{@link #getDiagram() <em>Diagram</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getDiagram()
* @generated
* @ordered
@@ -84,6 +88,7 @@ public class AlternateCanvasImpl extends CommentedElementImpl implements Alterna
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected AlternateCanvasImpl() {
@@ -93,6 +98,7 @@ public class AlternateCanvasImpl extends CommentedElementImpl implements Alterna
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -103,15 +109,18 @@ public class AlternateCanvasImpl extends CommentedElementImpl implements Alterna
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public GenClass getDomainDiagramElement() {
if (domainDiagramElement != null && domainDiagramElement.eIsProxy()) {
- InternalEObject oldDomainDiagramElement = (InternalEObject)domainDiagramElement;
- domainDiagramElement = (GenClass)eResolveProxy(oldDomainDiagramElement);
+ InternalEObject oldDomainDiagramElement = (InternalEObject) domainDiagramElement;
+ domainDiagramElement = (GenClass) eResolveProxy(oldDomainDiagramElement);
if (domainDiagramElement != oldDomainDiagramElement) {
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, PapyrusgmfgenextensionPackage.ALTERNATE_CANVAS__DOMAIN_DIAGRAM_ELEMENT, oldDomainDiagramElement, domainDiagramElement));
+ }
}
}
return domainDiagramElement;
@@ -120,6 +129,7 @@ public class AlternateCanvasImpl extends CommentedElementImpl implements Alterna
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public GenClass basicGetDomainDiagramElement() {
@@ -129,20 +139,25 @@ public class AlternateCanvasImpl extends CommentedElementImpl implements Alterna
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setDomainDiagramElement(GenClass newDomainDiagramElement) {
GenClass oldDomainDiagramElement = domainDiagramElement;
domainDiagramElement = newDomainDiagramElement;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, PapyrusgmfgenextensionPackage.ALTERNATE_CANVAS__DOMAIN_DIAGRAM_ELEMENT, oldDomainDiagramElement, domainDiagramElement));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EList<AlternateGenTopLevelNode> getAlternateTopLevelNodes() {
if (alternateTopLevelNodes == null) {
alternateTopLevelNodes = new EObjectContainmentEList<AlternateGenTopLevelNode>(AlternateGenTopLevelNode.class, this, PapyrusgmfgenextensionPackage.ALTERNATE_CANVAS__ALTERNATE_TOP_LEVEL_NODES);
@@ -153,8 +168,10 @@ public class AlternateCanvasImpl extends CommentedElementImpl implements Alterna
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EList<AlternateGenLink> getAlternateLinkNodes() {
if (alternateLinkNodes == null) {
alternateLinkNodes = new EObjectContainmentEList<AlternateGenLink>(AlternateGenLink.class, this, PapyrusgmfgenextensionPackage.ALTERNATE_CANVAS__ALTERNATE_LINK_NODES);
@@ -165,15 +182,18 @@ public class AlternateCanvasImpl extends CommentedElementImpl implements Alterna
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public GenDiagram getDiagram() {
if (diagram != null && diagram.eIsProxy()) {
- InternalEObject oldDiagram = (InternalEObject)diagram;
- diagram = (GenDiagram)eResolveProxy(oldDiagram);
+ InternalEObject oldDiagram = (InternalEObject) diagram;
+ diagram = (GenDiagram) eResolveProxy(oldDiagram);
if (diagram != oldDiagram) {
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, PapyrusgmfgenextensionPackage.ALTERNATE_CANVAS__DIAGRAM, oldDiagram, diagram));
+ }
}
}
return diagram;
@@ -182,6 +202,7 @@ public class AlternateCanvasImpl extends CommentedElementImpl implements Alterna
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public GenDiagram basicGetDiagram() {
@@ -191,27 +212,31 @@ public class AlternateCanvasImpl extends CommentedElementImpl implements Alterna
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setDiagram(GenDiagram newDiagram) {
GenDiagram oldDiagram = diagram;
diagram = newDiagram;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, PapyrusgmfgenextensionPackage.ALTERNATE_CANVAS__DIAGRAM, oldDiagram, diagram));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.ALTERNATE_CANVAS__ALTERNATE_TOP_LEVEL_NODES:
- return ((InternalEList<?>)getAlternateTopLevelNodes()).basicRemove(otherEnd, msgs);
- case PapyrusgmfgenextensionPackage.ALTERNATE_CANVAS__ALTERNATE_LINK_NODES:
- return ((InternalEList<?>)getAlternateLinkNodes()).basicRemove(otherEnd, msgs);
+ case PapyrusgmfgenextensionPackage.ALTERNATE_CANVAS__ALTERNATE_TOP_LEVEL_NODES:
+ return ((InternalEList<?>) getAlternateTopLevelNodes()).basicRemove(otherEnd, msgs);
+ case PapyrusgmfgenextensionPackage.ALTERNATE_CANVAS__ALTERNATE_LINK_NODES:
+ return ((InternalEList<?>) getAlternateLinkNodes()).basicRemove(otherEnd, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
@@ -219,21 +244,26 @@ public class AlternateCanvasImpl extends CommentedElementImpl implements Alterna
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.ALTERNATE_CANVAS__DOMAIN_DIAGRAM_ELEMENT:
- if (resolve) return getDomainDiagramElement();
- return basicGetDomainDiagramElement();
- case PapyrusgmfgenextensionPackage.ALTERNATE_CANVAS__ALTERNATE_TOP_LEVEL_NODES:
- return getAlternateTopLevelNodes();
- case PapyrusgmfgenextensionPackage.ALTERNATE_CANVAS__ALTERNATE_LINK_NODES:
- return getAlternateLinkNodes();
- case PapyrusgmfgenextensionPackage.ALTERNATE_CANVAS__DIAGRAM:
- if (resolve) return getDiagram();
- return basicGetDiagram();
+ case PapyrusgmfgenextensionPackage.ALTERNATE_CANVAS__DOMAIN_DIAGRAM_ELEMENT:
+ if (resolve) {
+ return getDomainDiagramElement();
+ }
+ return basicGetDomainDiagramElement();
+ case PapyrusgmfgenextensionPackage.ALTERNATE_CANVAS__ALTERNATE_TOP_LEVEL_NODES:
+ return getAlternateTopLevelNodes();
+ case PapyrusgmfgenextensionPackage.ALTERNATE_CANVAS__ALTERNATE_LINK_NODES:
+ return getAlternateLinkNodes();
+ case PapyrusgmfgenextensionPackage.ALTERNATE_CANVAS__DIAGRAM:
+ if (resolve) {
+ return getDiagram();
+ }
+ return basicGetDiagram();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -241,26 +271,27 @@ public class AlternateCanvasImpl extends CommentedElementImpl implements Alterna
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.ALTERNATE_CANVAS__DOMAIN_DIAGRAM_ELEMENT:
- setDomainDiagramElement((GenClass)newValue);
- return;
- case PapyrusgmfgenextensionPackage.ALTERNATE_CANVAS__ALTERNATE_TOP_LEVEL_NODES:
- getAlternateTopLevelNodes().clear();
- getAlternateTopLevelNodes().addAll((Collection<? extends AlternateGenTopLevelNode>)newValue);
- return;
- case PapyrusgmfgenextensionPackage.ALTERNATE_CANVAS__ALTERNATE_LINK_NODES:
- getAlternateLinkNodes().clear();
- getAlternateLinkNodes().addAll((Collection<? extends AlternateGenLink>)newValue);
- return;
- case PapyrusgmfgenextensionPackage.ALTERNATE_CANVAS__DIAGRAM:
- setDiagram((GenDiagram)newValue);
- return;
+ case PapyrusgmfgenextensionPackage.ALTERNATE_CANVAS__DOMAIN_DIAGRAM_ELEMENT:
+ setDomainDiagramElement((GenClass) newValue);
+ return;
+ case PapyrusgmfgenextensionPackage.ALTERNATE_CANVAS__ALTERNATE_TOP_LEVEL_NODES:
+ getAlternateTopLevelNodes().clear();
+ getAlternateTopLevelNodes().addAll((Collection<? extends AlternateGenTopLevelNode>) newValue);
+ return;
+ case PapyrusgmfgenextensionPackage.ALTERNATE_CANVAS__ALTERNATE_LINK_NODES:
+ getAlternateLinkNodes().clear();
+ getAlternateLinkNodes().addAll((Collection<? extends AlternateGenLink>) newValue);
+ return;
+ case PapyrusgmfgenextensionPackage.ALTERNATE_CANVAS__DIAGRAM:
+ setDiagram((GenDiagram) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -268,23 +299,24 @@ public class AlternateCanvasImpl extends CommentedElementImpl implements Alterna
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.ALTERNATE_CANVAS__DOMAIN_DIAGRAM_ELEMENT:
- setDomainDiagramElement((GenClass)null);
- return;
- case PapyrusgmfgenextensionPackage.ALTERNATE_CANVAS__ALTERNATE_TOP_LEVEL_NODES:
- getAlternateTopLevelNodes().clear();
- return;
- case PapyrusgmfgenextensionPackage.ALTERNATE_CANVAS__ALTERNATE_LINK_NODES:
- getAlternateLinkNodes().clear();
- return;
- case PapyrusgmfgenextensionPackage.ALTERNATE_CANVAS__DIAGRAM:
- setDiagram((GenDiagram)null);
- return;
+ case PapyrusgmfgenextensionPackage.ALTERNATE_CANVAS__DOMAIN_DIAGRAM_ELEMENT:
+ setDomainDiagramElement((GenClass) null);
+ return;
+ case PapyrusgmfgenextensionPackage.ALTERNATE_CANVAS__ALTERNATE_TOP_LEVEL_NODES:
+ getAlternateTopLevelNodes().clear();
+ return;
+ case PapyrusgmfgenextensionPackage.ALTERNATE_CANVAS__ALTERNATE_LINK_NODES:
+ getAlternateLinkNodes().clear();
+ return;
+ case PapyrusgmfgenextensionPackage.ALTERNATE_CANVAS__DIAGRAM:
+ setDiagram((GenDiagram) null);
+ return;
}
super.eUnset(featureID);
}
@@ -292,21 +324,22 @@ public class AlternateCanvasImpl extends CommentedElementImpl implements Alterna
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.ALTERNATE_CANVAS__DOMAIN_DIAGRAM_ELEMENT:
- return domainDiagramElement != null;
- case PapyrusgmfgenextensionPackage.ALTERNATE_CANVAS__ALTERNATE_TOP_LEVEL_NODES:
- return alternateTopLevelNodes != null && !alternateTopLevelNodes.isEmpty();
- case PapyrusgmfgenextensionPackage.ALTERNATE_CANVAS__ALTERNATE_LINK_NODES:
- return alternateLinkNodes != null && !alternateLinkNodes.isEmpty();
- case PapyrusgmfgenextensionPackage.ALTERNATE_CANVAS__DIAGRAM:
- return diagram != null;
+ case PapyrusgmfgenextensionPackage.ALTERNATE_CANVAS__DOMAIN_DIAGRAM_ELEMENT:
+ return domainDiagramElement != null;
+ case PapyrusgmfgenextensionPackage.ALTERNATE_CANVAS__ALTERNATE_TOP_LEVEL_NODES:
+ return alternateTopLevelNodes != null && !alternateTopLevelNodes.isEmpty();
+ case PapyrusgmfgenextensionPackage.ALTERNATE_CANVAS__ALTERNATE_LINK_NODES:
+ return alternateLinkNodes != null && !alternateLinkNodes.isEmpty();
+ case PapyrusgmfgenextensionPackage.ALTERNATE_CANVAS__DIAGRAM:
+ return diagram != null;
}
return super.eIsSet(featureID);
}
-} //AlternateCanvasImpl
+} // AlternateCanvasImpl
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/AlternateGenLinkImpl.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/AlternateGenLinkImpl.java
index 62cda116f8a..636f97275ad 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/AlternateGenLinkImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/AlternateGenLinkImpl.java
@@ -23,8 +23,8 @@ import org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.AlternateGenLinkImpl#getGenLinkNode <em>Gen Link Node</em>}</li>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.AlternateGenLinkImpl#getTypeModelFacet <em>Type Model Facet</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.AlternateGenLinkImpl#getGenLinkNode <em>Gen Link Node</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.AlternateGenLinkImpl#getTypeModelFacet <em>Type Model Facet</em>}</li>
* </ul>
* </p>
*
@@ -36,6 +36,7 @@ public class AlternateGenLinkImpl extends CommentedElementImpl implements Altern
* The cached value of the '{@link #getGenLinkNode() <em>Gen Link Node</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getGenLinkNode()
* @generated
* @ordered
@@ -46,6 +47,7 @@ public class AlternateGenLinkImpl extends CommentedElementImpl implements Altern
* The cached value of the '{@link #getTypeModelFacet() <em>Type Model Facet</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getTypeModelFacet()
* @generated
* @ordered
@@ -55,6 +57,7 @@ public class AlternateGenLinkImpl extends CommentedElementImpl implements Altern
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected AlternateGenLinkImpl() {
@@ -64,6 +67,7 @@ public class AlternateGenLinkImpl extends CommentedElementImpl implements Altern
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -74,15 +78,18 @@ public class AlternateGenLinkImpl extends CommentedElementImpl implements Altern
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public GenLink getGenLinkNode() {
if (genLinkNode != null && genLinkNode.eIsProxy()) {
- InternalEObject oldGenLinkNode = (InternalEObject)genLinkNode;
- genLinkNode = (GenLink)eResolveProxy(oldGenLinkNode);
+ InternalEObject oldGenLinkNode = (InternalEObject) genLinkNode;
+ genLinkNode = (GenLink) eResolveProxy(oldGenLinkNode);
if (genLinkNode != oldGenLinkNode) {
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, PapyrusgmfgenextensionPackage.ALTERNATE_GEN_LINK__GEN_LINK_NODE, oldGenLinkNode, genLinkNode));
+ }
}
}
return genLinkNode;
@@ -91,6 +98,7 @@ public class AlternateGenLinkImpl extends CommentedElementImpl implements Altern
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public GenLink basicGetGenLinkNode() {
@@ -100,20 +108,25 @@ public class AlternateGenLinkImpl extends CommentedElementImpl implements Altern
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setGenLinkNode(GenLink newGenLinkNode) {
GenLink oldGenLinkNode = genLinkNode;
genLinkNode = newGenLinkNode;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, PapyrusgmfgenextensionPackage.ALTERNATE_GEN_LINK__GEN_LINK_NODE, oldGenLinkNode, genLinkNode));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public TypeModelFacet getTypeModelFacet() {
return typeModelFacet;
}
@@ -121,6 +134,7 @@ public class AlternateGenLinkImpl extends CommentedElementImpl implements Altern
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public NotificationChain basicSetTypeModelFacet(TypeModelFacet newTypeModelFacet, NotificationChain msgs) {
@@ -128,7 +142,11 @@ public class AlternateGenLinkImpl extends CommentedElementImpl implements Altern
typeModelFacet = newTypeModelFacet;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, PapyrusgmfgenextensionPackage.ALTERNATE_GEN_LINK__TYPE_MODEL_FACET, oldTypeModelFacet, newTypeModelFacet);
- if (msgs == null) msgs = notification; else msgs.add(notification);
+ if (msgs == null) {
+ msgs = notification;
+ } else {
+ msgs.add(notification);
+ }
}
return msgs;
}
@@ -136,32 +154,40 @@ public class AlternateGenLinkImpl extends CommentedElementImpl implements Altern
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setTypeModelFacet(TypeModelFacet newTypeModelFacet) {
if (newTypeModelFacet != typeModelFacet) {
NotificationChain msgs = null;
- if (typeModelFacet != null)
- msgs = ((InternalEObject)typeModelFacet).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - PapyrusgmfgenextensionPackage.ALTERNATE_GEN_LINK__TYPE_MODEL_FACET, null, msgs);
- if (newTypeModelFacet != null)
- msgs = ((InternalEObject)newTypeModelFacet).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - PapyrusgmfgenextensionPackage.ALTERNATE_GEN_LINK__TYPE_MODEL_FACET, null, msgs);
+ if (typeModelFacet != null) {
+ msgs = ((InternalEObject) typeModelFacet).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - PapyrusgmfgenextensionPackage.ALTERNATE_GEN_LINK__TYPE_MODEL_FACET, null, msgs);
+ }
+ if (newTypeModelFacet != null) {
+ msgs = ((InternalEObject) newTypeModelFacet).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - PapyrusgmfgenextensionPackage.ALTERNATE_GEN_LINK__TYPE_MODEL_FACET, null, msgs);
+ }
msgs = basicSetTypeModelFacet(newTypeModelFacet, msgs);
- if (msgs != null) msgs.dispatch();
+ if (msgs != null) {
+ msgs.dispatch();
+ }
}
- else if (eNotificationRequired())
+ else if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, PapyrusgmfgenextensionPackage.ALTERNATE_GEN_LINK__TYPE_MODEL_FACET, newTypeModelFacet, newTypeModelFacet));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.ALTERNATE_GEN_LINK__TYPE_MODEL_FACET:
- return basicSetTypeModelFacet(null, msgs);
+ case PapyrusgmfgenextensionPackage.ALTERNATE_GEN_LINK__TYPE_MODEL_FACET:
+ return basicSetTypeModelFacet(null, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
@@ -169,16 +195,19 @@ public class AlternateGenLinkImpl extends CommentedElementImpl implements Altern
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.ALTERNATE_GEN_LINK__GEN_LINK_NODE:
- if (resolve) return getGenLinkNode();
- return basicGetGenLinkNode();
- case PapyrusgmfgenextensionPackage.ALTERNATE_GEN_LINK__TYPE_MODEL_FACET:
- return getTypeModelFacet();
+ case PapyrusgmfgenextensionPackage.ALTERNATE_GEN_LINK__GEN_LINK_NODE:
+ if (resolve) {
+ return getGenLinkNode();
+ }
+ return basicGetGenLinkNode();
+ case PapyrusgmfgenextensionPackage.ALTERNATE_GEN_LINK__TYPE_MODEL_FACET:
+ return getTypeModelFacet();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -186,17 +215,18 @@ public class AlternateGenLinkImpl extends CommentedElementImpl implements Altern
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.ALTERNATE_GEN_LINK__GEN_LINK_NODE:
- setGenLinkNode((GenLink)newValue);
- return;
- case PapyrusgmfgenextensionPackage.ALTERNATE_GEN_LINK__TYPE_MODEL_FACET:
- setTypeModelFacet((TypeModelFacet)newValue);
- return;
+ case PapyrusgmfgenextensionPackage.ALTERNATE_GEN_LINK__GEN_LINK_NODE:
+ setGenLinkNode((GenLink) newValue);
+ return;
+ case PapyrusgmfgenextensionPackage.ALTERNATE_GEN_LINK__TYPE_MODEL_FACET:
+ setTypeModelFacet((TypeModelFacet) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -204,17 +234,18 @@ public class AlternateGenLinkImpl extends CommentedElementImpl implements Altern
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.ALTERNATE_GEN_LINK__GEN_LINK_NODE:
- setGenLinkNode((GenLink)null);
- return;
- case PapyrusgmfgenextensionPackage.ALTERNATE_GEN_LINK__TYPE_MODEL_FACET:
- setTypeModelFacet((TypeModelFacet)null);
- return;
+ case PapyrusgmfgenextensionPackage.ALTERNATE_GEN_LINK__GEN_LINK_NODE:
+ setGenLinkNode((GenLink) null);
+ return;
+ case PapyrusgmfgenextensionPackage.ALTERNATE_GEN_LINK__TYPE_MODEL_FACET:
+ setTypeModelFacet((TypeModelFacet) null);
+ return;
}
super.eUnset(featureID);
}
@@ -222,17 +253,18 @@ public class AlternateGenLinkImpl extends CommentedElementImpl implements Altern
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.ALTERNATE_GEN_LINK__GEN_LINK_NODE:
- return genLinkNode != null;
- case PapyrusgmfgenextensionPackage.ALTERNATE_GEN_LINK__TYPE_MODEL_FACET:
- return typeModelFacet != null;
+ case PapyrusgmfgenextensionPackage.ALTERNATE_GEN_LINK__GEN_LINK_NODE:
+ return genLinkNode != null;
+ case PapyrusgmfgenextensionPackage.ALTERNATE_GEN_LINK__TYPE_MODEL_FACET:
+ return typeModelFacet != null;
}
return super.eIsSet(featureID);
}
-} //AlternateGenLinkImpl
+} // AlternateGenLinkImpl
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/AlternateGenTopLevelNodeImpl.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/AlternateGenTopLevelNodeImpl.java
index 9e13c9f3a52..389c9d5b184 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/AlternateGenTopLevelNodeImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/AlternateGenTopLevelNodeImpl.java
@@ -23,8 +23,8 @@ import org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.AlternateGenTopLevelNodeImpl#getGenTopLevelNode <em>Gen Top Level Node</em>}</li>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.AlternateGenTopLevelNodeImpl#getTypeModelFacet <em>Type Model Facet</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.AlternateGenTopLevelNodeImpl#getGenTopLevelNode <em>Gen Top Level Node</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.AlternateGenTopLevelNodeImpl#getTypeModelFacet <em>Type Model Facet</em>}</li>
* </ul>
* </p>
*
@@ -36,6 +36,7 @@ public class AlternateGenTopLevelNodeImpl extends CommentedElementImpl implement
* The cached value of the '{@link #getGenTopLevelNode() <em>Gen Top Level Node</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getGenTopLevelNode()
* @generated
* @ordered
@@ -46,6 +47,7 @@ public class AlternateGenTopLevelNodeImpl extends CommentedElementImpl implement
* The cached value of the '{@link #getTypeModelFacet() <em>Type Model Facet</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getTypeModelFacet()
* @generated
* @ordered
@@ -55,6 +57,7 @@ public class AlternateGenTopLevelNodeImpl extends CommentedElementImpl implement
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected AlternateGenTopLevelNodeImpl() {
@@ -64,6 +67,7 @@ public class AlternateGenTopLevelNodeImpl extends CommentedElementImpl implement
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -74,15 +78,18 @@ public class AlternateGenTopLevelNodeImpl extends CommentedElementImpl implement
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public GenTopLevelNode getGenTopLevelNode() {
if (genTopLevelNode != null && genTopLevelNode.eIsProxy()) {
- InternalEObject oldGenTopLevelNode = (InternalEObject)genTopLevelNode;
- genTopLevelNode = (GenTopLevelNode)eResolveProxy(oldGenTopLevelNode);
+ InternalEObject oldGenTopLevelNode = (InternalEObject) genTopLevelNode;
+ genTopLevelNode = (GenTopLevelNode) eResolveProxy(oldGenTopLevelNode);
if (genTopLevelNode != oldGenTopLevelNode) {
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, PapyrusgmfgenextensionPackage.ALTERNATE_GEN_TOP_LEVEL_NODE__GEN_TOP_LEVEL_NODE, oldGenTopLevelNode, genTopLevelNode));
+ }
}
}
return genTopLevelNode;
@@ -91,6 +98,7 @@ public class AlternateGenTopLevelNodeImpl extends CommentedElementImpl implement
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public GenTopLevelNode basicGetGenTopLevelNode() {
@@ -100,20 +108,25 @@ public class AlternateGenTopLevelNodeImpl extends CommentedElementImpl implement
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setGenTopLevelNode(GenTopLevelNode newGenTopLevelNode) {
GenTopLevelNode oldGenTopLevelNode = genTopLevelNode;
genTopLevelNode = newGenTopLevelNode;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, PapyrusgmfgenextensionPackage.ALTERNATE_GEN_TOP_LEVEL_NODE__GEN_TOP_LEVEL_NODE, oldGenTopLevelNode, genTopLevelNode));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public TypeModelFacet getTypeModelFacet() {
return typeModelFacet;
}
@@ -121,6 +134,7 @@ public class AlternateGenTopLevelNodeImpl extends CommentedElementImpl implement
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public NotificationChain basicSetTypeModelFacet(TypeModelFacet newTypeModelFacet, NotificationChain msgs) {
@@ -128,7 +142,11 @@ public class AlternateGenTopLevelNodeImpl extends CommentedElementImpl implement
typeModelFacet = newTypeModelFacet;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, PapyrusgmfgenextensionPackage.ALTERNATE_GEN_TOP_LEVEL_NODE__TYPE_MODEL_FACET, oldTypeModelFacet, newTypeModelFacet);
- if (msgs == null) msgs = notification; else msgs.add(notification);
+ if (msgs == null) {
+ msgs = notification;
+ } else {
+ msgs.add(notification);
+ }
}
return msgs;
}
@@ -136,32 +154,40 @@ public class AlternateGenTopLevelNodeImpl extends CommentedElementImpl implement
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setTypeModelFacet(TypeModelFacet newTypeModelFacet) {
if (newTypeModelFacet != typeModelFacet) {
NotificationChain msgs = null;
- if (typeModelFacet != null)
- msgs = ((InternalEObject)typeModelFacet).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - PapyrusgmfgenextensionPackage.ALTERNATE_GEN_TOP_LEVEL_NODE__TYPE_MODEL_FACET, null, msgs);
- if (newTypeModelFacet != null)
- msgs = ((InternalEObject)newTypeModelFacet).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - PapyrusgmfgenextensionPackage.ALTERNATE_GEN_TOP_LEVEL_NODE__TYPE_MODEL_FACET, null, msgs);
+ if (typeModelFacet != null) {
+ msgs = ((InternalEObject) typeModelFacet).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - PapyrusgmfgenextensionPackage.ALTERNATE_GEN_TOP_LEVEL_NODE__TYPE_MODEL_FACET, null, msgs);
+ }
+ if (newTypeModelFacet != null) {
+ msgs = ((InternalEObject) newTypeModelFacet).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - PapyrusgmfgenextensionPackage.ALTERNATE_GEN_TOP_LEVEL_NODE__TYPE_MODEL_FACET, null, msgs);
+ }
msgs = basicSetTypeModelFacet(newTypeModelFacet, msgs);
- if (msgs != null) msgs.dispatch();
+ if (msgs != null) {
+ msgs.dispatch();
+ }
}
- else if (eNotificationRequired())
+ else if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, PapyrusgmfgenextensionPackage.ALTERNATE_GEN_TOP_LEVEL_NODE__TYPE_MODEL_FACET, newTypeModelFacet, newTypeModelFacet));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.ALTERNATE_GEN_TOP_LEVEL_NODE__TYPE_MODEL_FACET:
- return basicSetTypeModelFacet(null, msgs);
+ case PapyrusgmfgenextensionPackage.ALTERNATE_GEN_TOP_LEVEL_NODE__TYPE_MODEL_FACET:
+ return basicSetTypeModelFacet(null, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
@@ -169,16 +195,19 @@ public class AlternateGenTopLevelNodeImpl extends CommentedElementImpl implement
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.ALTERNATE_GEN_TOP_LEVEL_NODE__GEN_TOP_LEVEL_NODE:
- if (resolve) return getGenTopLevelNode();
- return basicGetGenTopLevelNode();
- case PapyrusgmfgenextensionPackage.ALTERNATE_GEN_TOP_LEVEL_NODE__TYPE_MODEL_FACET:
- return getTypeModelFacet();
+ case PapyrusgmfgenextensionPackage.ALTERNATE_GEN_TOP_LEVEL_NODE__GEN_TOP_LEVEL_NODE:
+ if (resolve) {
+ return getGenTopLevelNode();
+ }
+ return basicGetGenTopLevelNode();
+ case PapyrusgmfgenextensionPackage.ALTERNATE_GEN_TOP_LEVEL_NODE__TYPE_MODEL_FACET:
+ return getTypeModelFacet();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -186,17 +215,18 @@ public class AlternateGenTopLevelNodeImpl extends CommentedElementImpl implement
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.ALTERNATE_GEN_TOP_LEVEL_NODE__GEN_TOP_LEVEL_NODE:
- setGenTopLevelNode((GenTopLevelNode)newValue);
- return;
- case PapyrusgmfgenextensionPackage.ALTERNATE_GEN_TOP_LEVEL_NODE__TYPE_MODEL_FACET:
- setTypeModelFacet((TypeModelFacet)newValue);
- return;
+ case PapyrusgmfgenextensionPackage.ALTERNATE_GEN_TOP_LEVEL_NODE__GEN_TOP_LEVEL_NODE:
+ setGenTopLevelNode((GenTopLevelNode) newValue);
+ return;
+ case PapyrusgmfgenextensionPackage.ALTERNATE_GEN_TOP_LEVEL_NODE__TYPE_MODEL_FACET:
+ setTypeModelFacet((TypeModelFacet) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -204,17 +234,18 @@ public class AlternateGenTopLevelNodeImpl extends CommentedElementImpl implement
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.ALTERNATE_GEN_TOP_LEVEL_NODE__GEN_TOP_LEVEL_NODE:
- setGenTopLevelNode((GenTopLevelNode)null);
- return;
- case PapyrusgmfgenextensionPackage.ALTERNATE_GEN_TOP_LEVEL_NODE__TYPE_MODEL_FACET:
- setTypeModelFacet((TypeModelFacet)null);
- return;
+ case PapyrusgmfgenextensionPackage.ALTERNATE_GEN_TOP_LEVEL_NODE__GEN_TOP_LEVEL_NODE:
+ setGenTopLevelNode((GenTopLevelNode) null);
+ return;
+ case PapyrusgmfgenextensionPackage.ALTERNATE_GEN_TOP_LEVEL_NODE__TYPE_MODEL_FACET:
+ setTypeModelFacet((TypeModelFacet) null);
+ return;
}
super.eUnset(featureID);
}
@@ -222,17 +253,18 @@ public class AlternateGenTopLevelNodeImpl extends CommentedElementImpl implement
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.ALTERNATE_GEN_TOP_LEVEL_NODE__GEN_TOP_LEVEL_NODE:
- return genTopLevelNode != null;
- case PapyrusgmfgenextensionPackage.ALTERNATE_GEN_TOP_LEVEL_NODE__TYPE_MODEL_FACET:
- return typeModelFacet != null;
+ case PapyrusgmfgenextensionPackage.ALTERNATE_GEN_TOP_LEVEL_NODE__GEN_TOP_LEVEL_NODE:
+ return genTopLevelNode != null;
+ case PapyrusgmfgenextensionPackage.ALTERNATE_GEN_TOP_LEVEL_NODE__TYPE_MODEL_FACET:
+ return typeModelFacet != null;
}
return super.eIsSet(featureID);
}
-} //AlternateGenTopLevelNodeImpl
+} // AlternateGenTopLevelNodeImpl
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/CommentedElementImpl.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/CommentedElementImpl.java
index 17f0b620572..9ce789b636c 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/CommentedElementImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/CommentedElementImpl.java
@@ -20,7 +20,7 @@ import org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.CommentedElementImpl#getComment <em>Comment</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.CommentedElementImpl#getComment <em>Comment</em>}</li>
* </ul>
* </p>
*
@@ -32,6 +32,7 @@ public class CommentedElementImpl extends EObjectImpl implements CommentedElemen
* The default value of the '{@link #getComment() <em>Comment</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getComment()
* @generated
* @ordered
@@ -42,6 +43,7 @@ public class CommentedElementImpl extends EObjectImpl implements CommentedElemen
* The cached value of the '{@link #getComment() <em>Comment</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getComment()
* @generated
* @ordered
@@ -51,6 +53,7 @@ public class CommentedElementImpl extends EObjectImpl implements CommentedElemen
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected CommentedElementImpl() {
@@ -60,6 +63,7 @@ public class CommentedElementImpl extends EObjectImpl implements CommentedElemen
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -70,8 +74,10 @@ public class CommentedElementImpl extends EObjectImpl implements CommentedElemen
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public String getComment() {
return comment;
}
@@ -79,25 +85,29 @@ public class CommentedElementImpl extends EObjectImpl implements CommentedElemen
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setComment(String newComment) {
String oldComment = comment;
comment = newComment;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, PapyrusgmfgenextensionPackage.COMMENTED_ELEMENT__COMMENT, oldComment, comment));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.COMMENTED_ELEMENT__COMMENT:
- return getComment();
+ case PapyrusgmfgenextensionPackage.COMMENTED_ELEMENT__COMMENT:
+ return getComment();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -105,14 +115,15 @@ public class CommentedElementImpl extends EObjectImpl implements CommentedElemen
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.COMMENTED_ELEMENT__COMMENT:
- setComment((String)newValue);
- return;
+ case PapyrusgmfgenextensionPackage.COMMENTED_ELEMENT__COMMENT:
+ setComment((String) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -120,14 +131,15 @@ public class CommentedElementImpl extends EObjectImpl implements CommentedElemen
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.COMMENTED_ELEMENT__COMMENT:
- setComment(COMMENT_EDEFAULT);
- return;
+ case PapyrusgmfgenextensionPackage.COMMENTED_ELEMENT__COMMENT:
+ setComment(COMMENT_EDEFAULT);
+ return;
}
super.eUnset(featureID);
}
@@ -135,13 +147,14 @@ public class CommentedElementImpl extends EObjectImpl implements CommentedElemen
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.COMMENTED_ELEMENT__COMMENT:
- return COMMENT_EDEFAULT == null ? comment != null : !COMMENT_EDEFAULT.equals(comment);
+ case PapyrusgmfgenextensionPackage.COMMENTED_ELEMENT__COMMENT:
+ return COMMENT_EDEFAULT == null ? comment != null : !COMMENT_EDEFAULT.equals(comment);
}
return super.eIsSet(featureID);
}
@@ -149,11 +162,14 @@ public class CommentedElementImpl extends EObjectImpl implements CommentedElemen
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public String toString() {
- if (eIsProxy()) return super.toString();
+ if (eIsProxy()) {
+ return super.toString();
+ }
StringBuffer result = new StringBuffer(super.toString());
result.append(" (comment: ");
@@ -162,4 +178,4 @@ public class CommentedElementImpl extends EObjectImpl implements CommentedElemen
return result.toString();
}
-} //CommentedElementImpl
+} // CommentedElementImpl
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/CompartmentTitleVisibilityPreferenceImpl.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/CompartmentTitleVisibilityPreferenceImpl.java
index f7ff967f44c..dd2fde69a6d 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/CompartmentTitleVisibilityPreferenceImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/CompartmentTitleVisibilityPreferenceImpl.java
@@ -30,8 +30,8 @@ import org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.CompartmentTitleVisibilityPreferenceImpl#isVisibleByDefault <em>Visible By Default</em>}</li>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.CompartmentTitleVisibilityPreferenceImpl#getCompartments <em>Compartments</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.CompartmentTitleVisibilityPreferenceImpl#isVisibleByDefault <em>Visible By Default</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.CompartmentTitleVisibilityPreferenceImpl#getCompartments <em>Compartments</em>}</li>
* </ul>
* </p>
*
@@ -42,6 +42,7 @@ public class CompartmentTitleVisibilityPreferenceImpl extends CommentedElementIm
* The default value of the '{@link #isVisibleByDefault() <em>Visible By Default</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #isVisibleByDefault()
* @generated
* @ordered
@@ -52,6 +53,7 @@ public class CompartmentTitleVisibilityPreferenceImpl extends CommentedElementIm
* The cached value of the '{@link #isVisibleByDefault() <em>Visible By Default</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #isVisibleByDefault()
* @generated
* @ordered
@@ -62,6 +64,7 @@ public class CompartmentTitleVisibilityPreferenceImpl extends CommentedElementIm
* The cached value of the '{@link #getCompartments() <em>Compartments</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getCompartments()
* @generated
* @ordered
@@ -71,6 +74,7 @@ public class CompartmentTitleVisibilityPreferenceImpl extends CommentedElementIm
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected CompartmentTitleVisibilityPreferenceImpl() {
@@ -80,6 +84,7 @@ public class CompartmentTitleVisibilityPreferenceImpl extends CommentedElementIm
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -90,8 +95,10 @@ public class CompartmentTitleVisibilityPreferenceImpl extends CommentedElementIm
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public boolean isVisibleByDefault() {
return visibleByDefault;
}
@@ -99,20 +106,25 @@ public class CompartmentTitleVisibilityPreferenceImpl extends CommentedElementIm
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setVisibleByDefault(boolean newVisibleByDefault) {
boolean oldVisibleByDefault = visibleByDefault;
visibleByDefault = newVisibleByDefault;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, PapyrusgmfgenextensionPackage.COMPARTMENT_TITLE_VISIBILITY_PREFERENCE__VISIBLE_BY_DEFAULT, oldVisibleByDefault, visibleByDefault));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EList<GenCompartment> getCompartments() {
if (compartments == null) {
compartments = new EObjectResolvingEList<GenCompartment>(GenCompartment.class, this, PapyrusgmfgenextensionPackage.COMPARTMENT_TITLE_VISIBILITY_PREFERENCE__COMPARTMENTS);
@@ -123,15 +135,16 @@ public class CompartmentTitleVisibilityPreferenceImpl extends CommentedElementIm
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.COMPARTMENT_TITLE_VISIBILITY_PREFERENCE__VISIBLE_BY_DEFAULT:
- return isVisibleByDefault();
- case PapyrusgmfgenextensionPackage.COMPARTMENT_TITLE_VISIBILITY_PREFERENCE__COMPARTMENTS:
- return getCompartments();
+ case PapyrusgmfgenextensionPackage.COMPARTMENT_TITLE_VISIBILITY_PREFERENCE__VISIBLE_BY_DEFAULT:
+ return isVisibleByDefault();
+ case PapyrusgmfgenextensionPackage.COMPARTMENT_TITLE_VISIBILITY_PREFERENCE__COMPARTMENTS:
+ return getCompartments();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -139,19 +152,20 @@ public class CompartmentTitleVisibilityPreferenceImpl extends CommentedElementIm
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.COMPARTMENT_TITLE_VISIBILITY_PREFERENCE__VISIBLE_BY_DEFAULT:
- setVisibleByDefault((Boolean)newValue);
- return;
- case PapyrusgmfgenextensionPackage.COMPARTMENT_TITLE_VISIBILITY_PREFERENCE__COMPARTMENTS:
- getCompartments().clear();
- getCompartments().addAll((Collection<? extends GenCompartment>)newValue);
- return;
+ case PapyrusgmfgenextensionPackage.COMPARTMENT_TITLE_VISIBILITY_PREFERENCE__VISIBLE_BY_DEFAULT:
+ setVisibleByDefault((Boolean) newValue);
+ return;
+ case PapyrusgmfgenextensionPackage.COMPARTMENT_TITLE_VISIBILITY_PREFERENCE__COMPARTMENTS:
+ getCompartments().clear();
+ getCompartments().addAll((Collection<? extends GenCompartment>) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -159,17 +173,18 @@ public class CompartmentTitleVisibilityPreferenceImpl extends CommentedElementIm
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.COMPARTMENT_TITLE_VISIBILITY_PREFERENCE__VISIBLE_BY_DEFAULT:
- setVisibleByDefault(VISIBLE_BY_DEFAULT_EDEFAULT);
- return;
- case PapyrusgmfgenextensionPackage.COMPARTMENT_TITLE_VISIBILITY_PREFERENCE__COMPARTMENTS:
- getCompartments().clear();
- return;
+ case PapyrusgmfgenextensionPackage.COMPARTMENT_TITLE_VISIBILITY_PREFERENCE__VISIBLE_BY_DEFAULT:
+ setVisibleByDefault(VISIBLE_BY_DEFAULT_EDEFAULT);
+ return;
+ case PapyrusgmfgenextensionPackage.COMPARTMENT_TITLE_VISIBILITY_PREFERENCE__COMPARTMENTS:
+ getCompartments().clear();
+ return;
}
super.eUnset(featureID);
}
@@ -177,15 +192,16 @@ public class CompartmentTitleVisibilityPreferenceImpl extends CommentedElementIm
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.COMPARTMENT_TITLE_VISIBILITY_PREFERENCE__VISIBLE_BY_DEFAULT:
- return visibleByDefault != VISIBLE_BY_DEFAULT_EDEFAULT;
- case PapyrusgmfgenextensionPackage.COMPARTMENT_TITLE_VISIBILITY_PREFERENCE__COMPARTMENTS:
- return compartments != null && !compartments.isEmpty();
+ case PapyrusgmfgenextensionPackage.COMPARTMENT_TITLE_VISIBILITY_PREFERENCE__VISIBLE_BY_DEFAULT:
+ return visibleByDefault != VISIBLE_BY_DEFAULT_EDEFAULT;
+ case PapyrusgmfgenextensionPackage.COMPARTMENT_TITLE_VISIBILITY_PREFERENCE__COMPARTMENTS:
+ return compartments != null && !compartments.isEmpty();
}
return super.eIsSet(featureID);
}
@@ -193,11 +209,14 @@ public class CompartmentTitleVisibilityPreferenceImpl extends CommentedElementIm
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public String toString() {
- if (eIsProxy()) return super.toString();
+ if (eIsProxy()) {
+ return super.toString();
+ }
StringBuffer result = new StringBuffer(super.toString());
result.append(" (visibleByDefault: ");
@@ -206,4 +225,4 @@ public class CompartmentTitleVisibilityPreferenceImpl extends CommentedElementIm
return result.toString();
}
-} //CompartmentTitleVisibilityPreferenceImpl
+} // CompartmentTitleVisibilityPreferenceImpl
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/CompartmentVisibilityPreferenceImpl.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/CompartmentVisibilityPreferenceImpl.java
index c8525f57640..b996a724bf8 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/CompartmentVisibilityPreferenceImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/CompartmentVisibilityPreferenceImpl.java
@@ -30,8 +30,8 @@ import org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.CompartmentVisibilityPreferenceImpl#isVisibleByDefault <em>Visible By Default</em>}</li>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.CompartmentVisibilityPreferenceImpl#getCompartments <em>Compartments</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.CompartmentVisibilityPreferenceImpl#isVisibleByDefault <em>Visible By Default</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.CompartmentVisibilityPreferenceImpl#getCompartments <em>Compartments</em>}</li>
* </ul>
* </p>
*
@@ -42,6 +42,7 @@ public class CompartmentVisibilityPreferenceImpl extends CommentedElementImpl im
* The default value of the '{@link #isVisibleByDefault() <em>Visible By Default</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #isVisibleByDefault()
* @generated
* @ordered
@@ -52,6 +53,7 @@ public class CompartmentVisibilityPreferenceImpl extends CommentedElementImpl im
* The cached value of the '{@link #isVisibleByDefault() <em>Visible By Default</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #isVisibleByDefault()
* @generated
* @ordered
@@ -62,6 +64,7 @@ public class CompartmentVisibilityPreferenceImpl extends CommentedElementImpl im
* The cached value of the '{@link #getCompartments() <em>Compartments</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getCompartments()
* @generated
* @ordered
@@ -71,6 +74,7 @@ public class CompartmentVisibilityPreferenceImpl extends CommentedElementImpl im
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected CompartmentVisibilityPreferenceImpl() {
@@ -80,6 +84,7 @@ public class CompartmentVisibilityPreferenceImpl extends CommentedElementImpl im
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -90,8 +95,10 @@ public class CompartmentVisibilityPreferenceImpl extends CommentedElementImpl im
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public boolean isVisibleByDefault() {
return visibleByDefault;
}
@@ -99,20 +106,25 @@ public class CompartmentVisibilityPreferenceImpl extends CommentedElementImpl im
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setVisibleByDefault(boolean newVisibleByDefault) {
boolean oldVisibleByDefault = visibleByDefault;
visibleByDefault = newVisibleByDefault;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, PapyrusgmfgenextensionPackage.COMPARTMENT_VISIBILITY_PREFERENCE__VISIBLE_BY_DEFAULT, oldVisibleByDefault, visibleByDefault));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EList<GenCompartment> getCompartments() {
if (compartments == null) {
compartments = new EObjectResolvingEList<GenCompartment>(GenCompartment.class, this, PapyrusgmfgenextensionPackage.COMPARTMENT_VISIBILITY_PREFERENCE__COMPARTMENTS);
@@ -123,15 +135,16 @@ public class CompartmentVisibilityPreferenceImpl extends CommentedElementImpl im
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.COMPARTMENT_VISIBILITY_PREFERENCE__VISIBLE_BY_DEFAULT:
- return isVisibleByDefault();
- case PapyrusgmfgenextensionPackage.COMPARTMENT_VISIBILITY_PREFERENCE__COMPARTMENTS:
- return getCompartments();
+ case PapyrusgmfgenextensionPackage.COMPARTMENT_VISIBILITY_PREFERENCE__VISIBLE_BY_DEFAULT:
+ return isVisibleByDefault();
+ case PapyrusgmfgenextensionPackage.COMPARTMENT_VISIBILITY_PREFERENCE__COMPARTMENTS:
+ return getCompartments();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -139,19 +152,20 @@ public class CompartmentVisibilityPreferenceImpl extends CommentedElementImpl im
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.COMPARTMENT_VISIBILITY_PREFERENCE__VISIBLE_BY_DEFAULT:
- setVisibleByDefault((Boolean)newValue);
- return;
- case PapyrusgmfgenextensionPackage.COMPARTMENT_VISIBILITY_PREFERENCE__COMPARTMENTS:
- getCompartments().clear();
- getCompartments().addAll((Collection<? extends GenCompartment>)newValue);
- return;
+ case PapyrusgmfgenextensionPackage.COMPARTMENT_VISIBILITY_PREFERENCE__VISIBLE_BY_DEFAULT:
+ setVisibleByDefault((Boolean) newValue);
+ return;
+ case PapyrusgmfgenextensionPackage.COMPARTMENT_VISIBILITY_PREFERENCE__COMPARTMENTS:
+ getCompartments().clear();
+ getCompartments().addAll((Collection<? extends GenCompartment>) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -159,17 +173,18 @@ public class CompartmentVisibilityPreferenceImpl extends CommentedElementImpl im
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.COMPARTMENT_VISIBILITY_PREFERENCE__VISIBLE_BY_DEFAULT:
- setVisibleByDefault(VISIBLE_BY_DEFAULT_EDEFAULT);
- return;
- case PapyrusgmfgenextensionPackage.COMPARTMENT_VISIBILITY_PREFERENCE__COMPARTMENTS:
- getCompartments().clear();
- return;
+ case PapyrusgmfgenextensionPackage.COMPARTMENT_VISIBILITY_PREFERENCE__VISIBLE_BY_DEFAULT:
+ setVisibleByDefault(VISIBLE_BY_DEFAULT_EDEFAULT);
+ return;
+ case PapyrusgmfgenextensionPackage.COMPARTMENT_VISIBILITY_PREFERENCE__COMPARTMENTS:
+ getCompartments().clear();
+ return;
}
super.eUnset(featureID);
}
@@ -177,15 +192,16 @@ public class CompartmentVisibilityPreferenceImpl extends CommentedElementImpl im
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.COMPARTMENT_VISIBILITY_PREFERENCE__VISIBLE_BY_DEFAULT:
- return visibleByDefault != VISIBLE_BY_DEFAULT_EDEFAULT;
- case PapyrusgmfgenextensionPackage.COMPARTMENT_VISIBILITY_PREFERENCE__COMPARTMENTS:
- return compartments != null && !compartments.isEmpty();
+ case PapyrusgmfgenextensionPackage.COMPARTMENT_VISIBILITY_PREFERENCE__VISIBLE_BY_DEFAULT:
+ return visibleByDefault != VISIBLE_BY_DEFAULT_EDEFAULT;
+ case PapyrusgmfgenextensionPackage.COMPARTMENT_VISIBILITY_PREFERENCE__COMPARTMENTS:
+ return compartments != null && !compartments.isEmpty();
}
return super.eIsSet(featureID);
}
@@ -193,11 +209,14 @@ public class CompartmentVisibilityPreferenceImpl extends CommentedElementImpl im
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public String toString() {
- if (eIsProxy()) return super.toString();
+ if (eIsProxy()) {
+ return super.toString();
+ }
StringBuffer result = new StringBuffer(super.toString());
result.append(" (visibleByDefault: ");
@@ -206,4 +225,4 @@ public class CompartmentVisibilityPreferenceImpl extends CommentedElementImpl im
return result.toString();
}
-} //CompartmentVisibilityPreferenceImpl
+} // CompartmentVisibilityPreferenceImpl
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/ConstrainedByReferenceCompartmentItemSemanticEditPolicyImpl.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/ConstrainedByReferenceCompartmentItemSemanticEditPolicyImpl.java
index d97d871a323..5797941b734 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/ConstrainedByReferenceCompartmentItemSemanticEditPolicyImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/ConstrainedByReferenceCompartmentItemSemanticEditPolicyImpl.java
@@ -22,7 +22,7 @@ import org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.ConstrainedByReferenceCompartmentItemSemanticEditPolicyImpl#getGenView <em>Gen View</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.ConstrainedByReferenceCompartmentItemSemanticEditPolicyImpl#getGenView <em>Gen View</em>}</li>
* </ul>
* </p>
*
@@ -33,6 +33,7 @@ public class ConstrainedByReferenceCompartmentItemSemanticEditPolicyImpl extends
* The cached value of the '{@link #getGenView() <em>Gen View</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getGenView()
* @generated
* @ordered
@@ -42,6 +43,7 @@ public class ConstrainedByReferenceCompartmentItemSemanticEditPolicyImpl extends
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected ConstrainedByReferenceCompartmentItemSemanticEditPolicyImpl() {
@@ -51,6 +53,7 @@ public class ConstrainedByReferenceCompartmentItemSemanticEditPolicyImpl extends
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -61,8 +64,10 @@ public class ConstrainedByReferenceCompartmentItemSemanticEditPolicyImpl extends
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EList<GenCommonBase> getGenView() {
if (genView == null) {
genView = new EObjectResolvingEList<GenCommonBase>(GenCommonBase.class, this, PapyrusgmfgenextensionPackage.CONSTRAINED_BY_REFERENCE_COMPARTMENT_ITEM_SEMANTIC_EDIT_POLICY__GEN_VIEW);
@@ -73,13 +78,14 @@ public class ConstrainedByReferenceCompartmentItemSemanticEditPolicyImpl extends
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.CONSTRAINED_BY_REFERENCE_COMPARTMENT_ITEM_SEMANTIC_EDIT_POLICY__GEN_VIEW:
- return getGenView();
+ case PapyrusgmfgenextensionPackage.CONSTRAINED_BY_REFERENCE_COMPARTMENT_ITEM_SEMANTIC_EDIT_POLICY__GEN_VIEW:
+ return getGenView();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -87,16 +93,17 @@ public class ConstrainedByReferenceCompartmentItemSemanticEditPolicyImpl extends
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.CONSTRAINED_BY_REFERENCE_COMPARTMENT_ITEM_SEMANTIC_EDIT_POLICY__GEN_VIEW:
- getGenView().clear();
- getGenView().addAll((Collection<? extends GenCommonBase>)newValue);
- return;
+ case PapyrusgmfgenextensionPackage.CONSTRAINED_BY_REFERENCE_COMPARTMENT_ITEM_SEMANTIC_EDIT_POLICY__GEN_VIEW:
+ getGenView().clear();
+ getGenView().addAll((Collection<? extends GenCommonBase>) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -104,14 +111,15 @@ public class ConstrainedByReferenceCompartmentItemSemanticEditPolicyImpl extends
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.CONSTRAINED_BY_REFERENCE_COMPARTMENT_ITEM_SEMANTIC_EDIT_POLICY__GEN_VIEW:
- getGenView().clear();
- return;
+ case PapyrusgmfgenextensionPackage.CONSTRAINED_BY_REFERENCE_COMPARTMENT_ITEM_SEMANTIC_EDIT_POLICY__GEN_VIEW:
+ getGenView().clear();
+ return;
}
super.eUnset(featureID);
}
@@ -119,15 +127,16 @@ public class ConstrainedByReferenceCompartmentItemSemanticEditPolicyImpl extends
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.CONSTRAINED_BY_REFERENCE_COMPARTMENT_ITEM_SEMANTIC_EDIT_POLICY__GEN_VIEW:
- return genView != null && !genView.isEmpty();
+ case PapyrusgmfgenextensionPackage.CONSTRAINED_BY_REFERENCE_COMPARTMENT_ITEM_SEMANTIC_EDIT_POLICY__GEN_VIEW:
+ return genView != null && !genView.isEmpty();
}
return super.eIsSet(featureID);
}
-} //ConstrainedByReferenceCompartmentItemSemanticEditPolicyImpl
+} // ConstrainedByReferenceCompartmentItemSemanticEditPolicyImpl
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/CustomDiagramUpdaterSingletonImpl.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/CustomDiagramUpdaterSingletonImpl.java
index ccdc5573772..dfeef799783 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/CustomDiagramUpdaterSingletonImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/CustomDiagramUpdaterSingletonImpl.java
@@ -18,7 +18,7 @@ import org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.CustomDiagramUpdaterSingletonImpl#getSingletonPath <em>Singleton Path</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.CustomDiagramUpdaterSingletonImpl#getSingletonPath <em>Singleton Path</em>}</li>
* </ul>
* </p>
*
@@ -29,6 +29,7 @@ public class CustomDiagramUpdaterSingletonImpl extends CommentedElementImpl impl
* The default value of the '{@link #getSingletonPath() <em>Singleton Path</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getSingletonPath()
* @generated
* @ordered
@@ -39,6 +40,7 @@ public class CustomDiagramUpdaterSingletonImpl extends CommentedElementImpl impl
* The cached value of the '{@link #getSingletonPath() <em>Singleton Path</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getSingletonPath()
* @generated
* @ordered
@@ -48,6 +50,7 @@ public class CustomDiagramUpdaterSingletonImpl extends CommentedElementImpl impl
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected CustomDiagramUpdaterSingletonImpl() {
@@ -57,6 +60,7 @@ public class CustomDiagramUpdaterSingletonImpl extends CommentedElementImpl impl
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -67,8 +71,10 @@ public class CustomDiagramUpdaterSingletonImpl extends CommentedElementImpl impl
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public String getSingletonPath() {
return singletonPath;
}
@@ -76,25 +82,29 @@ public class CustomDiagramUpdaterSingletonImpl extends CommentedElementImpl impl
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setSingletonPath(String newSingletonPath) {
String oldSingletonPath = singletonPath;
singletonPath = newSingletonPath;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, PapyrusgmfgenextensionPackage.CUSTOM_DIAGRAM_UPDATER_SINGLETON__SINGLETON_PATH, oldSingletonPath, singletonPath));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.CUSTOM_DIAGRAM_UPDATER_SINGLETON__SINGLETON_PATH:
- return getSingletonPath();
+ case PapyrusgmfgenextensionPackage.CUSTOM_DIAGRAM_UPDATER_SINGLETON__SINGLETON_PATH:
+ return getSingletonPath();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -102,14 +112,15 @@ public class CustomDiagramUpdaterSingletonImpl extends CommentedElementImpl impl
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.CUSTOM_DIAGRAM_UPDATER_SINGLETON__SINGLETON_PATH:
- setSingletonPath((String)newValue);
- return;
+ case PapyrusgmfgenextensionPackage.CUSTOM_DIAGRAM_UPDATER_SINGLETON__SINGLETON_PATH:
+ setSingletonPath((String) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -117,14 +128,15 @@ public class CustomDiagramUpdaterSingletonImpl extends CommentedElementImpl impl
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.CUSTOM_DIAGRAM_UPDATER_SINGLETON__SINGLETON_PATH:
- setSingletonPath(SINGLETON_PATH_EDEFAULT);
- return;
+ case PapyrusgmfgenextensionPackage.CUSTOM_DIAGRAM_UPDATER_SINGLETON__SINGLETON_PATH:
+ setSingletonPath(SINGLETON_PATH_EDEFAULT);
+ return;
}
super.eUnset(featureID);
}
@@ -132,13 +144,14 @@ public class CustomDiagramUpdaterSingletonImpl extends CommentedElementImpl impl
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.CUSTOM_DIAGRAM_UPDATER_SINGLETON__SINGLETON_PATH:
- return SINGLETON_PATH_EDEFAULT == null ? singletonPath != null : !SINGLETON_PATH_EDEFAULT.equals(singletonPath);
+ case PapyrusgmfgenextensionPackage.CUSTOM_DIAGRAM_UPDATER_SINGLETON__SINGLETON_PATH:
+ return SINGLETON_PATH_EDEFAULT == null ? singletonPath != null : !SINGLETON_PATH_EDEFAULT.equals(singletonPath);
}
return super.eIsSet(featureID);
}
@@ -146,11 +159,14 @@ public class CustomDiagramUpdaterSingletonImpl extends CommentedElementImpl impl
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public String toString() {
- if (eIsProxy()) return super.toString();
+ if (eIsProxy()) {
+ return super.toString();
+ }
StringBuffer result = new StringBuffer(super.toString());
result.append(" (singletonPath: ");
@@ -159,4 +175,4 @@ public class CustomDiagramUpdaterSingletonImpl extends CommentedElementImpl impl
return result.toString();
}
-} //CustomDiagramUpdaterSingletonImpl
+} // CustomDiagramUpdaterSingletonImpl
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/EditPartUsingDeleteServiceImpl.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/EditPartUsingDeleteServiceImpl.java
index a8fdcf18363..e00edf63501 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/EditPartUsingDeleteServiceImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/EditPartUsingDeleteServiceImpl.java
@@ -24,8 +24,8 @@ import org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.EditPartUsingDeleteServiceImpl#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.EditPartUsingDeleteServiceImpl#getGenView <em>Gen View</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.EditPartUsingDeleteServiceImpl#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.EditPartUsingDeleteServiceImpl#getGenView <em>Gen View</em>}</li>
* </ul>
* </p>
*
@@ -37,6 +37,7 @@ public class EditPartUsingDeleteServiceImpl extends CommentedElementImpl impleme
* The default value of the '{@link #getName() <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getName()
* @generated
* @ordered
@@ -47,6 +48,7 @@ public class EditPartUsingDeleteServiceImpl extends CommentedElementImpl impleme
* The cached value of the '{@link #getName() <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getName()
* @generated
* @ordered
@@ -57,6 +59,7 @@ public class EditPartUsingDeleteServiceImpl extends CommentedElementImpl impleme
* The cached value of the '{@link #getGenView() <em>Gen View</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getGenView()
* @generated
* @ordered
@@ -66,6 +69,7 @@ public class EditPartUsingDeleteServiceImpl extends CommentedElementImpl impleme
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected EditPartUsingDeleteServiceImpl() {
@@ -75,6 +79,7 @@ public class EditPartUsingDeleteServiceImpl extends CommentedElementImpl impleme
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -85,8 +90,10 @@ public class EditPartUsingDeleteServiceImpl extends CommentedElementImpl impleme
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public String getName() {
return name;
}
@@ -94,20 +101,25 @@ public class EditPartUsingDeleteServiceImpl extends CommentedElementImpl impleme
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setName(String newName) {
String oldName = name;
name = newName;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, PapyrusgmfgenextensionPackage.EDIT_PART_USING_DELETE_SERVICE__NAME, oldName, name));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EList<GenCommonBase> getGenView() {
if (genView == null) {
genView = new EObjectResolvingEList<GenCommonBase>(GenCommonBase.class, this, PapyrusgmfgenextensionPackage.EDIT_PART_USING_DELETE_SERVICE__GEN_VIEW);
@@ -118,15 +130,16 @@ public class EditPartUsingDeleteServiceImpl extends CommentedElementImpl impleme
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.EDIT_PART_USING_DELETE_SERVICE__NAME:
- return getName();
- case PapyrusgmfgenextensionPackage.EDIT_PART_USING_DELETE_SERVICE__GEN_VIEW:
- return getGenView();
+ case PapyrusgmfgenextensionPackage.EDIT_PART_USING_DELETE_SERVICE__NAME:
+ return getName();
+ case PapyrusgmfgenextensionPackage.EDIT_PART_USING_DELETE_SERVICE__GEN_VIEW:
+ return getGenView();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -134,19 +147,20 @@ public class EditPartUsingDeleteServiceImpl extends CommentedElementImpl impleme
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.EDIT_PART_USING_DELETE_SERVICE__NAME:
- setName((String)newValue);
- return;
- case PapyrusgmfgenextensionPackage.EDIT_PART_USING_DELETE_SERVICE__GEN_VIEW:
- getGenView().clear();
- getGenView().addAll((Collection<? extends GenCommonBase>)newValue);
- return;
+ case PapyrusgmfgenextensionPackage.EDIT_PART_USING_DELETE_SERVICE__NAME:
+ setName((String) newValue);
+ return;
+ case PapyrusgmfgenextensionPackage.EDIT_PART_USING_DELETE_SERVICE__GEN_VIEW:
+ getGenView().clear();
+ getGenView().addAll((Collection<? extends GenCommonBase>) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -154,17 +168,18 @@ public class EditPartUsingDeleteServiceImpl extends CommentedElementImpl impleme
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.EDIT_PART_USING_DELETE_SERVICE__NAME:
- setName(NAME_EDEFAULT);
- return;
- case PapyrusgmfgenextensionPackage.EDIT_PART_USING_DELETE_SERVICE__GEN_VIEW:
- getGenView().clear();
- return;
+ case PapyrusgmfgenextensionPackage.EDIT_PART_USING_DELETE_SERVICE__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ case PapyrusgmfgenextensionPackage.EDIT_PART_USING_DELETE_SERVICE__GEN_VIEW:
+ getGenView().clear();
+ return;
}
super.eUnset(featureID);
}
@@ -172,15 +187,16 @@ public class EditPartUsingDeleteServiceImpl extends CommentedElementImpl impleme
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.EDIT_PART_USING_DELETE_SERVICE__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
- case PapyrusgmfgenextensionPackage.EDIT_PART_USING_DELETE_SERVICE__GEN_VIEW:
- return genView != null && !genView.isEmpty();
+ case PapyrusgmfgenextensionPackage.EDIT_PART_USING_DELETE_SERVICE__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
+ case PapyrusgmfgenextensionPackage.EDIT_PART_USING_DELETE_SERVICE__GEN_VIEW:
+ return genView != null && !genView.isEmpty();
}
return super.eIsSet(featureID);
}
@@ -188,11 +204,14 @@ public class EditPartUsingDeleteServiceImpl extends CommentedElementImpl impleme
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public String toString() {
- if (eIsProxy()) return super.toString();
+ if (eIsProxy()) {
+ return super.toString();
+ }
StringBuffer result = new StringBuffer(super.toString());
result.append(" (name: ");
@@ -201,4 +220,4 @@ public class EditPartUsingDeleteServiceImpl extends CommentedElementImpl impleme
return result.toString();
}
-} //EditPartUsingDeleteServiceImpl
+} // EditPartUsingDeleteServiceImpl
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/EditPartUsingReorientServiceImpl.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/EditPartUsingReorientServiceImpl.java
index 2b7409c7204..165dedee656 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/EditPartUsingReorientServiceImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/EditPartUsingReorientServiceImpl.java
@@ -30,8 +30,8 @@ import org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.EditPartUsingReorientServiceImpl#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.EditPartUsingReorientServiceImpl#getGenView <em>Gen View</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.EditPartUsingReorientServiceImpl#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.EditPartUsingReorientServiceImpl#getGenView <em>Gen View</em>}</li>
* </ul>
* </p>
*
@@ -42,6 +42,7 @@ public class EditPartUsingReorientServiceImpl extends CommentedElementImpl imple
* The default value of the '{@link #getName() <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getName()
* @generated
* @ordered
@@ -52,6 +53,7 @@ public class EditPartUsingReorientServiceImpl extends CommentedElementImpl imple
* The cached value of the '{@link #getName() <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getName()
* @generated
* @ordered
@@ -62,6 +64,7 @@ public class EditPartUsingReorientServiceImpl extends CommentedElementImpl imple
* The cached value of the '{@link #getGenView() <em>Gen View</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getGenView()
* @generated
* @ordered
@@ -71,6 +74,7 @@ public class EditPartUsingReorientServiceImpl extends CommentedElementImpl imple
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected EditPartUsingReorientServiceImpl() {
@@ -80,6 +84,7 @@ public class EditPartUsingReorientServiceImpl extends CommentedElementImpl imple
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -90,8 +95,10 @@ public class EditPartUsingReorientServiceImpl extends CommentedElementImpl imple
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public String getName() {
return name;
}
@@ -99,20 +106,25 @@ public class EditPartUsingReorientServiceImpl extends CommentedElementImpl imple
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setName(String newName) {
String oldName = name;
name = newName;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, PapyrusgmfgenextensionPackage.EDIT_PART_USING_REORIENT_SERVICE__NAME, oldName, name));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EList<GenLink> getGenView() {
if (genView == null) {
genView = new EObjectResolvingEList<GenLink>(GenLink.class, this, PapyrusgmfgenextensionPackage.EDIT_PART_USING_REORIENT_SERVICE__GEN_VIEW);
@@ -123,15 +135,16 @@ public class EditPartUsingReorientServiceImpl extends CommentedElementImpl imple
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.EDIT_PART_USING_REORIENT_SERVICE__NAME:
- return getName();
- case PapyrusgmfgenextensionPackage.EDIT_PART_USING_REORIENT_SERVICE__GEN_VIEW:
- return getGenView();
+ case PapyrusgmfgenextensionPackage.EDIT_PART_USING_REORIENT_SERVICE__NAME:
+ return getName();
+ case PapyrusgmfgenextensionPackage.EDIT_PART_USING_REORIENT_SERVICE__GEN_VIEW:
+ return getGenView();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -139,19 +152,20 @@ public class EditPartUsingReorientServiceImpl extends CommentedElementImpl imple
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.EDIT_PART_USING_REORIENT_SERVICE__NAME:
- setName((String)newValue);
- return;
- case PapyrusgmfgenextensionPackage.EDIT_PART_USING_REORIENT_SERVICE__GEN_VIEW:
- getGenView().clear();
- getGenView().addAll((Collection<? extends GenLink>)newValue);
- return;
+ case PapyrusgmfgenextensionPackage.EDIT_PART_USING_REORIENT_SERVICE__NAME:
+ setName((String) newValue);
+ return;
+ case PapyrusgmfgenextensionPackage.EDIT_PART_USING_REORIENT_SERVICE__GEN_VIEW:
+ getGenView().clear();
+ getGenView().addAll((Collection<? extends GenLink>) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -159,17 +173,18 @@ public class EditPartUsingReorientServiceImpl extends CommentedElementImpl imple
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.EDIT_PART_USING_REORIENT_SERVICE__NAME:
- setName(NAME_EDEFAULT);
- return;
- case PapyrusgmfgenextensionPackage.EDIT_PART_USING_REORIENT_SERVICE__GEN_VIEW:
- getGenView().clear();
- return;
+ case PapyrusgmfgenextensionPackage.EDIT_PART_USING_REORIENT_SERVICE__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ case PapyrusgmfgenextensionPackage.EDIT_PART_USING_REORIENT_SERVICE__GEN_VIEW:
+ getGenView().clear();
+ return;
}
super.eUnset(featureID);
}
@@ -177,15 +192,16 @@ public class EditPartUsingReorientServiceImpl extends CommentedElementImpl imple
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.EDIT_PART_USING_REORIENT_SERVICE__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
- case PapyrusgmfgenextensionPackage.EDIT_PART_USING_REORIENT_SERVICE__GEN_VIEW:
- return genView != null && !genView.isEmpty();
+ case PapyrusgmfgenextensionPackage.EDIT_PART_USING_REORIENT_SERVICE__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
+ case PapyrusgmfgenextensionPackage.EDIT_PART_USING_REORIENT_SERVICE__GEN_VIEW:
+ return genView != null && !genView.isEmpty();
}
return super.eIsSet(featureID);
}
@@ -193,11 +209,14 @@ public class EditPartUsingReorientServiceImpl extends CommentedElementImpl imple
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public String toString() {
- if (eIsProxy()) return super.toString();
+ if (eIsProxy()) {
+ return super.toString();
+ }
StringBuffer result = new StringBuffer(super.toString());
result.append(" (name: ");
@@ -206,4 +225,4 @@ public class EditPartUsingReorientServiceImpl extends CommentedElementImpl imple
return result.toString();
}
-} //EditPartUsingReorientServiceImpl
+} // EditPartUsingReorientServiceImpl
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/ExtendedGenViewImpl.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/ExtendedGenViewImpl.java
index 4ec76566181..7af9731af0f 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/ExtendedGenViewImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/ExtendedGenViewImpl.java
@@ -27,12 +27,12 @@ import org.eclipse.papyrus.papyrusgmfgenextension.PropertyRefreshHook;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.ExtendedGenViewImpl#getGenView <em>Gen View</em>}</li>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.ExtendedGenViewImpl#isIsAbstract <em>Is Abstract</em>}</li>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.ExtendedGenViewImpl#getSuperGenViews <em>Super Gen Views</em>}</li>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.ExtendedGenViewImpl#getPropRefreshHook <em>Prop Refresh Hook</em>}</li>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.ExtendedGenViewImpl#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.ExtendedGenViewImpl#getSuperOwnedEditPart <em>Super Owned Edit Part</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.ExtendedGenViewImpl#getGenView <em>Gen View</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.ExtendedGenViewImpl#isIsAbstract <em>Is Abstract</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.ExtendedGenViewImpl#getSuperGenViews <em>Super Gen Views</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.ExtendedGenViewImpl#getPropRefreshHook <em>Prop Refresh Hook</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.ExtendedGenViewImpl#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.ExtendedGenViewImpl#getSuperOwnedEditPart <em>Super Owned Edit Part</em>}</li>
* </ul>
* </p>
*
@@ -44,6 +44,7 @@ public class ExtendedGenViewImpl extends CommentedElementImpl implements Extende
* The cached value of the '{@link #getGenView() <em>Gen View</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getGenView()
* @generated
* @ordered
@@ -54,6 +55,7 @@ public class ExtendedGenViewImpl extends CommentedElementImpl implements Extende
* The default value of the '{@link #isIsAbstract() <em>Is Abstract</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #isIsAbstract()
* @generated
* @ordered
@@ -64,6 +66,7 @@ public class ExtendedGenViewImpl extends CommentedElementImpl implements Extende
* The cached value of the '{@link #isIsAbstract() <em>Is Abstract</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #isIsAbstract()
* @generated
* @ordered
@@ -74,6 +77,7 @@ public class ExtendedGenViewImpl extends CommentedElementImpl implements Extende
* The cached value of the '{@link #getSuperGenViews() <em>Super Gen Views</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getSuperGenViews()
* @generated
* @ordered
@@ -84,6 +88,7 @@ public class ExtendedGenViewImpl extends CommentedElementImpl implements Extende
* The cached value of the '{@link #getPropRefreshHook() <em>Prop Refresh Hook</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getPropRefreshHook()
* @generated
* @ordered
@@ -94,6 +99,7 @@ public class ExtendedGenViewImpl extends CommentedElementImpl implements Extende
* The default value of the '{@link #getName() <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getName()
* @generated
* @ordered
@@ -104,6 +110,7 @@ public class ExtendedGenViewImpl extends CommentedElementImpl implements Extende
* The cached value of the '{@link #getName() <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getName()
* @generated
* @ordered
@@ -114,6 +121,7 @@ public class ExtendedGenViewImpl extends CommentedElementImpl implements Extende
* The default value of the '{@link #getSuperOwnedEditPart() <em>Super Owned Edit Part</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getSuperOwnedEditPart()
* @generated
* @ordered
@@ -124,6 +132,7 @@ public class ExtendedGenViewImpl extends CommentedElementImpl implements Extende
* The cached value of the '{@link #getSuperOwnedEditPart() <em>Super Owned Edit Part</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getSuperOwnedEditPart()
* @generated
* @ordered
@@ -133,6 +142,7 @@ public class ExtendedGenViewImpl extends CommentedElementImpl implements Extende
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected ExtendedGenViewImpl() {
@@ -142,6 +152,7 @@ public class ExtendedGenViewImpl extends CommentedElementImpl implements Extende
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -152,8 +163,10 @@ public class ExtendedGenViewImpl extends CommentedElementImpl implements Extende
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EList<GenCommonBase> getGenView() {
if (genView == null) {
genView = new EObjectResolvingEList<GenCommonBase>(GenCommonBase.class, this, PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__GEN_VIEW);
@@ -164,8 +177,10 @@ public class ExtendedGenViewImpl extends CommentedElementImpl implements Extende
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public boolean isIsAbstract() {
return isAbstract;
}
@@ -173,20 +188,25 @@ public class ExtendedGenViewImpl extends CommentedElementImpl implements Extende
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setIsAbstract(boolean newIsAbstract) {
boolean oldIsAbstract = isAbstract;
isAbstract = newIsAbstract;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__IS_ABSTRACT, oldIsAbstract, isAbstract));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EList<GenCommonBase> getSuperGenViews() {
if (superGenViews == null) {
superGenViews = new EObjectResolvingEList<GenCommonBase>(GenCommonBase.class, this, PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__SUPER_GEN_VIEWS);
@@ -197,8 +217,10 @@ public class ExtendedGenViewImpl extends CommentedElementImpl implements Extende
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public PropertyRefreshHook getPropRefreshHook() {
return propRefreshHook;
}
@@ -206,6 +228,7 @@ public class ExtendedGenViewImpl extends CommentedElementImpl implements Extende
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public NotificationChain basicSetPropRefreshHook(PropertyRefreshHook newPropRefreshHook, NotificationChain msgs) {
@@ -213,7 +236,11 @@ public class ExtendedGenViewImpl extends CommentedElementImpl implements Extende
propRefreshHook = newPropRefreshHook;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__PROP_REFRESH_HOOK, oldPropRefreshHook, newPropRefreshHook);
- if (msgs == null) msgs = notification; else msgs.add(notification);
+ if (msgs == null) {
+ msgs = notification;
+ } else {
+ msgs.add(notification);
+ }
}
return msgs;
}
@@ -221,27 +248,36 @@ public class ExtendedGenViewImpl extends CommentedElementImpl implements Extende
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setPropRefreshHook(PropertyRefreshHook newPropRefreshHook) {
if (newPropRefreshHook != propRefreshHook) {
NotificationChain msgs = null;
- if (propRefreshHook != null)
- msgs = ((InternalEObject)propRefreshHook).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__PROP_REFRESH_HOOK, null, msgs);
- if (newPropRefreshHook != null)
- msgs = ((InternalEObject)newPropRefreshHook).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__PROP_REFRESH_HOOK, null, msgs);
+ if (propRefreshHook != null) {
+ msgs = ((InternalEObject) propRefreshHook).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__PROP_REFRESH_HOOK, null, msgs);
+ }
+ if (newPropRefreshHook != null) {
+ msgs = ((InternalEObject) newPropRefreshHook).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__PROP_REFRESH_HOOK, null, msgs);
+ }
msgs = basicSetPropRefreshHook(newPropRefreshHook, msgs);
- if (msgs != null) msgs.dispatch();
+ if (msgs != null) {
+ msgs.dispatch();
+ }
}
- else if (eNotificationRequired())
+ else if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__PROP_REFRESH_HOOK, newPropRefreshHook, newPropRefreshHook));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public String getName() {
return name;
}
@@ -249,20 +285,25 @@ public class ExtendedGenViewImpl extends CommentedElementImpl implements Extende
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setName(String newName) {
String oldName = name;
name = newName;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__NAME, oldName, name));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public String getSuperOwnedEditPart() {
return superOwnedEditPart;
}
@@ -270,25 +311,29 @@ public class ExtendedGenViewImpl extends CommentedElementImpl implements Extende
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setSuperOwnedEditPart(String newSuperOwnedEditPart) {
String oldSuperOwnedEditPart = superOwnedEditPart;
superOwnedEditPart = newSuperOwnedEditPart;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__SUPER_OWNED_EDIT_PART, oldSuperOwnedEditPart, superOwnedEditPart));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__PROP_REFRESH_HOOK:
- return basicSetPropRefreshHook(null, msgs);
+ case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__PROP_REFRESH_HOOK:
+ return basicSetPropRefreshHook(null, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
@@ -296,23 +341,24 @@ public class ExtendedGenViewImpl extends CommentedElementImpl implements Extende
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__GEN_VIEW:
- return getGenView();
- case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__IS_ABSTRACT:
- return isIsAbstract();
- case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__SUPER_GEN_VIEWS:
- return getSuperGenViews();
- case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__PROP_REFRESH_HOOK:
- return getPropRefreshHook();
- case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__NAME:
- return getName();
- case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__SUPER_OWNED_EDIT_PART:
- return getSuperOwnedEditPart();
+ case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__GEN_VIEW:
+ return getGenView();
+ case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__IS_ABSTRACT:
+ return isIsAbstract();
+ case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__SUPER_GEN_VIEWS:
+ return getSuperGenViews();
+ case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__PROP_REFRESH_HOOK:
+ return getPropRefreshHook();
+ case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__NAME:
+ return getName();
+ case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__SUPER_OWNED_EDIT_PART:
+ return getSuperOwnedEditPart();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -320,32 +366,33 @@ public class ExtendedGenViewImpl extends CommentedElementImpl implements Extende
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__GEN_VIEW:
- getGenView().clear();
- getGenView().addAll((Collection<? extends GenCommonBase>)newValue);
- return;
- case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__IS_ABSTRACT:
- setIsAbstract((Boolean)newValue);
- return;
- case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__SUPER_GEN_VIEWS:
- getSuperGenViews().clear();
- getSuperGenViews().addAll((Collection<? extends GenCommonBase>)newValue);
- return;
- case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__PROP_REFRESH_HOOK:
- setPropRefreshHook((PropertyRefreshHook)newValue);
- return;
- case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__NAME:
- setName((String)newValue);
- return;
- case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__SUPER_OWNED_EDIT_PART:
- setSuperOwnedEditPart((String)newValue);
- return;
+ case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__GEN_VIEW:
+ getGenView().clear();
+ getGenView().addAll((Collection<? extends GenCommonBase>) newValue);
+ return;
+ case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__IS_ABSTRACT:
+ setIsAbstract((Boolean) newValue);
+ return;
+ case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__SUPER_GEN_VIEWS:
+ getSuperGenViews().clear();
+ getSuperGenViews().addAll((Collection<? extends GenCommonBase>) newValue);
+ return;
+ case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__PROP_REFRESH_HOOK:
+ setPropRefreshHook((PropertyRefreshHook) newValue);
+ return;
+ case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__NAME:
+ setName((String) newValue);
+ return;
+ case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__SUPER_OWNED_EDIT_PART:
+ setSuperOwnedEditPart((String) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -353,29 +400,30 @@ public class ExtendedGenViewImpl extends CommentedElementImpl implements Extende
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__GEN_VIEW:
- getGenView().clear();
- return;
- case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__IS_ABSTRACT:
- setIsAbstract(IS_ABSTRACT_EDEFAULT);
- return;
- case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__SUPER_GEN_VIEWS:
- getSuperGenViews().clear();
- return;
- case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__PROP_REFRESH_HOOK:
- setPropRefreshHook((PropertyRefreshHook)null);
- return;
- case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__NAME:
- setName(NAME_EDEFAULT);
- return;
- case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__SUPER_OWNED_EDIT_PART:
- setSuperOwnedEditPart(SUPER_OWNED_EDIT_PART_EDEFAULT);
- return;
+ case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__GEN_VIEW:
+ getGenView().clear();
+ return;
+ case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__IS_ABSTRACT:
+ setIsAbstract(IS_ABSTRACT_EDEFAULT);
+ return;
+ case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__SUPER_GEN_VIEWS:
+ getSuperGenViews().clear();
+ return;
+ case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__PROP_REFRESH_HOOK:
+ setPropRefreshHook((PropertyRefreshHook) null);
+ return;
+ case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__SUPER_OWNED_EDIT_PART:
+ setSuperOwnedEditPart(SUPER_OWNED_EDIT_PART_EDEFAULT);
+ return;
}
super.eUnset(featureID);
}
@@ -383,23 +431,24 @@ public class ExtendedGenViewImpl extends CommentedElementImpl implements Extende
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__GEN_VIEW:
- return genView != null && !genView.isEmpty();
- case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__IS_ABSTRACT:
- return isAbstract != IS_ABSTRACT_EDEFAULT;
- case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__SUPER_GEN_VIEWS:
- return superGenViews != null && !superGenViews.isEmpty();
- case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__PROP_REFRESH_HOOK:
- return propRefreshHook != null;
- case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
- case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__SUPER_OWNED_EDIT_PART:
- return SUPER_OWNED_EDIT_PART_EDEFAULT == null ? superOwnedEditPart != null : !SUPER_OWNED_EDIT_PART_EDEFAULT.equals(superOwnedEditPart);
+ case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__GEN_VIEW:
+ return genView != null && !genView.isEmpty();
+ case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__IS_ABSTRACT:
+ return isAbstract != IS_ABSTRACT_EDEFAULT;
+ case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__SUPER_GEN_VIEWS:
+ return superGenViews != null && !superGenViews.isEmpty();
+ case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__PROP_REFRESH_HOOK:
+ return propRefreshHook != null;
+ case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
+ case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__SUPER_OWNED_EDIT_PART:
+ return SUPER_OWNED_EDIT_PART_EDEFAULT == null ? superOwnedEditPart != null : !SUPER_OWNED_EDIT_PART_EDEFAULT.equals(superOwnedEditPart);
}
return super.eIsSet(featureID);
}
@@ -407,11 +456,14 @@ public class ExtendedGenViewImpl extends CommentedElementImpl implements Extende
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public String toString() {
- if (eIsProxy()) return super.toString();
+ if (eIsProxy()) {
+ return super.toString();
+ }
StringBuffer result = new StringBuffer(super.toString());
result.append(" (isAbstract: ");
@@ -424,4 +476,4 @@ public class ExtendedGenViewImpl extends CommentedElementImpl implements Extende
return result.toString();
}
-} //ExtendedGenViewImpl
+} // ExtendedGenViewImpl
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/ExternalElementTypesLibraryImpl.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/ExternalElementTypesLibraryImpl.java
index bbc10af35aa..cb5a8de171f 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/ExternalElementTypesLibraryImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/ExternalElementTypesLibraryImpl.java
@@ -18,7 +18,7 @@ import org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.ExternalElementTypesLibraryImpl#getComment <em>Comment</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.ExternalElementTypesLibraryImpl#getComment <em>Comment</em>}</li>
* </ul>
* </p>
*
@@ -29,6 +29,7 @@ public class ExternalElementTypesLibraryImpl extends GenNodeImpl implements Exte
* The default value of the '{@link #getComment() <em>Comment</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getComment()
* @generated
* @ordered
@@ -38,6 +39,7 @@ public class ExternalElementTypesLibraryImpl extends GenNodeImpl implements Exte
* The cached value of the '{@link #getComment() <em>Comment</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getComment()
* @generated
* @ordered
@@ -47,6 +49,7 @@ public class ExternalElementTypesLibraryImpl extends GenNodeImpl implements Exte
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected ExternalElementTypesLibraryImpl() {
@@ -56,6 +59,7 @@ public class ExternalElementTypesLibraryImpl extends GenNodeImpl implements Exte
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -66,8 +70,10 @@ public class ExternalElementTypesLibraryImpl extends GenNodeImpl implements Exte
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public String getComment() {
return comment;
}
@@ -75,25 +81,29 @@ public class ExternalElementTypesLibraryImpl extends GenNodeImpl implements Exte
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setComment(String newComment) {
String oldComment = comment;
comment = newComment;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, PapyrusgmfgenextensionPackage.EXTERNAL_ELEMENT_TYPES_LIBRARY__COMMENT, oldComment, comment));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.EXTERNAL_ELEMENT_TYPES_LIBRARY__COMMENT:
- return getComment();
+ case PapyrusgmfgenextensionPackage.EXTERNAL_ELEMENT_TYPES_LIBRARY__COMMENT:
+ return getComment();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -101,14 +111,15 @@ public class ExternalElementTypesLibraryImpl extends GenNodeImpl implements Exte
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.EXTERNAL_ELEMENT_TYPES_LIBRARY__COMMENT:
- setComment((String)newValue);
- return;
+ case PapyrusgmfgenextensionPackage.EXTERNAL_ELEMENT_TYPES_LIBRARY__COMMENT:
+ setComment((String) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -116,14 +127,15 @@ public class ExternalElementTypesLibraryImpl extends GenNodeImpl implements Exte
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.EXTERNAL_ELEMENT_TYPES_LIBRARY__COMMENT:
- setComment(COMMENT_EDEFAULT);
- return;
+ case PapyrusgmfgenextensionPackage.EXTERNAL_ELEMENT_TYPES_LIBRARY__COMMENT:
+ setComment(COMMENT_EDEFAULT);
+ return;
}
super.eUnset(featureID);
}
@@ -131,13 +143,14 @@ public class ExternalElementTypesLibraryImpl extends GenNodeImpl implements Exte
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.EXTERNAL_ELEMENT_TYPES_LIBRARY__COMMENT:
- return COMMENT_EDEFAULT == null ? comment != null : !COMMENT_EDEFAULT.equals(comment);
+ case PapyrusgmfgenextensionPackage.EXTERNAL_ELEMENT_TYPES_LIBRARY__COMMENT:
+ return COMMENT_EDEFAULT == null ? comment != null : !COMMENT_EDEFAULT.equals(comment);
}
return super.eIsSet(featureID);
}
@@ -145,14 +158,17 @@ public class ExternalElementTypesLibraryImpl extends GenNodeImpl implements Exte
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass) {
if (baseClass == CommentedElement.class) {
switch (derivedFeatureID) {
- case PapyrusgmfgenextensionPackage.EXTERNAL_ELEMENT_TYPES_LIBRARY__COMMENT: return PapyrusgmfgenextensionPackage.COMMENTED_ELEMENT__COMMENT;
- default: return -1;
+ case PapyrusgmfgenextensionPackage.EXTERNAL_ELEMENT_TYPES_LIBRARY__COMMENT:
+ return PapyrusgmfgenextensionPackage.COMMENTED_ELEMENT__COMMENT;
+ default:
+ return -1;
}
}
return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass);
@@ -161,14 +177,17 @@ public class ExternalElementTypesLibraryImpl extends GenNodeImpl implements Exte
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public int eDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass) {
if (baseClass == CommentedElement.class) {
switch (baseFeatureID) {
- case PapyrusgmfgenextensionPackage.COMMENTED_ELEMENT__COMMENT: return PapyrusgmfgenextensionPackage.EXTERNAL_ELEMENT_TYPES_LIBRARY__COMMENT;
- default: return -1;
+ case PapyrusgmfgenextensionPackage.COMMENTED_ELEMENT__COMMENT:
+ return PapyrusgmfgenextensionPackage.EXTERNAL_ELEMENT_TYPES_LIBRARY__COMMENT;
+ default:
+ return -1;
}
}
return super.eDerivedStructuralFeatureID(baseFeatureID, baseClass);
@@ -177,11 +196,14 @@ public class ExternalElementTypesLibraryImpl extends GenNodeImpl implements Exte
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public String toString() {
- if (eIsProxy()) return super.toString();
+ if (eIsProxy()) {
+ return super.toString();
+ }
StringBuffer result = new StringBuffer(super.toString());
result.append(" (comment: ");
@@ -198,4 +220,4 @@ public class ExternalElementTypesLibraryImpl extends GenNodeImpl implements Exte
return null;
}
-} //ExternalElementTypesLibraryImpl
+} // ExternalElementTypesLibraryImpl
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/ExternalHookImpl.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/ExternalHookImpl.java
index 7adb66ca6be..d55d3d8f2c9 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/ExternalHookImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/ExternalHookImpl.java
@@ -19,7 +19,7 @@ import org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.ExternalHookImpl#getClasspath <em>Classpath</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.ExternalHookImpl#getClasspath <em>Classpath</em>}</li>
* </ul>
* </p>
*
@@ -31,6 +31,7 @@ public class ExternalHookImpl extends CommentedElementImpl implements ExternalHo
* The default value of the '{@link #getClasspath() <em>Classpath</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getClasspath()
* @generated
* @ordered
@@ -41,6 +42,7 @@ public class ExternalHookImpl extends CommentedElementImpl implements ExternalHo
* The cached value of the '{@link #getClasspath() <em>Classpath</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getClasspath()
* @generated
* @ordered
@@ -50,6 +52,7 @@ public class ExternalHookImpl extends CommentedElementImpl implements ExternalHo
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected ExternalHookImpl() {
@@ -59,6 +62,7 @@ public class ExternalHookImpl extends CommentedElementImpl implements ExternalHo
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -69,8 +73,10 @@ public class ExternalHookImpl extends CommentedElementImpl implements ExternalHo
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public String getClasspath() {
return classpath;
}
@@ -78,25 +84,29 @@ public class ExternalHookImpl extends CommentedElementImpl implements ExternalHo
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setClasspath(String newClasspath) {
String oldClasspath = classpath;
classpath = newClasspath;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, PapyrusgmfgenextensionPackage.EXTERNAL_HOOK__CLASSPATH, oldClasspath, classpath));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.EXTERNAL_HOOK__CLASSPATH:
- return getClasspath();
+ case PapyrusgmfgenextensionPackage.EXTERNAL_HOOK__CLASSPATH:
+ return getClasspath();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -104,14 +114,15 @@ public class ExternalHookImpl extends CommentedElementImpl implements ExternalHo
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.EXTERNAL_HOOK__CLASSPATH:
- setClasspath((String)newValue);
- return;
+ case PapyrusgmfgenextensionPackage.EXTERNAL_HOOK__CLASSPATH:
+ setClasspath((String) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -119,14 +130,15 @@ public class ExternalHookImpl extends CommentedElementImpl implements ExternalHo
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.EXTERNAL_HOOK__CLASSPATH:
- setClasspath(CLASSPATH_EDEFAULT);
- return;
+ case PapyrusgmfgenextensionPackage.EXTERNAL_HOOK__CLASSPATH:
+ setClasspath(CLASSPATH_EDEFAULT);
+ return;
}
super.eUnset(featureID);
}
@@ -134,13 +146,14 @@ public class ExternalHookImpl extends CommentedElementImpl implements ExternalHo
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.EXTERNAL_HOOK__CLASSPATH:
- return CLASSPATH_EDEFAULT == null ? classpath != null : !CLASSPATH_EDEFAULT.equals(classpath);
+ case PapyrusgmfgenextensionPackage.EXTERNAL_HOOK__CLASSPATH:
+ return CLASSPATH_EDEFAULT == null ? classpath != null : !CLASSPATH_EDEFAULT.equals(classpath);
}
return super.eIsSet(featureID);
}
@@ -148,11 +161,14 @@ public class ExternalHookImpl extends CommentedElementImpl implements ExternalHo
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public String toString() {
- if (eIsProxy()) return super.toString();
+ if (eIsProxy()) {
+ return super.toString();
+ }
StringBuffer result = new StringBuffer(super.toString());
result.append(" (classpath: ");
@@ -161,4 +177,4 @@ public class ExternalHookImpl extends CommentedElementImpl implements ExternalHo
return result.toString();
}
-} //ExternalHookImpl
+} // ExternalHookImpl
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/ExternalMetamodelTypeImpl.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/ExternalMetamodelTypeImpl.java
index 293a6a72274..27c523fa9ba 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/ExternalMetamodelTypeImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/ExternalMetamodelTypeImpl.java
@@ -23,7 +23,7 @@ import org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.ExternalMetamodelTypeImpl#getElementTypeRef <em>Element Type Ref</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.ExternalMetamodelTypeImpl#getElementTypeRef <em>Element Type Ref</em>}</li>
* </ul>
* </p>
*
@@ -34,6 +34,7 @@ public class ExternalMetamodelTypeImpl extends MetamodelTypeImpl implements Exte
* The cached value of the '{@link #getElementTypeRef() <em>Element Type Ref</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getElementTypeRef()
* @generated
* @ordered
@@ -43,6 +44,7 @@ public class ExternalMetamodelTypeImpl extends MetamodelTypeImpl implements Exte
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected ExternalMetamodelTypeImpl() {
@@ -52,6 +54,7 @@ public class ExternalMetamodelTypeImpl extends MetamodelTypeImpl implements Exte
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -62,15 +65,18 @@ public class ExternalMetamodelTypeImpl extends MetamodelTypeImpl implements Exte
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public ElementType getElementTypeRef() {
if (elementTypeRef != null && elementTypeRef.eIsProxy()) {
- InternalEObject oldElementTypeRef = (InternalEObject)elementTypeRef;
- elementTypeRef = (ElementType)eResolveProxy(oldElementTypeRef);
+ InternalEObject oldElementTypeRef = (InternalEObject) elementTypeRef;
+ elementTypeRef = (ElementType) eResolveProxy(oldElementTypeRef);
if (elementTypeRef != oldElementTypeRef) {
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, PapyrusgmfgenextensionPackage.EXTERNAL_METAMODEL_TYPE__ELEMENT_TYPE_REF, oldElementTypeRef, elementTypeRef));
+ }
}
}
return elementTypeRef;
@@ -79,6 +85,7 @@ public class ExternalMetamodelTypeImpl extends MetamodelTypeImpl implements Exte
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public ElementType basicGetElementTypeRef() {
@@ -88,26 +95,32 @@ public class ExternalMetamodelTypeImpl extends MetamodelTypeImpl implements Exte
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setElementTypeRef(ElementType newElementTypeRef) {
ElementType oldElementTypeRef = elementTypeRef;
elementTypeRef = newElementTypeRef;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, PapyrusgmfgenextensionPackage.EXTERNAL_METAMODEL_TYPE__ELEMENT_TYPE_REF, oldElementTypeRef, elementTypeRef));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.EXTERNAL_METAMODEL_TYPE__ELEMENT_TYPE_REF:
- if (resolve) return getElementTypeRef();
- return basicGetElementTypeRef();
+ case PapyrusgmfgenextensionPackage.EXTERNAL_METAMODEL_TYPE__ELEMENT_TYPE_REF:
+ if (resolve) {
+ return getElementTypeRef();
+ }
+ return basicGetElementTypeRef();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -115,14 +128,15 @@ public class ExternalMetamodelTypeImpl extends MetamodelTypeImpl implements Exte
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.EXTERNAL_METAMODEL_TYPE__ELEMENT_TYPE_REF:
- setElementTypeRef((ElementType)newValue);
- return;
+ case PapyrusgmfgenextensionPackage.EXTERNAL_METAMODEL_TYPE__ELEMENT_TYPE_REF:
+ setElementTypeRef((ElementType) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -130,14 +144,15 @@ public class ExternalMetamodelTypeImpl extends MetamodelTypeImpl implements Exte
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.EXTERNAL_METAMODEL_TYPE__ELEMENT_TYPE_REF:
- setElementTypeRef((ElementType)null);
- return;
+ case PapyrusgmfgenextensionPackage.EXTERNAL_METAMODEL_TYPE__ELEMENT_TYPE_REF:
+ setElementTypeRef((ElementType) null);
+ return;
}
super.eUnset(featureID);
}
@@ -145,15 +160,16 @@ public class ExternalMetamodelTypeImpl extends MetamodelTypeImpl implements Exte
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.EXTERNAL_METAMODEL_TYPE__ELEMENT_TYPE_REF:
- return elementTypeRef != null;
+ case PapyrusgmfgenextensionPackage.EXTERNAL_METAMODEL_TYPE__ELEMENT_TYPE_REF:
+ return elementTypeRef != null;
}
return super.eIsSet(featureID);
}
-} //ExternalMetamodelTypeImpl
+} // ExternalMetamodelTypeImpl
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/GenNodeConstraintImpl.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/GenNodeConstraintImpl.java
index 6b175d4d873..67b71642b16 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/GenNodeConstraintImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/GenNodeConstraintImpl.java
@@ -26,8 +26,8 @@ import org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.GenNodeConstraintImpl#getGenNode <em>Gen Node</em>}</li>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.GenNodeConstraintImpl#getGenConstraint <em>Gen Constraint</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.GenNodeConstraintImpl#getGenNode <em>Gen Node</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.GenNodeConstraintImpl#getGenConstraint <em>Gen Constraint</em>}</li>
* </ul>
* </p>
*
@@ -39,6 +39,7 @@ public class GenNodeConstraintImpl extends CommentedElementImpl implements GenNo
* The cached value of the '{@link #getGenNode() <em>Gen Node</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getGenNode()
* @generated
* @ordered
@@ -49,6 +50,7 @@ public class GenNodeConstraintImpl extends CommentedElementImpl implements GenNo
* The cached value of the '{@link #getGenConstraint() <em>Gen Constraint</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getGenConstraint()
* @generated
* @ordered
@@ -58,6 +60,7 @@ public class GenNodeConstraintImpl extends CommentedElementImpl implements GenNo
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected GenNodeConstraintImpl() {
@@ -67,6 +70,7 @@ public class GenNodeConstraintImpl extends CommentedElementImpl implements GenNo
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -77,8 +81,10 @@ public class GenNodeConstraintImpl extends CommentedElementImpl implements GenNo
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EList<GenNode> getGenNode() {
if (genNode == null) {
genNode = new EObjectResolvingEList<GenNode>(GenNode.class, this, PapyrusgmfgenextensionPackage.GEN_NODE_CONSTRAINT__GEN_NODE);
@@ -89,15 +95,18 @@ public class GenNodeConstraintImpl extends CommentedElementImpl implements GenNo
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public GenConstraint getGenConstraint() {
if (genConstraint != null && genConstraint.eIsProxy()) {
- InternalEObject oldGenConstraint = (InternalEObject)genConstraint;
- genConstraint = (GenConstraint)eResolveProxy(oldGenConstraint);
+ InternalEObject oldGenConstraint = (InternalEObject) genConstraint;
+ genConstraint = (GenConstraint) eResolveProxy(oldGenConstraint);
if (genConstraint != oldGenConstraint) {
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, PapyrusgmfgenextensionPackage.GEN_NODE_CONSTRAINT__GEN_CONSTRAINT, oldGenConstraint, genConstraint));
+ }
}
}
return genConstraint;
@@ -106,6 +115,7 @@ public class GenNodeConstraintImpl extends CommentedElementImpl implements GenNo
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public GenConstraint basicGetGenConstraint() {
@@ -115,28 +125,34 @@ public class GenNodeConstraintImpl extends CommentedElementImpl implements GenNo
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setGenConstraint(GenConstraint newGenConstraint) {
GenConstraint oldGenConstraint = genConstraint;
genConstraint = newGenConstraint;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, PapyrusgmfgenextensionPackage.GEN_NODE_CONSTRAINT__GEN_CONSTRAINT, oldGenConstraint, genConstraint));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.GEN_NODE_CONSTRAINT__GEN_NODE:
- return getGenNode();
- case PapyrusgmfgenextensionPackage.GEN_NODE_CONSTRAINT__GEN_CONSTRAINT:
- if (resolve) return getGenConstraint();
- return basicGetGenConstraint();
+ case PapyrusgmfgenextensionPackage.GEN_NODE_CONSTRAINT__GEN_NODE:
+ return getGenNode();
+ case PapyrusgmfgenextensionPackage.GEN_NODE_CONSTRAINT__GEN_CONSTRAINT:
+ if (resolve) {
+ return getGenConstraint();
+ }
+ return basicGetGenConstraint();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -144,19 +160,20 @@ public class GenNodeConstraintImpl extends CommentedElementImpl implements GenNo
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.GEN_NODE_CONSTRAINT__GEN_NODE:
- getGenNode().clear();
- getGenNode().addAll((Collection<? extends GenNode>)newValue);
- return;
- case PapyrusgmfgenextensionPackage.GEN_NODE_CONSTRAINT__GEN_CONSTRAINT:
- setGenConstraint((GenConstraint)newValue);
- return;
+ case PapyrusgmfgenextensionPackage.GEN_NODE_CONSTRAINT__GEN_NODE:
+ getGenNode().clear();
+ getGenNode().addAll((Collection<? extends GenNode>) newValue);
+ return;
+ case PapyrusgmfgenextensionPackage.GEN_NODE_CONSTRAINT__GEN_CONSTRAINT:
+ setGenConstraint((GenConstraint) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -164,17 +181,18 @@ public class GenNodeConstraintImpl extends CommentedElementImpl implements GenNo
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.GEN_NODE_CONSTRAINT__GEN_NODE:
- getGenNode().clear();
- return;
- case PapyrusgmfgenextensionPackage.GEN_NODE_CONSTRAINT__GEN_CONSTRAINT:
- setGenConstraint((GenConstraint)null);
- return;
+ case PapyrusgmfgenextensionPackage.GEN_NODE_CONSTRAINT__GEN_NODE:
+ getGenNode().clear();
+ return;
+ case PapyrusgmfgenextensionPackage.GEN_NODE_CONSTRAINT__GEN_CONSTRAINT:
+ setGenConstraint((GenConstraint) null);
+ return;
}
super.eUnset(featureID);
}
@@ -182,17 +200,18 @@ public class GenNodeConstraintImpl extends CommentedElementImpl implements GenNo
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.GEN_NODE_CONSTRAINT__GEN_NODE:
- return genNode != null && !genNode.isEmpty();
- case PapyrusgmfgenextensionPackage.GEN_NODE_CONSTRAINT__GEN_CONSTRAINT:
- return genConstraint != null;
+ case PapyrusgmfgenextensionPackage.GEN_NODE_CONSTRAINT__GEN_NODE:
+ return genNode != null && !genNode.isEmpty();
+ case PapyrusgmfgenextensionPackage.GEN_NODE_CONSTRAINT__GEN_CONSTRAINT:
+ return genConstraint != null;
}
return super.eIsSet(featureID);
}
-} //GenNodeConstraintImpl
+} // GenNodeConstraintImpl
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/GenerateUsingElementTypeCreationCommandImpl.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/GenerateUsingElementTypeCreationCommandImpl.java
index 64822a0c246..38eb0286217 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/GenerateUsingElementTypeCreationCommandImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/GenerateUsingElementTypeCreationCommandImpl.java
@@ -20,6 +20,7 @@ public class GenerateUsingElementTypeCreationCommandImpl extends CommentedElemen
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected GenerateUsingElementTypeCreationCommandImpl() {
@@ -29,6 +30,7 @@ public class GenerateUsingElementTypeCreationCommandImpl extends CommentedElemen
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -36,4 +38,4 @@ public class GenerateUsingElementTypeCreationCommandImpl extends CommentedElemen
return PapyrusgmfgenextensionPackage.Literals.GENERATE_USING_ELEMENT_TYPE_CREATION_COMMAND;
}
-} //GenerateUsingElementTypeCreationCommandImpl
+} // GenerateUsingElementTypeCreationCommandImpl
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/LabelVisibilityPreferenceImpl.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/LabelVisibilityPreferenceImpl.java
index d337e94ba68..92d8a63c984 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/LabelVisibilityPreferenceImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/LabelVisibilityPreferenceImpl.java
@@ -31,11 +31,11 @@ import org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.LabelVisibilityPreferenceImpl#getRole <em>Role</em>}</li>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.LabelVisibilityPreferenceImpl#getIconPathRole <em>Icon Path Role</em>}</li>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.LabelVisibilityPreferenceImpl#getLinkLabels <em>Link Labels</em>}</li>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.LabelVisibilityPreferenceImpl#getExternalNodeLabels <em>External Node Labels</em>}</li>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.LabelVisibilityPreferenceImpl#isVisibleByDefault <em>Visible By Default</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.LabelVisibilityPreferenceImpl#getRole <em>Role</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.LabelVisibilityPreferenceImpl#getIconPathRole <em>Icon Path Role</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.LabelVisibilityPreferenceImpl#getLinkLabels <em>Link Labels</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.LabelVisibilityPreferenceImpl#getExternalNodeLabels <em>External Node Labels</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.LabelVisibilityPreferenceImpl#isVisibleByDefault <em>Visible By Default</em>}</li>
* </ul>
* </p>
*
@@ -46,6 +46,7 @@ public class LabelVisibilityPreferenceImpl extends CommentedElementImpl implemen
* The default value of the '{@link #getRole() <em>Role</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getRole()
* @generated
* @ordered
@@ -56,6 +57,7 @@ public class LabelVisibilityPreferenceImpl extends CommentedElementImpl implemen
* The cached value of the '{@link #getRole() <em>Role</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getRole()
* @generated
* @ordered
@@ -66,6 +68,7 @@ public class LabelVisibilityPreferenceImpl extends CommentedElementImpl implemen
* The default value of the '{@link #getIconPathRole() <em>Icon Path Role</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getIconPathRole()
* @generated
* @ordered
@@ -76,6 +79,7 @@ public class LabelVisibilityPreferenceImpl extends CommentedElementImpl implemen
* The cached value of the '{@link #getIconPathRole() <em>Icon Path Role</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getIconPathRole()
* @generated
* @ordered
@@ -86,6 +90,7 @@ public class LabelVisibilityPreferenceImpl extends CommentedElementImpl implemen
* The cached value of the '{@link #getLinkLabels() <em>Link Labels</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getLinkLabels()
* @generated
* @ordered
@@ -96,6 +101,7 @@ public class LabelVisibilityPreferenceImpl extends CommentedElementImpl implemen
* The cached value of the '{@link #getExternalNodeLabels() <em>External Node Labels</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getExternalNodeLabels()
* @generated
* @ordered
@@ -106,6 +112,7 @@ public class LabelVisibilityPreferenceImpl extends CommentedElementImpl implemen
* The default value of the '{@link #isVisibleByDefault() <em>Visible By Default</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #isVisibleByDefault()
* @generated
* @ordered
@@ -116,6 +123,7 @@ public class LabelVisibilityPreferenceImpl extends CommentedElementImpl implemen
* The cached value of the '{@link #isVisibleByDefault() <em>Visible By Default</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #isVisibleByDefault()
* @generated
* @ordered
@@ -125,6 +133,7 @@ public class LabelVisibilityPreferenceImpl extends CommentedElementImpl implemen
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected LabelVisibilityPreferenceImpl() {
@@ -134,6 +143,7 @@ public class LabelVisibilityPreferenceImpl extends CommentedElementImpl implemen
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -144,8 +154,10 @@ public class LabelVisibilityPreferenceImpl extends CommentedElementImpl implemen
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public String getRole() {
return role;
}
@@ -153,20 +165,25 @@ public class LabelVisibilityPreferenceImpl extends CommentedElementImpl implemen
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setRole(String newRole) {
String oldRole = role;
role = newRole;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE__ROLE, oldRole, role));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public String getIconPathRole() {
return iconPathRole;
}
@@ -174,20 +191,25 @@ public class LabelVisibilityPreferenceImpl extends CommentedElementImpl implemen
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setIconPathRole(String newIconPathRole) {
String oldIconPathRole = iconPathRole;
iconPathRole = newIconPathRole;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE__ICON_PATH_ROLE, oldIconPathRole, iconPathRole));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EList<GenLinkLabel> getLinkLabels() {
if (linkLabels == null) {
linkLabels = new EObjectResolvingEList<GenLinkLabel>(GenLinkLabel.class, this, PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE__LINK_LABELS);
@@ -198,8 +220,10 @@ public class LabelVisibilityPreferenceImpl extends CommentedElementImpl implemen
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EList<GenExternalNodeLabel> getExternalNodeLabels() {
if (externalNodeLabels == null) {
externalNodeLabels = new EObjectResolvingEList<GenExternalNodeLabel>(GenExternalNodeLabel.class, this, PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE__EXTERNAL_NODE_LABELS);
@@ -210,8 +234,10 @@ public class LabelVisibilityPreferenceImpl extends CommentedElementImpl implemen
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public boolean isVisibleByDefault() {
return visibleByDefault;
}
@@ -219,33 +245,37 @@ public class LabelVisibilityPreferenceImpl extends CommentedElementImpl implemen
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setVisibleByDefault(boolean newVisibleByDefault) {
boolean oldVisibleByDefault = visibleByDefault;
visibleByDefault = newVisibleByDefault;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE__VISIBLE_BY_DEFAULT, oldVisibleByDefault, visibleByDefault));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE__ROLE:
- return getRole();
- case PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE__ICON_PATH_ROLE:
- return getIconPathRole();
- case PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE__LINK_LABELS:
- return getLinkLabels();
- case PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE__EXTERNAL_NODE_LABELS:
- return getExternalNodeLabels();
- case PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE__VISIBLE_BY_DEFAULT:
- return isVisibleByDefault();
+ case PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE__ROLE:
+ return getRole();
+ case PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE__ICON_PATH_ROLE:
+ return getIconPathRole();
+ case PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE__LINK_LABELS:
+ return getLinkLabels();
+ case PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE__EXTERNAL_NODE_LABELS:
+ return getExternalNodeLabels();
+ case PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE__VISIBLE_BY_DEFAULT:
+ return isVisibleByDefault();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -253,29 +283,30 @@ public class LabelVisibilityPreferenceImpl extends CommentedElementImpl implemen
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE__ROLE:
- setRole((String)newValue);
- return;
- case PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE__ICON_PATH_ROLE:
- setIconPathRole((String)newValue);
- return;
- case PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE__LINK_LABELS:
- getLinkLabels().clear();
- getLinkLabels().addAll((Collection<? extends GenLinkLabel>)newValue);
- return;
- case PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE__EXTERNAL_NODE_LABELS:
- getExternalNodeLabels().clear();
- getExternalNodeLabels().addAll((Collection<? extends GenExternalNodeLabel>)newValue);
- return;
- case PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE__VISIBLE_BY_DEFAULT:
- setVisibleByDefault((Boolean)newValue);
- return;
+ case PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE__ROLE:
+ setRole((String) newValue);
+ return;
+ case PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE__ICON_PATH_ROLE:
+ setIconPathRole((String) newValue);
+ return;
+ case PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE__LINK_LABELS:
+ getLinkLabels().clear();
+ getLinkLabels().addAll((Collection<? extends GenLinkLabel>) newValue);
+ return;
+ case PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE__EXTERNAL_NODE_LABELS:
+ getExternalNodeLabels().clear();
+ getExternalNodeLabels().addAll((Collection<? extends GenExternalNodeLabel>) newValue);
+ return;
+ case PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE__VISIBLE_BY_DEFAULT:
+ setVisibleByDefault((Boolean) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -283,26 +314,27 @@ public class LabelVisibilityPreferenceImpl extends CommentedElementImpl implemen
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE__ROLE:
- setRole(ROLE_EDEFAULT);
- return;
- case PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE__ICON_PATH_ROLE:
- setIconPathRole(ICON_PATH_ROLE_EDEFAULT);
- return;
- case PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE__LINK_LABELS:
- getLinkLabels().clear();
- return;
- case PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE__EXTERNAL_NODE_LABELS:
- getExternalNodeLabels().clear();
- return;
- case PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE__VISIBLE_BY_DEFAULT:
- setVisibleByDefault(VISIBLE_BY_DEFAULT_EDEFAULT);
- return;
+ case PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE__ROLE:
+ setRole(ROLE_EDEFAULT);
+ return;
+ case PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE__ICON_PATH_ROLE:
+ setIconPathRole(ICON_PATH_ROLE_EDEFAULT);
+ return;
+ case PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE__LINK_LABELS:
+ getLinkLabels().clear();
+ return;
+ case PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE__EXTERNAL_NODE_LABELS:
+ getExternalNodeLabels().clear();
+ return;
+ case PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE__VISIBLE_BY_DEFAULT:
+ setVisibleByDefault(VISIBLE_BY_DEFAULT_EDEFAULT);
+ return;
}
super.eUnset(featureID);
}
@@ -310,21 +342,22 @@ public class LabelVisibilityPreferenceImpl extends CommentedElementImpl implemen
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE__ROLE:
- return ROLE_EDEFAULT == null ? role != null : !ROLE_EDEFAULT.equals(role);
- case PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE__ICON_PATH_ROLE:
- return ICON_PATH_ROLE_EDEFAULT == null ? iconPathRole != null : !ICON_PATH_ROLE_EDEFAULT.equals(iconPathRole);
- case PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE__LINK_LABELS:
- return linkLabels != null && !linkLabels.isEmpty();
- case PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE__EXTERNAL_NODE_LABELS:
- return externalNodeLabels != null && !externalNodeLabels.isEmpty();
- case PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE__VISIBLE_BY_DEFAULT:
- return visibleByDefault != VISIBLE_BY_DEFAULT_EDEFAULT;
+ case PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE__ROLE:
+ return ROLE_EDEFAULT == null ? role != null : !ROLE_EDEFAULT.equals(role);
+ case PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE__ICON_PATH_ROLE:
+ return ICON_PATH_ROLE_EDEFAULT == null ? iconPathRole != null : !ICON_PATH_ROLE_EDEFAULT.equals(iconPathRole);
+ case PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE__LINK_LABELS:
+ return linkLabels != null && !linkLabels.isEmpty();
+ case PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE__EXTERNAL_NODE_LABELS:
+ return externalNodeLabels != null && !externalNodeLabels.isEmpty();
+ case PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE__VISIBLE_BY_DEFAULT:
+ return visibleByDefault != VISIBLE_BY_DEFAULT_EDEFAULT;
}
return super.eIsSet(featureID);
}
@@ -332,11 +365,14 @@ public class LabelVisibilityPreferenceImpl extends CommentedElementImpl implemen
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public String toString() {
- if (eIsProxy()) return super.toString();
+ if (eIsProxy()) {
+ return super.toString();
+ }
StringBuffer result = new StringBuffer(super.toString());
result.append(" (role: ");
@@ -349,4 +385,4 @@ public class LabelVisibilityPreferenceImpl extends CommentedElementImpl implemen
return result.toString();
}
-} //LabelVisibilityPreferenceImpl
+} // LabelVisibilityPreferenceImpl
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/MutatingCanvasImpl.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/MutatingCanvasImpl.java
index a87ea2041c8..6a336965e4b 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/MutatingCanvasImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/MutatingCanvasImpl.java
@@ -25,7 +25,7 @@ import org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.MutatingCanvasImpl#getAlternateCanvases <em>Alternate Canvases</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.MutatingCanvasImpl#getAlternateCanvases <em>Alternate Canvases</em>}</li>
* </ul>
* </p>
*
@@ -37,6 +37,7 @@ public class MutatingCanvasImpl extends CommentedElementImpl implements Mutating
* The cached value of the '{@link #getAlternateCanvases() <em>Alternate Canvases</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getAlternateCanvases()
* @generated
* @ordered
@@ -46,6 +47,7 @@ public class MutatingCanvasImpl extends CommentedElementImpl implements Mutating
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected MutatingCanvasImpl() {
@@ -55,6 +57,7 @@ public class MutatingCanvasImpl extends CommentedElementImpl implements Mutating
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -65,8 +68,10 @@ public class MutatingCanvasImpl extends CommentedElementImpl implements Mutating
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EList<AlternateCanvas> getAlternateCanvases() {
if (alternateCanvases == null) {
alternateCanvases = new EObjectContainmentEList<AlternateCanvas>(AlternateCanvas.class, this, PapyrusgmfgenextensionPackage.MUTATING_CANVAS__ALTERNATE_CANVASES);
@@ -77,13 +82,14 @@ public class MutatingCanvasImpl extends CommentedElementImpl implements Mutating
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.MUTATING_CANVAS__ALTERNATE_CANVASES:
- return ((InternalEList<?>)getAlternateCanvases()).basicRemove(otherEnd, msgs);
+ case PapyrusgmfgenextensionPackage.MUTATING_CANVAS__ALTERNATE_CANVASES:
+ return ((InternalEList<?>) getAlternateCanvases()).basicRemove(otherEnd, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
@@ -91,13 +97,14 @@ public class MutatingCanvasImpl extends CommentedElementImpl implements Mutating
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.MUTATING_CANVAS__ALTERNATE_CANVASES:
- return getAlternateCanvases();
+ case PapyrusgmfgenextensionPackage.MUTATING_CANVAS__ALTERNATE_CANVASES:
+ return getAlternateCanvases();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -105,16 +112,17 @@ public class MutatingCanvasImpl extends CommentedElementImpl implements Mutating
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.MUTATING_CANVAS__ALTERNATE_CANVASES:
- getAlternateCanvases().clear();
- getAlternateCanvases().addAll((Collection<? extends AlternateCanvas>)newValue);
- return;
+ case PapyrusgmfgenextensionPackage.MUTATING_CANVAS__ALTERNATE_CANVASES:
+ getAlternateCanvases().clear();
+ getAlternateCanvases().addAll((Collection<? extends AlternateCanvas>) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -122,14 +130,15 @@ public class MutatingCanvasImpl extends CommentedElementImpl implements Mutating
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.MUTATING_CANVAS__ALTERNATE_CANVASES:
- getAlternateCanvases().clear();
- return;
+ case PapyrusgmfgenextensionPackage.MUTATING_CANVAS__ALTERNATE_CANVASES:
+ getAlternateCanvases().clear();
+ return;
}
super.eUnset(featureID);
}
@@ -137,15 +146,16 @@ public class MutatingCanvasImpl extends CommentedElementImpl implements Mutating
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.MUTATING_CANVAS__ALTERNATE_CANVASES:
- return alternateCanvases != null && !alternateCanvases.isEmpty();
+ case PapyrusgmfgenextensionPackage.MUTATING_CANVAS__ALTERNATE_CANVASES:
+ return alternateCanvases != null && !alternateCanvases.isEmpty();
}
return super.eIsSet(featureID);
}
-} //MutatingCanvasImpl
+} // MutatingCanvasImpl
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/OwnedEditpartImpl.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/OwnedEditpartImpl.java
index 43b1eb8715c..8bc867cbe6c 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/OwnedEditpartImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/OwnedEditpartImpl.java
@@ -19,7 +19,7 @@ import org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.OwnedEditpartImpl#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.OwnedEditpartImpl#getName <em>Name</em>}</li>
* </ul>
* </p>
*
@@ -31,6 +31,7 @@ public class OwnedEditpartImpl extends ExternalHookImpl implements OwnedEditpart
* The default value of the '{@link #getName() <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getName()
* @generated
* @ordered
@@ -41,6 +42,7 @@ public class OwnedEditpartImpl extends ExternalHookImpl implements OwnedEditpart
* The cached value of the '{@link #getName() <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getName()
* @generated
* @ordered
@@ -50,6 +52,7 @@ public class OwnedEditpartImpl extends ExternalHookImpl implements OwnedEditpart
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected OwnedEditpartImpl() {
@@ -59,6 +62,7 @@ public class OwnedEditpartImpl extends ExternalHookImpl implements OwnedEditpart
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -69,8 +73,10 @@ public class OwnedEditpartImpl extends ExternalHookImpl implements OwnedEditpart
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public String getName() {
return name;
}
@@ -78,25 +84,29 @@ public class OwnedEditpartImpl extends ExternalHookImpl implements OwnedEditpart
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setName(String newName) {
String oldName = name;
name = newName;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, PapyrusgmfgenextensionPackage.OWNED_EDITPART__NAME, oldName, name));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.OWNED_EDITPART__NAME:
- return getName();
+ case PapyrusgmfgenextensionPackage.OWNED_EDITPART__NAME:
+ return getName();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -104,14 +114,15 @@ public class OwnedEditpartImpl extends ExternalHookImpl implements OwnedEditpart
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.OWNED_EDITPART__NAME:
- setName((String)newValue);
- return;
+ case PapyrusgmfgenextensionPackage.OWNED_EDITPART__NAME:
+ setName((String) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -119,14 +130,15 @@ public class OwnedEditpartImpl extends ExternalHookImpl implements OwnedEditpart
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.OWNED_EDITPART__NAME:
- setName(NAME_EDEFAULT);
- return;
+ case PapyrusgmfgenextensionPackage.OWNED_EDITPART__NAME:
+ setName(NAME_EDEFAULT);
+ return;
}
super.eUnset(featureID);
}
@@ -134,13 +146,14 @@ public class OwnedEditpartImpl extends ExternalHookImpl implements OwnedEditpart
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.OWNED_EDITPART__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
+ case PapyrusgmfgenextensionPackage.OWNED_EDITPART__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
}
return super.eIsSet(featureID);
}
@@ -148,11 +161,14 @@ public class OwnedEditpartImpl extends ExternalHookImpl implements OwnedEditpart
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public String toString() {
- if (eIsProxy()) return super.toString();
+ if (eIsProxy()) {
+ return super.toString();
+ }
StringBuffer result = new StringBuffer(super.toString());
result.append(" (name: ");
@@ -161,4 +177,4 @@ public class OwnedEditpartImpl extends ExternalHookImpl implements OwnedEditpart
return result.toString();
}
-} //OwnedEditpartImpl
+} // OwnedEditpartImpl
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/PapyrusExtensionRootNodeImpl.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/PapyrusExtensionRootNodeImpl.java
index 88ddda37e31..3e0b7cb709d 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/PapyrusExtensionRootNodeImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/PapyrusExtensionRootNodeImpl.java
@@ -23,7 +23,7 @@ import org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusExtensionRootNodeImpl#getExtensionNodes <em>Extension Nodes</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusExtensionRootNodeImpl#getExtensionNodes <em>Extension Nodes</em>}</li>
* </ul>
* </p>
*
@@ -34,6 +34,7 @@ public class PapyrusExtensionRootNodeImpl extends CommentedElementImpl implement
/**
* The cached value of the '{@link #getExtensionNodes() <em>Extension Nodes</em>}' containment reference list.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see #getExtensionNodes()
* @generated
* @ordered
@@ -42,6 +43,7 @@ public class PapyrusExtensionRootNodeImpl extends CommentedElementImpl implement
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
protected PapyrusExtensionRootNodeImpl() {
@@ -50,6 +52,7 @@ public class PapyrusExtensionRootNodeImpl extends CommentedElementImpl implement
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -59,8 +62,10 @@ public class PapyrusExtensionRootNodeImpl extends CommentedElementImpl implement
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EList<CommentedElement> getExtensionNodes() {
if (extensionNodes == null) {
extensionNodes = new EObjectContainmentEList<CommentedElement>(CommentedElement.class, this, PapyrusgmfgenextensionPackage.PAPYRUS_EXTENSION_ROOT_NODE__EXTENSION_NODES);
@@ -70,69 +75,74 @@ public class PapyrusExtensionRootNodeImpl extends CommentedElementImpl implement
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.PAPYRUS_EXTENSION_ROOT_NODE__EXTENSION_NODES:
- return ((InternalEList<?>)getExtensionNodes()).basicRemove(otherEnd, msgs);
+ case PapyrusgmfgenextensionPackage.PAPYRUS_EXTENSION_ROOT_NODE__EXTENSION_NODES:
+ return ((InternalEList<?>) getExtensionNodes()).basicRemove(otherEnd, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.PAPYRUS_EXTENSION_ROOT_NODE__EXTENSION_NODES:
- return getExtensionNodes();
+ case PapyrusgmfgenextensionPackage.PAPYRUS_EXTENSION_ROOT_NODE__EXTENSION_NODES:
+ return getExtensionNodes();
}
return super.eGet(featureID, resolve, coreType);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.PAPYRUS_EXTENSION_ROOT_NODE__EXTENSION_NODES:
- getExtensionNodes().clear();
- getExtensionNodes().addAll((Collection<? extends CommentedElement>)newValue);
- return;
+ case PapyrusgmfgenextensionPackage.PAPYRUS_EXTENSION_ROOT_NODE__EXTENSION_NODES:
+ getExtensionNodes().clear();
+ getExtensionNodes().addAll((Collection<? extends CommentedElement>) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.PAPYRUS_EXTENSION_ROOT_NODE__EXTENSION_NODES:
- getExtensionNodes().clear();
- return;
+ case PapyrusgmfgenextensionPackage.PAPYRUS_EXTENSION_ROOT_NODE__EXTENSION_NODES:
+ getExtensionNodes().clear();
+ return;
}
super.eUnset(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.PAPYRUS_EXTENSION_ROOT_NODE__EXTENSION_NODES:
- return extensionNodes != null && !extensionNodes.isEmpty();
+ case PapyrusgmfgenextensionPackage.PAPYRUS_EXTENSION_ROOT_NODE__EXTENSION_NODES:
+ return extensionNodes != null && !extensionNodes.isEmpty();
}
return super.eIsSet(featureID);
}
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/PapyrusgmfgenextensionFactoryImpl.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/PapyrusgmfgenextensionFactoryImpl.java
index a689931fed0..7ee438fec82 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/PapyrusgmfgenextensionFactoryImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/PapyrusgmfgenextensionFactoryImpl.java
@@ -35,6 +35,7 @@ import org.eclipse.papyrus.papyrusgmfgenextension.SpecificLocatorExternalLabel;
* <!-- begin-user-doc -->
* An implementation of the model <b>Factory</b>.
* <!-- end-user-doc -->
+ *
* @generated
*/
public class PapyrusgmfgenextensionFactoryImpl extends EFactoryImpl implements PapyrusgmfgenextensionFactory {
@@ -43,16 +44,16 @@ public class PapyrusgmfgenextensionFactoryImpl extends EFactoryImpl implements P
* Creates the default factory implementation.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public static PapyrusgmfgenextensionFactory init() {
try {
- PapyrusgmfgenextensionFactory thePapyrusgmfgenextensionFactory = (PapyrusgmfgenextensionFactory)EPackage.Registry.INSTANCE.getEFactory(PapyrusgmfgenextensionPackage.eNS_URI);
+ PapyrusgmfgenextensionFactory thePapyrusgmfgenextensionFactory = (PapyrusgmfgenextensionFactory) EPackage.Registry.INSTANCE.getEFactory(PapyrusgmfgenextensionPackage.eNS_URI);
if (thePapyrusgmfgenextensionFactory != null) {
return thePapyrusgmfgenextensionFactory;
}
- }
- catch (Exception exception) {
+ } catch (Exception exception) {
EcorePlugin.INSTANCE.log(exception);
}
return new PapyrusgmfgenextensionFactoryImpl();
@@ -62,6 +63,7 @@ public class PapyrusgmfgenextensionFactoryImpl extends EFactoryImpl implements P
* Creates an instance of the factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public PapyrusgmfgenextensionFactoryImpl() {
@@ -71,46 +73,74 @@ public class PapyrusgmfgenextensionFactoryImpl extends EFactoryImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public EObject create(EClass eClass) {
switch (eClass.getClassifierID()) {
- case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW: return createExtendedGenView();
- case PapyrusgmfgenextensionPackage.COMMENTED_ELEMENT: return createCommentedElement();
- case PapyrusgmfgenextensionPackage.PROPERTY_REFRESH_HOOK: return createPropertyRefreshHook();
- case PapyrusgmfgenextensionPackage.EXTERNAL_HOOK: return createExternalHook();
- case PapyrusgmfgenextensionPackage.SPECIFIC_LOCATOR: return createSpecificLocator();
- case PapyrusgmfgenextensionPackage.PAPYRUS_EXTENSION_ROOT_NODE: return createPapyrusExtensionRootNode();
- case PapyrusgmfgenextensionPackage.ALTERNATE_CANVAS: return createAlternateCanvas();
- case PapyrusgmfgenextensionPackage.ALTERNATE_GEN_TOP_LEVEL_NODE: return createAlternateGenTopLevelNode();
- case PapyrusgmfgenextensionPackage.ALTERNATE_GEN_LINK: return createAlternateGenLink();
- case PapyrusgmfgenextensionPackage.MUTATING_CANVAS: return createMutatingCanvas();
- case PapyrusgmfgenextensionPackage.OWNED_EDITPART: return createOwnedEditpart();
- case PapyrusgmfgenextensionPackage.SPECIFIC_DIAGRAM_UPDATER: return createSpecificDiagramUpdater();
- case PapyrusgmfgenextensionPackage.GEN_NODE_CONSTRAINT: return createGenNodeConstraint();
- case PapyrusgmfgenextensionPackage.SPECIFIC_LOCATOR_EXTERNAL_LABEL: return createSpecificLocatorExternalLabel();
- case PapyrusgmfgenextensionPackage.ADDITIONAL_EDIT_PART_CANDIES: return createAdditionalEditPartCandies();
- case PapyrusgmfgenextensionPackage.EDIT_PART_USING_DELETE_SERVICE: return createEditPartUsingDeleteService();
- case PapyrusgmfgenextensionPackage.EDIT_PART_USING_REORIENT_SERVICE: return createEditPartUsingReorientService();
- case PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE: return createLabelVisibilityPreference();
- case PapyrusgmfgenextensionPackage.COMPARTMENT_VISIBILITY_PREFERENCE: return createCompartmentVisibilityPreference();
- case PapyrusgmfgenextensionPackage.COMPARTMENT_TITLE_VISIBILITY_PREFERENCE: return createCompartmentTitleVisibilityPreference();
- case PapyrusgmfgenextensionPackage.CONSTRAINED_BY_REFERENCE_COMPARTMENT_ITEM_SEMANTIC_EDIT_POLICY: return createConstrainedByReferenceCompartmentItemSemanticEditPolicy();
- case PapyrusgmfgenextensionPackage.EXTERNAL_ELEMENT_TYPES_LIBRARY: return createExternalElementTypesLibrary();
- case PapyrusgmfgenextensionPackage.EXTERNAL_METAMODEL_TYPE: return createExternalMetamodelType();
- case PapyrusgmfgenextensionPackage.GENERATE_USING_ELEMENT_TYPE_CREATION_COMMAND: return createGenerateUsingElementTypeCreationCommand();
- case PapyrusgmfgenextensionPackage.CUSTOM_DIAGRAM_UPDATER_SINGLETON: return createCustomDiagramUpdaterSingleton();
- default:
- throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
+ case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW:
+ return createExtendedGenView();
+ case PapyrusgmfgenextensionPackage.COMMENTED_ELEMENT:
+ return createCommentedElement();
+ case PapyrusgmfgenextensionPackage.PROPERTY_REFRESH_HOOK:
+ return createPropertyRefreshHook();
+ case PapyrusgmfgenextensionPackage.EXTERNAL_HOOK:
+ return createExternalHook();
+ case PapyrusgmfgenextensionPackage.SPECIFIC_LOCATOR:
+ return createSpecificLocator();
+ case PapyrusgmfgenextensionPackage.PAPYRUS_EXTENSION_ROOT_NODE:
+ return createPapyrusExtensionRootNode();
+ case PapyrusgmfgenextensionPackage.ALTERNATE_CANVAS:
+ return createAlternateCanvas();
+ case PapyrusgmfgenextensionPackage.ALTERNATE_GEN_TOP_LEVEL_NODE:
+ return createAlternateGenTopLevelNode();
+ case PapyrusgmfgenextensionPackage.ALTERNATE_GEN_LINK:
+ return createAlternateGenLink();
+ case PapyrusgmfgenextensionPackage.MUTATING_CANVAS:
+ return createMutatingCanvas();
+ case PapyrusgmfgenextensionPackage.OWNED_EDITPART:
+ return createOwnedEditpart();
+ case PapyrusgmfgenextensionPackage.SPECIFIC_DIAGRAM_UPDATER:
+ return createSpecificDiagramUpdater();
+ case PapyrusgmfgenextensionPackage.GEN_NODE_CONSTRAINT:
+ return createGenNodeConstraint();
+ case PapyrusgmfgenextensionPackage.SPECIFIC_LOCATOR_EXTERNAL_LABEL:
+ return createSpecificLocatorExternalLabel();
+ case PapyrusgmfgenextensionPackage.ADDITIONAL_EDIT_PART_CANDIES:
+ return createAdditionalEditPartCandies();
+ case PapyrusgmfgenextensionPackage.EDIT_PART_USING_DELETE_SERVICE:
+ return createEditPartUsingDeleteService();
+ case PapyrusgmfgenextensionPackage.EDIT_PART_USING_REORIENT_SERVICE:
+ return createEditPartUsingReorientService();
+ case PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE:
+ return createLabelVisibilityPreference();
+ case PapyrusgmfgenextensionPackage.COMPARTMENT_VISIBILITY_PREFERENCE:
+ return createCompartmentVisibilityPreference();
+ case PapyrusgmfgenextensionPackage.COMPARTMENT_TITLE_VISIBILITY_PREFERENCE:
+ return createCompartmentTitleVisibilityPreference();
+ case PapyrusgmfgenextensionPackage.CONSTRAINED_BY_REFERENCE_COMPARTMENT_ITEM_SEMANTIC_EDIT_POLICY:
+ return createConstrainedByReferenceCompartmentItemSemanticEditPolicy();
+ case PapyrusgmfgenextensionPackage.EXTERNAL_ELEMENT_TYPES_LIBRARY:
+ return createExternalElementTypesLibrary();
+ case PapyrusgmfgenextensionPackage.EXTERNAL_METAMODEL_TYPE:
+ return createExternalMetamodelType();
+ case PapyrusgmfgenextensionPackage.GENERATE_USING_ELEMENT_TYPE_CREATION_COMMAND:
+ return createGenerateUsingElementTypeCreationCommand();
+ case PapyrusgmfgenextensionPackage.CUSTOM_DIAGRAM_UPDATER_SINGLETON:
+ return createCustomDiagramUpdaterSingleton();
+ default:
+ throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
}
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public ExtendedGenView createExtendedGenView() {
ExtendedGenViewImpl extendedGenView = new ExtendedGenViewImpl();
return extendedGenView;
@@ -119,8 +149,10 @@ public class PapyrusgmfgenextensionFactoryImpl extends EFactoryImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public CommentedElement createCommentedElement() {
CommentedElementImpl commentedElement = new CommentedElementImpl();
return commentedElement;
@@ -129,8 +161,10 @@ public class PapyrusgmfgenextensionFactoryImpl extends EFactoryImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public PropertyRefreshHook createPropertyRefreshHook() {
PropertyRefreshHookImpl propertyRefreshHook = new PropertyRefreshHookImpl();
return propertyRefreshHook;
@@ -139,8 +173,10 @@ public class PapyrusgmfgenextensionFactoryImpl extends EFactoryImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public ExternalHook createExternalHook() {
ExternalHookImpl externalHook = new ExternalHookImpl();
return externalHook;
@@ -149,8 +185,10 @@ public class PapyrusgmfgenextensionFactoryImpl extends EFactoryImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public SpecificLocator createSpecificLocator() {
SpecificLocatorImpl specificLocator = new SpecificLocatorImpl();
return specificLocator;
@@ -159,8 +197,10 @@ public class PapyrusgmfgenextensionFactoryImpl extends EFactoryImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public PapyrusExtensionRootNode createPapyrusExtensionRootNode() {
PapyrusExtensionRootNodeImpl papyrusExtensionRootNode = new PapyrusExtensionRootNodeImpl();
return papyrusExtensionRootNode;
@@ -169,8 +209,10 @@ public class PapyrusgmfgenextensionFactoryImpl extends EFactoryImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public AlternateCanvas createAlternateCanvas() {
AlternateCanvasImpl alternateCanvas = new AlternateCanvasImpl();
return alternateCanvas;
@@ -179,8 +221,10 @@ public class PapyrusgmfgenextensionFactoryImpl extends EFactoryImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public AlternateGenTopLevelNode createAlternateGenTopLevelNode() {
AlternateGenTopLevelNodeImpl alternateGenTopLevelNode = new AlternateGenTopLevelNodeImpl();
return alternateGenTopLevelNode;
@@ -189,8 +233,10 @@ public class PapyrusgmfgenextensionFactoryImpl extends EFactoryImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public AlternateGenLink createAlternateGenLink() {
AlternateGenLinkImpl alternateGenLink = new AlternateGenLinkImpl();
return alternateGenLink;
@@ -199,8 +245,10 @@ public class PapyrusgmfgenextensionFactoryImpl extends EFactoryImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public MutatingCanvas createMutatingCanvas() {
MutatingCanvasImpl mutatingCanvas = new MutatingCanvasImpl();
return mutatingCanvas;
@@ -209,8 +257,10 @@ public class PapyrusgmfgenextensionFactoryImpl extends EFactoryImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public OwnedEditpart createOwnedEditpart() {
OwnedEditpartImpl ownedEditpart = new OwnedEditpartImpl();
return ownedEditpart;
@@ -219,8 +269,10 @@ public class PapyrusgmfgenextensionFactoryImpl extends EFactoryImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public SpecificDiagramUpdater createSpecificDiagramUpdater() {
SpecificDiagramUpdaterImpl specificDiagramUpdater = new SpecificDiagramUpdaterImpl();
return specificDiagramUpdater;
@@ -229,8 +281,10 @@ public class PapyrusgmfgenextensionFactoryImpl extends EFactoryImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public GenNodeConstraint createGenNodeConstraint() {
GenNodeConstraintImpl genNodeConstraint = new GenNodeConstraintImpl();
return genNodeConstraint;
@@ -239,8 +293,10 @@ public class PapyrusgmfgenextensionFactoryImpl extends EFactoryImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public SpecificLocatorExternalLabel createSpecificLocatorExternalLabel() {
SpecificLocatorExternalLabelImpl specificLocatorExternalLabel = new SpecificLocatorExternalLabelImpl();
return specificLocatorExternalLabel;
@@ -249,8 +305,10 @@ public class PapyrusgmfgenextensionFactoryImpl extends EFactoryImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public AdditionalEditPartCandies createAdditionalEditPartCandies() {
AdditionalEditPartCandiesImpl additionalEditPartCandies = new AdditionalEditPartCandiesImpl();
return additionalEditPartCandies;
@@ -259,8 +317,10 @@ public class PapyrusgmfgenextensionFactoryImpl extends EFactoryImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EditPartUsingDeleteService createEditPartUsingDeleteService() {
EditPartUsingDeleteServiceImpl editPartUsingDeleteService = new EditPartUsingDeleteServiceImpl();
return editPartUsingDeleteService;
@@ -269,8 +329,10 @@ public class PapyrusgmfgenextensionFactoryImpl extends EFactoryImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EditPartUsingReorientService createEditPartUsingReorientService() {
EditPartUsingReorientServiceImpl editPartUsingReorientService = new EditPartUsingReorientServiceImpl();
return editPartUsingReorientService;
@@ -279,8 +341,10 @@ public class PapyrusgmfgenextensionFactoryImpl extends EFactoryImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public LabelVisibilityPreference createLabelVisibilityPreference() {
LabelVisibilityPreferenceImpl labelVisibilityPreference = new LabelVisibilityPreferenceImpl();
return labelVisibilityPreference;
@@ -289,8 +353,10 @@ public class PapyrusgmfgenextensionFactoryImpl extends EFactoryImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public CompartmentVisibilityPreference createCompartmentVisibilityPreference() {
CompartmentVisibilityPreferenceImpl compartmentVisibilityPreference = new CompartmentVisibilityPreferenceImpl();
return compartmentVisibilityPreference;
@@ -299,8 +365,10 @@ public class PapyrusgmfgenextensionFactoryImpl extends EFactoryImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public CompartmentTitleVisibilityPreference createCompartmentTitleVisibilityPreference() {
CompartmentTitleVisibilityPreferenceImpl compartmentTitleVisibilityPreference = new CompartmentTitleVisibilityPreferenceImpl();
return compartmentTitleVisibilityPreference;
@@ -309,8 +377,10 @@ public class PapyrusgmfgenextensionFactoryImpl extends EFactoryImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public ConstrainedByReferenceCompartmentItemSemanticEditPolicy createConstrainedByReferenceCompartmentItemSemanticEditPolicy() {
ConstrainedByReferenceCompartmentItemSemanticEditPolicyImpl constrainedByReferenceCompartmentItemSemanticEditPolicy = new ConstrainedByReferenceCompartmentItemSemanticEditPolicyImpl();
return constrainedByReferenceCompartmentItemSemanticEditPolicy;
@@ -319,8 +389,10 @@ public class PapyrusgmfgenextensionFactoryImpl extends EFactoryImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public ExternalElementTypesLibrary createExternalElementTypesLibrary() {
ExternalElementTypesLibraryImpl externalElementTypesLibrary = new ExternalElementTypesLibraryImpl();
return externalElementTypesLibrary;
@@ -329,8 +401,10 @@ public class PapyrusgmfgenextensionFactoryImpl extends EFactoryImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public ExternalMetamodelType createExternalMetamodelType() {
ExternalMetamodelTypeImpl externalMetamodelType = new ExternalMetamodelTypeImpl();
return externalMetamodelType;
@@ -339,8 +413,10 @@ public class PapyrusgmfgenextensionFactoryImpl extends EFactoryImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public GenerateUsingElementTypeCreationCommand createGenerateUsingElementTypeCreationCommand() {
GenerateUsingElementTypeCreationCommandImpl generateUsingElementTypeCreationCommand = new GenerateUsingElementTypeCreationCommandImpl();
return generateUsingElementTypeCreationCommand;
@@ -349,8 +425,10 @@ public class PapyrusgmfgenextensionFactoryImpl extends EFactoryImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public CustomDiagramUpdaterSingleton createCustomDiagramUpdaterSingleton() {
CustomDiagramUpdaterSingletonImpl customDiagramUpdaterSingleton = new CustomDiagramUpdaterSingletonImpl();
return customDiagramUpdaterSingleton;
@@ -359,15 +437,18 @@ public class PapyrusgmfgenextensionFactoryImpl extends EFactoryImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public PapyrusgmfgenextensionPackage getPapyrusgmfgenextensionPackage() {
- return (PapyrusgmfgenextensionPackage)getEPackage();
+ return (PapyrusgmfgenextensionPackage) getEPackage();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @deprecated
* @generated
*/
@@ -376,4 +457,4 @@ public class PapyrusgmfgenextensionFactoryImpl extends EFactoryImpl implements P
return PapyrusgmfgenextensionPackage.eINSTANCE;
}
-} //PapyrusgmfgenextensionFactoryImpl
+} // PapyrusgmfgenextensionFactoryImpl
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/PapyrusgmfgenextensionPackageImpl.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/PapyrusgmfgenextensionPackageImpl.java
index 68b8008cbe3..c34248edf74 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/PapyrusgmfgenextensionPackageImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/PapyrusgmfgenextensionPackageImpl.java
@@ -45,72 +45,84 @@ import org.eclipse.papyrus.papyrusgmfgenextension.SpecificLocatorExternalLabel;
/**
* <!-- begin-user-doc --> An implementation of the model <b>Package</b>. <!-- end-user-doc -->
+ *
* @generated
*/
public class PapyrusgmfgenextensionPackageImpl extends EPackageImpl implements PapyrusgmfgenextensionPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
private EClass extendedGenViewEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
private EClass commentedElementEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
private EClass propertyRefreshHookEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
private EClass externalHookEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
private EClass specificLocatorEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
private EClass papyrusExtensionRootNodeEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
private EClass alternateCanvasEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
private EClass alternateGenTopLevelNodeEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
private EClass alternateGenLinkEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
private EClass mutatingCanvasEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
private EClass ownedEditpartEClass = null;
@@ -118,6 +130,7 @@ public class PapyrusgmfgenextensionPackageImpl extends EPackageImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass specificDiagramUpdaterEClass = null;
@@ -125,6 +138,7 @@ public class PapyrusgmfgenextensionPackageImpl extends EPackageImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass genNodeConstraintEClass = null;
@@ -132,6 +146,7 @@ public class PapyrusgmfgenextensionPackageImpl extends EPackageImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass specificLocatorExternalLabelEClass = null;
@@ -139,6 +154,7 @@ public class PapyrusgmfgenextensionPackageImpl extends EPackageImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass additionalEditPartCandiesEClass = null;
@@ -146,6 +162,7 @@ public class PapyrusgmfgenextensionPackageImpl extends EPackageImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass editPartUsingDeleteServiceEClass = null;
@@ -153,6 +170,7 @@ public class PapyrusgmfgenextensionPackageImpl extends EPackageImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass editPartUsingReorientServiceEClass = null;
@@ -160,6 +178,7 @@ public class PapyrusgmfgenextensionPackageImpl extends EPackageImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass labelVisibilityPreferenceEClass = null;
@@ -167,6 +186,7 @@ public class PapyrusgmfgenextensionPackageImpl extends EPackageImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass compartmentVisibilityPreferenceEClass = null;
@@ -174,6 +194,7 @@ public class PapyrusgmfgenextensionPackageImpl extends EPackageImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass compartmentTitleVisibilityPreferenceEClass = null;
@@ -181,6 +202,7 @@ public class PapyrusgmfgenextensionPackageImpl extends EPackageImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass constrainedByReferenceCompartmentItemSemanticEditPolicyEClass = null;
@@ -188,6 +210,7 @@ public class PapyrusgmfgenextensionPackageImpl extends EPackageImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass externalElementTypesLibraryEClass = null;
@@ -195,6 +218,7 @@ public class PapyrusgmfgenextensionPackageImpl extends EPackageImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass externalMetamodelTypeEClass = null;
@@ -202,6 +226,7 @@ public class PapyrusgmfgenextensionPackageImpl extends EPackageImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass generateUsingElementTypeCreationCommandEClass = null;
@@ -209,19 +234,17 @@ public class PapyrusgmfgenextensionPackageImpl extends EPackageImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass customDiagramUpdaterSingletonEClass = null;
/**
- * Creates an instance of the model <b>Package</b>, registered with
- * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
+ * Creates an instance of the model <b>Package</b>, registered with {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
* package URI value.
- * <p>Note: the correct way to create the package is via the static
- * factory method {@link #init init()}, which also performs
- * initialization of the package, or returns the registered package,
- * if one already exists.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * <p>
+ * Note: the correct way to create the package is via the static factory method {@link #init init()}, which also performs initialization of the package, or returns the registered package, if one already exists. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see org.eclipse.emf.ecore.EPackage.Registry
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#eNS_URI
* @see #init()
@@ -233,26 +256,31 @@ public class PapyrusgmfgenextensionPackageImpl extends EPackageImpl implements P
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
private static boolean isInited = false;
/**
* Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
+ *
+ * <p>
+ * This method is used to initialize {@link PapyrusgmfgenextensionPackage#eINSTANCE} when that field is accessed. Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
*
- * <p>This method is used to initialize {@link PapyrusgmfgenextensionPackage#eINSTANCE} when that field is accessed.
- * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #eNS_URI
* @see #createPackageContents()
* @see #initializePackageContents()
* @generated
*/
public static PapyrusgmfgenextensionPackage init() {
- if (isInited) return (PapyrusgmfgenextensionPackage)EPackage.Registry.INSTANCE.getEPackage(PapyrusgmfgenextensionPackage.eNS_URI);
+ if (isInited) {
+ return (PapyrusgmfgenextensionPackage) EPackage.Registry.INSTANCE.getEPackage(PapyrusgmfgenextensionPackage.eNS_URI);
+ }
// Obtain or create and register package
- PapyrusgmfgenextensionPackageImpl thePapyrusgmfgenextensionPackage = (PapyrusgmfgenextensionPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof PapyrusgmfgenextensionPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new PapyrusgmfgenextensionPackageImpl());
+ PapyrusgmfgenextensionPackageImpl thePapyrusgmfgenextensionPackage = (PapyrusgmfgenextensionPackageImpl) (EPackage.Registry.INSTANCE.get(eNS_URI) instanceof PapyrusgmfgenextensionPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI)
+ : new PapyrusgmfgenextensionPackageImpl());
isInited = true;
@@ -269,7 +297,7 @@ public class PapyrusgmfgenextensionPackageImpl extends EPackageImpl implements P
// Mark meta-data to indicate it can't be changed
thePapyrusgmfgenextensionPackage.freeze();
-
+
// Update the registry and return the package
EPackage.Registry.INSTANCE.put(PapyrusgmfgenextensionPackage.eNS_URI, thePapyrusgmfgenextensionPackage);
return thePapyrusgmfgenextensionPackage;
@@ -277,273 +305,341 @@ public class PapyrusgmfgenextensionPackageImpl extends EPackageImpl implements P
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getExtendedGenView() {
return extendedGenViewEClass;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getExtendedGenView_GenView() {
- return (EReference)extendedGenViewEClass.getEStructuralFeatures().get(0);
+ return (EReference) extendedGenViewEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EAttribute getExtendedGenView_IsAbstract() {
- return (EAttribute)extendedGenViewEClass.getEStructuralFeatures().get(1);
+ return (EAttribute) extendedGenViewEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getExtendedGenView_SuperGenViews() {
- return (EReference)extendedGenViewEClass.getEStructuralFeatures().get(2);
+ return (EReference) extendedGenViewEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getExtendedGenView_PropRefreshHook() {
- return (EReference)extendedGenViewEClass.getEStructuralFeatures().get(3);
+ return (EReference) extendedGenViewEClass.getEStructuralFeatures().get(3);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EAttribute getExtendedGenView_Name() {
- return (EAttribute)extendedGenViewEClass.getEStructuralFeatures().get(4);
+ return (EAttribute) extendedGenViewEClass.getEStructuralFeatures().get(4);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EAttribute getExtendedGenView_SuperOwnedEditPart() {
- return (EAttribute)extendedGenViewEClass.getEStructuralFeatures().get(5);
+ return (EAttribute) extendedGenViewEClass.getEStructuralFeatures().get(5);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getCommentedElement() {
return commentedElementEClass;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EAttribute getCommentedElement_Comment() {
- return (EAttribute)commentedElementEClass.getEStructuralFeatures().get(0);
+ return (EAttribute) commentedElementEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getPropertyRefreshHook() {
return propertyRefreshHookEClass;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EAttribute getPropertyRefreshHook_TriggeringCondition() {
- return (EAttribute)propertyRefreshHookEClass.getEStructuralFeatures().get(0);
+ return (EAttribute) propertyRefreshHookEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EAttribute getPropertyRefreshHook_Action() {
- return (EAttribute)propertyRefreshHookEClass.getEStructuralFeatures().get(1);
+ return (EAttribute) propertyRefreshHookEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getExternalHook() {
return externalHookEClass;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EAttribute getExternalHook_Classpath() {
- return (EAttribute)externalHookEClass.getEStructuralFeatures().get(0);
+ return (EAttribute) externalHookEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getSpecificLocator() {
return specificLocatorEClass;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getSpecificLocator_GenChildSideAffixedNode() {
- return (EReference)specificLocatorEClass.getEStructuralFeatures().get(0);
+ return (EReference) specificLocatorEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getPapyrusExtensionRootNode() {
return papyrusExtensionRootNodeEClass;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getPapyrusExtensionRootNode_ExtensionNodes() {
- return (EReference)papyrusExtensionRootNodeEClass.getEStructuralFeatures().get(0);
+ return (EReference) papyrusExtensionRootNodeEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getAlternateCanvas() {
return alternateCanvasEClass;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getAlternateCanvas_DomainDiagramElement() {
- return (EReference)alternateCanvasEClass.getEStructuralFeatures().get(0);
+ return (EReference) alternateCanvasEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getAlternateCanvas_AlternateTopLevelNodes() {
- return (EReference)alternateCanvasEClass.getEStructuralFeatures().get(1);
+ return (EReference) alternateCanvasEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getAlternateCanvas_AlternateLinkNodes() {
- return (EReference)alternateCanvasEClass.getEStructuralFeatures().get(2);
+ return (EReference) alternateCanvasEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getAlternateCanvas_Diagram() {
- return (EReference)alternateCanvasEClass.getEStructuralFeatures().get(3);
+ return (EReference) alternateCanvasEClass.getEStructuralFeatures().get(3);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getAlternateGenTopLevelNode() {
return alternateGenTopLevelNodeEClass;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getAlternateGenTopLevelNode_GenTopLevelNode() {
- return (EReference)alternateGenTopLevelNodeEClass.getEStructuralFeatures().get(0);
+ return (EReference) alternateGenTopLevelNodeEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getAlternateGenTopLevelNode_TypeModelFacet() {
- return (EReference)alternateGenTopLevelNodeEClass.getEStructuralFeatures().get(1);
+ return (EReference) alternateGenTopLevelNodeEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getAlternateGenLink() {
return alternateGenLinkEClass;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getAlternateGenLink_GenLinkNode() {
- return (EReference)alternateGenLinkEClass.getEStructuralFeatures().get(0);
+ return (EReference) alternateGenLinkEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getAlternateGenLink_TypeModelFacet() {
- return (EReference)alternateGenLinkEClass.getEStructuralFeatures().get(1);
+ return (EReference) alternateGenLinkEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getMutatingCanvas() {
return mutatingCanvasEClass;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getMutatingCanvas_AlternateCanvases() {
- return (EReference)mutatingCanvasEClass.getEStructuralFeatures().get(0);
+ return (EReference) mutatingCanvasEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getOwnedEditpart() {
return ownedEditpartEClass;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EAttribute getOwnedEditpart_Name() {
- return (EAttribute)ownedEditpartEClass.getEStructuralFeatures().get(0);
+ return (EAttribute) ownedEditpartEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getSpecificDiagramUpdater() {
return specificDiagramUpdaterEClass;
}
@@ -551,17 +647,21 @@ public class PapyrusgmfgenextensionPackageImpl extends EPackageImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getSpecificDiagramUpdater_GenNode() {
- return (EReference)specificDiagramUpdaterEClass.getEStructuralFeatures().get(0);
+ return (EReference) specificDiagramUpdaterEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getGenNodeConstraint() {
return genNodeConstraintEClass;
}
@@ -569,26 +669,32 @@ public class PapyrusgmfgenextensionPackageImpl extends EPackageImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getGenNodeConstraint_GenNode() {
- return (EReference)genNodeConstraintEClass.getEStructuralFeatures().get(0);
+ return (EReference) genNodeConstraintEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getGenNodeConstraint_GenConstraint() {
- return (EReference)genNodeConstraintEClass.getEStructuralFeatures().get(1);
+ return (EReference) genNodeConstraintEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getSpecificLocatorExternalLabel() {
return specificLocatorExternalLabelEClass;
}
@@ -596,17 +702,21 @@ public class PapyrusgmfgenextensionPackageImpl extends EPackageImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getSpecificLocatorExternalLabel_GenExternalNodeLabel() {
- return (EReference)specificLocatorExternalLabelEClass.getEStructuralFeatures().get(0);
+ return (EReference) specificLocatorExternalLabelEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getAdditionalEditPartCandies() {
return additionalEditPartCandiesEClass;
}
@@ -614,17 +724,21 @@ public class PapyrusgmfgenextensionPackageImpl extends EPackageImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EAttribute getAdditionalEditPartCandies_BaseEditHelperPackage() {
- return (EAttribute)additionalEditPartCandiesEClass.getEStructuralFeatures().get(0);
+ return (EAttribute) additionalEditPartCandiesEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getEditPartUsingDeleteService() {
return editPartUsingDeleteServiceEClass;
}
@@ -632,26 +746,32 @@ public class PapyrusgmfgenextensionPackageImpl extends EPackageImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EAttribute getEditPartUsingDeleteService_Name() {
- return (EAttribute)editPartUsingDeleteServiceEClass.getEStructuralFeatures().get(0);
+ return (EAttribute) editPartUsingDeleteServiceEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getEditPartUsingDeleteService_GenView() {
- return (EReference)editPartUsingDeleteServiceEClass.getEStructuralFeatures().get(1);
+ return (EReference) editPartUsingDeleteServiceEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getEditPartUsingReorientService() {
return editPartUsingReorientServiceEClass;
}
@@ -659,26 +779,32 @@ public class PapyrusgmfgenextensionPackageImpl extends EPackageImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EAttribute getEditPartUsingReorientService_Name() {
- return (EAttribute)editPartUsingReorientServiceEClass.getEStructuralFeatures().get(0);
+ return (EAttribute) editPartUsingReorientServiceEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getEditPartUsingReorientService_GenView() {
- return (EReference)editPartUsingReorientServiceEClass.getEStructuralFeatures().get(1);
+ return (EReference) editPartUsingReorientServiceEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getLabelVisibilityPreference() {
return labelVisibilityPreferenceEClass;
}
@@ -686,53 +812,65 @@ public class PapyrusgmfgenextensionPackageImpl extends EPackageImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EAttribute getLabelVisibilityPreference_Role() {
- return (EAttribute)labelVisibilityPreferenceEClass.getEStructuralFeatures().get(0);
+ return (EAttribute) labelVisibilityPreferenceEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EAttribute getLabelVisibilityPreference_IconPathRole() {
- return (EAttribute)labelVisibilityPreferenceEClass.getEStructuralFeatures().get(1);
+ return (EAttribute) labelVisibilityPreferenceEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getLabelVisibilityPreference_LinkLabels() {
- return (EReference)labelVisibilityPreferenceEClass.getEStructuralFeatures().get(2);
+ return (EReference) labelVisibilityPreferenceEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getLabelVisibilityPreference_ExternalNodeLabels() {
- return (EReference)labelVisibilityPreferenceEClass.getEStructuralFeatures().get(3);
+ return (EReference) labelVisibilityPreferenceEClass.getEStructuralFeatures().get(3);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EAttribute getLabelVisibilityPreference_VisibleByDefault() {
- return (EAttribute)labelVisibilityPreferenceEClass.getEStructuralFeatures().get(4);
+ return (EAttribute) labelVisibilityPreferenceEClass.getEStructuralFeatures().get(4);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getCompartmentVisibilityPreference() {
return compartmentVisibilityPreferenceEClass;
}
@@ -740,26 +878,32 @@ public class PapyrusgmfgenextensionPackageImpl extends EPackageImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EAttribute getCompartmentVisibilityPreference_VisibleByDefault() {
- return (EAttribute)compartmentVisibilityPreferenceEClass.getEStructuralFeatures().get(0);
+ return (EAttribute) compartmentVisibilityPreferenceEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getCompartmentVisibilityPreference_Compartments() {
- return (EReference)compartmentVisibilityPreferenceEClass.getEStructuralFeatures().get(1);
+ return (EReference) compartmentVisibilityPreferenceEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getCompartmentTitleVisibilityPreference() {
return compartmentTitleVisibilityPreferenceEClass;
}
@@ -767,26 +911,32 @@ public class PapyrusgmfgenextensionPackageImpl extends EPackageImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EAttribute getCompartmentTitleVisibilityPreference_VisibleByDefault() {
- return (EAttribute)compartmentTitleVisibilityPreferenceEClass.getEStructuralFeatures().get(0);
+ return (EAttribute) compartmentTitleVisibilityPreferenceEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getCompartmentTitleVisibilityPreference_Compartments() {
- return (EReference)compartmentTitleVisibilityPreferenceEClass.getEStructuralFeatures().get(1);
+ return (EReference) compartmentTitleVisibilityPreferenceEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getConstrainedByReferenceCompartmentItemSemanticEditPolicy() {
return constrainedByReferenceCompartmentItemSemanticEditPolicyEClass;
}
@@ -794,17 +944,21 @@ public class PapyrusgmfgenextensionPackageImpl extends EPackageImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getConstrainedByReferenceCompartmentItemSemanticEditPolicy_GenView() {
- return (EReference)constrainedByReferenceCompartmentItemSemanticEditPolicyEClass.getEStructuralFeatures().get(0);
+ return (EReference) constrainedByReferenceCompartmentItemSemanticEditPolicyEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getExternalElementTypesLibrary() {
return externalElementTypesLibraryEClass;
}
@@ -812,8 +966,10 @@ public class PapyrusgmfgenextensionPackageImpl extends EPackageImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getExternalMetamodelType() {
return externalMetamodelTypeEClass;
}
@@ -821,17 +977,21 @@ public class PapyrusgmfgenextensionPackageImpl extends EPackageImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getExternalMetamodelType_ElementTypeRef() {
- return (EReference)externalMetamodelTypeEClass.getEStructuralFeatures().get(0);
+ return (EReference) externalMetamodelTypeEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getGenerateUsingElementTypeCreationCommand() {
return generateUsingElementTypeCreationCommandEClass;
}
@@ -839,8 +999,10 @@ public class PapyrusgmfgenextensionPackageImpl extends EPackageImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getCustomDiagramUpdaterSingleton() {
return customDiagramUpdaterSingletonEClass;
}
@@ -848,34 +1010,42 @@ public class PapyrusgmfgenextensionPackageImpl extends EPackageImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EAttribute getCustomDiagramUpdaterSingleton_SingletonPath() {
- return (EAttribute)customDiagramUpdaterSingletonEClass.getEStructuralFeatures().get(0);
+ return (EAttribute) customDiagramUpdaterSingletonEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public PapyrusgmfgenextensionFactory getPapyrusgmfgenextensionFactory() {
- return (PapyrusgmfgenextensionFactory)getEFactoryInstance();
+ return (PapyrusgmfgenextensionFactory) getEFactoryInstance();
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
private boolean isCreated = false;
/**
- * Creates the meta-model objects for the package. This method is
+ * Creates the meta-model objects for the package. This method is
* guarded to have no affect on any invocation but its first.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public void createPackageContents() {
- if (isCreated) return;
+ if (isCreated) {
+ return;
+ }
isCreated = true;
// Create classes and their features
@@ -975,18 +1145,22 @@ public class PapyrusgmfgenextensionPackageImpl extends EPackageImpl implements P
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
private boolean isInitialized = false;
/**
- * Complete the initialization of the package and its meta-model. This
+ * Complete the initialization of the package and its meta-model. This
* method is guarded to have no affect on any invocation but its first.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public void initializePackageContents() {
- if (isInitialized) return;
+ if (isInitialized) {
+ return;
+ }
isInitialized = true;
// Initialize package
@@ -995,10 +1169,10 @@ public class PapyrusgmfgenextensionPackageImpl extends EPackageImpl implements P
setNsURI(eNS_URI);
// Obtain other dependent packages
- GMFGenPackage theGMFGenPackage = (GMFGenPackage)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI);
- EcorePackage theEcorePackage = (EcorePackage)EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI);
- GenModelPackage theGenModelPackage = (GenModelPackage)EPackage.Registry.INSTANCE.getEPackage(GenModelPackage.eNS_URI);
- DomaincontextcodegenPackage theDomaincontextcodegenPackage = (DomaincontextcodegenPackage)EPackage.Registry.INSTANCE.getEPackage(DomaincontextcodegenPackage.eNS_URI);
+ GMFGenPackage theGMFGenPackage = (GMFGenPackage) EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI);
+ EcorePackage theEcorePackage = (EcorePackage) EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI);
+ GenModelPackage theGenModelPackage = (GenModelPackage) EPackage.Registry.INSTANCE.getEPackage(GenModelPackage.eNS_URI);
+ DomaincontextcodegenPackage theDomaincontextcodegenPackage = (DomaincontextcodegenPackage) EPackage.Registry.INSTANCE.getEPackage(DomaincontextcodegenPackage.eNS_URI);
// Create type parameters
@@ -1033,10 +1207,13 @@ public class PapyrusgmfgenextensionPackageImpl extends EPackageImpl implements P
// Initialize classes and features; add operations and parameters
initEClass(extendedGenViewEClass, ExtendedGenView.class, "ExtendedGenView", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getExtendedGenView_GenView(), theGMFGenPackage.getGenCommonBase(), null, "genView", null, 1, -1, ExtendedGenView.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getExtendedGenView_GenView(), theGMFGenPackage.getGenCommonBase(), null, "genView", null, 1, -1, ExtendedGenView.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE,
+ !IS_DERIVED, !IS_ORDERED);
initEAttribute(getExtendedGenView_IsAbstract(), ecorePackage.getEBoolean(), "isAbstract", null, 1, 1, ExtendedGenView.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEReference(getExtendedGenView_SuperGenViews(), theGMFGenPackage.getGenCommonBase(), null, "superGenViews", null, 0, -1, ExtendedGenView.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEReference(getExtendedGenView_PropRefreshHook(), this.getPropertyRefreshHook(), null, "propRefreshHook", null, 0, 1, ExtendedGenView.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getExtendedGenView_SuperGenViews(), theGMFGenPackage.getGenCommonBase(), null, "superGenViews", null, 0, -1, ExtendedGenView.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
+ !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getExtendedGenView_PropRefreshHook(), this.getPropertyRefreshHook(), null, "propRefreshHook", null, 0, 1, ExtendedGenView.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE,
+ !IS_DERIVED, !IS_ORDERED);
initEAttribute(getExtendedGenView_Name(), theEcorePackage.getEString(), "name", null, 0, 1, ExtendedGenView.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getExtendedGenView_SuperOwnedEditPart(), theEcorePackage.getEString(), "superOwnedEditPart", null, 0, 1, ExtendedGenView.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
@@ -1044,86 +1221,116 @@ public class PapyrusgmfgenextensionPackageImpl extends EPackageImpl implements P
initEAttribute(getCommentedElement_Comment(), ecorePackage.getEString(), "comment", null, 1, 1, CommentedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
initEClass(propertyRefreshHookEClass, PropertyRefreshHook.class, "PropertyRefreshHook", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getPropertyRefreshHook_TriggeringCondition(), ecorePackage.getEString(), "triggeringCondition", null, 1, 1, PropertyRefreshHook.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEAttribute(getPropertyRefreshHook_TriggeringCondition(), ecorePackage.getEString(), "triggeringCondition", null, 1, 1, PropertyRefreshHook.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED,
+ !IS_ORDERED);
initEAttribute(getPropertyRefreshHook_Action(), ecorePackage.getEString(), "action", null, 1, 1, PropertyRefreshHook.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
initEClass(externalHookEClass, ExternalHook.class, "ExternalHook", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getExternalHook_Classpath(), ecorePackage.getEString(), "classpath", null, 0, 1, ExternalHook.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
initEClass(specificLocatorEClass, SpecificLocator.class, "SpecificLocator", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getSpecificLocator_GenChildSideAffixedNode(), theGMFGenPackage.getGenChildSideAffixedNode(), null, "genChildSideAffixedNode", null, 0, -1, SpecificLocator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getSpecificLocator_GenChildSideAffixedNode(), theGMFGenPackage.getGenChildSideAffixedNode(), null, "genChildSideAffixedNode", null, 0, -1, SpecificLocator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE,
+ IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(papyrusExtensionRootNodeEClass, PapyrusExtensionRootNode.class, "PapyrusExtensionRootNode", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getPapyrusExtensionRootNode_ExtensionNodes(), this.getCommentedElement(), null, "extensionNodes", null, 0, -1, PapyrusExtensionRootNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getPapyrusExtensionRootNode_ExtensionNodes(), this.getCommentedElement(), null, "extensionNodes", null, 0, -1, PapyrusExtensionRootNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
+ !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(alternateCanvasEClass, AlternateCanvas.class, "AlternateCanvas", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getAlternateCanvas_DomainDiagramElement(), theGenModelPackage.getGenClass(), null, "domainDiagramElement", null, 1, 1, AlternateCanvas.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getAlternateCanvas_AlternateTopLevelNodes(), this.getAlternateGenTopLevelNode(), null, "alternateTopLevelNodes", null, 0, -1, AlternateCanvas.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getAlternateCanvas_AlternateLinkNodes(), this.getAlternateGenLink(), null, "alternateLinkNodes", null, 0, -1, AlternateCanvas.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getAlternateCanvas_Diagram(), theGMFGenPackage.getGenDiagram(), null, "diagram", null, 1, 1, AlternateCanvas.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getAlternateCanvas_DomainDiagramElement(), theGenModelPackage.getGenClass(), null, "domainDiagramElement", null, 1, 1, AlternateCanvas.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
+ IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getAlternateCanvas_AlternateTopLevelNodes(), this.getAlternateGenTopLevelNode(), null, "alternateTopLevelNodes", null, 0, -1, AlternateCanvas.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
+ !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getAlternateCanvas_AlternateLinkNodes(), this.getAlternateGenLink(), null, "alternateLinkNodes", null, 0, -1, AlternateCanvas.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
+ IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getAlternateCanvas_Diagram(), theGMFGenPackage.getGenDiagram(), null, "diagram", null, 1, 1, AlternateCanvas.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
+ IS_ORDERED);
initEClass(alternateGenTopLevelNodeEClass, AlternateGenTopLevelNode.class, "AlternateGenTopLevelNode", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getAlternateGenTopLevelNode_GenTopLevelNode(), theGMFGenPackage.getGenTopLevelNode(), null, "genTopLevelNode", null, 1, 1, AlternateGenTopLevelNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getAlternateGenTopLevelNode_TypeModelFacet(), theGMFGenPackage.getTypeModelFacet(), null, "typeModelFacet", null, 1, 1, AlternateGenTopLevelNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getAlternateGenTopLevelNode_GenTopLevelNode(), theGMFGenPackage.getGenTopLevelNode(), null, "genTopLevelNode", null, 1, 1, AlternateGenTopLevelNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,
+ !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getAlternateGenTopLevelNode_TypeModelFacet(), theGMFGenPackage.getTypeModelFacet(), null, "typeModelFacet", null, 1, 1, AlternateGenTopLevelNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
+ !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(alternateGenLinkEClass, AlternateGenLink.class, "AlternateGenLink", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getAlternateGenLink_GenLinkNode(), theGMFGenPackage.getGenLink(), null, "genLinkNode", null, 1, 1, AlternateGenLink.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getAlternateGenLink_TypeModelFacet(), theGMFGenPackage.getTypeModelFacet(), null, "typeModelFacet", null, 1, 1, AlternateGenLink.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getAlternateGenLink_GenLinkNode(), theGMFGenPackage.getGenLink(), null, "genLinkNode", null, 1, 1, AlternateGenLink.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEReference(getAlternateGenLink_TypeModelFacet(), theGMFGenPackage.getTypeModelFacet(), null, "typeModelFacet", null, 1, 1, AlternateGenLink.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
+ IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(mutatingCanvasEClass, MutatingCanvas.class, "MutatingCanvas", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getMutatingCanvas_AlternateCanvases(), this.getAlternateCanvas(), null, "alternateCanvases", null, 0, -1, MutatingCanvas.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getMutatingCanvas_AlternateCanvases(), this.getAlternateCanvas(), null, "alternateCanvases", null, 0, -1, MutatingCanvas.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
initEClass(ownedEditpartEClass, OwnedEditpart.class, "OwnedEditpart", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getOwnedEditpart_Name(), theEcorePackage.getEString(), "name", null, 0, 1, OwnedEditpart.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(specificDiagramUpdaterEClass, SpecificDiagramUpdater.class, "SpecificDiagramUpdater", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getSpecificDiagramUpdater_GenNode(), theGMFGenPackage.getGenCommonBase(), null, "genNode", null, 0, 1, SpecificDiagramUpdater.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getSpecificDiagramUpdater_GenNode(), theGMFGenPackage.getGenCommonBase(), null, "genNode", null, 0, 1, SpecificDiagramUpdater.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
+ IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(genNodeConstraintEClass, GenNodeConstraint.class, "GenNodeConstraint", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getGenNodeConstraint_GenNode(), theGMFGenPackage.getGenNode(), null, "genNode", null, 0, -1, GenNodeConstraint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getGenNodeConstraint_GenConstraint(), theGMFGenPackage.getGenConstraint(), null, "genConstraint", null, 0, 1, GenNodeConstraint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getGenNodeConstraint_GenNode(), theGMFGenPackage.getGenNode(), null, "genNode", null, 0, -1, GenNodeConstraint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
+ IS_ORDERED);
+ initEReference(getGenNodeConstraint_GenConstraint(), theGMFGenPackage.getGenConstraint(), null, "genConstraint", null, 0, 1, GenNodeConstraint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
+ IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(specificLocatorExternalLabelEClass, SpecificLocatorExternalLabel.class, "SpecificLocatorExternalLabel", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getSpecificLocatorExternalLabel_GenExternalNodeLabel(), theGMFGenPackage.getGenExternalNodeLabel(), null, "genExternalNodeLabel", null, 0, -1, SpecificLocatorExternalLabel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getSpecificLocatorExternalLabel_GenExternalNodeLabel(), theGMFGenPackage.getGenExternalNodeLabel(), null, "genExternalNodeLabel", null, 0, -1, SpecificLocatorExternalLabel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
+ !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(additionalEditPartCandiesEClass, AdditionalEditPartCandies.class, "AdditionalEditPartCandies", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getAdditionalEditPartCandies_BaseEditHelperPackage(), theEcorePackage.getEString(), "baseEditHelperPackage", null, 0, 1, AdditionalEditPartCandies.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getAdditionalEditPartCandies_BaseEditHelperPackage(), theEcorePackage.getEString(), "baseEditHelperPackage", null, 0, 1, AdditionalEditPartCandies.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
initEClass(editPartUsingDeleteServiceEClass, EditPartUsingDeleteService.class, "EditPartUsingDeleteService", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getEditPartUsingDeleteService_Name(), theEcorePackage.getEString(), "name", null, 0, 1, EditPartUsingDeleteService.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getEditPartUsingDeleteService_GenView(), theGMFGenPackage.getGenCommonBase(), null, "genView", null, 0, -1, EditPartUsingDeleteService.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getEditPartUsingDeleteService_GenView(), theGMFGenPackage.getGenCommonBase(), null, "genView", null, 0, -1, EditPartUsingDeleteService.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
+ !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
initEClass(editPartUsingReorientServiceEClass, EditPartUsingReorientService.class, "EditPartUsingReorientService", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getEditPartUsingReorientService_Name(), theEcorePackage.getEString(), "name", null, 0, 1, EditPartUsingReorientService.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getEditPartUsingReorientService_GenView(), theGMFGenPackage.getGenLink(), null, "genView", null, 0, -1, EditPartUsingReorientService.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getEditPartUsingReorientService_GenView(), theGMFGenPackage.getGenLink(), null, "genView", null, 0, -1, EditPartUsingReorientService.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
+ !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
initEClass(labelVisibilityPreferenceEClass, LabelVisibilityPreference.class, "LabelVisibilityPreference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getLabelVisibilityPreference_Role(), theEcorePackage.getEString(), "role", null, 1, 1, LabelVisibilityPreference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getLabelVisibilityPreference_IconPathRole(), ecorePackage.getEString(), "iconPathRole", null, 0, 1, LabelVisibilityPreference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getLabelVisibilityPreference_LinkLabels(), theGMFGenPackage.getGenLinkLabel(), null, "linkLabels", null, 0, -1, LabelVisibilityPreference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getLabelVisibilityPreference_ExternalNodeLabels(), theGMFGenPackage.getGenExternalNodeLabel(), null, "externalNodeLabels", null, 0, -1, LabelVisibilityPreference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getLabelVisibilityPreference_VisibleByDefault(), theEcorePackage.getEBoolean(), "visibleByDefault", "true", 0, 1, LabelVisibilityPreference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getLabelVisibilityPreference_LinkLabels(), theGMFGenPackage.getGenLinkLabel(), null, "linkLabels", null, 0, -1, LabelVisibilityPreference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,
+ !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getLabelVisibilityPreference_ExternalNodeLabels(), theGMFGenPackage.getGenExternalNodeLabel(), null, "externalNodeLabels", null, 0, -1, LabelVisibilityPreference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE,
+ IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getLabelVisibilityPreference_VisibleByDefault(), theEcorePackage.getEBoolean(), "visibleByDefault", "true", 0, 1, LabelVisibilityPreference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
initEClass(compartmentVisibilityPreferenceEClass, CompartmentVisibilityPreference.class, "CompartmentVisibilityPreference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getCompartmentVisibilityPreference_VisibleByDefault(), theEcorePackage.getEBoolean(), "visibleByDefault", "true", 0, 1, CompartmentVisibilityPreference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getCompartmentVisibilityPreference_Compartments(), theGMFGenPackage.getGenCompartment(), null, "compartments", null, 0, -1, CompartmentVisibilityPreference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getCompartmentVisibilityPreference_VisibleByDefault(), theEcorePackage.getEBoolean(), "visibleByDefault", "true", 0, 1, CompartmentVisibilityPreference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID,
+ IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getCompartmentVisibilityPreference_Compartments(), theGMFGenPackage.getGenCompartment(), null, "compartments", null, 0, -1, CompartmentVisibilityPreference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE,
+ IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(compartmentTitleVisibilityPreferenceEClass, CompartmentTitleVisibilityPreference.class, "CompartmentTitleVisibilityPreference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getCompartmentTitleVisibilityPreference_VisibleByDefault(), theEcorePackage.getEBoolean(), "visibleByDefault", "true", 0, 1, CompartmentTitleVisibilityPreference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getCompartmentTitleVisibilityPreference_Compartments(), theGMFGenPackage.getGenCompartment(), null, "compartments", null, 0, -1, CompartmentTitleVisibilityPreference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getCompartmentTitleVisibilityPreference_VisibleByDefault(), theEcorePackage.getEBoolean(), "visibleByDefault", "true", 0, 1, CompartmentTitleVisibilityPreference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID,
+ IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getCompartmentTitleVisibilityPreference_Compartments(), theGMFGenPackage.getGenCompartment(), null, "compartments", null, 0, -1, CompartmentTitleVisibilityPreference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE,
+ IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEClass(constrainedByReferenceCompartmentItemSemanticEditPolicyEClass, ConstrainedByReferenceCompartmentItemSemanticEditPolicy.class, "ConstrainedByReferenceCompartmentItemSemanticEditPolicy", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getConstrainedByReferenceCompartmentItemSemanticEditPolicy_GenView(), theGMFGenPackage.getGenCommonBase(), null, "genView", null, 0, -1, ConstrainedByReferenceCompartmentItemSemanticEditPolicy.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEClass(constrainedByReferenceCompartmentItemSemanticEditPolicyEClass, ConstrainedByReferenceCompartmentItemSemanticEditPolicy.class, "ConstrainedByReferenceCompartmentItemSemanticEditPolicy", !IS_ABSTRACT, !IS_INTERFACE,
+ IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getConstrainedByReferenceCompartmentItemSemanticEditPolicy_GenView(), theGMFGenPackage.getGenCommonBase(), null, "genView", null, 0, -1, ConstrainedByReferenceCompartmentItemSemanticEditPolicy.class, !IS_TRANSIENT, !IS_VOLATILE,
+ IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(externalElementTypesLibraryEClass, ExternalElementTypesLibrary.class, "ExternalElementTypesLibrary", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEClass(externalMetamodelTypeEClass, ExternalMetamodelType.class, "ExternalMetamodelType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getExternalMetamodelType_ElementTypeRef(), theDomaincontextcodegenPackage.getElementType(), null, "elementTypeRef", null, 0, 1, ExternalMetamodelType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getExternalMetamodelType_ElementTypeRef(), theDomaincontextcodegenPackage.getElementType(), null, "elementTypeRef", null, 0, 1, ExternalMetamodelType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,
+ !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(generateUsingElementTypeCreationCommandEClass, GenerateUsingElementTypeCreationCommand.class, "GenerateUsingElementTypeCreationCommand", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEClass(customDiagramUpdaterSingletonEClass, CustomDiagramUpdaterSingleton.class, "CustomDiagramUpdaterSingleton", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getCustomDiagramUpdaterSingleton_SingletonPath(), ecorePackage.getEString(), "singletonPath", null, 1, 1, CustomDiagramUpdaterSingleton.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getCustomDiagramUpdaterSingleton_SingletonPath(), ecorePackage.getEString(), "singletonPath", null, 1, 1, CustomDiagramUpdaterSingleton.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
+ IS_ORDERED);
// Create resource
createResource(eNS_URI);
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/PropertyRefreshHookImpl.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/PropertyRefreshHookImpl.java
index da3a06e71af..33e02848175 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/PropertyRefreshHookImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/PropertyRefreshHookImpl.java
@@ -19,8 +19,8 @@ import org.eclipse.papyrus.papyrusgmfgenextension.PropertyRefreshHook;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.PropertyRefreshHookImpl#getTriggeringCondition <em>Triggering Condition</em>}</li>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.PropertyRefreshHookImpl#getAction <em>Action</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.PropertyRefreshHookImpl#getTriggeringCondition <em>Triggering Condition</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.PropertyRefreshHookImpl#getAction <em>Action</em>}</li>
* </ul>
* </p>
*
@@ -32,6 +32,7 @@ public class PropertyRefreshHookImpl extends ExternalHookImpl implements Propert
* The default value of the '{@link #getTriggeringCondition() <em>Triggering Condition</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getTriggeringCondition()
* @generated
* @ordered
@@ -42,6 +43,7 @@ public class PropertyRefreshHookImpl extends ExternalHookImpl implements Propert
* The cached value of the '{@link #getTriggeringCondition() <em>Triggering Condition</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getTriggeringCondition()
* @generated
* @ordered
@@ -52,6 +54,7 @@ public class PropertyRefreshHookImpl extends ExternalHookImpl implements Propert
* The default value of the '{@link #getAction() <em>Action</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getAction()
* @generated
* @ordered
@@ -62,6 +65,7 @@ public class PropertyRefreshHookImpl extends ExternalHookImpl implements Propert
* The cached value of the '{@link #getAction() <em>Action</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getAction()
* @generated
* @ordered
@@ -71,6 +75,7 @@ public class PropertyRefreshHookImpl extends ExternalHookImpl implements Propert
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected PropertyRefreshHookImpl() {
@@ -80,6 +85,7 @@ public class PropertyRefreshHookImpl extends ExternalHookImpl implements Propert
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -90,8 +96,10 @@ public class PropertyRefreshHookImpl extends ExternalHookImpl implements Propert
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public String getTriggeringCondition() {
return triggeringCondition;
}
@@ -99,20 +107,25 @@ public class PropertyRefreshHookImpl extends ExternalHookImpl implements Propert
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setTriggeringCondition(String newTriggeringCondition) {
String oldTriggeringCondition = triggeringCondition;
triggeringCondition = newTriggeringCondition;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, PapyrusgmfgenextensionPackage.PROPERTY_REFRESH_HOOK__TRIGGERING_CONDITION, oldTriggeringCondition, triggeringCondition));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public String getAction() {
return action;
}
@@ -120,27 +133,31 @@ public class PropertyRefreshHookImpl extends ExternalHookImpl implements Propert
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setAction(String newAction) {
String oldAction = action;
action = newAction;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, PapyrusgmfgenextensionPackage.PROPERTY_REFRESH_HOOK__ACTION, oldAction, action));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.PROPERTY_REFRESH_HOOK__TRIGGERING_CONDITION:
- return getTriggeringCondition();
- case PapyrusgmfgenextensionPackage.PROPERTY_REFRESH_HOOK__ACTION:
- return getAction();
+ case PapyrusgmfgenextensionPackage.PROPERTY_REFRESH_HOOK__TRIGGERING_CONDITION:
+ return getTriggeringCondition();
+ case PapyrusgmfgenextensionPackage.PROPERTY_REFRESH_HOOK__ACTION:
+ return getAction();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -148,17 +165,18 @@ public class PropertyRefreshHookImpl extends ExternalHookImpl implements Propert
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.PROPERTY_REFRESH_HOOK__TRIGGERING_CONDITION:
- setTriggeringCondition((String)newValue);
- return;
- case PapyrusgmfgenextensionPackage.PROPERTY_REFRESH_HOOK__ACTION:
- setAction((String)newValue);
- return;
+ case PapyrusgmfgenextensionPackage.PROPERTY_REFRESH_HOOK__TRIGGERING_CONDITION:
+ setTriggeringCondition((String) newValue);
+ return;
+ case PapyrusgmfgenextensionPackage.PROPERTY_REFRESH_HOOK__ACTION:
+ setAction((String) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -166,17 +184,18 @@ public class PropertyRefreshHookImpl extends ExternalHookImpl implements Propert
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.PROPERTY_REFRESH_HOOK__TRIGGERING_CONDITION:
- setTriggeringCondition(TRIGGERING_CONDITION_EDEFAULT);
- return;
- case PapyrusgmfgenextensionPackage.PROPERTY_REFRESH_HOOK__ACTION:
- setAction(ACTION_EDEFAULT);
- return;
+ case PapyrusgmfgenextensionPackage.PROPERTY_REFRESH_HOOK__TRIGGERING_CONDITION:
+ setTriggeringCondition(TRIGGERING_CONDITION_EDEFAULT);
+ return;
+ case PapyrusgmfgenextensionPackage.PROPERTY_REFRESH_HOOK__ACTION:
+ setAction(ACTION_EDEFAULT);
+ return;
}
super.eUnset(featureID);
}
@@ -184,15 +203,16 @@ public class PropertyRefreshHookImpl extends ExternalHookImpl implements Propert
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.PROPERTY_REFRESH_HOOK__TRIGGERING_CONDITION:
- return TRIGGERING_CONDITION_EDEFAULT == null ? triggeringCondition != null : !TRIGGERING_CONDITION_EDEFAULT.equals(triggeringCondition);
- case PapyrusgmfgenextensionPackage.PROPERTY_REFRESH_HOOK__ACTION:
- return ACTION_EDEFAULT == null ? action != null : !ACTION_EDEFAULT.equals(action);
+ case PapyrusgmfgenextensionPackage.PROPERTY_REFRESH_HOOK__TRIGGERING_CONDITION:
+ return TRIGGERING_CONDITION_EDEFAULT == null ? triggeringCondition != null : !TRIGGERING_CONDITION_EDEFAULT.equals(triggeringCondition);
+ case PapyrusgmfgenextensionPackage.PROPERTY_REFRESH_HOOK__ACTION:
+ return ACTION_EDEFAULT == null ? action != null : !ACTION_EDEFAULT.equals(action);
}
return super.eIsSet(featureID);
}
@@ -200,11 +220,14 @@ public class PropertyRefreshHookImpl extends ExternalHookImpl implements Propert
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public String toString() {
- if (eIsProxy()) return super.toString();
+ if (eIsProxy()) {
+ return super.toString();
+ }
StringBuffer result = new StringBuffer(super.toString());
result.append(" (triggeringCondition: ");
@@ -215,4 +238,4 @@ public class PropertyRefreshHookImpl extends ExternalHookImpl implements Propert
return result.toString();
}
-} //PropertyRefreshHookImpl
+} // PropertyRefreshHookImpl
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/SpecificDiagramUpdaterImpl.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/SpecificDiagramUpdaterImpl.java
index aea7a2b24c8..0654dc569a5 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/SpecificDiagramUpdaterImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/SpecificDiagramUpdaterImpl.java
@@ -21,7 +21,7 @@ import org.eclipse.papyrus.papyrusgmfgenextension.SpecificDiagramUpdater;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.SpecificDiagramUpdaterImpl#getGenNode <em>Gen Node</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.SpecificDiagramUpdaterImpl#getGenNode <em>Gen Node</em>}</li>
* </ul>
* </p>
*
@@ -33,6 +33,7 @@ public class SpecificDiagramUpdaterImpl extends ExternalHookImpl implements Spec
* The cached value of the '{@link #getGenNode() <em>Gen Node</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getGenNode()
* @generated
* @ordered
@@ -42,6 +43,7 @@ public class SpecificDiagramUpdaterImpl extends ExternalHookImpl implements Spec
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected SpecificDiagramUpdaterImpl() {
@@ -51,6 +53,7 @@ public class SpecificDiagramUpdaterImpl extends ExternalHookImpl implements Spec
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -61,15 +64,18 @@ public class SpecificDiagramUpdaterImpl extends ExternalHookImpl implements Spec
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public GenCommonBase getGenNode() {
if (genNode != null && genNode.eIsProxy()) {
- InternalEObject oldGenNode = (InternalEObject)genNode;
- genNode = (GenCommonBase)eResolveProxy(oldGenNode);
+ InternalEObject oldGenNode = (InternalEObject) genNode;
+ genNode = (GenCommonBase) eResolveProxy(oldGenNode);
if (genNode != oldGenNode) {
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, PapyrusgmfgenextensionPackage.SPECIFIC_DIAGRAM_UPDATER__GEN_NODE, oldGenNode, genNode));
+ }
}
}
return genNode;
@@ -78,6 +84,7 @@ public class SpecificDiagramUpdaterImpl extends ExternalHookImpl implements Spec
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public GenCommonBase basicGetGenNode() {
@@ -87,26 +94,32 @@ public class SpecificDiagramUpdaterImpl extends ExternalHookImpl implements Spec
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setGenNode(GenCommonBase newGenNode) {
GenCommonBase oldGenNode = genNode;
genNode = newGenNode;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, PapyrusgmfgenextensionPackage.SPECIFIC_DIAGRAM_UPDATER__GEN_NODE, oldGenNode, genNode));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.SPECIFIC_DIAGRAM_UPDATER__GEN_NODE:
- if (resolve) return getGenNode();
- return basicGetGenNode();
+ case PapyrusgmfgenextensionPackage.SPECIFIC_DIAGRAM_UPDATER__GEN_NODE:
+ if (resolve) {
+ return getGenNode();
+ }
+ return basicGetGenNode();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -114,14 +127,15 @@ public class SpecificDiagramUpdaterImpl extends ExternalHookImpl implements Spec
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.SPECIFIC_DIAGRAM_UPDATER__GEN_NODE:
- setGenNode((GenCommonBase)newValue);
- return;
+ case PapyrusgmfgenextensionPackage.SPECIFIC_DIAGRAM_UPDATER__GEN_NODE:
+ setGenNode((GenCommonBase) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -129,14 +143,15 @@ public class SpecificDiagramUpdaterImpl extends ExternalHookImpl implements Spec
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.SPECIFIC_DIAGRAM_UPDATER__GEN_NODE:
- setGenNode((GenCommonBase)null);
- return;
+ case PapyrusgmfgenextensionPackage.SPECIFIC_DIAGRAM_UPDATER__GEN_NODE:
+ setGenNode((GenCommonBase) null);
+ return;
}
super.eUnset(featureID);
}
@@ -144,15 +159,16 @@ public class SpecificDiagramUpdaterImpl extends ExternalHookImpl implements Spec
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.SPECIFIC_DIAGRAM_UPDATER__GEN_NODE:
- return genNode != null;
+ case PapyrusgmfgenextensionPackage.SPECIFIC_DIAGRAM_UPDATER__GEN_NODE:
+ return genNode != null;
}
return super.eIsSet(featureID);
}
-} //SpecificDiagramUpdaterImpl
+} // SpecificDiagramUpdaterImpl
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/SpecificLocatorExternalLabelImpl.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/SpecificLocatorExternalLabelImpl.java
index acea9ca9253..966c95b5bf6 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/SpecificLocatorExternalLabelImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/SpecificLocatorExternalLabelImpl.java
@@ -22,7 +22,7 @@ import org.eclipse.papyrus.papyrusgmfgenextension.SpecificLocatorExternalLabel;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.SpecificLocatorExternalLabelImpl#getGenExternalNodeLabel <em>Gen External Node Label</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.SpecificLocatorExternalLabelImpl#getGenExternalNodeLabel <em>Gen External Node Label</em>}</li>
* </ul>
* </p>
*
@@ -34,6 +34,7 @@ public class SpecificLocatorExternalLabelImpl extends ExternalHookImpl implement
* The cached value of the '{@link #getGenExternalNodeLabel() <em>Gen External Node Label</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getGenExternalNodeLabel()
* @generated
* @ordered
@@ -43,6 +44,7 @@ public class SpecificLocatorExternalLabelImpl extends ExternalHookImpl implement
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected SpecificLocatorExternalLabelImpl() {
@@ -52,6 +54,7 @@ public class SpecificLocatorExternalLabelImpl extends ExternalHookImpl implement
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -62,8 +65,10 @@ public class SpecificLocatorExternalLabelImpl extends ExternalHookImpl implement
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EList<GenExternalNodeLabel> getGenExternalNodeLabel() {
if (genExternalNodeLabel == null) {
genExternalNodeLabel = new EObjectResolvingEList<GenExternalNodeLabel>(GenExternalNodeLabel.class, this, PapyrusgmfgenextensionPackage.SPECIFIC_LOCATOR_EXTERNAL_LABEL__GEN_EXTERNAL_NODE_LABEL);
@@ -74,13 +79,14 @@ public class SpecificLocatorExternalLabelImpl extends ExternalHookImpl implement
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.SPECIFIC_LOCATOR_EXTERNAL_LABEL__GEN_EXTERNAL_NODE_LABEL:
- return getGenExternalNodeLabel();
+ case PapyrusgmfgenextensionPackage.SPECIFIC_LOCATOR_EXTERNAL_LABEL__GEN_EXTERNAL_NODE_LABEL:
+ return getGenExternalNodeLabel();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -88,16 +94,17 @@ public class SpecificLocatorExternalLabelImpl extends ExternalHookImpl implement
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.SPECIFIC_LOCATOR_EXTERNAL_LABEL__GEN_EXTERNAL_NODE_LABEL:
- getGenExternalNodeLabel().clear();
- getGenExternalNodeLabel().addAll((Collection<? extends GenExternalNodeLabel>)newValue);
- return;
+ case PapyrusgmfgenextensionPackage.SPECIFIC_LOCATOR_EXTERNAL_LABEL__GEN_EXTERNAL_NODE_LABEL:
+ getGenExternalNodeLabel().clear();
+ getGenExternalNodeLabel().addAll((Collection<? extends GenExternalNodeLabel>) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -105,14 +112,15 @@ public class SpecificLocatorExternalLabelImpl extends ExternalHookImpl implement
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.SPECIFIC_LOCATOR_EXTERNAL_LABEL__GEN_EXTERNAL_NODE_LABEL:
- getGenExternalNodeLabel().clear();
- return;
+ case PapyrusgmfgenextensionPackage.SPECIFIC_LOCATOR_EXTERNAL_LABEL__GEN_EXTERNAL_NODE_LABEL:
+ getGenExternalNodeLabel().clear();
+ return;
}
super.eUnset(featureID);
}
@@ -120,15 +128,16 @@ public class SpecificLocatorExternalLabelImpl extends ExternalHookImpl implement
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.SPECIFIC_LOCATOR_EXTERNAL_LABEL__GEN_EXTERNAL_NODE_LABEL:
- return genExternalNodeLabel != null && !genExternalNodeLabel.isEmpty();
+ case PapyrusgmfgenextensionPackage.SPECIFIC_LOCATOR_EXTERNAL_LABEL__GEN_EXTERNAL_NODE_LABEL:
+ return genExternalNodeLabel != null && !genExternalNodeLabel.isEmpty();
}
return super.eIsSet(featureID);
}
-} //SpecificLocatorExternalLabelImpl
+} // SpecificLocatorExternalLabelImpl
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/SpecificLocatorImpl.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/SpecificLocatorImpl.java
index edcc43004d6..6365c3a7dd9 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/SpecificLocatorImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/SpecificLocatorImpl.java
@@ -22,7 +22,7 @@ import org.eclipse.papyrus.papyrusgmfgenextension.SpecificLocator;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.SpecificLocatorImpl#getGenChildSideAffixedNode <em>Gen Child Side Affixed Node</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.SpecificLocatorImpl#getGenChildSideAffixedNode <em>Gen Child Side Affixed Node</em>}</li>
* </ul>
* </p>
*
@@ -34,6 +34,7 @@ public class SpecificLocatorImpl extends ExternalHookImpl implements SpecificLoc
* The cached value of the '{@link #getGenChildSideAffixedNode() <em>Gen Child Side Affixed Node</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getGenChildSideAffixedNode()
* @generated
* @ordered
@@ -43,6 +44,7 @@ public class SpecificLocatorImpl extends ExternalHookImpl implements SpecificLoc
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected SpecificLocatorImpl() {
@@ -52,6 +54,7 @@ public class SpecificLocatorImpl extends ExternalHookImpl implements SpecificLoc
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -62,8 +65,10 @@ public class SpecificLocatorImpl extends ExternalHookImpl implements SpecificLoc
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EList<GenChildSideAffixedNode> getGenChildSideAffixedNode() {
if (genChildSideAffixedNode == null) {
genChildSideAffixedNode = new EObjectResolvingEList<GenChildSideAffixedNode>(GenChildSideAffixedNode.class, this, PapyrusgmfgenextensionPackage.SPECIFIC_LOCATOR__GEN_CHILD_SIDE_AFFIXED_NODE);
@@ -74,13 +79,14 @@ public class SpecificLocatorImpl extends ExternalHookImpl implements SpecificLoc
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.SPECIFIC_LOCATOR__GEN_CHILD_SIDE_AFFIXED_NODE:
- return getGenChildSideAffixedNode();
+ case PapyrusgmfgenextensionPackage.SPECIFIC_LOCATOR__GEN_CHILD_SIDE_AFFIXED_NODE:
+ return getGenChildSideAffixedNode();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -88,16 +94,17 @@ public class SpecificLocatorImpl extends ExternalHookImpl implements SpecificLoc
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.SPECIFIC_LOCATOR__GEN_CHILD_SIDE_AFFIXED_NODE:
- getGenChildSideAffixedNode().clear();
- getGenChildSideAffixedNode().addAll((Collection<? extends GenChildSideAffixedNode>)newValue);
- return;
+ case PapyrusgmfgenextensionPackage.SPECIFIC_LOCATOR__GEN_CHILD_SIDE_AFFIXED_NODE:
+ getGenChildSideAffixedNode().clear();
+ getGenChildSideAffixedNode().addAll((Collection<? extends GenChildSideAffixedNode>) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -105,14 +112,15 @@ public class SpecificLocatorImpl extends ExternalHookImpl implements SpecificLoc
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.SPECIFIC_LOCATOR__GEN_CHILD_SIDE_AFFIXED_NODE:
- getGenChildSideAffixedNode().clear();
- return;
+ case PapyrusgmfgenextensionPackage.SPECIFIC_LOCATOR__GEN_CHILD_SIDE_AFFIXED_NODE:
+ getGenChildSideAffixedNode().clear();
+ return;
}
super.eUnset(featureID);
}
@@ -120,15 +128,16 @@ public class SpecificLocatorImpl extends ExternalHookImpl implements SpecificLoc
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.SPECIFIC_LOCATOR__GEN_CHILD_SIDE_AFFIXED_NODE:
- return genChildSideAffixedNode != null && !genChildSideAffixedNode.isEmpty();
+ case PapyrusgmfgenextensionPackage.SPECIFIC_LOCATOR__GEN_CHILD_SIDE_AFFIXED_NODE:
+ return genChildSideAffixedNode != null && !genChildSideAffixedNode.isEmpty();
}
return super.eIsSet(featureID);
}
-} //SpecificLocatorImpl
+} // SpecificLocatorImpl
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/Action.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/Action.java
index 4b98a56f7ed..42367e29647 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/Action.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/Action.java
@@ -1,9 +1,9 @@
/*******************************************************************************
* Copyright (c) 2009 CEA LIST.
* All rights reserved. This program and the accompanying materials
- * are property of the CEA, their use is subject to specific agreement
+ * are property of the CEA, their use is subject to specific agreement
* with the CEA.
- *
+ *
* Contributors:
* CEA LIST - initial API and implementation
*******************************************************************************/
@@ -34,7 +34,7 @@ public abstract class Action implements IObjectActionDelegate {
/**
* Convert each selected elements from the explorer menu, or modeling view to an EObject and add it to a list
- *
+ *
* @return list of EObject
*/
public void updateSelectedEObject(IStructuredSelection selection) {
@@ -42,11 +42,11 @@ public abstract class Action implements IObjectActionDelegate {
List<EObject> selectedCurrentListEObjects = new LinkedList<EObject>();
Iterator<Object> eltIt = selection.iterator();
- while(eltIt.hasNext()) {
+ while (eltIt.hasNext()) {
Object currentObject = eltIt.next();
- if(currentObject instanceof EObject) {
- selectedCurrentListEObjects.add((EObject)currentObject);
+ if (currentObject instanceof EObject) {
+ selectedCurrentListEObjects.add((EObject) currentObject);
}
}
selectedListEObject = selectedCurrentListEObjects;
@@ -61,22 +61,24 @@ public abstract class Action implements IObjectActionDelegate {
*
* @see org.eclipse.ui.IActionDelegate#selectionChanged(org.eclipse.jface.action.IAction, org.eclipse.jface.viewers.ISelection)
*/
+ @Override
public void selectionChanged(IAction action, ISelection selection) {
// Convert selection into EObject list
- updateSelectedEObject((IStructuredSelection)selection);
+ updateSelectedEObject((IStructuredSelection) selection);
}
+ @Override
public void setActivePart(IAction action, IWorkbenchPart targetPart) {
// NO OP.
}
/**
* Check if the CustomBehavior for policyKey is already added
- *
+ *
* @param genlink
- * the GenLink to test
+ * the GenLink to test
* @param policyKey
- * that we look for
+ * that we look for
* @return true if the behavior with correct key already exists
*/
protected boolean hasCustomBehavior(GenCommonBase genCommonBase, String policyKey) {
@@ -84,12 +86,12 @@ public abstract class Action implements IObjectActionDelegate {
boolean hasCustomBehavior = false;
Iterator<Behaviour> it = genCommonBase.getBehaviour().iterator();
- while(it.hasNext() && !(hasCustomBehavior)) {
+ while (it.hasNext() && !(hasCustomBehavior)) {
Behaviour behaviour = it.next();
- if(behaviour instanceof CustomBehaviour) {
- CustomBehaviour customBehavior = (CustomBehaviour)behaviour;
- if(policyKey.equals(customBehavior.getKey())) {
+ if (behaviour instanceof CustomBehaviour) {
+ CustomBehaviour customBehavior = (CustomBehaviour) behaviour;
+ if (policyKey.equals(customBehavior.getKey())) {
hasCustomBehavior = true;
}
}
@@ -101,9 +103,9 @@ public abstract class Action implements IObjectActionDelegate {
/**
* Add the CustomBehavior for Applied Stereotype label display to the GenLink node given as
* parameter
- *
+ *
* @param genCommonBase
- * where the CustomBehavior is added
+ * where the CustomBehavior is added
*/
protected void addCustomBehavior(GenCommonBase genCommonBase, String policyKey, String policyValue) {
@@ -116,23 +118,23 @@ public abstract class Action implements IObjectActionDelegate {
/**
* Find the GenClass node with specified name in the resource model (GenModel expected here)
- *
+ *
* @param resource
- * the genmodel
+ * the genmodel
* @param name
- * of the searched GenClass
+ * of the searched GenClass
* @return genClass with chosen name or null
*/
protected GenClass findGenClass(Resource resource, String name) {
GenClass genClass = null;
Iterator<EObject> it = resource.getAllContents();
- while(it.hasNext() && (genClass == null)) {
+ while (it.hasNext() && (genClass == null)) {
EObject eobject = it.next();
- if(eobject instanceof GenClass) {
- GenClass current = (GenClass)eobject;
- if(name.equals(current.getName())) {
+ if (eobject instanceof GenClass) {
+ GenClass current = (GenClass) eobject;
+ if (name.equals(current.getName())) {
genClass = current;
}
}
@@ -142,13 +144,13 @@ public abstract class Action implements IObjectActionDelegate {
/**
* Finds a GenFeature owned by a specified GenClass in the resource (genmodel)
- *
+ *
* @param resource
- * the genmodel
+ * the genmodel
* @param genClassName
- * the name of GenClass owning the searched feature
+ * the name of GenClass owning the searched feature
* @param genFeatureName
- * the name of the GenFeature
+ * the name of the GenFeature
* @return the found GenFeature node or null
*/
protected GenFeature findGenFeature(Resource resource, String genClassName, String genFeatureName) {
@@ -156,19 +158,19 @@ public abstract class Action implements IObjectActionDelegate {
GenFeature genFeature = null;
Iterator<EObject> it = resource.getAllContents();
- while(it.hasNext() && (genFeature == null)) {
+ while (it.hasNext() && (genFeature == null)) {
EObject eobject = it.next();
- if(eobject instanceof GenClass) {
- GenClass genClass = (GenClass)eobject;
+ if (eobject instanceof GenClass) {
+ GenClass genClass = (GenClass) eobject;
- if(genClassName.equals(genClass.getName())) {
+ if (genClassName.equals(genClass.getName())) {
Iterator<GenFeature> itGF = genClass.getAllGenFeatures().iterator();
- while(itGF.hasNext() && (genFeature == null)) {
+ while (itGF.hasNext() && (genFeature == null)) {
GenFeature currentGenFeature = itGF.next();
- if(genFeatureName.equals(currentGenFeature.getEcoreFeature().getName())) {
+ if (genFeatureName.equals(currentGenFeature.getEcoreFeature().getName())) {
genFeature = currentGenFeature;
}
}
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/AddDefaultNamedElementAction.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/AddDefaultNamedElementAction.java
index 9c576efdc17..875f2e6d5ab 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/AddDefaultNamedElementAction.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/AddDefaultNamedElementAction.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -91,15 +91,16 @@ public class AddDefaultNamedElementAction extends Action {
/**
* @see org.eclipse.ui.IActionDelegate#run(org.eclipse.jface.action.IAction)
- *
+ *
* @param action
*/
+ @Override
public void run(IAction action) {
Iterator<EObject> it = getSelectedEObject().iterator();
- while(it.hasNext()) {
+ while (it.hasNext()) {
EObject eObject = it.next();
- if(eObject instanceof GenDiagram) {
- GenDiagram genDiagram = ((GenDiagram)eObject);
+ if (eObject instanceof GenDiagram) {
+ GenDiagram genDiagram = ((GenDiagram) eObject);
createTopNode(genDiagram);
}
}
@@ -107,9 +108,9 @@ public class AddDefaultNamedElementAction extends Action {
/**
* Creates the top node.
- *
+ *
* @param genDiagram
- * the gen diagram
+ * the gen diagram
*/
public void createTopNode(GenDiagram genDiagram) {
URI uri_notation = URI.createPlatformPluginURI(URI_NOTATION_GENMODEL, false);
@@ -134,9 +135,9 @@ public class AddDefaultNamedElementAction extends Action {
/**
* Adds behaviors.
- *
+ *
* @param topNode
- * the top node
+ * the top node
*/
public void addBehavior(GenTopLevelNode topNode) {
// add behavior
@@ -148,9 +149,9 @@ public class AddDefaultNamedElementAction extends Action {
/**
* Adds the model facet.
- *
+ *
* @param topNode
- * the top node
+ * the top node
*/
public void addModelFacet(GenTopLevelNode topNode) {
URI uri_uml = URI.createPlatformPluginURI(URI_UML_GENMODEL, false);
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/AddExternalNodeStereotypeDisplayBehavior.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/AddExternalNodeStereotypeDisplayBehavior.java
index 12f37d14e8d..0bdb576de59 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/AddExternalNodeStereotypeDisplayBehavior.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/AddExternalNodeStereotypeDisplayBehavior.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -81,16 +81,17 @@ public class AddExternalNodeStereotypeDisplayBehavior extends Action {
*
* @see org.eclipse.ui.IActionDelegate#run(org.eclipse.jface.action.IAction)
*/
+ @Override
public void run(IAction action) {
// Parse selected GenLink(s) and add the desired CustomBehavior
Iterator<EObject> it = getSelectedEObject().iterator();
- while(it.hasNext()) {
+ while (it.hasNext()) {
EObject eObject = it.next();
- if(eObject instanceof GenNode) {
- //test if it has got a external node to display applied stereotype
- if(!hasAnAppliedStereotypExternalNode((GenNode)eObject)) {
- createAnAppliedStereotypExternalNode((GenNode)eObject);
+ if (eObject instanceof GenNode) {
+ // test if it has got a external node to display applied stereotype
+ if (!hasAnAppliedStereotypExternalNode((GenNode) eObject)) {
+ createAnAppliedStereotypExternalNode((GenNode) eObject);
}
}
}
@@ -99,9 +100,9 @@ public class AddExternalNodeStereotypeDisplayBehavior extends Action {
/**
* creation an external node stereotype
- *
+ *
* @param eObject
- * the parent genNode
+ * the parent genNode
*/
private void createAnAppliedStereotypExternalNode(GenNode eObject) {
GenExternalNodeLabel label = GMFGenFactory.eINSTANCE.createGenExternalNodeLabel();
@@ -146,10 +147,10 @@ public class AddExternalNodeStereotypeDisplayBehavior extends Action {
public boolean hasAnAppliedStereotypExternalNode(GenNode node) {
Iterator<GenNodeLabel> iterator = node.getLabels().iterator();
- while(iterator.hasNext()) {
+ while (iterator.hasNext()) {
GenNodeLabel currentGenNodeLabel = iterator.next();
- if(currentGenNodeLabel instanceof GenExternalNodeLabel) {
- if(isAnAppliedStereotypExternalNode((GenExternalNodeLabel)currentGenNodeLabel)) {
+ if (currentGenNodeLabel instanceof GenExternalNodeLabel) {
+ if (isAnAppliedStereotypExternalNode((GenExternalNodeLabel) currentGenNodeLabel)) {
return true;
}
}
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/AddGenLinkStereotypeDisplayBehavior.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/AddGenLinkStereotypeDisplayBehavior.java
index 012e10ee686..f8d42df3202 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/AddGenLinkStereotypeDisplayBehavior.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/AddGenLinkStereotypeDisplayBehavior.java
@@ -1,9 +1,9 @@
/*******************************************************************************
* Copyright (c) 2009 CEA LIST.
* All rights reserved. This program and the accompanying materials
- * are property of the CEA, their use is subject to specific agreement
+ * are property of the CEA, their use is subject to specific agreement
* with the CEA.
- *
+ *
* Contributors:
* CEA LIST - initial API and implementation
*******************************************************************************/
@@ -77,22 +77,23 @@ public class AddGenLinkStereotypeDisplayBehavior extends Action {
*
* @see org.eclipse.ui.IActionDelegate#run(org.eclipse.jface.action.IAction)
*/
+ @Override
public void run(IAction action) {
// Parse selected GenLink(s) and add the desired CustomBehavior
Iterator<EObject> it = getSelectedEObject().iterator();
- while(it.hasNext()) {
+ while (it.hasNext()) {
EObject eObject = it.next();
- if(eObject instanceof GenLink) {
+ if (eObject instanceof GenLink) {
// Create the behavior required by stereotype management (if not already created)
- if(!hasCustomBehavior(((GenLink)eObject), STEREOTYPE_LABEL_POLICY_KEY)) {
- addCustomBehavior((GenLink)eObject, STEREOTYPE_LABEL_POLICY_KEY, STEREOTYPE_LABEL_POLICY_CLASS);
+ if (!hasCustomBehavior(((GenLink) eObject), STEREOTYPE_LABEL_POLICY_KEY)) {
+ addCustomBehavior((GenLink) eObject, STEREOTYPE_LABEL_POLICY_KEY, STEREOTYPE_LABEL_POLICY_CLASS);
}
// Create the GenLinkLabel used for stereotypes (if not already created)
- if(!hasCustomLabel((GenLink)eObject)) {
- addCustomLabel((GenLink)eObject);
+ if (!hasCustomLabel((GenLink) eObject)) {
+ addCustomLabel((GenLink) eObject);
}
}
}
@@ -104,9 +105,9 @@ public class AddGenLinkStereotypeDisplayBehavior extends Action {
/**
* Add the CustomBehavior for Applied Stereotype label display to the GenLink node given as
* parameter
- *
+ *
* @param genlink
- * where the CustomBehavior is added
+ * where the CustomBehavior is added
*/
private void addCustomLabel(GenLink genlink) {
@@ -156,9 +157,9 @@ public class AddGenLinkStereotypeDisplayBehavior extends Action {
/**
* Check if the CustomBehavior for Applied Stereotype label display is already added
- *
+ *
* @param genlink
- * the GenLink to test
+ * the GenLink to test
* @return true if the behavior with correct key already exists
*/
private boolean hasCustomLabel(GenLink genlink) {
@@ -167,10 +168,10 @@ public class AddGenLinkStereotypeDisplayBehavior extends Action {
String expectedName = genlink.getClassNamePrefix() + DEFAULT_EDITPART_NAME_SUFFIX;
Iterator<GenLinkLabel> it = genlink.getLabels().iterator();
- while(it.hasNext() && !(hasCustomLabel)) {
+ while (it.hasNext() && !(hasCustomLabel)) {
GenLinkLabel genLinkLabel = it.next();
- if(expectedName.equals(genLinkLabel.getEditPartClassName())) {
+ if (expectedName.equals(genLinkLabel.getEditPartClassName())) {
hasCustomLabel = true;
}
}
@@ -181,12 +182,12 @@ public class AddGenLinkStereotypeDisplayBehavior extends Action {
/**
* Finds the custom parser used for stereotype display. Creates the parser if not already
* existing
- *
- *
+ *
+ *
* @param gmfgen
- * the model owning the parser
+ * the model owning the parser
* @param name
- * the parser qualified name
+ * the parser qualified name
* @return the parser node
*/
private CustomParser findCustomParser(GenEditorGenerator genEditor, String name) {
@@ -194,18 +195,18 @@ public class AddGenLinkStereotypeDisplayBehavior extends Action {
CustomParser customParser = null;
Iterator<GenParserImplementation> it = genEditor.getLabelParsers().getImplementations().iterator();
- while(it.hasNext() && (customParser == null)) {
+ while (it.hasNext() && (customParser == null)) {
GenParserImplementation parserImpl = it.next();
- if(parserImpl instanceof CustomParser) {
- CustomParser current = (CustomParser)parserImpl;
- if(name.equals(current.getQualifiedName())) {
+ if (parserImpl instanceof CustomParser) {
+ CustomParser current = (CustomParser) parserImpl;
+ if (name.equals(current.getQualifiedName())) {
customParser = current;
}
}
}
- if(customParser == null) {
+ if (customParser == null) {
customParser = GMFGenFactory.eINSTANCE.createCustomParser();
customParser.setQualifiedName(APPLIED_STEREOTYPE_CUSTOM_PARSER_CLASS);
customParser.setGenerateBoilerplate(false);
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/AddHyperLinkPopupBarBehavior.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/AddHyperLinkPopupBarBehavior.java
index 7fc554010a2..1ecdc446eba 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/AddHyperLinkPopupBarBehavior.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/AddHyperLinkPopupBarBehavior.java
@@ -1,9 +1,9 @@
/*******************************************************************************
* Copyright (c) 2009 CEA LIST.
* All rights reserved. This program and the accompanying materials
- * are property of the CEA, their use is subject to specific agreement
+ * are property of the CEA, their use is subject to specific agreement
* with the CEA.
- *
+ *
* Contributors:
* CEA LIST - initial API and implementation
*******************************************************************************/
@@ -45,17 +45,18 @@ public class AddHyperLinkPopupBarBehavior extends Action {
*
* @see org.eclipse.ui.IActionDelegate#run(org.eclipse.jface.action.IAction)
*/
+ @Override
public void run(IAction action) {
// Parse selected GenLink(s) and add the desired CustomBehavior
Iterator<EObject> it = getSelectedEObject().iterator();
- while(it.hasNext()) {
+ while (it.hasNext()) {
EObject eObject = it.next();
- if(eObject instanceof GenNode) {
+ if (eObject instanceof GenNode) {
// Create the behavior required by stereotype management (if not already created)
- if(!hasCustomBehavior((GenNode)eObject, POPUP_POLICY_KEY)) {
- addCustomBehavior((GenNode)eObject, POPUP_POLICY_KEY, HYPERLINK_POPUPBAR_POLICY_CLASS);
+ if (!hasCustomBehavior((GenNode) eObject, POPUP_POLICY_KEY)) {
+ addCustomBehavior((GenNode) eObject, POPUP_POLICY_KEY, HYPERLINK_POPUPBAR_POLICY_CLASS);
}
}
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/AddNodeQualifiedNameBehavior.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/AddNodeQualifiedNameBehavior.java
index b1c813767b4..9eb4571ae64 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/AddNodeQualifiedNameBehavior.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/AddNodeQualifiedNameBehavior.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -46,16 +46,17 @@ public class AddNodeQualifiedNameBehavior extends Action {
*
* @see org.eclipse.ui.IActionDelegate#run(org.eclipse.jface.action.IAction)
*/
+ @Override
public void run(IAction action) {
// Parse selected GenLink(s) and add the desired CustomBehavior
Iterator<EObject> it = getSelectedEObject().iterator();
- while(it.hasNext()) {
+ while (it.hasNext()) {
EObject eObject = it.next();
- if(eObject instanceof GenNode) {
- //test if it has got a external node to display applied stereotype
- if(!hasCustomBehavior(((GenNode)eObject), STEREOTYPE_LABEL_POLICY_KEY)) {
- addCustomBehavior((GenNode)eObject, STEREOTYPE_LABEL_POLICY_KEY, STEREOTYPE_LABEL_POLICY_CLASS);
+ if (eObject instanceof GenNode) {
+ // test if it has got a external node to display applied stereotype
+ if (!hasCustomBehavior(((GenNode) eObject), STEREOTYPE_LABEL_POLICY_KEY)) {
+ addCustomBehavior((GenNode) eObject, STEREOTYPE_LABEL_POLICY_KEY, STEREOTYPE_LABEL_POLICY_CLASS);
}
}
}
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/AddNodeShowHideCompartmentBehavior.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/AddNodeShowHideCompartmentBehavior.java
index b2d19febd09..b5f16d74d3c 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/AddNodeShowHideCompartmentBehavior.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/AddNodeShowHideCompartmentBehavior.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -38,15 +38,16 @@ public class AddNodeShowHideCompartmentBehavior extends Action {
*
* @see org.eclipse.ui.IActionDelegate#run(org.eclipse.jface.action.IAction)
*/
+ @Override
public void run(IAction action) {
// Parse selected GenLink(s) and add the desired CustomBehavior
Iterator<EObject> it = getSelectedEObject().iterator();
- while(it.hasNext()) {
+ while (it.hasNext()) {
EObject eObject = it.next();
- if(eObject instanceof GenNode) {
- //test if it has got a external node to display applied stereotype
- if(!hasCustomBehavior(((GenNode)eObject), SHOW_HIDE_COMPARTMENT_POLICY_KEY)) {
- addCustomBehavior((GenNode)eObject, SHOW_HIDE_COMPARTMENT_POLICY_KEY, SHOW_HIDE_COMPARTMENT_POLICY_CLASS);
+ if (eObject instanceof GenNode) {
+ // test if it has got a external node to display applied stereotype
+ if (!hasCustomBehavior(((GenNode) eObject), SHOW_HIDE_COMPARTMENT_POLICY_KEY)) {
+ addCustomBehavior((GenNode) eObject, SHOW_HIDE_COMPARTMENT_POLICY_KEY, SHOW_HIDE_COMPARTMENT_POLICY_CLASS);
}
}
}
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/AddNodeShowHideContentsBehavior.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/AddNodeShowHideContentsBehavior.java
index 8804399a56f..277e0dd474a 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/AddNodeShowHideContentsBehavior.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/AddNodeShowHideContentsBehavior.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -34,15 +34,16 @@ public class AddNodeShowHideContentsBehavior extends Action {
*
* @see org.eclipse.ui.IActionDelegate#run(org.eclipse.jface.action.IAction)
*/
+ @Override
public void run(IAction action) {
// Parse selected GenLink(s) and add the desired CustomBehavior
Iterator<EObject> it = getSelectedEObject().iterator();
- while(it.hasNext()) {
+ while (it.hasNext()) {
EObject eObject = it.next();
- if(eObject instanceof GenNode) {
- //test if it has got a external node to display applied stereotype
- if(!hasCustomBehavior(((GenNode)eObject), SHOW_HIDE_CLASSIFIER_CONTENTS_POLICY_KEY)) {
- addCustomBehavior((GenNode)eObject, SHOW_HIDE_CLASSIFIER_CONTENTS_POLICY_KEY, SHOW_HIDE_CLASSIFIER_CONTENTS_POLICY_CLASS);
+ if (eObject instanceof GenNode) {
+ // test if it has got a external node to display applied stereotype
+ if (!hasCustomBehavior(((GenNode) eObject), SHOW_HIDE_CLASSIFIER_CONTENTS_POLICY_KEY)) {
+ addCustomBehavior((GenNode) eObject, SHOW_HIDE_CLASSIFIER_CONTENTS_POLICY_KEY, SHOW_HIDE_CLASSIFIER_CONTENTS_POLICY_CLASS);
}
}
}
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/AddNodeShowHideLabelsBehavior.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/AddNodeShowHideLabelsBehavior.java
index 4bb71be857c..1a65801d71b 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/AddNodeShowHideLabelsBehavior.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/AddNodeShowHideLabelsBehavior.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2011 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -36,15 +36,16 @@ public class AddNodeShowHideLabelsBehavior extends Action {
*
* @see org.eclipse.ui.IActionDelegate#run(org.eclipse.jface.action.IAction)
*/
+ @Override
public void run(IAction action) {
// Parse selected GenLink(s) and add the desired CustomBehavior
Iterator<EObject> it = getSelectedEObject().iterator();
- while(it.hasNext()) {
+ while (it.hasNext()) {
EObject eObject = it.next();
- if((eObject instanceof GenNode || eObject instanceof GenLink) && (!(eObject instanceof GenNodeLabel) && !(eObject instanceof GenLinkLabel))) {
- //test if it has got a external node to display applied stereotype
- if(!hasCustomBehavior(((GenNode)eObject), SHOW_HIDE_LABEL_POLICY_KEY)) {
- addCustomBehavior((GenNode)eObject, SHOW_HIDE_LABEL_POLICY_KEY, SHOW_HIDE_LABEL_POLICY_CLASS);
+ if ((eObject instanceof GenNode || eObject instanceof GenLink) && (!(eObject instanceof GenNodeLabel) && !(eObject instanceof GenLinkLabel))) {
+ // test if it has got a external node to display applied stereotype
+ if (!hasCustomBehavior(((GenNode) eObject), SHOW_HIDE_LABEL_POLICY_KEY)) {
+ addCustomBehavior((GenNode) eObject, SHOW_HIDE_LABEL_POLICY_KEY, SHOW_HIDE_LABEL_POLICY_CLASS);
}
}
}
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/AddNodeStereotypeDisplayBehavior.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/AddNodeStereotypeDisplayBehavior.java
index f75a7650fb7..4b230c1c96b 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/AddNodeStereotypeDisplayBehavior.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/AddNodeStereotypeDisplayBehavior.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -46,16 +46,17 @@ public class AddNodeStereotypeDisplayBehavior extends Action {
*
* @see org.eclipse.ui.IActionDelegate#run(org.eclipse.jface.action.IAction)
*/
+ @Override
public void run(IAction action) {
// Parse selected GenLink(s) and add the desired CustomBehavior
Iterator<EObject> it = getSelectedEObject().iterator();
- while(it.hasNext()) {
+ while (it.hasNext()) {
EObject eObject = it.next();
- if(eObject instanceof GenNode) {
- //test if it has got a external node to display applied stereotype
- if(!hasCustomBehavior(((GenNode)eObject), STEREOTYPE_LABEL_POLICY_KEY)) {
- addCustomBehavior((GenNode)eObject, STEREOTYPE_LABEL_POLICY_KEY, STEREOTYPE_LABEL_POLICY_CLASS);
+ if (eObject instanceof GenNode) {
+ // test if it has got a external node to display applied stereotype
+ if (!hasCustomBehavior(((GenNode) eObject), STEREOTYPE_LABEL_POLICY_KEY)) {
+ addCustomBehavior((GenNode) eObject, STEREOTYPE_LABEL_POLICY_KEY, STEREOTYPE_LABEL_POLICY_CLASS);
}
}
}
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/AddOrUpdateCommentEditParts.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/AddOrUpdateCommentEditParts.java
index 19219058301..ba9b1d9b52f 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/AddOrUpdateCommentEditParts.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/AddOrUpdateCommentEditParts.java
@@ -1,9 +1,9 @@
/*******************************************************************************
* Copyright (c) 2009 CEA LIST.
* All rights reserved. This program and the accompanying materials
- * are property of the CEA, their use is subject to specific agreement
+ * are property of the CEA, their use is subject to specific agreement
* with the CEA.
- *
+ *
* Contributors:
* CEA LIST - initial API and implementation
*******************************************************************************/
@@ -81,6 +81,7 @@ public class AddOrUpdateCommentEditParts extends Action {
/**
* {@inheritDoc}
*/
+ @Override
public void run(IAction action) {
IProgressMonitor monitor = new NullProgressMonitor();
@@ -94,48 +95,48 @@ public class AddOrUpdateCommentEditParts extends Action {
// 2. update if existing, or create if necessary
// selection should be the gen editor generator (root element)
Iterator<EObject> it = getSelectedEObject().iterator();
- while(it.hasNext()) {
+ while (it.hasNext()) {
EObject eObject = it.next();
- if(eObject instanceof GenEditorGenerator) {
+ if (eObject instanceof GenEditorGenerator) {
monitor.beginTask("Retrieve existing comments", IProgressMonitor.UNKNOWN);
- retrieveTopNodeCommentEditPart((GenEditorGenerator)eObject, monitor);
+ retrieveTopNodeCommentEditPart((GenEditorGenerator) eObject, monitor);
monitor.worked(1);
- retrieveChildNodeCommentEditPart((GenEditorGenerator)eObject, monitor);
+ retrieveChildNodeCommentEditPart((GenEditorGenerator) eObject, monitor);
monitor.worked(1);
- retrieveCommentParser((GenEditorGenerator)eObject, monitor);
+ retrieveCommentParser((GenEditorGenerator) eObject, monitor);
monitor.worked(1);
}
// elements have been retrieve. create new ones if necessary
// 1. create the parser if necessary
- if(commentParser == null) {
- commentParser = createCommentParser((GenEditorGenerator)eObject, monitor);
+ if (commentParser == null) {
+ commentParser = createCommentParser((GenEditorGenerator) eObject, monitor);
}
// 2. create top node
- if(topNodeComments.isEmpty()) {
+ if (topNodeComments.isEmpty()) {
generateTopNode = false;
// remove the creation, because it causes problems in the update
// createTopNodeComment((GenEditorGenerator)eObject, monitor);
}
// 3. create child node
- if(childNodeComments.isEmpty()) {
+ if (childNodeComments.isEmpty()) {
generateChildNode = false;
// createChildNodeComment((GenEditorGenerator)eObject, monitor);
}
// check if updates shall be done or the action should be aborted
- if(commentParser == null || (topNodeComments.isEmpty() && generateTopNode) || (childNodeComments.isEmpty() && generateChildNode)) {
+ if (commentParser == null || (topNodeComments.isEmpty() && generateTopNode) || (childNodeComments.isEmpty() && generateChildNode)) {
return;
}
// do the update
updateCommentParser();
- if(generateTopNode) {
+ if (generateTopNode) {
updateTopLevelNodes();
}
- if(generateChildNode) {
+ if (generateChildNode) {
updateChildNodes();
}
@@ -146,7 +147,7 @@ public class AddOrUpdateCommentEditParts extends Action {
e.printStackTrace();
}
- if(!messages.isEmpty()) {
+ if (!messages.isEmpty()) {
MessageDialog.openInformation(Display.getCurrent().getActiveShell(), "Information", messages.toString());
}
}
@@ -156,7 +157,7 @@ public class AddOrUpdateCommentEditParts extends Action {
* Update the child nodes
*/
protected void updateChildNodes() {
- for(GenChildNode childNode : childNodeComments) {
+ for (GenChildNode childNode : childNodeComments) {
// set figure view map
FigureViewmap figureViewmap = GMFGenFactory.eINSTANCE.createFigureViewmap();
figureViewmap.setFigureQualifiedClassName("org.eclipse.papyrus.diagram.common.figure.node.HTMLCornerBentFigure");
@@ -175,16 +176,16 @@ public class AddOrUpdateCommentEditParts extends Action {
/**
* Removes existing child edit part and creates a new one
- *
+ *
* @param childNode
- * the child node currently edited
+ * the child node currently edited
*/
protected void updateGenNodeLabel(GenNode childNode) {
// save information on existing child nodes and delete them
int childVisualID = -1;
String editPartClassName = "";
String itemSemantic = "";
- if(childNode.getLabels().size() > 0) {
+ if (childNode.getLabels().size() > 0) {
// assume the first one is the child edit part for the body
childVisualID = childNode.getLabels().get(0).getVisualID();
editPartClassName = childNode.getLabels().get(0).getEditPartClassName();
@@ -196,10 +197,10 @@ public class AddOrUpdateCommentEditParts extends Action {
}
// generate values if wrong
- if(childVisualID < 1) {
+ if (childVisualID < 1) {
childVisualID = SetVisualIDWithUnusedValue.getNewVisualID(childNode.eResource(), childNode.getClass());
}
- if(editPartClassName == null || editPartClassName == "") {
+ if (editPartClassName == null || editPartClassName == "") {
String parentEditPartClassName = childNode.getEditPartClassName();
String number = parentEditPartClassName.substring("Comment".length(), parentEditPartClassName.length() - "EditPart".length());
editPartClassName = "CommentBody" + ((number == null) ? "" : number) + "EditPart";
@@ -214,8 +215,8 @@ public class AddOrUpdateCommentEditParts extends Action {
bodyGenNode.setVisualID(childVisualID);
GenClass nodeGenClass = findGenClassForNotation(childNode, "Node");
- // GenModelFactory.eINSTANCE.createGenClass();
- // nodeGenClass.setEcoreClass(GMFGenPackage.eINSTANCE.getGenNode());
+ // GenModelFactory.eINSTANCE.createGenClass();
+ // nodeGenClass.setEcoreClass(GMFGenPackage.eINSTANCE.getGenNode());
bodyGenNode.setDiagramRunTimeClass(nodeGenClass);
bodyGenNode.setElementIcon(false);
bodyGenNode.setReadOnly(false);
@@ -245,9 +246,9 @@ public class AddOrUpdateCommentEditParts extends Action {
/**
* Update Type model facet
- *
+ *
* @param childNode
- * the child node currently edited
+ * the child node currently edited
*/
protected void updateTypeModelFacet(GenNode childNode) {
// set model facet
@@ -286,7 +287,7 @@ public class AddOrUpdateCommentEditParts extends Action {
GenFeatureValueSpec featureValueSpec = GMFGenFactory.eINSTANCE.createGenFeatureValueSpec();
GenFeature bodyFeature = findGenAttributeForMetaclass(childNode, "Comment", "body");
featureValueSpec.setFeature(bodyFeature);
- // retrieve value expression ('')
+ // retrieve value expression ('')
featureValueSpec.setValue(retrieveValueExpression(childNode));
elementInitializer.getInitializers().add(featureValueSpec);
typeModelFacet.setModelElementInitializer(elementInitializer);
@@ -295,18 +296,18 @@ public class AddOrUpdateCommentEditParts extends Action {
/**
* Retrieve value expression ('')
- *
+ *
* @param childNode
- * the child node currently edited
+ * the child node currently edited
* @return
*/
protected ValueExpression retrieveValueExpression(GenNode childNode) {
final String expressionBody = "\' \'";
GenExpressionProviderContainer expressionProviderContainer = childNode.getDiagram().getEditorGen().getExpressionProviders();
- for(GenExpressionProviderBase base : expressionProviderContainer.getProviders()) {
- if(base instanceof GenExpressionInterpreter) {
- for(ValueExpression expression : ((GenExpressionInterpreter)base).getExpressions()) {
- if(expressionBody.equals(expression.getBody())) {
+ for (GenExpressionProviderBase base : expressionProviderContainer.getProviders()) {
+ if (base instanceof GenExpressionInterpreter) {
+ for (ValueExpression expression : ((GenExpressionInterpreter) base).getExpressions()) {
+ if (expressionBody.equals(expression.getBody())) {
return expression;
}
}
@@ -316,12 +317,12 @@ public class AddOrUpdateCommentEditParts extends Action {
GenExpressionInterpreter base = null;
// create a new one if none exists
- for(GenExpressionProviderBase provider : expressionProviderContainer.getProviders()) {
- if(provider instanceof GenExpressionInterpreter) {
- base = (GenExpressionInterpreter)provider;
+ for (GenExpressionProviderBase provider : expressionProviderContainer.getProviders()) {
+ if (provider instanceof GenExpressionInterpreter) {
+ base = (GenExpressionInterpreter) provider;
}
}
- if(base == null) {
+ if (base == null) {
base = GMFGenFactory.eINSTANCE.createGenExpressionInterpreter();
expressionProviderContainer.getProviders().add(base);
}
@@ -335,9 +336,9 @@ public class AddOrUpdateCommentEditParts extends Action {
/**
* Update behaviors for the comment edit part
- *
+ *
* @param childNode
- * the node currently edited
+ * the node currently edited
*/
protected void updateBehaviours(GenNode childNode) {
boolean createOpenDiagramBehaviour = true;
@@ -347,28 +348,28 @@ public class AddOrUpdateCommentEditParts extends Action {
// retrieve existing behaviours
List<Behaviour> behaviours = childNode.getBehaviour();
- for(Behaviour behaviour : behaviours) {
- if(behaviour instanceof OpenDiagramBehaviour) {
+ for (Behaviour behaviour : behaviours) {
+ if (behaviour instanceof OpenDiagramBehaviour) {
createOpenDiagramBehaviour = false;
- } else if(behaviour instanceof CustomBehaviour) {
+ } else if (behaviour instanceof CustomBehaviour) {
// look for the role
- if("org.eclipse.gef.EditPolicy.GRAPHICAL_NODE_ROLE".equals(((CustomBehaviour)behaviour).getKey())) {
+ if ("org.eclipse.gef.EditPolicy.GRAPHICAL_NODE_ROLE".equals(((CustomBehaviour) behaviour).getKey())) {
createGraphicalNodeRole = false;
- } else if("org.eclipse.papyrus.diagram.common.editpolicies.AppliedStereotypeLabelDisplayEditPolicy.STEREOTYPE_LABEL_POLICY".equals(((CustomBehaviour)behaviour).getKey())) {
+ } else if ("org.eclipse.papyrus.diagram.common.editpolicies.AppliedStereotypeLabelDisplayEditPolicy.STEREOTYPE_LABEL_POLICY".equals(((CustomBehaviour) behaviour).getKey())) {
createStereotypeBehaviour = false;
}
}
}
- // if(createOpenDiagramBehaviour) {
- // OpenDiagramBehaviour diagramBehaviour = GMFGenFactory.eINSTANCE.createOpenDiagramBehaviour();
- // diagramBehaviour.setEditPolicyClassName("OpenDiagramEditPolicy");
- // diagramBehaviour.setOpenAsEclipseEditor(true);
- // childNode.getBehaviour().add(diagramBehaviour);
- // }
+ // if(createOpenDiagramBehaviour) {
+ // OpenDiagramBehaviour diagramBehaviour = GMFGenFactory.eINSTANCE.createOpenDiagramBehaviour();
+ // diagramBehaviour.setEditPolicyClassName("OpenDiagramEditPolicy");
+ // diagramBehaviour.setOpenAsEclipseEditor(true);
+ // childNode.getBehaviour().add(diagramBehaviour);
+ // }
- if(createGraphicalNodeRole) {
+ if (createGraphicalNodeRole) {
// add a custom edit policy if necessary for graphical node role
CustomBehaviour customBehaviour = GMFGenFactory.eINSTANCE.createCustomBehaviour();
customBehaviour.setEditPolicyQualifiedClassName("");
@@ -376,7 +377,7 @@ public class AddOrUpdateCommentEditParts extends Action {
childNode.getBehaviour().add(customBehaviour);
}
- if(createStereotypeBehaviour) {
+ if (createStereotypeBehaviour) {
// add a custom edit policy if necessary
CustomBehaviour stereotypeBehaviour = GMFGenFactory.eINSTANCE.createCustomBehaviour();
stereotypeBehaviour.setEditPolicyQualifiedClassName("org.eclipse.papyrus.diagram.common.editpolicies.AppliedStereotypeNodeLabelDisplayEditPolicy");
@@ -390,7 +391,7 @@ public class AddOrUpdateCommentEditParts extends Action {
* Update the top nodes
*/
protected void updateTopLevelNodes() {
- for(GenTopLevelNode node : topNodeComments) {
+ for (GenTopLevelNode node : topNodeComments) {
// set figure view map
FigureViewmap figureViewmap = GMFGenFactory.eINSTANCE.createFigureViewmap();
figureViewmap.setFigureQualifiedClassName("org.eclipse.papyrus.diagram.common.figure.node.HTMLCornerBentFigure");
@@ -410,11 +411,11 @@ public class AddOrUpdateCommentEditParts extends Action {
* update the comment parser
*/
protected void updateCommentParser() {
- if(!"org.eclipse.papyrus.diagram.common.parser.CommentParser".equals(commentParser.getQualifiedName())) {
+ if (!"org.eclipse.papyrus.diagram.common.parser.CommentParser".equals(commentParser.getQualifiedName())) {
commentParser.setQualifiedName("org.eclipse.papyrus.diagram.common.parser.CommentParser");
}
- if(commentParser.isGenerateBoilerplate()) {
+ if (commentParser.isGenerateBoilerplate()) {
commentParser.setGenerateBoilerplate(false);
}
@@ -422,16 +423,16 @@ public class AddOrUpdateCommentEditParts extends Action {
/**
* Creates and returns the comment custom parser
- *
+ *
* @param editorGenerator
- * the root node of the gmfgen
+ * the root node of the gmfgen
* @param monitor
- * the progress monitor
+ * the progress monitor
* @return the comment custom parser
*/
protected CustomParser createCommentParser(GenEditorGenerator editorGenerator, IProgressMonitor monitor) {
GenParsers parsers = editorGenerator.getLabelParsers();
- if(parsers == null) {
+ if (parsers == null) {
MessageDialog.openError(Display.getCurrent().getActiveShell(), "Impossible to find the parsers associated to this editor", "No parser container was found for this editor. \n\nYou should create the parsers container before running this action");
}
CustomParser parser = GMFGenFactory.eINSTANCE.createCustomParser();
@@ -441,16 +442,16 @@ public class AddOrUpdateCommentEditParts extends Action {
/**
* Creates and returns the comment custom parser
- *
+ *
* @param editorGenerator
- * the root node of the gmfgen
+ * the root node of the gmfgen
* @param monitor
- * the progress monitor
+ * the progress monitor
* @return the comment custom parser
*/
protected void createTopNodeComment(GenEditorGenerator editorGenerator, IProgressMonitor monitor) {
GenDiagram diagram = editorGenerator.getDiagram();
- if(diagram == null) {
+ if (diagram == null) {
return;
}
@@ -461,15 +462,15 @@ public class AddOrUpdateCommentEditParts extends Action {
/**
* Creates and returns the child node comment
- *
+ *
* @param editorGenerator
- * the root node of the gmfgen
+ * the root node of the gmfgen
* @param monitor
- * the progress monitor
+ * the progress monitor
*/
protected void createChildNodeComment(GenEditorGenerator editorGenerator, IProgressMonitor monitor) {
GenDiagram diagram = editorGenerator.getDiagram();
- if(diagram == null) {
+ if (diagram == null) {
return;
}
@@ -480,23 +481,23 @@ public class AddOrUpdateCommentEditParts extends Action {
/**
* Retrieves the top node comment edit parts
- *
+ *
* @param editorGenerator
- * the root node of the gmfgen
+ * the root node of the gmfgen
* @param monitor
- * the progress monitor
+ * the progress monitor
*/
protected void retrieveTopNodeCommentEditPart(GenEditorGenerator editorGenerator, IProgressMonitor monitor) {
GenDiagram diagram = editorGenerator.getDiagram();
- if(diagram == null) {
+ if (diagram == null) {
MessageDialog.openError(Display.getCurrent().getActiveShell(), "Impossible to find the diagram associated to this editor", "No diagram was found for this editor. \n\nYou should create one diagram before running this action");
}
GenClass commentGenClass = findGenClassForMetaclass(editorGenerator, "Comment");
- for(GenTopLevelNode topLevelNode : diagram.getTopLevelNodes()) {
+ for (GenTopLevelNode topLevelNode : diagram.getTopLevelNodes()) {
TypeModelFacet modelFacet = topLevelNode.getModelFacet();
- if(modelFacet != null && modelFacet.getMetaClass() != null) {
- if(commentGenClass.equals(modelFacet.getMetaClass())) {
+ if (modelFacet != null && modelFacet.getMetaClass() != null) {
+ if (commentGenClass.equals(modelFacet.getMetaClass())) {
topNodeComments.add(topLevelNode);
}
}
@@ -505,22 +506,22 @@ public class AddOrUpdateCommentEditParts extends Action {
/**
* Retrieves the child node comment edit parts
- *
+ *
* @param editorGenerator
- * the root node of the gmfgen
+ * the root node of the gmfgen
* @param monitor
- * the progress monitor
+ * the progress monitor
*/
protected void retrieveChildNodeCommentEditPart(GenEditorGenerator editorGenerator, IProgressMonitor monitor) {
GenDiagram diagram = editorGenerator.getDiagram();
- if(diagram == null) {
+ if (diagram == null) {
MessageDialog.openError(Display.getCurrent().getActiveShell(), "Impossible to find the diagram associated to this editor", "No diagram was found for this editor. \n\nYou should create one diagram before running this action");
}
GenClass commentGenClass = findGenClassForMetaclass(editorGenerator, "Comment");
- for(GenChildNode childNode : diagram.getChildNodes()) {
+ for (GenChildNode childNode : diagram.getChildNodes()) {
TypeModelFacet modelFacet = childNode.getModelFacet();
- if(modelFacet != null && modelFacet.getMetaClass() != null) {
- if(commentGenClass.equals(modelFacet.getMetaClass())) {
+ if (modelFacet != null && modelFacet.getMetaClass() != null) {
+ if (commentGenClass.equals(modelFacet.getMetaClass())) {
childNodeComments.add(childNode);
}
}
@@ -529,21 +530,21 @@ public class AddOrUpdateCommentEditParts extends Action {
/**
* Retrieves the child node comment edit parts
- *
+ *
* @param editorGenerator
- * the root node of the gmfgen
+ * the root node of the gmfgen
* @param monitor
- * the progress monitor
+ * the progress monitor
*/
protected void retrieveCommentParser(GenEditorGenerator editorGenerator, IProgressMonitor monitor) {
GenParsers parsers = editorGenerator.getLabelParsers();
- if(parsers == null) {
+ if (parsers == null) {
MessageDialog.openError(Display.getCurrent().getActiveShell(), "Impossible to find the parsers associated to this editor", "No parser container was found for this editor. \n\nYou should create the parsers container before running this action");
}
- for(GenParserImplementation parserImplementation : parsers.getImplementations()) {
- if(parserImplementation instanceof CustomParser) {
- if("org.eclipse.papyrus.diagram.common.parser.CommentParser".equals(((CustomParser)parserImplementation).getQualifiedName())) {
- commentParser = ((CustomParser)parserImplementation);
+ for (GenParserImplementation parserImplementation : parsers.getImplementations()) {
+ if (parserImplementation instanceof CustomParser) {
+ if ("org.eclipse.papyrus.diagram.common.parser.CommentParser".equals(((CustomParser) parserImplementation).getQualifiedName())) {
+ commentParser = ((CustomParser) parserImplementation);
}
}
}
@@ -551,7 +552,7 @@ public class AddOrUpdateCommentEditParts extends Action {
/**
- *
+ *
*/
protected GenClass findGenClassForMetaclass(EObject eObject, String name) {
Resource notation = eObject.eResource().getResourceSet().getResource(uri_UML2, true);
@@ -559,7 +560,7 @@ public class AddOrUpdateCommentEditParts extends Action {
}
/**
- *
+ *
*/
protected GenClass findGenClassForNotation(EObject eObject, String name) {
Resource notation = eObject.eResource().getResourceSet().getResource(uri_notation, true);
@@ -567,7 +568,7 @@ public class AddOrUpdateCommentEditParts extends Action {
}
/**
- *
+ *
*/
protected GenFeature findGenAttributeForMetaclass(EObject eObject, String genClassName, String genFeatureName) {
Resource notation = eObject.eResource().getResourceSet().getResource(uri_UML2, true);
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/AddSemanticElementTypeInGenericTopNode.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/AddSemanticElementTypeInGenericTopNode.java
index e012257b1a8..e123f3c4545 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/AddSemanticElementTypeInGenericTopNode.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/AddSemanticElementTypeInGenericTopNode.java
@@ -1,9 +1,9 @@
/*******************************************************************************
* Copyright (c) 2009 CEA LIST.
* All rights reserved. This program and the accompanying materials
- * are property of the CEA, their use is subject to specific agreement
+ * are property of the CEA, their use is subject to specific agreement
* with the CEA.
- *
+ *
* Contributors:
* CEA LIST - initial API and implementation
*******************************************************************************/
@@ -28,7 +28,6 @@ import org.eclipse.gmf.codegen.gmfgen.TypeModelFacet;
import org.eclipse.jface.action.IAction;
import org.eclipse.jface.dialogs.MessageDialog;
import org.eclipse.swt.widgets.Display;
-import org.eclipse.swt.widgets.MessageBox;
import org.eclipse.ui.IViewPart;
/**
@@ -48,9 +47,9 @@ public class AddSemanticElementTypeInGenericTopNode extends Action {
public static final String URI_NOTATION_GENMODEL = "org.eclipse.gmf.runtime.notation/model/notation.genmodel"; //$NON-NLS-1$
public static final String URI_UML_GENMODEL = "org.eclipse.uml2.uml/model/UML.genmodel"; //$NON-NLS-1$
-
-
-
+
+
+
/*
* (non-Javadoc)
*
@@ -65,61 +64,63 @@ public class AddSemanticElementTypeInGenericTopNode extends Action {
*
* @see org.eclipse.ui.IActionDelegate#run(org.eclipse.jface.action.IAction)
*/
+ @Override
public void run(IAction action) {
// Parse selected GenLink(s) and add the desired CustomBehavior
Iterator<EObject> it = getSelectedEObject().iterator();
- while(it.hasNext()) {
+ while (it.hasNext()) {
EObject eObject = it.next();
- if(eObject instanceof GenDiagram) {
+ if (eObject instanceof GenDiagram) {
- GenDiagram genDiagram = (GenDiagram)eObject;
+ GenDiagram genDiagram = (GenDiagram) eObject;
ResourceSet resourceSet = genDiagram.eResource().getResourceSet();
int updated = 0;
int created = 0;
-
+
// create and set values for top node and sub children
List<GenClass> concreteUMLMetaclasses = getAllUMLConcreteClasses(resourceSet);
- for(GenClass currentGenClass : concreteUMLMetaclasses) {
+ for (GenClass currentGenClass : concreteUMLMetaclasses) {
boolean needsCreation = false;
-
+
String metaclassName = currentGenClass.getEcoreClass().getName();
GenTopLevelNode node = findTopLevelNode(genDiagram, currentGenClass);
- if(node == null) {
+ if (node == null) {
needsCreation = true;
node = createNewTopNode(genDiagram, metaclassName);
created++;
}
updateToplevelNode(node, resourceSet, currentGenClass);
-
- if(needsCreation) {
+
+ if (needsCreation) {
genDiagram.getTopLevelNodes().add(node);
}
updated++;
}
-
- MessageDialog.openInformation(Display.getCurrent().getActiveShell(), "Generation", created+ " nodes were created.\n "+updated+" nodes were updated");
+
+ MessageDialog.openInformation(Display.getCurrent().getActiveShell(), "Generation", created + " nodes were created.\n " + updated + " nodes were updated");
}
}
}
-
-
-
+
+
+
/**
- * Returns all the UML {@link GenClass} that are related to UML constructs which are not abstract
+ * Returns all the UML {@link GenClass} that are related to UML constructs which are not abstract
+ *
* @param resourceSet
* @return
*/
protected List<GenClass> getAllUMLConcreteClasses(ResourceSet resourceSet) {
- Resource umlResource = resourceSet.getResource( URI.createPlatformPluginURI(URI_UML_GENMODEL, false), true);
+ Resource umlResource = resourceSet.getResource(URI.createPlatformPluginURI(URI_UML_GENMODEL, false), true);
List<GenClass> classes = new ArrayList<GenClass>();
- Iterator<EObject> it = umlResource.getAllContents();
- while(it.hasNext()) {
+ Iterator<EObject> it = umlResource.getAllContents();
+ while (it.hasNext()) {
EObject next = it.next();
- if(next instanceof GenClass) {
- GenClass genClass = (GenClass)next;
+ if (next instanceof GenClass) {
+ GenClass genClass = (GenClass) next;
EClass umlEClass = genClass.getEcoreClass();
- if(umlEClass !=null && !umlEClass.isAbstract() && !umlEClass.isInterface()) {
+ if (umlEClass != null && !umlEClass.isAbstract() && !umlEClass.isInterface()) {
classes.add(genClass);
}
}
@@ -129,16 +130,19 @@ public class AddSemanticElementTypeInGenericTopNode extends Action {
/**
* Returns the top level node that corresponds to this metaclass
- * @param metaclassName name of the metaclass for which element type has to be defined
+ *
+ * @param metaclassName
+ * name of the metaclass for which element type has to be defined
* @return the top level node found or <code>null</code>;
*/
protected GenTopLevelNode findTopLevelNode(GenDiagram genDiagram, GenClass genClass) {
- for(GenTopLevelNode topNode : genDiagram.getTopLevelNodes()) {
+ for (GenTopLevelNode topNode : genDiagram.getTopLevelNodes()) {
TypeModelFacet facet = topNode.getModelFacet();
- if(facet !=null) {
- if(genClass.equals(facet.getMetaClass())) {
+ if (facet != null) {
+ if (genClass.equals(facet.getMetaClass())) {
return topNode;
- };
+ }
+ ;
}
}
return null;
@@ -147,31 +151,31 @@ public class AddSemanticElementTypeInGenericTopNode extends Action {
protected void updateToplevelNode(GenTopLevelNode topLevelNode, ResourceSet resourceSet, GenClass genClass) {
String metaclassName = genClass.getEcoreClass().getName();
topLevelNode.setDiagramRunTimeClass(getNodeViewClass(resourceSet));
-
+
TypeModelFacet typeModelFacet = topLevelNode.getModelFacet();
- if(typeModelFacet == null) {
+ if (typeModelFacet == null) {
typeModelFacet = GMFGenFactory.eINSTANCE.createTypeModelFacet();
topLevelNode.setModelFacet(typeModelFacet);
}
-
+
typeModelFacet.setMetaClass(genClass);
-
+
ElementType type = topLevelNode.getElementType();
- if(type == null) {
+ if (type == null) {
type = GMFGenFactory.eINSTANCE.createMetamodelType();
topLevelNode.setElementType(type);
}
type.setDefinedExternally(true);
- type.setDisplayName(metaclassName+"_Semantic");
- type.setUniqueIdentifier(ORG_ECLIPSE_PAPYRUS_UML+metaclassName);
+ type.setDisplayName(metaclassName + "_Semantic");
+ type.setUniqueIdentifier(ORG_ECLIPSE_PAPYRUS_UML + metaclassName);
}
-
+
public GenTopLevelNode createNewTopNode(GenDiagram genDiagram, String metaclassName) {
GenTopLevelNode topLevelNode = GMFGenFactory.eINSTANCE.createGenTopLevelNode();
return topLevelNode;
}
-
-
+
+
protected GenClass getNodeViewClass(ResourceSet resourceSet) {
URI uri_notation = URI.createPlatformPluginURI(URI_NOTATION_GENMODEL, false);
Resource notation = resourceSet.getResource(uri_notation, true);
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/AddShapeNamedElementAction.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/AddShapeNamedElementAction.java
index 89986cd8de1..aec0240b5c1 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/AddShapeNamedElementAction.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/AddShapeNamedElementAction.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -101,15 +101,16 @@ public class AddShapeNamedElementAction extends Action {
/**
* @see org.eclipse.ui.IActionDelegate#run(org.eclipse.jface.action.IAction)
- *
+ *
* @param action
*/
+ @Override
public void run(IAction action) {
Iterator<EObject> it = getSelectedEObject().iterator();
- while(it.hasNext()) {
+ while (it.hasNext()) {
EObject eObject = it.next();
- if(eObject instanceof GenDiagram) {
- GenDiagram genDiagram = ((GenDiagram)eObject);
+ if (eObject instanceof GenDiagram) {
+ GenDiagram genDiagram = ((GenDiagram) eObject);
createTopNode(genDiagram);
}
}
@@ -117,9 +118,9 @@ public class AddShapeNamedElementAction extends Action {
/**
* Creates the top node.
- *
+ *
* @param genDiagram
- * the gen diagram
+ * the gen diagram
*/
public void createTopNode(GenDiagram genDiagram) {
URI uri_notation = URI.createPlatformPluginURI(URI_NOTATION_GENMODEL, false);
@@ -144,9 +145,9 @@ public class AddShapeNamedElementAction extends Action {
/**
* Adds the behavior.
- *
+ *
* @param topNode
- * the top node
+ * the top node
*/
public void addBehavior(GenTopLevelNode topNode) {
// add behavior
@@ -158,9 +159,9 @@ public class AddShapeNamedElementAction extends Action {
/**
* Adds the model facet.
- *
+ *
* @param topNode
- * the top node
+ * the top node
*/
public void addModelFacet(GenTopLevelNode topNode) {
URI uri_uml = URI.createPlatformPluginURI(URI_UML_GENMODEL, false);
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/AddSmallAndLargeIconForPaletteAction.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/AddSmallAndLargeIconForPaletteAction.java
index 0656a79198c..f5d585ef909 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/AddSmallAndLargeIconForPaletteAction.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/AddSmallAndLargeIconForPaletteAction.java
@@ -1,9 +1,9 @@
/*******************************************************************************
* Copyright (c) 2009 CEA LIST.
* All rights reserved. This program and the accompanying materials
- * are property of the CEA, their use is subject to specific agreement
+ * are property of the CEA, their use is subject to specific agreement
* with the CEA.
- *
+ *
* Contributors:
* CEA LIST - initial API and implementation
*******************************************************************************/
@@ -51,6 +51,7 @@ public class AddSmallAndLargeIconForPaletteAction extends Action {
/**
* {@inheritDoc}
*/
+ @Override
public void run(IAction action) {
IProgressMonitor monitor = new NullProgressMonitor();
@@ -59,17 +60,17 @@ public class AddSmallAndLargeIconForPaletteAction extends Action {
// Parse selected GenLink(s) and add the desired CustomBehavior
Iterator<EObject> it = getSelectedEObject().iterator();
- while(it.hasNext()) {
+ while (it.hasNext()) {
EObject eObject = it.next();
- if(eObject instanceof Palette) {
+ if (eObject instanceof Palette) {
monitor.beginTask("Generate palette icons", IProgressMonitor.UNKNOWN);
- generateIconsForEntry((Palette)eObject, monitor);
- } else if(eObject instanceof ToolGroup) {
+ generateIconsForEntry((Palette) eObject, monitor);
+ } else if (eObject instanceof ToolGroup) {
monitor.beginTask("Generate group icons", IProgressMonitor.UNKNOWN);
- generateIconsForGroup((ToolGroup)eObject, monitor);
- } else if(eObject instanceof ToolEntry) {
+ generateIconsForGroup((ToolGroup) eObject, monitor);
+ } else if (eObject instanceof ToolEntry) {
monitor.beginTask("Generate entry icons", IProgressMonitor.UNKNOWN);
- generateIconsForEntry((ToolEntry)eObject, monitor);
+ generateIconsForEntry((ToolEntry) eObject, monitor);
}
try {
eObject.eResource().save(new HashMap());
@@ -77,7 +78,7 @@ public class AddSmallAndLargeIconForPaletteAction extends Action {
e.printStackTrace();
}
- if(!messages.isEmpty()) {
+ if (!messages.isEmpty()) {
MessageDialog.openInformation(Display.getCurrent().getActiveShell(), "Information", messages.toString());
System.err.println(messages);
}
@@ -86,38 +87,38 @@ public class AddSmallAndLargeIconForPaletteAction extends Action {
/**
* Generates both the small and large icons field for the specified group, and the sub tools
- *
+ *
* @param toolEntry
- * the tool entry to modify
+ * the tool entry to modify
* @param monitor
- * the progress monitor that displays the task currently run
+ * the progress monitor that displays the task currently run
*/
private void generateIconsForGroup(ToolGroup group, IProgressMonitor monitor) {
// monitor.subTask("Generate " + ((group.getTitle() != null) ? group.getTitle() : "<group>")
// + "icons");
- if(group.getSmallIconPath() == null) {
+ if (group.getSmallIconPath() == null) {
group.setSmallIconPath("platform:/plugin/org.eclipse.gmf.runtime.diagram.ui/icons/group.gif");
messages.add("INFO: added small icon for " + group);
modifiedElements++;
}
- if(group.getLargeIconPath() == null) {
+ if (group.getLargeIconPath() == null) {
group.setLargeIconPath("platform:/plugin/org.eclipse.gmf.runtime.diagram.ui/icons/group.gif");
messages.add("INFO: added large icon for " + group);
}
monitor.subTask("Generate group entries icons");
// get all sub tools, and generate for them
- for(ToolGroupItem entry : group.getEntries()) {
- if(entry instanceof ToolEntry) {
- generateIconsForEntry((ToolEntry)entry, monitor);
+ for (ToolGroupItem entry : group.getEntries()) {
+ if (entry instanceof ToolEntry) {
+ generateIconsForEntry((ToolEntry) entry, monitor);
}
}
}
private void generateIconsForEntry(Palette eObject, IProgressMonitor monitor) {
- Iterator<ToolGroup> it = ((Palette)eObject).getGroups().iterator();
- while(it.hasNext()) {
+ Iterator<ToolGroup> it = eObject.getGroups().iterator();
+ while (it.hasNext()) {
generateIconsForGroup(it.next(), monitor);
}
@@ -125,41 +126,41 @@ public class AddSmallAndLargeIconForPaletteAction extends Action {
/**
* Generates both the small and large icons field for the specified toolentry
- *
+ *
* @param toolEntry
- * the tool entry to modify
+ * the tool entry to modify
* @param monitor
- * the progress monitor that displays the task currently run
+ * the progress monitor that displays the task currently run
*/
private void generateIconsForEntry(ToolEntry toolEntry, IProgressMonitor monitor) {
// retrieve viewed model element
EList<GenCommonBase> list = toolEntry.getElements();
GenClass genClass = null;
String name = "";
- if(!list.isEmpty()) {
+ if (!list.isEmpty()) {
// two possiblities: either entry is a genNode or a genLink
GenCommonBase base = list.get(0);
- if(base instanceof GenNode) {
- TypeModelFacet facet = ((GenNode)base).getModelFacet();
- if(facet != null) {
+ if (base instanceof GenNode) {
+ TypeModelFacet facet = ((GenNode) base).getModelFacet();
+ if (facet != null) {
genClass = facet.getMetaClass();
}
- } else if(base instanceof GenLink) {
- LinkModelFacet facet = ((GenLink)base).getModelFacet();
- if(facet instanceof TypeLinkModelFacet) {
- genClass = ((TypeLinkModelFacet)facet).getMetaClass();
+ } else if (base instanceof GenLink) {
+ LinkModelFacet facet = ((GenLink) base).getModelFacet();
+ if (facet instanceof TypeLinkModelFacet) {
+ genClass = ((TypeLinkModelFacet) facet).getMetaClass();
}
}
}
- if(genClass == null) {
+ if (genClass == null) {
messages.add("ERROR: " + toolEntry + " : impossible to find its gen class associated");
return;
}
// check name is not null null
- if(genClass != null) {
+ if (genClass != null) {
name = genClass.getName();
}
assert name != null : "impossible to find a name for model element: " + toolEntry;
@@ -168,7 +169,7 @@ public class AddSmallAndLargeIconForPaletteAction extends Action {
// retrieve icon for the element
// TODO: should be filled using a configuration
- if(getEclassPackageNsURI(genClass).equals("http://www.eclipse.org/uml2/3.0.0/UML")) {
+ if (getEclassPackageNsURI(genClass).equals("http://www.eclipse.org/uml2/3.0.0/UML")) {
smallIconPath = "platform:/plugin/org.eclipse.uml2.uml.edit/icons/full/obj16/" + name + ".gif";
} else {
return;
@@ -176,13 +177,13 @@ public class AddSmallAndLargeIconForPaletteAction extends Action {
String largeIconPath = smallIconPath;
- if(toolEntry.getSmallIconPath() == null || "".equals(toolEntry.getSmallIconPath())) {
+ if (toolEntry.getSmallIconPath() == null || "".equals(toolEntry.getSmallIconPath())) {
toolEntry.setSmallIconPath(smallIconPath);
modifiedElements++;
} else {
messages.add("INFO: " + toolEntry + " small icon field was not modified because it was already filled");
}
- if(toolEntry.getLargeIconPath() == null || "".equals(toolEntry.getLargeIconPath())) {
+ if (toolEntry.getLargeIconPath() == null || "".equals(toolEntry.getLargeIconPath())) {
toolEntry.setLargeIconPath(largeIconPath);
messages.add("INFO: " + toolEntry + " large icon field was not modified because it was already filled");
}
@@ -192,16 +193,16 @@ public class AddSmallAndLargeIconForPaletteAction extends Action {
/**
* Returns the nsURI of the EPackage of the given gen class
- *
+ *
* @param genClass
- * the gen class the nsuri should retrieved from.
+ * the gen class the nsuri should retrieved from.
* @return <code>""</code> if nothing was found
*/
private String getEclassPackageNsURI(GenClass genClass) {
final EClass eClass = genClass.getEcoreClass();
- if(eClass != null) {
+ if (eClass != null) {
final EPackage ePackage = eClass.getEPackage();
- if(ePackage != null) {
+ if (ePackage != null) {
return (ePackage.getNsURI() != null ? ePackage.getNsURI() : "");
} else {
messages.add("ERROR: " + eClass + " has no associated epackage");
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/DisplayReport.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/DisplayReport.java
index 87790fd3d94..41be04c3d5a 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/DisplayReport.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/DisplayReport.java
@@ -1,9 +1,9 @@
/*******************************************************************************
* Copyright (c) 2014 CEA LIST.
* All rights reserved. This program and the accompanying materials
- * are property of the CEA, their use is subject to specific agreement
+ * are property of the CEA, their use is subject to specific agreement
* with the CEA.
- *
+ *
* Contributors:
* CEA LIST - initial API and implementation
*******************************************************************************/
@@ -48,21 +48,22 @@ public class DisplayReport extends Action {
*
* @see org.eclipse.ui.IActionDelegate#run(org.eclipse.jface.action.IAction)
*/
+ @Override
public void run(IAction action) {
Iterator<EObject> it = getSelectedEObject().iterator();
- while(it.hasNext()) {
+ while (it.hasNext()) {
EObject eObject = it.next();
// Action should not be available on objects that are not GenCommonBase
- if(eObject instanceof GenCommonBase) {
- GenCommonBase genCommonBase = (GenCommonBase)eObject;
+ if (eObject instanceof GenCommonBase) {
+ GenCommonBase genCommonBase = (GenCommonBase) eObject;
StringBuffer out = getTopNodes(genCommonBase.eResource());
- Shell shell= new Shell(Display.getCurrent());
+ Shell shell = new Shell(Display.getCurrent());
shell.setText("report");
shell.setLayout(new FillLayout());
- Text text1 = new Text(shell, SWT.MULTI | SWT.BORDER| SWT.H_SCROLL|SWT.V_SCROLL);
+ Text text1 = new Text(shell, SWT.MULTI | SWT.BORDER | SWT.H_SCROLL | SWT.V_SCROLL);
text1.setText(out.toString());
shell.pack();
shell.open();
@@ -73,69 +74,69 @@ public class DisplayReport extends Action {
}
public StringBuffer getTopNodes(Resource gmfgen) {
- StringBuffer out= new StringBuffer();
+ StringBuffer out = new StringBuffer();
// Find the highest VisualID used by the chosen kind of node (given by clazz)
Iterator<EObject> it = gmfgen.getAllContents();
- out=out.append("TopNode\n");
- //topNode
- while(it.hasNext()) {
+ out = out.append("TopNode\n");
+ // topNode
+ while (it.hasNext()) {
EObject eObject = it.next();
- if(eObject instanceof GenTopLevelNode ){
- GenTopLevelNode genTopLevelNode= (GenTopLevelNode)eObject;
- if( genTopLevelNode.getModelFacet()!= null){
- out=out.append(genTopLevelNode.getModelFacet().getMetaClass().getEcoreClass().getName()+" "+genTopLevelNode.getVisualID()+"\n");
+ if (eObject instanceof GenTopLevelNode) {
+ GenTopLevelNode genTopLevelNode = (GenTopLevelNode) eObject;
+ if (genTopLevelNode.getModelFacet() != null) {
+ out = out.append(genTopLevelNode.getModelFacet().getMetaClass().getEcoreClass().getName() + " " + genTopLevelNode.getVisualID() + "\n");
}
}
}
- out=out.append("\nChildNode\n");
+ out = out.append("\nChildNode\n");
it = gmfgen.getAllContents();
- //topNode
- while(it.hasNext()) {
+ // topNode
+ while (it.hasNext()) {
EObject eObject = it.next();
- if(eObject instanceof GenChildNode ){
- GenChildNode genTopLevelNode= (GenChildNode)eObject;
- if( genTopLevelNode.getModelFacet()!= null){
- out=out.append(genTopLevelNode.getModelFacet().getMetaClass().getEcoreClass().getName()+" "+genTopLevelNode.getVisualID()+"\n");
+ if (eObject instanceof GenChildNode) {
+ GenChildNode genTopLevelNode = (GenChildNode) eObject;
+ if (genTopLevelNode.getModelFacet() != null) {
+ out = out.append(genTopLevelNode.getModelFacet().getMetaClass().getEcoreClass().getName() + " " + genTopLevelNode.getVisualID() + "\n");
}
}
}
-
- out=out.append("\nChildLabelNode\n");
+
+ out = out.append("\nChildLabelNode\n");
it = gmfgen.getAllContents();
- //topNode
- while(it.hasNext()) {
+ // topNode
+ while (it.hasNext()) {
EObject eObject = it.next();
- if(eObject instanceof GenChildLabelNode){
- GenChildLabelNode genTopLevelNode= (GenChildLabelNode)eObject;
- if( genTopLevelNode.getModelFacet()!= null){
- out=out.append(genTopLevelNode.getModelFacet().getMetaClass().getEcoreClass().getName()+" "+genTopLevelNode.getVisualID()+"\n");
+ if (eObject instanceof GenChildLabelNode) {
+ GenChildLabelNode genTopLevelNode = (GenChildLabelNode) eObject;
+ if (genTopLevelNode.getModelFacet() != null) {
+ out = out.append(genTopLevelNode.getModelFacet().getMetaClass().getEcoreClass().getName() + " " + genTopLevelNode.getVisualID() + "\n");
}
}
}
-
- out=out.append("\nAffixedNode\n");
+
+ out = out.append("\nAffixedNode\n");
it = gmfgen.getAllContents();
- //topNode
- while(it.hasNext()) {
+ // topNode
+ while (it.hasNext()) {
EObject eObject = it.next();
- if(eObject instanceof GenChildSideAffixedNode){
- GenChildSideAffixedNode genTopLevelNode= (GenChildSideAffixedNode)eObject;
- if( genTopLevelNode.getModelFacet()!= null){
- out=out.append(genTopLevelNode.getModelFacet().getMetaClass().getEcoreClass().getName()+" "+genTopLevelNode.getVisualID()+"\n");
+ if (eObject instanceof GenChildSideAffixedNode) {
+ GenChildSideAffixedNode genTopLevelNode = (GenChildSideAffixedNode) eObject;
+ if (genTopLevelNode.getModelFacet() != null) {
+ out = out.append(genTopLevelNode.getModelFacet().getMetaClass().getEcoreClass().getName() + " " + genTopLevelNode.getVisualID() + "\n");
}
}
}
- out=out.append("\nLink\n");
+ out = out.append("\nLink\n");
it = gmfgen.getAllContents();
- //topNode
- while(it.hasNext()) {
+ // topNode
+ while (it.hasNext()) {
EObject eObject = it.next();
- if(eObject instanceof GenLink ){
- GenLink genTopLevelNode= (GenLink)eObject;
- if( genTopLevelNode.getModelFacet()!= null){
- if(genTopLevelNode.getModelFacet() instanceof TypeLinkModelFacet){
- out=out.append(((TypeLinkModelFacet)genTopLevelNode.getModelFacet()).getMetaClass().getEcoreClass().getName()+" "+genTopLevelNode.getVisualID()+"\n");
+ if (eObject instanceof GenLink) {
+ GenLink genTopLevelNode = (GenLink) eObject;
+ if (genTopLevelNode.getModelFacet() != null) {
+ if (genTopLevelNode.getModelFacet() instanceof TypeLinkModelFacet) {
+ out = out.append(((TypeLinkModelFacet) genTopLevelNode.getModelFacet()).getMetaClass().getEcoreClass().getName() + " " + genTopLevelNode.getVisualID() + "\n");
}
}
}
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/EditpartGenHelper.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/EditpartGenHelper.java
index bc5e0df702f..69644270aa7 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/EditpartGenHelper.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/EditpartGenHelper.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -54,13 +54,13 @@ public class EditpartGenHelper {
/**
* Adds the behavior.
- *
+ *
* @param base
- * the base where we want to add a behvior
+ * the base where we want to add a behvior
* @param key
- * the key
+ * the key
* @param value
- * the value
+ * the value
*/
public static void addBehavior(GenCommonBase base, String key, String value) {
CustomBehaviour behaviour = GMFGenFactory.eINSTANCE.createCustomBehaviour();
@@ -71,13 +71,13 @@ public class EditpartGenHelper {
/**
* Creates the top node.
- *
+ *
* @param genDiagram
- * the gen diagram
+ * the gen diagram
* @param name
- * the name
+ * the name
* @param visualClass
- * the visual class node etc..
+ * the visual class node etc..
* @return the gen top level node
*/
public static GenTopLevelNode createTopNode(GenDiagram genDiagram, String name, GenClass visualClass) {
@@ -98,13 +98,13 @@ public class EditpartGenHelper {
/**
* Creates the gen node label.
- *
+ *
* @param genNode
- * the gen node
+ * the gen node
* @param name
- * the name
+ * the name
* @param visualClass
- * the visual class node etc...
+ * the visual class node etc...
* @return the gen node label
*/
public static GenNodeLabel createGenNodeLabel(GenNode genNode, String name, GenClass visualClass) {
@@ -121,13 +121,13 @@ public class EditpartGenHelper {
/**
* Creates the external gen node label.
- *
+ *
* @param genNode
- * the gen node
+ * the gen node
* @param name
- * the name
+ * the name
* @param visualClass
- * the visual class node etc ...
+ * the visual class node etc ...
* @return the gen node label
*/
public static GenNodeLabel createExternalGenNodeLabel(GenNode genNode, String name, GenClass visualClass) {
@@ -144,28 +144,28 @@ public class EditpartGenHelper {
/**
* Creates the meta model type.
- *
+ *
* @param base
- * the base that will contains the metamodel type
+ * the base that will contains the metamodel type
* @param name
- * the name of the edit class helper
+ * the name of the edit class helper
*/
public static void createMetaModelType(GenCommonBase base, String name) {
MetamodelType metamodelType = GMFGenFactory.eINSTANCE.createMetamodelType();
metamodelType.setDefinedExternally(false);
metamodelType.setDisplayName(name);
- metamodelType.setEditHelperClassName(name + EDIT_HELPER); //$NON-NLS-1$
+ metamodelType.setEditHelperClassName(name + EDIT_HELPER);
metamodelType.setDiagramElement(base);
}
/**
* Creates the label view map.
- *
+ *
* @param base
- * the base that will contains the labelview map
+ * the base that will contains the labelview map
* @param qualifiedNameFigure
- * the qualified name figure
+ * the qualified name figure
*/
public static void createLabelViewMap(GenCommonBase base, String qualifiedNameFigure) {
ParentAssignedViewmap figureViewmap = GMFGenFactory.eINSTANCE.createParentAssignedViewmap();
@@ -182,15 +182,15 @@ public class EditpartGenHelper {
/**
* Creates the figure view map.
- *
+ *
* @param base
- * the base that will contains the labelview map
+ * the base that will contains the labelview map
* @param qualifiedNameFigure
- * the qualified name figure
+ * the qualified name figure
* @param width
- * the width of the default figure
+ * the width of the default figure
* @param height
- * the height of the default figure
+ * the height of the default figure
*/
public static void createFigureViewMap(GenCommonBase base, String qualifiedNameFigure, int width, int height) {
FigureViewmap figureViewmap = GMFGenFactory.eINSTANCE.createFigureViewmap();
@@ -204,13 +204,13 @@ public class EditpartGenHelper {
/**
* Creates the model facet.
- *
+ *
* @param base
- * the base that will contains the model facet
+ * the base that will contains the model facet
* @param genFeature
- * the gen feature
+ * the gen feature
* @param genclass
- * the genclass
+ * the genclass
*/
public static void createModelFacet(GenNode base, GenFeature genFeature, GenClass genclass) {
TypeModelFacet facet = GMFGenFactory.eINSTANCE.createTypeModelFacet();
@@ -222,13 +222,13 @@ public class EditpartGenHelper {
/**
* Creates the label model facet.
- *
+ *
* @param label
- * the label that will contains the label model facet
+ * the label that will contains the label model facet
* @param genFeature
- * the gen feature
+ * the gen feature
* @param value
- * the value
+ * the value
*/
public static void createLabelModelFacet(GenLabel label, GenFeature genFeature, GenParserImplementation value) {
FeatureLabelModelFacet facet = GMFGenFactory.eINSTANCE.createFeatureLabelModelFacet();
@@ -240,17 +240,17 @@ public class EditpartGenHelper {
/**
* Gets the first predefined parse.
- *
+ *
* @param editorView
- * the editor view
+ * the editor view
* @return the first predefined parse
*/
public static PredefinedParser getFirstPredefinedParse(GenEditorGenerator editorView) {
Iterator<GenParserImplementation> iter = editorView.getLabelParsers().getImplementations().iterator();
- while(iter.hasNext()) {
+ while (iter.hasNext()) {
GenParserImplementation base = iter.next();
- if(base instanceof PredefinedParser) {
- return (PredefinedParser)base;
+ if (base instanceof PredefinedParser) {
+ return (PredefinedParser) base;
}
}
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/Messages.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/Messages.java
index 99cf4e9943f..d67de11a8e6 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/Messages.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/Messages.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/SetCompartmentNeedsTitleToTrueAction.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/SetCompartmentNeedsTitleToTrueAction.java
index 9e1fa9d722a..b8c6ddc2631 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/SetCompartmentNeedsTitleToTrueAction.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/SetCompartmentNeedsTitleToTrueAction.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2011 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -30,34 +30,35 @@ import org.eclipse.jface.action.IAction;
/**
* This action allows to set the field Needs Title in the Selected Compartments to true
- *
+ *
* This action was created for the bug 343092.
- *
+ *
*/
public class SetCompartmentNeedsTitleToTrueAction extends Action {
+ @Override
public void run(IAction action) {
CompoundCommand command = new CompoundCommand();
List<EObject> selection = getSelectedEObject();
- if(!selection.isEmpty()) {
+ if (!selection.isEmpty()) {
EditingDomain domain = AdapterFactoryEditingDomain.getEditingDomainFor(selection.get(0));
Assert.isNotNull(domain);
Iterator<EObject> iter = selection.iterator();
- while(iter.hasNext()) {
+ while (iter.hasNext()) {
Object current = iter.next();
- if(current instanceof GenCompartment) {
- GenCompartment compartment = (GenCompartment)current;
- //we set that the compartment needs to have a Title
+ if (current instanceof GenCompartment) {
+ GenCompartment compartment = (GenCompartment) current;
+ // we set that the compartment needs to have a Title
Command cmd = SetCommand.create(domain, compartment, GMFGenPackage.eINSTANCE.getGenCompartment_NeedsTitle(), true);
- if(cmd.canExecute()) {
+ if (cmd.canExecute()) {
command.append(cmd);
}
}
}
- if(command.canExecute()) {
+ if (command.canExecute()) {
domain.getCommandStack().execute(command);
}
}
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/SetVisualIDWithUnusedValue.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/SetVisualIDWithUnusedValue.java
index 1aaa9b444ef..d6f00e6cc60 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/SetVisualIDWithUnusedValue.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/SetVisualIDWithUnusedValue.java
@@ -1,9 +1,9 @@
/*******************************************************************************
* Copyright (c) 2009 CEA LIST.
* All rights reserved. This program and the accompanying materials
- * are property of the CEA, their use is subject to specific agreement
+ * are property of the CEA, their use is subject to specific agreement
* with the CEA.
- *
+ *
* Contributors:
* CEA LIST - initial API and implementation
*******************************************************************************/
@@ -37,15 +37,16 @@ public class SetVisualIDWithUnusedValue extends Action {
*
* @see org.eclipse.ui.IActionDelegate#run(org.eclipse.jface.action.IAction)
*/
+ @Override
public void run(IAction action) {
Iterator<EObject> it = getSelectedEObject().iterator();
- while(it.hasNext()) {
+ while (it.hasNext()) {
EObject eObject = it.next();
// Action should not be available on objects that are not GenCommonBase
- if(eObject instanceof GenCommonBase) {
- GenCommonBase genCommonBase = (GenCommonBase)eObject;
+ if (eObject instanceof GenCommonBase) {
+ GenCommonBase genCommonBase = (GenCommonBase) eObject;
int visualID = getNewVisualID(genCommonBase.eResource(), genCommonBase.getClass());
genCommonBase.setVisualID(visualID);
@@ -58,11 +59,11 @@ public class SetVisualIDWithUnusedValue extends Action {
* This method returns an unused VisualID The method first parse all the VisualID of a particular kind of node (clazz) to find the highest. The
* new VisualID is the highest + 1 (also tested against
* the case another kind of node uses same id)
- *
+ *
* @param gmfgen
- * the gmfgen model
+ * the gmfgen model
* @param clazz
- * kind of GenCommonBase node tested
+ * kind of GenCommonBase node tested
* @return an unused VisualID (following the highest VisualID used by same kind of node)
*/
public static int getNewVisualID(Resource gmfgen, Class<?> clazz) {
@@ -71,11 +72,11 @@ public class SetVisualIDWithUnusedValue extends Action {
// Find the highest VisualID used by the chosen kind of node (given by clazz)
int lastUsed = 0;
Iterator<EObject> it = gmfgen.getAllContents();
- while(it.hasNext()) {
+ while (it.hasNext()) {
EObject eObject = it.next();
- if(clazz.isInstance(eObject)) {
- GenCommonBase genCommonBase = (GenCommonBase)eObject;
- if(lastUsed < genCommonBase.getVisualID()) {
+ if (clazz.isInstance(eObject)) {
+ GenCommonBase genCommonBase = (GenCommonBase) eObject;
+ if (lastUsed < genCommonBase.getVisualID()) {
lastUsed = genCommonBase.getVisualID();
}
}
@@ -84,7 +85,7 @@ public class SetVisualIDWithUnusedValue extends Action {
// Check if another kind of node does not already use visualID
// increment result in such a case
visualID = lastUsed + 1;
- while(isUsedVisualID(gmfgen, visualID)) {
+ while (isUsedVisualID(gmfgen, visualID)) {
visualID++;
}
return visualID;
@@ -92,11 +93,11 @@ public class SetVisualIDWithUnusedValue extends Action {
/**
* Tests if the VisualID parameter is already used in the resource
- *
+ *
* @param gmfgen
- * the gmfgen model
+ * the gmfgen model
* @param visualID
- * the id to check
+ * the id to check
* @return true if visualID is already used, else returns false
*/
public static boolean isUsedVisualID(Resource gmfgen, int visualID) {
@@ -105,13 +106,13 @@ public class SetVisualIDWithUnusedValue extends Action {
// Iterate over the gmfgen model
Iterator<EObject> it = gmfgen.getAllContents();
- while(it.hasNext() && !used) {
+ while (it.hasNext() && !used) {
EObject eObject = it.next();
// Most Gen node inherits from GenCommonBase (owns VisualID)
- if(eObject instanceof GenCommonBase) {
- GenCommonBase genCommonBase = (GenCommonBase)eObject;
- if(visualID == genCommonBase.getVisualID()) {
+ if (eObject instanceof GenCommonBase) {
+ GenCommonBase genCommonBase = (GenCommonBase) eObject;
+ if (visualID == genCommonBase.getVisualID()) {
used = true;
}
}
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/TestCodeSetGeneration.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/TestCodeSetGeneration.java
index 4f4b8cb25af..63e058294b6 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/TestCodeSetGeneration.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/TestCodeSetGeneration.java
@@ -1,9 +1,9 @@
/*******************************************************************************
* Copyright (c) 2014 CEA LIST.
* All rights reserved. This program and the accompanying materials
- * are property of the CEA, their use is subject to specific agreement
+ * are property of the CEA, their use is subject to specific agreement
* with the CEA.
- *
+ *
* Contributors:
* CEA LIST - initial API and implementation
*******************************************************************************/
@@ -48,21 +48,22 @@ public class TestCodeSetGeneration extends Action {
*
* @see org.eclipse.ui.IActionDelegate#run(org.eclipse.jface.action.IAction)
*/
+ @Override
public void run(IAction action) {
Iterator<EObject> it = getSelectedEObject().iterator();
- while(it.hasNext()) {
+ while (it.hasNext()) {
EObject eObject = it.next();
// Action should not be available on objects that are not GenCommonBase
- if(eObject instanceof GenCommonBase) {
- GenCommonBase genCommonBase = (GenCommonBase)eObject;
+ if (eObject instanceof GenCommonBase) {
+ GenCommonBase genCommonBase = (GenCommonBase) eObject;
StringBuffer out = getTopNodes(genCommonBase.eResource());
- Shell shell= new Shell(Display.getCurrent());
+ Shell shell = new Shell(Display.getCurrent());
shell.setText("report");
shell.setLayout(new FillLayout());
- Text text1 = new Text(shell, SWT.MULTI | SWT.BORDER| SWT.H_SCROLL|SWT.V_SCROLL);
+ Text text1 = new Text(shell, SWT.MULTI | SWT.BORDER | SWT.H_SCROLL | SWT.V_SCROLL);
text1.setText(out.toString());
shell.pack();
shell.open();
@@ -73,131 +74,131 @@ public class TestCodeSetGeneration extends Action {
}
public StringBuffer getTopNodes(Resource gmfgen) {
- StringBuffer out= new StringBuffer();
+ StringBuffer out = new StringBuffer();
// Find the highest VisualID used by the chosen kind of node (given by clazz)
Iterator<EObject> it = gmfgen.getAllContents();
- out=out.append("\n*************************************************\nTopNode\n******************************************************\n");
- //topNode
- while(it.hasNext()) {
+ out = out.append("\n*************************************************\nTopNode\n******************************************************\n");
+ // topNode
+ while (it.hasNext()) {
EObject eObject = it.next();
- if(eObject instanceof GenTopLevelNode ){
- GenTopLevelNode genTopLevelNode= (GenTopLevelNode)eObject;
- if( genTopLevelNode.getModelFacet()!= null){
- String name=genTopLevelNode.getModelFacet().getMetaClass().getEcoreClass().getName();
- String visalId=""+genTopLevelNode.getVisualID();
- out=out.append(
- "/**\n"+
- "* Test to manage "+name+".\n"+
- "*/\n"+
- "@Test\n"+
- "public void testTo"+name+"() {\n"+
- " testToManageNode(UMLElementTypes."+name+"_"+visalId+", UMLPackage.eINSTANCE.get"+name+"(), UMLElementTypes."+name+"_"+visalId+", false);\n"+
- "}\n"
- );
+ if (eObject instanceof GenTopLevelNode) {
+ GenTopLevelNode genTopLevelNode = (GenTopLevelNode) eObject;
+ if (genTopLevelNode.getModelFacet() != null) {
+ String name = genTopLevelNode.getModelFacet().getMetaClass().getEcoreClass().getName();
+ String visalId = "" + genTopLevelNode.getVisualID();
+ out = out.append(
+ "/**\n" +
+ "* Test to manage " + name + ".\n" +
+ "*/\n" +
+ "@Test\n" +
+ "public void testTo" + name + "() {\n" +
+ " testToManageNode(UMLElementTypes." + name + "_" + visalId + ", UMLPackage.eINSTANCE.get" + name + "(), UMLElementTypes." + name + "_" + visalId + ", false);\n" +
+ "}\n"
+ );
}
}
}
- out=out.append("\n************************************************************************************************************************\n"
- + "ChildNode\n"
- + "************************************************************************************************************************\n");
+ out = out.append("\n************************************************************************************************************************\n"
+ + "ChildNode\n"
+ + "************************************************************************************************************************\n");
it = gmfgen.getAllContents();
- //topNode
- while(it.hasNext()) {
+ // topNode
+ while (it.hasNext()) {
EObject eObject = it.next();
- if(eObject instanceof GenChildNode &&!(eObject instanceof GenChildLabelNode)&&!(eObject instanceof GenChildSideAffixedNode)){
- GenChildNode genTopLevelNode= (GenChildNode)eObject;
- if( genTopLevelNode.getModelFacet()!= null){
- String name=genTopLevelNode.getModelFacet().getMetaClass().getEcoreClass().getName();
- String visalId=""+genTopLevelNode.getVisualID();
- out=out.append(
- "/**\n"+
- "* Test to manage "+name+".\n"+
- "*/\n"+
- "@Test\n"+
- "public void testTo"+name+"() {\n"+
- " testToManageNode(UMLElementTypes."+name+"_"+visalId+", UMLPackage.eINSTANCE.get"+name+"(), container, true);\n"+
-
- "}\n"
- );
+ if (eObject instanceof GenChildNode && !(eObject instanceof GenChildLabelNode) && !(eObject instanceof GenChildSideAffixedNode)) {
+ GenChildNode genTopLevelNode = (GenChildNode) eObject;
+ if (genTopLevelNode.getModelFacet() != null) {
+ String name = genTopLevelNode.getModelFacet().getMetaClass().getEcoreClass().getName();
+ String visalId = "" + genTopLevelNode.getVisualID();
+ out = out.append(
+ "/**\n" +
+ "* Test to manage " + name + ".\n" +
+ "*/\n" +
+ "@Test\n" +
+ "public void testTo" + name + "() {\n" +
+ " testToManageNode(UMLElementTypes." + name + "_" + visalId + ", UMLPackage.eINSTANCE.get" + name + "(), container, true);\n" +
+
+ "}\n"
+ );
}
}
}
-
- out=out.append("\n********************************************************************************************************************"
- + "*\nChildLabelNode\n"
- + "******************************************************************************************************************************\n");
+
+ out = out.append("\n********************************************************************************************************************"
+ + "*\nChildLabelNode\n"
+ + "******************************************************************************************************************************\n");
it = gmfgen.getAllContents();
- //topNode
- while(it.hasNext()) {
+ // topNode
+ while (it.hasNext()) {
EObject eObject = it.next();
- if(eObject instanceof GenChildLabelNode){
- GenChildLabelNode genTopLevelNode= (GenChildLabelNode)eObject;
- if( genTopLevelNode.getModelFacet()!= null){
- String name=genTopLevelNode.getModelFacet().getMetaClass().getEcoreClass().getName();
- String visalId=""+genTopLevelNode.getVisualID();
- out=out.append(
- "/**\n"+
- "* Test to manage "+name+".\n"+
- "*/\n"+
- "@Test\n"+
- "public void testTo"+name+"() {\n"+
- "testToManageTopNodeWithMask(UMLElementTypes.Container,UMLElementTypes."+name+"_"+visalId+", Compartment.VISUAL_ID,null);\n"+
- "}\n"
- );
+ if (eObject instanceof GenChildLabelNode) {
+ GenChildLabelNode genTopLevelNode = (GenChildLabelNode) eObject;
+ if (genTopLevelNode.getModelFacet() != null) {
+ String name = genTopLevelNode.getModelFacet().getMetaClass().getEcoreClass().getName();
+ String visalId = "" + genTopLevelNode.getVisualID();
+ out = out.append(
+ "/**\n" +
+ "* Test to manage " + name + ".\n" +
+ "*/\n" +
+ "@Test\n" +
+ "public void testTo" + name + "() {\n" +
+ "testToManageTopNodeWithMask(UMLElementTypes.Container,UMLElementTypes." + name + "_" + visalId + ", Compartment.VISUAL_ID,null);\n" +
+ "}\n"
+ );
}
}
}
-
- out=out.append("\n**************************************************************************************************************\n"
- + "AffixedNode\n"
- + "*************************************************************************************************************************\n");
+
+ out = out.append("\n**************************************************************************************************************\n"
+ + "AffixedNode\n"
+ + "*************************************************************************************************************************\n");
it = gmfgen.getAllContents();
- //topNode
- while(it.hasNext()) {
+ // topNode
+ while (it.hasNext()) {
EObject eObject = it.next();
- if(eObject instanceof GenChildSideAffixedNode){
- GenChildSideAffixedNode genTopLevelNode= (GenChildSideAffixedNode)eObject;
- if( genTopLevelNode.getModelFacet()!= null){
- String name=genTopLevelNode.getModelFacet().getMetaClass().getEcoreClass().getName();
- String visalId=""+genTopLevelNode.getVisualID();
- out=out.append(
- "/**\n"+
- "* Test to manage "+name+".\n"+
- "*/\n"+
- "@Test\n"+
- "public void testTo"+name+"() {\n"+
- "setTestAffixedNode(true);\n"+
- " testToManageNode(UMLElementTypes."+name+"_"+visalId+", UMLPackage.eINSTANCE.get"+name+"(), container, true);\n"+
- "setTestAffixedNode(false);\n"+
- "}\n"
- );
-
+ if (eObject instanceof GenChildSideAffixedNode) {
+ GenChildSideAffixedNode genTopLevelNode = (GenChildSideAffixedNode) eObject;
+ if (genTopLevelNode.getModelFacet() != null) {
+ String name = genTopLevelNode.getModelFacet().getMetaClass().getEcoreClass().getName();
+ String visalId = "" + genTopLevelNode.getVisualID();
+ out = out.append(
+ "/**\n" +
+ "* Test to manage " + name + ".\n" +
+ "*/\n" +
+ "@Test\n" +
+ "public void testTo" + name + "() {\n" +
+ "setTestAffixedNode(true);\n" +
+ " testToManageNode(UMLElementTypes." + name + "_" + visalId + ", UMLPackage.eINSTANCE.get" + name + "(), container, true);\n" +
+ "setTestAffixedNode(false);\n" +
+ "}\n"
+ );
+
}
}
}
- out=out.append("\n************************************************************************************************************\n"
- + "Link\n"
- + "*****************************************************************************************************************************\n");
+ out = out.append("\n************************************************************************************************************\n"
+ + "Link\n"
+ + "*****************************************************************************************************************************\n");
it = gmfgen.getAllContents();
- //topNode
- while(it.hasNext()) {
+ // topNode
+ while (it.hasNext()) {
EObject eObject = it.next();
- if(eObject instanceof GenLink ){
- GenLink genTopLevelNode= (GenLink)eObject;
- if( genTopLevelNode.getModelFacet()!= null){
- if(genTopLevelNode.getModelFacet() instanceof TypeLinkModelFacet){
- String name=((TypeLinkModelFacet)genTopLevelNode.getModelFacet()).getMetaClass().getEcoreClass().getName();
- String visalId=""+genTopLevelNode.getVisualID();
- out=out.append(
- "/**\n"+
- "* Test to manage component.\n"+
- "*/\n"+
- "@Test\n"+
- "public void testTo"+name+"() {\n"+
- "testToManageLink(UMLElementTypes.source, UMLElementTypes.target, UMLElementTypes."+name+"_"+visalId+", container, true);\n"+
- "}\n"
- );
+ if (eObject instanceof GenLink) {
+ GenLink genTopLevelNode = (GenLink) eObject;
+ if (genTopLevelNode.getModelFacet() != null) {
+ if (genTopLevelNode.getModelFacet() instanceof TypeLinkModelFacet) {
+ String name = ((TypeLinkModelFacet) genTopLevelNode.getModelFacet()).getMetaClass().getEcoreClass().getName();
+ String visalId = "" + genTopLevelNode.getVisualID();
+ out = out.append(
+ "/**\n" +
+ "* Test to manage component.\n" +
+ "*/\n" +
+ "@Test\n" +
+ "public void testTo" + name + "() {\n" +
+ "testToManageLink(UMLElementTypes.source, UMLElementTypes.target, UMLElementTypes." + name + "_" + visalId + ", container, true);\n" +
+ "}\n"
+ );
}
}
}
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/UpdateElementTypeToMatchGenericType.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/UpdateElementTypeToMatchGenericType.java
index b9c903e9672..69d9d68c759 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/UpdateElementTypeToMatchGenericType.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/UpdateElementTypeToMatchGenericType.java
@@ -1,15 +1,14 @@
/*******************************************************************************
* Copyright (c) 2009 CEA LIST.
* All rights reserved. This program and the accompanying materials
- * are property of the CEA, their use is subject to specific agreement
+ * are property of the CEA, their use is subject to specific agreement
* with the CEA.
- *
+ *
* Contributors:
* CEA LIST - initial API and implementation
*******************************************************************************/
package org.eclipse.papyrus.papyrusgmfgenextension.popupaction;
-import java.io.IOException;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
@@ -67,16 +66,17 @@ public class UpdateElementTypeToMatchGenericType extends Action {
*
* @see org.eclipse.ui.IActionDelegate#run(org.eclipse.jface.action.IAction)
*/
+ @Override
public void run(IAction action) {
// Parse selected GenLink(s) and add the desired CustomBehavior
Iterator<EObject> it = getSelectedEObject().iterator();
- while(it.hasNext()) {
+ while (it.hasNext()) {
EObject eObject = it.next();
- if(eObject instanceof SpecializationType) {
- SpecializationType specializationType = (SpecializationType)eObject;
+ if (eObject instanceof SpecializationType) {
+ SpecializationType specializationType = (SpecializationType) eObject;
Resource genericTypeResource = getGenericTypeResource(specializationType.eResource().getResourceSet());
- if(genericTypeResource==null) {
- MessageDialog.openError(Display.getCurrent().getActiveShell(), "Error", "no "+GENERIC_UML_GMFGEN+" resource has been found.");
+ if (genericTypeResource == null) {
+ MessageDialog.openError(Display.getCurrent().getActiveShell(), "Error", "no " + GENERIC_UML_GMFGEN + " resource has been found.");
return;
}
// retrieve associated metaclass
@@ -84,7 +84,7 @@ public class UpdateElementTypeToMatchGenericType extends Action {
String id = specializationType.getUniqueIdentifier();
String displayName = specializationType.getDisplayName();
// check precondition before creating a duplicate
- if(metaclass == null) {
+ if (metaclass == null) {
MessageDialog.openError(Display.getCurrent().getActiveShell(), "Error", "metaclass is null");
} else {
// create the specialization type and update it
@@ -92,31 +92,31 @@ public class UpdateElementTypeToMatchGenericType extends Action {
newType.setUniqueIdentifier(id);
newType.setDefinedExternally(false);
newType.setDisplayName(displayName);
-
+
// find generic element type
EClass eClass = metaclass.getEcoreClass();
-
+
Iterator<EObject> genericTypes = genericTypeResource.getAllContents();
- while(genericTypes.hasNext()) {
+ while (genericTypes.hasNext()) {
EObject object = genericTypes.next();
- if(object instanceof MetamodelType) {
- MetamodelType type = ((MetamodelType)object);
- if(type.getMetaClass().getEcoreClass().equals(eClass)) {
+ if (object instanceof MetamodelType) {
+ MetamodelType type = ((MetamodelType) object);
+ if (type.getMetaClass().getEcoreClass().equals(eClass)) {
newType.setMetamodelType(type);
}
}
}
-
+
// replace existing type
GenCommonBase commonBase = specializationType.getDiagramElement();
commonBase.setElementType(newType);
- MessageDialog.openInformation(Display.getCurrent().getActiveShell(), "Generation", "Specialization type was created and has replaced the specialization type\n"+newType);
+ MessageDialog.openInformation(Display.getCurrent().getActiveShell(), "Generation", "Specialization type was created and has replaced the specialization type\n" + newType);
}
- } else if(eObject instanceof MetamodelType) {
- MetamodelType metamodelType = (MetamodelType)eObject;
+ } else if (eObject instanceof MetamodelType) {
+ MetamodelType metamodelType = (MetamodelType) eObject;
Resource genericTypeResource = getGenericTypeResource(metamodelType.eResource().getResourceSet());
- if(genericTypeResource==null) {
- MessageDialog.openError(Display.getCurrent().getActiveShell(), "Error", "no "+GENERIC_UML_GMFGEN+" resource has been found.");
+ if (genericTypeResource == null) {
+ MessageDialog.openError(Display.getCurrent().getActiveShell(), "Error", "no " + GENERIC_UML_GMFGEN + " resource has been found.");
return;
}
// retrieve associated metaclass
@@ -124,7 +124,7 @@ public class UpdateElementTypeToMatchGenericType extends Action {
String id = metamodelType.getUniqueIdentifier();
String displayName = metamodelType.getDisplayName();
// check precondition before creating a duplicate
- if(metaclass == null) {
+ if (metaclass == null) {
MessageDialog.openError(Display.getCurrent().getActiveShell(), "Error", "metaclass is null");
} else {
// create the specialization type and update it
@@ -132,25 +132,25 @@ public class UpdateElementTypeToMatchGenericType extends Action {
newType.setUniqueIdentifier(id);
newType.setDefinedExternally(false);
newType.setDisplayName(displayName);
-
+
// find generic element type
EClass eClass = metaclass.getEcoreClass();
-
+
Iterator<EObject> genericTypes = genericTypeResource.getAllContents();
- while(genericTypes.hasNext()) {
+ while (genericTypes.hasNext()) {
EObject object = genericTypes.next();
- if(object instanceof MetamodelType) {
- MetamodelType type = ((MetamodelType)object);
- if(type.getMetaClass().getEcoreClass().equals(eClass)) {
+ if (object instanceof MetamodelType) {
+ MetamodelType type = ((MetamodelType) object);
+ if (type.getMetaClass().getEcoreClass().equals(eClass)) {
newType.setMetamodelType(type);
}
}
}
-
+
// replace existing type
GenCommonBase commonBase = metamodelType.getDiagramElement();
commonBase.setElementType(newType);
- MessageDialog.openInformation(Display.getCurrent().getActiveShell(), "Generation", "Specialization type was created and has replaced the metamodel type\n"+newType);
+ MessageDialog.openInformation(Display.getCurrent().getActiveShell(), "Generation", "Specialization type was created and has replaced the metamodel type\n" + newType);
}
}
}
@@ -161,10 +161,10 @@ public class UpdateElementTypeToMatchGenericType extends Action {
* @return
*/
protected Resource getGenericTypeResource(ResourceSet resourceSet) {
- for(Resource resource : resourceSet.getResources()) {
+ for (Resource resource : resourceSet.getResources()) {
URI resourceURI = resource.getURI();
String resourceName = resourceURI.segment(resourceURI.segmentCount() - 1);
- if(GENERIC_UML_GMFGEN.equals(resourceName)) {
+ if (GENERIC_UML_GMFGEN.equals(resourceName)) {
return resource;
}
}
@@ -177,7 +177,7 @@ public class UpdateElementTypeToMatchGenericType extends Action {
/**
* Returns all the UML {@link GenClass} that are related to UML constructs which are not abstract
- *
+ *
* @param resourceSet
* @return
*/
@@ -185,12 +185,12 @@ public class UpdateElementTypeToMatchGenericType extends Action {
Resource umlResource = resourceSet.getResource(URI.createPlatformPluginURI(URI_UML_GENMODEL, false), true);
List<GenClass> classes = new ArrayList<GenClass>();
Iterator<EObject> it = umlResource.getAllContents();
- while(it.hasNext()) {
+ while (it.hasNext()) {
EObject next = it.next();
- if(next instanceof GenClass) {
- GenClass genClass = (GenClass)next;
+ if (next instanceof GenClass) {
+ GenClass genClass = (GenClass) next;
EClass umlEClass = genClass.getEcoreClass();
- if(umlEClass != null && !umlEClass.isAbstract() && !umlEClass.isInterface()) {
+ if (umlEClass != null && !umlEClass.isAbstract() && !umlEClass.isInterface()) {
classes.add(genClass);
}
}
@@ -200,18 +200,19 @@ public class UpdateElementTypeToMatchGenericType extends Action {
/**
* Returns the top level node that corresponds to this metaclass
- *
+ *
* @param metaclassName
- * name of the metaclass for which element type has to be defined
+ * name of the metaclass for which element type has to be defined
* @return the top level node found or <code>null</code>;
*/
protected GenTopLevelNode findTopLevelNode(GenDiagram genDiagram, GenClass genClass) {
- for(GenTopLevelNode topNode : genDiagram.getTopLevelNodes()) {
+ for (GenTopLevelNode topNode : genDiagram.getTopLevelNodes()) {
TypeModelFacet facet = topNode.getModelFacet();
- if(facet != null) {
- if(genClass.equals(facet.getMetaClass())) {
+ if (facet != null) {
+ if (genClass.equals(facet.getMetaClass())) {
return topNode;
- };
+ }
+ ;
}
}
return null;
@@ -221,13 +222,13 @@ public class UpdateElementTypeToMatchGenericType extends Action {
String metaclassName = genClass.getEcoreClass().getName();
topLevelNode.setDiagramRunTimeClass(getNodeViewClass(resourceSet));
TypeModelFacet typeModelFacet = topLevelNode.getModelFacet();
- if(typeModelFacet == null) {
+ if (typeModelFacet == null) {
typeModelFacet = GMFGenFactory.eINSTANCE.createTypeModelFacet();
topLevelNode.setModelFacet(typeModelFacet);
}
typeModelFacet.setMetaClass(genClass);
ElementType type = topLevelNode.getElementType();
- if(type == null) {
+ if (type == null) {
type = GMFGenFactory.eINSTANCE.createMetamodelType();
topLevelNode.setElementType(type);
}
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/util/PapyrusgmfgenextensionAdapterFactory.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/util/PapyrusgmfgenextensionAdapterFactory.java
index 7a0b3c5ea96..c3a8b320c72 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/util/PapyrusgmfgenextensionAdapterFactory.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/util/PapyrusgmfgenextensionAdapterFactory.java
@@ -41,6 +41,7 @@ import org.eclipse.papyrus.papyrusgmfgenextension.SpecificLocatorExternalLabel;
* The <b>Adapter Factory</b> for the model.
* It provides an adapter <code>createXXX</code> method for each class of the model.
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage
* @generated
*/
@@ -50,6 +51,7 @@ public class PapyrusgmfgenextensionAdapterFactory extends AdapterFactoryImpl {
* The cached model package.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected static PapyrusgmfgenextensionPackage modelPackage;
@@ -58,6 +60,7 @@ public class PapyrusgmfgenextensionAdapterFactory extends AdapterFactoryImpl {
* Creates an instance of the adapter factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public PapyrusgmfgenextensionAdapterFactory() {
@@ -71,6 +74,7 @@ public class PapyrusgmfgenextensionAdapterFactory extends AdapterFactoryImpl {
* <!-- begin-user-doc -->
* This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
* <!-- end-user-doc -->
+ *
* @return whether this factory is applicable for the type of the object.
* @generated
*/
@@ -80,7 +84,7 @@ public class PapyrusgmfgenextensionAdapterFactory extends AdapterFactoryImpl {
return true;
}
if (object instanceof EObject) {
- return ((EObject)object).eClass().getEPackage() == modelPackage;
+ return ((EObject) object).eClass().getEPackage() == modelPackage;
}
return false;
}
@@ -89,154 +93,189 @@ public class PapyrusgmfgenextensionAdapterFactory extends AdapterFactoryImpl {
* The switch that delegates to the <code>createXXX</code> methods.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected PapyrusgmfgenextensionSwitch<Adapter> modelSwitch = new PapyrusgmfgenextensionSwitch<Adapter>() {
- @Override
- public Adapter caseExtendedGenView(ExtendedGenView object) {
- return createExtendedGenViewAdapter();
- }
- @Override
- public Adapter caseCommentedElement(CommentedElement object) {
- return createCommentedElementAdapter();
- }
- @Override
- public Adapter casePropertyRefreshHook(PropertyRefreshHook object) {
- return createPropertyRefreshHookAdapter();
- }
- @Override
- public Adapter caseExternalHook(ExternalHook object) {
- return createExternalHookAdapter();
- }
- @Override
- public Adapter caseSpecificLocator(SpecificLocator object) {
- return createSpecificLocatorAdapter();
- }
- @Override
- public Adapter casePapyrusExtensionRootNode(PapyrusExtensionRootNode object) {
- return createPapyrusExtensionRootNodeAdapter();
- }
- @Override
- public Adapter caseAlternateCanvas(AlternateCanvas object) {
- return createAlternateCanvasAdapter();
- }
- @Override
- public Adapter caseAlternateGenTopLevelNode(AlternateGenTopLevelNode object) {
- return createAlternateGenTopLevelNodeAdapter();
- }
- @Override
- public Adapter caseAlternateGenLink(AlternateGenLink object) {
- return createAlternateGenLinkAdapter();
- }
- @Override
- public Adapter caseMutatingCanvas(MutatingCanvas object) {
- return createMutatingCanvasAdapter();
- }
- @Override
- public Adapter caseOwnedEditpart(OwnedEditpart object) {
- return createOwnedEditpartAdapter();
- }
- @Override
- public Adapter caseSpecificDiagramUpdater(SpecificDiagramUpdater object) {
- return createSpecificDiagramUpdaterAdapter();
- }
- @Override
- public Adapter caseGenNodeConstraint(GenNodeConstraint object) {
- return createGenNodeConstraintAdapter();
- }
- @Override
- public Adapter caseSpecificLocatorExternalLabel(SpecificLocatorExternalLabel object) {
- return createSpecificLocatorExternalLabelAdapter();
- }
- @Override
- public Adapter caseAdditionalEditPartCandies(AdditionalEditPartCandies object) {
- return createAdditionalEditPartCandiesAdapter();
- }
- @Override
- public Adapter caseEditPartUsingDeleteService(EditPartUsingDeleteService object) {
- return createEditPartUsingDeleteServiceAdapter();
- }
- @Override
- public Adapter caseEditPartUsingReorientService(EditPartUsingReorientService object) {
- return createEditPartUsingReorientServiceAdapter();
- }
- @Override
- public Adapter caseLabelVisibilityPreference(LabelVisibilityPreference object) {
- return createLabelVisibilityPreferenceAdapter();
- }
- @Override
- public Adapter caseCompartmentVisibilityPreference(CompartmentVisibilityPreference object) {
- return createCompartmentVisibilityPreferenceAdapter();
- }
- @Override
- public Adapter caseCompartmentTitleVisibilityPreference(CompartmentTitleVisibilityPreference object) {
- return createCompartmentTitleVisibilityPreferenceAdapter();
- }
- @Override
- public Adapter caseConstrainedByReferenceCompartmentItemSemanticEditPolicy(ConstrainedByReferenceCompartmentItemSemanticEditPolicy object) {
- return createConstrainedByReferenceCompartmentItemSemanticEditPolicyAdapter();
- }
- @Override
- public Adapter caseExternalElementTypesLibrary(ExternalElementTypesLibrary object) {
- return createExternalElementTypesLibraryAdapter();
- }
- @Override
- public Adapter caseExternalMetamodelType(ExternalMetamodelType object) {
- return createExternalMetamodelTypeAdapter();
- }
- @Override
- public Adapter caseGenerateUsingElementTypeCreationCommand(GenerateUsingElementTypeCreationCommand object) {
- return createGenerateUsingElementTypeCreationCommandAdapter();
- }
- @Override
- public Adapter caseCustomDiagramUpdaterSingleton(CustomDiagramUpdaterSingleton object) {
- return createCustomDiagramUpdaterSingletonAdapter();
- }
- @Override
- public Adapter caseGenCommonBase(GenCommonBase object) {
- return createGenCommonBaseAdapter();
- }
- @Override
- public Adapter caseGenContainerBase(GenContainerBase object) {
- return createGenContainerBaseAdapter();
- }
- @Override
- public Adapter caseGenChildContainer(GenChildContainer object) {
- return createGenChildContainerAdapter();
- }
- @Override
- public Adapter caseGenLinkEnd(GenLinkEnd object) {
- return createGenLinkEndAdapter();
- }
- @Override
- public Adapter caseGenNode(GenNode object) {
- return createGenNodeAdapter();
- }
- @Override
- public Adapter caseElementType(ElementType object) {
- return createElementTypeAdapter();
- }
- @Override
- public Adapter caseMetamodelType(MetamodelType object) {
- return createMetamodelTypeAdapter();
- }
- @Override
- public Adapter defaultCase(EObject object) {
- return createEObjectAdapter();
- }
- };
+ @Override
+ public Adapter caseExtendedGenView(ExtendedGenView object) {
+ return createExtendedGenViewAdapter();
+ }
+
+ @Override
+ public Adapter caseCommentedElement(CommentedElement object) {
+ return createCommentedElementAdapter();
+ }
+
+ @Override
+ public Adapter casePropertyRefreshHook(PropertyRefreshHook object) {
+ return createPropertyRefreshHookAdapter();
+ }
+
+ @Override
+ public Adapter caseExternalHook(ExternalHook object) {
+ return createExternalHookAdapter();
+ }
+
+ @Override
+ public Adapter caseSpecificLocator(SpecificLocator object) {
+ return createSpecificLocatorAdapter();
+ }
+
+ @Override
+ public Adapter casePapyrusExtensionRootNode(PapyrusExtensionRootNode object) {
+ return createPapyrusExtensionRootNodeAdapter();
+ }
+
+ @Override
+ public Adapter caseAlternateCanvas(AlternateCanvas object) {
+ return createAlternateCanvasAdapter();
+ }
+
+ @Override
+ public Adapter caseAlternateGenTopLevelNode(AlternateGenTopLevelNode object) {
+ return createAlternateGenTopLevelNodeAdapter();
+ }
+
+ @Override
+ public Adapter caseAlternateGenLink(AlternateGenLink object) {
+ return createAlternateGenLinkAdapter();
+ }
+
+ @Override
+ public Adapter caseMutatingCanvas(MutatingCanvas object) {
+ return createMutatingCanvasAdapter();
+ }
+
+ @Override
+ public Adapter caseOwnedEditpart(OwnedEditpart object) {
+ return createOwnedEditpartAdapter();
+ }
+
+ @Override
+ public Adapter caseSpecificDiagramUpdater(SpecificDiagramUpdater object) {
+ return createSpecificDiagramUpdaterAdapter();
+ }
+
+ @Override
+ public Adapter caseGenNodeConstraint(GenNodeConstraint object) {
+ return createGenNodeConstraintAdapter();
+ }
+
+ @Override
+ public Adapter caseSpecificLocatorExternalLabel(SpecificLocatorExternalLabel object) {
+ return createSpecificLocatorExternalLabelAdapter();
+ }
+
+ @Override
+ public Adapter caseAdditionalEditPartCandies(AdditionalEditPartCandies object) {
+ return createAdditionalEditPartCandiesAdapter();
+ }
+
+ @Override
+ public Adapter caseEditPartUsingDeleteService(EditPartUsingDeleteService object) {
+ return createEditPartUsingDeleteServiceAdapter();
+ }
+
+ @Override
+ public Adapter caseEditPartUsingReorientService(EditPartUsingReorientService object) {
+ return createEditPartUsingReorientServiceAdapter();
+ }
+
+ @Override
+ public Adapter caseLabelVisibilityPreference(LabelVisibilityPreference object) {
+ return createLabelVisibilityPreferenceAdapter();
+ }
+
+ @Override
+ public Adapter caseCompartmentVisibilityPreference(CompartmentVisibilityPreference object) {
+ return createCompartmentVisibilityPreferenceAdapter();
+ }
+
+ @Override
+ public Adapter caseCompartmentTitleVisibilityPreference(CompartmentTitleVisibilityPreference object) {
+ return createCompartmentTitleVisibilityPreferenceAdapter();
+ }
+
+ @Override
+ public Adapter caseConstrainedByReferenceCompartmentItemSemanticEditPolicy(ConstrainedByReferenceCompartmentItemSemanticEditPolicy object) {
+ return createConstrainedByReferenceCompartmentItemSemanticEditPolicyAdapter();
+ }
+
+ @Override
+ public Adapter caseExternalElementTypesLibrary(ExternalElementTypesLibrary object) {
+ return createExternalElementTypesLibraryAdapter();
+ }
+
+ @Override
+ public Adapter caseExternalMetamodelType(ExternalMetamodelType object) {
+ return createExternalMetamodelTypeAdapter();
+ }
+
+ @Override
+ public Adapter caseGenerateUsingElementTypeCreationCommand(GenerateUsingElementTypeCreationCommand object) {
+ return createGenerateUsingElementTypeCreationCommandAdapter();
+ }
+
+ @Override
+ public Adapter caseCustomDiagramUpdaterSingleton(CustomDiagramUpdaterSingleton object) {
+ return createCustomDiagramUpdaterSingletonAdapter();
+ }
+
+ @Override
+ public Adapter caseGenCommonBase(GenCommonBase object) {
+ return createGenCommonBaseAdapter();
+ }
+
+ @Override
+ public Adapter caseGenContainerBase(GenContainerBase object) {
+ return createGenContainerBaseAdapter();
+ }
+
+ @Override
+ public Adapter caseGenChildContainer(GenChildContainer object) {
+ return createGenChildContainerAdapter();
+ }
+
+ @Override
+ public Adapter caseGenLinkEnd(GenLinkEnd object) {
+ return createGenLinkEndAdapter();
+ }
+
+ @Override
+ public Adapter caseGenNode(GenNode object) {
+ return createGenNodeAdapter();
+ }
+
+ @Override
+ public Adapter caseElementType(ElementType object) {
+ return createElementTypeAdapter();
+ }
+
+ @Override
+ public Adapter caseMetamodelType(MetamodelType object) {
+ return createMetamodelTypeAdapter();
+ }
+
+ @Override
+ public Adapter defaultCase(EObject object) {
+ return createEObjectAdapter();
+ }
+ };
/**
* Creates an adapter for the <code>target</code>.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param target the object to adapt.
+ *
+ * @param target
+ * the object to adapt.
* @return the adapter for the <code>target</code>.
* @generated
*/
@Override
public Adapter createAdapter(Notifier target) {
- return modelSwitch.doSwitch((EObject)target);
+ return modelSwitch.doSwitch((EObject) target);
}
@@ -246,6 +285,7 @@ public class PapyrusgmfgenextensionAdapterFactory extends AdapterFactoryImpl {
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.papyrusgmfgenextension.ExtendedGenView
* @generated
@@ -260,6 +300,7 @@ public class PapyrusgmfgenextensionAdapterFactory extends AdapterFactoryImpl {
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.papyrusgmfgenextension.CommentedElement
* @generated
@@ -274,6 +315,7 @@ public class PapyrusgmfgenextensionAdapterFactory extends AdapterFactoryImpl {
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.papyrusgmfgenextension.PropertyRefreshHook
* @generated
@@ -288,6 +330,7 @@ public class PapyrusgmfgenextensionAdapterFactory extends AdapterFactoryImpl {
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.papyrusgmfgenextension.ExternalHook
* @generated
@@ -302,6 +345,7 @@ public class PapyrusgmfgenextensionAdapterFactory extends AdapterFactoryImpl {
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.papyrusgmfgenextension.SpecificLocator
* @generated
@@ -316,6 +360,7 @@ public class PapyrusgmfgenextensionAdapterFactory extends AdapterFactoryImpl {
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusExtensionRootNode
* @generated
@@ -330,6 +375,7 @@ public class PapyrusgmfgenextensionAdapterFactory extends AdapterFactoryImpl {
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.papyrusgmfgenextension.AlternateCanvas
* @generated
@@ -344,6 +390,7 @@ public class PapyrusgmfgenextensionAdapterFactory extends AdapterFactoryImpl {
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.papyrusgmfgenextension.AlternateGenTopLevelNode
* @generated
@@ -358,6 +405,7 @@ public class PapyrusgmfgenextensionAdapterFactory extends AdapterFactoryImpl {
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.papyrusgmfgenextension.AlternateGenLink
* @generated
@@ -372,6 +420,7 @@ public class PapyrusgmfgenextensionAdapterFactory extends AdapterFactoryImpl {
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.papyrusgmfgenextension.MutatingCanvas
* @generated
@@ -386,6 +435,7 @@ public class PapyrusgmfgenextensionAdapterFactory extends AdapterFactoryImpl {
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.papyrusgmfgenextension.OwnedEditpart
* @generated
@@ -400,6 +450,7 @@ public class PapyrusgmfgenextensionAdapterFactory extends AdapterFactoryImpl {
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.papyrusgmfgenextension.SpecificDiagramUpdater
* @generated
@@ -414,6 +465,7 @@ public class PapyrusgmfgenextensionAdapterFactory extends AdapterFactoryImpl {
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.papyrusgmfgenextension.GenNodeConstraint
* @generated
@@ -428,6 +480,7 @@ public class PapyrusgmfgenextensionAdapterFactory extends AdapterFactoryImpl {
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.papyrusgmfgenextension.SpecificLocatorExternalLabel
* @generated
@@ -442,6 +495,7 @@ public class PapyrusgmfgenextensionAdapterFactory extends AdapterFactoryImpl {
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.papyrusgmfgenextension.AdditionalEditPartCandies
* @generated
@@ -456,6 +510,7 @@ public class PapyrusgmfgenextensionAdapterFactory extends AdapterFactoryImpl {
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.papyrusgmfgenextension.EditPartUsingDeleteService
* @generated
@@ -470,6 +525,7 @@ public class PapyrusgmfgenextensionAdapterFactory extends AdapterFactoryImpl {
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.papyrusgmfgenextension.EditPartUsingReorientService
* @generated
@@ -484,6 +540,7 @@ public class PapyrusgmfgenextensionAdapterFactory extends AdapterFactoryImpl {
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.papyrusgmfgenextension.LabelVisibilityPreference
* @generated
@@ -498,6 +555,7 @@ public class PapyrusgmfgenextensionAdapterFactory extends AdapterFactoryImpl {
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.papyrusgmfgenextension.CompartmentVisibilityPreference
* @generated
@@ -512,6 +570,7 @@ public class PapyrusgmfgenextensionAdapterFactory extends AdapterFactoryImpl {
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.papyrusgmfgenextension.CompartmentTitleVisibilityPreference
* @generated
@@ -526,6 +585,7 @@ public class PapyrusgmfgenextensionAdapterFactory extends AdapterFactoryImpl {
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.papyrusgmfgenextension.ConstrainedByReferenceCompartmentItemSemanticEditPolicy
* @generated
@@ -540,6 +600,7 @@ public class PapyrusgmfgenextensionAdapterFactory extends AdapterFactoryImpl {
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.papyrusgmfgenextension.ExternalElementTypesLibrary
* @generated
@@ -554,6 +615,7 @@ public class PapyrusgmfgenextensionAdapterFactory extends AdapterFactoryImpl {
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.papyrusgmfgenextension.ExternalMetamodelType
* @generated
@@ -568,6 +630,7 @@ public class PapyrusgmfgenextensionAdapterFactory extends AdapterFactoryImpl {
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.papyrusgmfgenextension.GenerateUsingElementTypeCreationCommand
* @generated
@@ -582,6 +645,7 @@ public class PapyrusgmfgenextensionAdapterFactory extends AdapterFactoryImpl {
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.papyrusgmfgenextension.CustomDiagramUpdaterSingleton
* @generated
@@ -596,6 +660,7 @@ public class PapyrusgmfgenextensionAdapterFactory extends AdapterFactoryImpl {
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
+ *
* @return the new adapter.
* @see org.eclipse.gmf.codegen.gmfgen.GenCommonBase
* @generated
@@ -610,6 +675,7 @@ public class PapyrusgmfgenextensionAdapterFactory extends AdapterFactoryImpl {
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
+ *
* @return the new adapter.
* @see org.eclipse.gmf.codegen.gmfgen.GenContainerBase
* @generated
@@ -624,6 +690,7 @@ public class PapyrusgmfgenextensionAdapterFactory extends AdapterFactoryImpl {
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
+ *
* @return the new adapter.
* @see org.eclipse.gmf.codegen.gmfgen.GenChildContainer
* @generated
@@ -638,6 +705,7 @@ public class PapyrusgmfgenextensionAdapterFactory extends AdapterFactoryImpl {
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
+ *
* @return the new adapter.
* @see org.eclipse.gmf.codegen.gmfgen.GenLinkEnd
* @generated
@@ -652,6 +720,7 @@ public class PapyrusgmfgenextensionAdapterFactory extends AdapterFactoryImpl {
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
+ *
* @return the new adapter.
* @see org.eclipse.gmf.codegen.gmfgen.GenNode
* @generated
@@ -666,6 +735,7 @@ public class PapyrusgmfgenextensionAdapterFactory extends AdapterFactoryImpl {
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
+ *
* @return the new adapter.
* @see org.eclipse.gmf.codegen.gmfgen.ElementType
* @generated
@@ -680,6 +750,7 @@ public class PapyrusgmfgenextensionAdapterFactory extends AdapterFactoryImpl {
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
+ *
* @return the new adapter.
* @see org.eclipse.gmf.codegen.gmfgen.MetamodelType
* @generated
@@ -693,6 +764,7 @@ public class PapyrusgmfgenextensionAdapterFactory extends AdapterFactoryImpl {
* <!-- begin-user-doc -->
* This default implementation returns null.
* <!-- end-user-doc -->
+ *
* @return the new adapter.
* @generated
*/
@@ -700,4 +772,4 @@ public class PapyrusgmfgenextensionAdapterFactory extends AdapterFactoryImpl {
return null;
}
-} //PapyrusgmfgenextensionAdapterFactory
+} // PapyrusgmfgenextensionAdapterFactory
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/util/PapyrusgmfgenextensionSwitch.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/util/PapyrusgmfgenextensionSwitch.java
index 3f58aebff12..9ece3364db3 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/util/PapyrusgmfgenextensionSwitch.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/util/PapyrusgmfgenextensionSwitch.java
@@ -6,9 +6,6 @@
*/
package org.eclipse.papyrus.papyrusgmfgenextension.util;
-import java.util.List;
-
-import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.util.Switch;
@@ -47,6 +44,7 @@ import org.eclipse.papyrus.papyrusgmfgenextension.SpecificLocatorExternalLabel;
* until a non-null result is returned,
* which is the result of the switch.
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage
* @generated
*/
@@ -56,6 +54,7 @@ public class PapyrusgmfgenextensionSwitch<T> extends Switch<T> {
* The cached model package
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected static PapyrusgmfgenextensionPackage modelPackage;
@@ -64,6 +63,7 @@ public class PapyrusgmfgenextensionSwitch<T> extends Switch<T> {
* Creates an instance of the switch.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public PapyrusgmfgenextensionSwitch() {
@@ -76,6 +76,7 @@ public class PapyrusgmfgenextensionSwitch<T> extends Switch<T> {
* Checks whether this is a switch for the given package.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @parameter ePackage the package in question.
* @return whether this is a switch for the given package.
* @generated
@@ -89,198 +90,320 @@ public class PapyrusgmfgenextensionSwitch<T> extends Switch<T> {
* Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the first non-null result returned by a <code>caseXXX</code> call.
* @generated
*/
@Override
protected T doSwitch(int classifierID, EObject theEObject) {
switch (classifierID) {
- case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW: {
- ExtendedGenView extendedGenView = (ExtendedGenView)theEObject;
- T result = caseExtendedGenView(extendedGenView);
- if (result == null) result = caseCommentedElement(extendedGenView);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case PapyrusgmfgenextensionPackage.COMMENTED_ELEMENT: {
- CommentedElement commentedElement = (CommentedElement)theEObject;
- T result = caseCommentedElement(commentedElement);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case PapyrusgmfgenextensionPackage.PROPERTY_REFRESH_HOOK: {
- PropertyRefreshHook propertyRefreshHook = (PropertyRefreshHook)theEObject;
- T result = casePropertyRefreshHook(propertyRefreshHook);
- if (result == null) result = caseExternalHook(propertyRefreshHook);
- if (result == null) result = caseCommentedElement(propertyRefreshHook);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case PapyrusgmfgenextensionPackage.EXTERNAL_HOOK: {
- ExternalHook externalHook = (ExternalHook)theEObject;
- T result = caseExternalHook(externalHook);
- if (result == null) result = caseCommentedElement(externalHook);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case PapyrusgmfgenextensionPackage.SPECIFIC_LOCATOR: {
- SpecificLocator specificLocator = (SpecificLocator)theEObject;
- T result = caseSpecificLocator(specificLocator);
- if (result == null) result = caseExternalHook(specificLocator);
- if (result == null) result = caseCommentedElement(specificLocator);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case PapyrusgmfgenextensionPackage.PAPYRUS_EXTENSION_ROOT_NODE: {
- PapyrusExtensionRootNode papyrusExtensionRootNode = (PapyrusExtensionRootNode)theEObject;
- T result = casePapyrusExtensionRootNode(papyrusExtensionRootNode);
- if (result == null) result = caseCommentedElement(papyrusExtensionRootNode);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case PapyrusgmfgenextensionPackage.ALTERNATE_CANVAS: {
- AlternateCanvas alternateCanvas = (AlternateCanvas)theEObject;
- T result = caseAlternateCanvas(alternateCanvas);
- if (result == null) result = caseCommentedElement(alternateCanvas);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case PapyrusgmfgenextensionPackage.ALTERNATE_GEN_TOP_LEVEL_NODE: {
- AlternateGenTopLevelNode alternateGenTopLevelNode = (AlternateGenTopLevelNode)theEObject;
- T result = caseAlternateGenTopLevelNode(alternateGenTopLevelNode);
- if (result == null) result = caseCommentedElement(alternateGenTopLevelNode);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case PapyrusgmfgenextensionPackage.ALTERNATE_GEN_LINK: {
- AlternateGenLink alternateGenLink = (AlternateGenLink)theEObject;
- T result = caseAlternateGenLink(alternateGenLink);
- if (result == null) result = caseCommentedElement(alternateGenLink);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case PapyrusgmfgenextensionPackage.MUTATING_CANVAS: {
- MutatingCanvas mutatingCanvas = (MutatingCanvas)theEObject;
- T result = caseMutatingCanvas(mutatingCanvas);
- if (result == null) result = caseCommentedElement(mutatingCanvas);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case PapyrusgmfgenextensionPackage.OWNED_EDITPART: {
- OwnedEditpart ownedEditpart = (OwnedEditpart)theEObject;
- T result = caseOwnedEditpart(ownedEditpart);
- if (result == null) result = caseExternalHook(ownedEditpart);
- if (result == null) result = caseCommentedElement(ownedEditpart);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case PapyrusgmfgenextensionPackage.SPECIFIC_DIAGRAM_UPDATER: {
- SpecificDiagramUpdater specificDiagramUpdater = (SpecificDiagramUpdater)theEObject;
- T result = caseSpecificDiagramUpdater(specificDiagramUpdater);
- if (result == null) result = caseExternalHook(specificDiagramUpdater);
- if (result == null) result = caseCommentedElement(specificDiagramUpdater);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case PapyrusgmfgenextensionPackage.GEN_NODE_CONSTRAINT: {
- GenNodeConstraint genNodeConstraint = (GenNodeConstraint)theEObject;
- T result = caseGenNodeConstraint(genNodeConstraint);
- if (result == null) result = caseCommentedElement(genNodeConstraint);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case PapyrusgmfgenextensionPackage.SPECIFIC_LOCATOR_EXTERNAL_LABEL: {
- SpecificLocatorExternalLabel specificLocatorExternalLabel = (SpecificLocatorExternalLabel)theEObject;
- T result = caseSpecificLocatorExternalLabel(specificLocatorExternalLabel);
- if (result == null) result = caseExternalHook(specificLocatorExternalLabel);
- if (result == null) result = caseCommentedElement(specificLocatorExternalLabel);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case PapyrusgmfgenextensionPackage.ADDITIONAL_EDIT_PART_CANDIES: {
- AdditionalEditPartCandies additionalEditPartCandies = (AdditionalEditPartCandies)theEObject;
- T result = caseAdditionalEditPartCandies(additionalEditPartCandies);
- if (result == null) result = caseCommentedElement(additionalEditPartCandies);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case PapyrusgmfgenextensionPackage.EDIT_PART_USING_DELETE_SERVICE: {
- EditPartUsingDeleteService editPartUsingDeleteService = (EditPartUsingDeleteService)theEObject;
- T result = caseEditPartUsingDeleteService(editPartUsingDeleteService);
- if (result == null) result = caseCommentedElement(editPartUsingDeleteService);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case PapyrusgmfgenextensionPackage.EDIT_PART_USING_REORIENT_SERVICE: {
- EditPartUsingReorientService editPartUsingReorientService = (EditPartUsingReorientService)theEObject;
- T result = caseEditPartUsingReorientService(editPartUsingReorientService);
- if (result == null) result = caseCommentedElement(editPartUsingReorientService);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE: {
- LabelVisibilityPreference labelVisibilityPreference = (LabelVisibilityPreference)theEObject;
- T result = caseLabelVisibilityPreference(labelVisibilityPreference);
- if (result == null) result = caseCommentedElement(labelVisibilityPreference);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case PapyrusgmfgenextensionPackage.COMPARTMENT_VISIBILITY_PREFERENCE: {
- CompartmentVisibilityPreference compartmentVisibilityPreference = (CompartmentVisibilityPreference)theEObject;
- T result = caseCompartmentVisibilityPreference(compartmentVisibilityPreference);
- if (result == null) result = caseCommentedElement(compartmentVisibilityPreference);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case PapyrusgmfgenextensionPackage.COMPARTMENT_TITLE_VISIBILITY_PREFERENCE: {
- CompartmentTitleVisibilityPreference compartmentTitleVisibilityPreference = (CompartmentTitleVisibilityPreference)theEObject;
- T result = caseCompartmentTitleVisibilityPreference(compartmentTitleVisibilityPreference);
- if (result == null) result = caseCommentedElement(compartmentTitleVisibilityPreference);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case PapyrusgmfgenextensionPackage.CONSTRAINED_BY_REFERENCE_COMPARTMENT_ITEM_SEMANTIC_EDIT_POLICY: {
- ConstrainedByReferenceCompartmentItemSemanticEditPolicy constrainedByReferenceCompartmentItemSemanticEditPolicy = (ConstrainedByReferenceCompartmentItemSemanticEditPolicy)theEObject;
- T result = caseConstrainedByReferenceCompartmentItemSemanticEditPolicy(constrainedByReferenceCompartmentItemSemanticEditPolicy);
- if (result == null) result = caseCommentedElement(constrainedByReferenceCompartmentItemSemanticEditPolicy);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case PapyrusgmfgenextensionPackage.EXTERNAL_ELEMENT_TYPES_LIBRARY: {
- ExternalElementTypesLibrary externalElementTypesLibrary = (ExternalElementTypesLibrary)theEObject;
- T result = caseExternalElementTypesLibrary(externalElementTypesLibrary);
- if (result == null) result = caseGenNode(externalElementTypesLibrary);
- if (result == null) result = caseCommentedElement(externalElementTypesLibrary);
- if (result == null) result = caseGenChildContainer(externalElementTypesLibrary);
- if (result == null) result = caseGenLinkEnd(externalElementTypesLibrary);
- if (result == null) result = caseGenContainerBase(externalElementTypesLibrary);
- if (result == null) result = caseGenCommonBase(externalElementTypesLibrary);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case PapyrusgmfgenextensionPackage.EXTERNAL_METAMODEL_TYPE: {
- ExternalMetamodelType externalMetamodelType = (ExternalMetamodelType)theEObject;
- T result = caseExternalMetamodelType(externalMetamodelType);
- if (result == null) result = caseMetamodelType(externalMetamodelType);
- if (result == null) result = caseElementType(externalMetamodelType);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case PapyrusgmfgenextensionPackage.GENERATE_USING_ELEMENT_TYPE_CREATION_COMMAND: {
- GenerateUsingElementTypeCreationCommand generateUsingElementTypeCreationCommand = (GenerateUsingElementTypeCreationCommand)theEObject;
- T result = caseGenerateUsingElementTypeCreationCommand(generateUsingElementTypeCreationCommand);
- if (result == null) result = caseCommentedElement(generateUsingElementTypeCreationCommand);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case PapyrusgmfgenextensionPackage.CUSTOM_DIAGRAM_UPDATER_SINGLETON: {
- CustomDiagramUpdaterSingleton customDiagramUpdaterSingleton = (CustomDiagramUpdaterSingleton)theEObject;
- T result = caseCustomDiagramUpdaterSingleton(customDiagramUpdaterSingleton);
- if (result == null) result = caseCommentedElement(customDiagramUpdaterSingleton);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- default: return defaultCase(theEObject);
+ case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW: {
+ ExtendedGenView extendedGenView = (ExtendedGenView) theEObject;
+ T result = caseExtendedGenView(extendedGenView);
+ if (result == null) {
+ result = caseCommentedElement(extendedGenView);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case PapyrusgmfgenextensionPackage.COMMENTED_ELEMENT: {
+ CommentedElement commentedElement = (CommentedElement) theEObject;
+ T result = caseCommentedElement(commentedElement);
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case PapyrusgmfgenextensionPackage.PROPERTY_REFRESH_HOOK: {
+ PropertyRefreshHook propertyRefreshHook = (PropertyRefreshHook) theEObject;
+ T result = casePropertyRefreshHook(propertyRefreshHook);
+ if (result == null) {
+ result = caseExternalHook(propertyRefreshHook);
+ }
+ if (result == null) {
+ result = caseCommentedElement(propertyRefreshHook);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case PapyrusgmfgenextensionPackage.EXTERNAL_HOOK: {
+ ExternalHook externalHook = (ExternalHook) theEObject;
+ T result = caseExternalHook(externalHook);
+ if (result == null) {
+ result = caseCommentedElement(externalHook);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case PapyrusgmfgenextensionPackage.SPECIFIC_LOCATOR: {
+ SpecificLocator specificLocator = (SpecificLocator) theEObject;
+ T result = caseSpecificLocator(specificLocator);
+ if (result == null) {
+ result = caseExternalHook(specificLocator);
+ }
+ if (result == null) {
+ result = caseCommentedElement(specificLocator);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case PapyrusgmfgenextensionPackage.PAPYRUS_EXTENSION_ROOT_NODE: {
+ PapyrusExtensionRootNode papyrusExtensionRootNode = (PapyrusExtensionRootNode) theEObject;
+ T result = casePapyrusExtensionRootNode(papyrusExtensionRootNode);
+ if (result == null) {
+ result = caseCommentedElement(papyrusExtensionRootNode);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case PapyrusgmfgenextensionPackage.ALTERNATE_CANVAS: {
+ AlternateCanvas alternateCanvas = (AlternateCanvas) theEObject;
+ T result = caseAlternateCanvas(alternateCanvas);
+ if (result == null) {
+ result = caseCommentedElement(alternateCanvas);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case PapyrusgmfgenextensionPackage.ALTERNATE_GEN_TOP_LEVEL_NODE: {
+ AlternateGenTopLevelNode alternateGenTopLevelNode = (AlternateGenTopLevelNode) theEObject;
+ T result = caseAlternateGenTopLevelNode(alternateGenTopLevelNode);
+ if (result == null) {
+ result = caseCommentedElement(alternateGenTopLevelNode);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case PapyrusgmfgenextensionPackage.ALTERNATE_GEN_LINK: {
+ AlternateGenLink alternateGenLink = (AlternateGenLink) theEObject;
+ T result = caseAlternateGenLink(alternateGenLink);
+ if (result == null) {
+ result = caseCommentedElement(alternateGenLink);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case PapyrusgmfgenextensionPackage.MUTATING_CANVAS: {
+ MutatingCanvas mutatingCanvas = (MutatingCanvas) theEObject;
+ T result = caseMutatingCanvas(mutatingCanvas);
+ if (result == null) {
+ result = caseCommentedElement(mutatingCanvas);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case PapyrusgmfgenextensionPackage.OWNED_EDITPART: {
+ OwnedEditpart ownedEditpart = (OwnedEditpart) theEObject;
+ T result = caseOwnedEditpart(ownedEditpart);
+ if (result == null) {
+ result = caseExternalHook(ownedEditpart);
+ }
+ if (result == null) {
+ result = caseCommentedElement(ownedEditpart);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case PapyrusgmfgenextensionPackage.SPECIFIC_DIAGRAM_UPDATER: {
+ SpecificDiagramUpdater specificDiagramUpdater = (SpecificDiagramUpdater) theEObject;
+ T result = caseSpecificDiagramUpdater(specificDiagramUpdater);
+ if (result == null) {
+ result = caseExternalHook(specificDiagramUpdater);
+ }
+ if (result == null) {
+ result = caseCommentedElement(specificDiagramUpdater);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case PapyrusgmfgenextensionPackage.GEN_NODE_CONSTRAINT: {
+ GenNodeConstraint genNodeConstraint = (GenNodeConstraint) theEObject;
+ T result = caseGenNodeConstraint(genNodeConstraint);
+ if (result == null) {
+ result = caseCommentedElement(genNodeConstraint);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case PapyrusgmfgenextensionPackage.SPECIFIC_LOCATOR_EXTERNAL_LABEL: {
+ SpecificLocatorExternalLabel specificLocatorExternalLabel = (SpecificLocatorExternalLabel) theEObject;
+ T result = caseSpecificLocatorExternalLabel(specificLocatorExternalLabel);
+ if (result == null) {
+ result = caseExternalHook(specificLocatorExternalLabel);
+ }
+ if (result == null) {
+ result = caseCommentedElement(specificLocatorExternalLabel);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case PapyrusgmfgenextensionPackage.ADDITIONAL_EDIT_PART_CANDIES: {
+ AdditionalEditPartCandies additionalEditPartCandies = (AdditionalEditPartCandies) theEObject;
+ T result = caseAdditionalEditPartCandies(additionalEditPartCandies);
+ if (result == null) {
+ result = caseCommentedElement(additionalEditPartCandies);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case PapyrusgmfgenextensionPackage.EDIT_PART_USING_DELETE_SERVICE: {
+ EditPartUsingDeleteService editPartUsingDeleteService = (EditPartUsingDeleteService) theEObject;
+ T result = caseEditPartUsingDeleteService(editPartUsingDeleteService);
+ if (result == null) {
+ result = caseCommentedElement(editPartUsingDeleteService);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case PapyrusgmfgenextensionPackage.EDIT_PART_USING_REORIENT_SERVICE: {
+ EditPartUsingReorientService editPartUsingReorientService = (EditPartUsingReorientService) theEObject;
+ T result = caseEditPartUsingReorientService(editPartUsingReorientService);
+ if (result == null) {
+ result = caseCommentedElement(editPartUsingReorientService);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE: {
+ LabelVisibilityPreference labelVisibilityPreference = (LabelVisibilityPreference) theEObject;
+ T result = caseLabelVisibilityPreference(labelVisibilityPreference);
+ if (result == null) {
+ result = caseCommentedElement(labelVisibilityPreference);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case PapyrusgmfgenextensionPackage.COMPARTMENT_VISIBILITY_PREFERENCE: {
+ CompartmentVisibilityPreference compartmentVisibilityPreference = (CompartmentVisibilityPreference) theEObject;
+ T result = caseCompartmentVisibilityPreference(compartmentVisibilityPreference);
+ if (result == null) {
+ result = caseCommentedElement(compartmentVisibilityPreference);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case PapyrusgmfgenextensionPackage.COMPARTMENT_TITLE_VISIBILITY_PREFERENCE: {
+ CompartmentTitleVisibilityPreference compartmentTitleVisibilityPreference = (CompartmentTitleVisibilityPreference) theEObject;
+ T result = caseCompartmentTitleVisibilityPreference(compartmentTitleVisibilityPreference);
+ if (result == null) {
+ result = caseCommentedElement(compartmentTitleVisibilityPreference);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case PapyrusgmfgenextensionPackage.CONSTRAINED_BY_REFERENCE_COMPARTMENT_ITEM_SEMANTIC_EDIT_POLICY: {
+ ConstrainedByReferenceCompartmentItemSemanticEditPolicy constrainedByReferenceCompartmentItemSemanticEditPolicy = (ConstrainedByReferenceCompartmentItemSemanticEditPolicy) theEObject;
+ T result = caseConstrainedByReferenceCompartmentItemSemanticEditPolicy(constrainedByReferenceCompartmentItemSemanticEditPolicy);
+ if (result == null) {
+ result = caseCommentedElement(constrainedByReferenceCompartmentItemSemanticEditPolicy);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case PapyrusgmfgenextensionPackage.EXTERNAL_ELEMENT_TYPES_LIBRARY: {
+ ExternalElementTypesLibrary externalElementTypesLibrary = (ExternalElementTypesLibrary) theEObject;
+ T result = caseExternalElementTypesLibrary(externalElementTypesLibrary);
+ if (result == null) {
+ result = caseGenNode(externalElementTypesLibrary);
+ }
+ if (result == null) {
+ result = caseCommentedElement(externalElementTypesLibrary);
+ }
+ if (result == null) {
+ result = caseGenChildContainer(externalElementTypesLibrary);
+ }
+ if (result == null) {
+ result = caseGenLinkEnd(externalElementTypesLibrary);
+ }
+ if (result == null) {
+ result = caseGenContainerBase(externalElementTypesLibrary);
+ }
+ if (result == null) {
+ result = caseGenCommonBase(externalElementTypesLibrary);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case PapyrusgmfgenextensionPackage.EXTERNAL_METAMODEL_TYPE: {
+ ExternalMetamodelType externalMetamodelType = (ExternalMetamodelType) theEObject;
+ T result = caseExternalMetamodelType(externalMetamodelType);
+ if (result == null) {
+ result = caseMetamodelType(externalMetamodelType);
+ }
+ if (result == null) {
+ result = caseElementType(externalMetamodelType);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case PapyrusgmfgenextensionPackage.GENERATE_USING_ELEMENT_TYPE_CREATION_COMMAND: {
+ GenerateUsingElementTypeCreationCommand generateUsingElementTypeCreationCommand = (GenerateUsingElementTypeCreationCommand) theEObject;
+ T result = caseGenerateUsingElementTypeCreationCommand(generateUsingElementTypeCreationCommand);
+ if (result == null) {
+ result = caseCommentedElement(generateUsingElementTypeCreationCommand);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case PapyrusgmfgenextensionPackage.CUSTOM_DIAGRAM_UPDATER_SINGLETON: {
+ CustomDiagramUpdaterSingleton customDiagramUpdaterSingleton = (CustomDiagramUpdaterSingleton) theEObject;
+ T result = caseCustomDiagramUpdaterSingleton(customDiagramUpdaterSingleton);
+ if (result == null) {
+ result = caseCommentedElement(customDiagramUpdaterSingleton);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ default:
+ return defaultCase(theEObject);
}
}
@@ -290,7 +413,9 @@ public class PapyrusgmfgenextensionSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Extended Gen View</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -305,7 +430,9 @@ public class PapyrusgmfgenextensionSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Commented Element</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -320,7 +447,9 @@ public class PapyrusgmfgenextensionSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Property Refresh Hook</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -335,7 +464,9 @@ public class PapyrusgmfgenextensionSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>External Hook</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -350,7 +481,9 @@ public class PapyrusgmfgenextensionSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Specific Locator</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -365,7 +498,9 @@ public class PapyrusgmfgenextensionSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Papyrus Extension Root Node</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -380,7 +515,9 @@ public class PapyrusgmfgenextensionSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Alternate Canvas</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -395,7 +532,9 @@ public class PapyrusgmfgenextensionSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Alternate Gen Top Level Node</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -410,7 +549,9 @@ public class PapyrusgmfgenextensionSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Alternate Gen Link</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -425,7 +566,9 @@ public class PapyrusgmfgenextensionSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Mutating Canvas</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -440,7 +583,9 @@ public class PapyrusgmfgenextensionSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Owned Editpart</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -455,7 +600,9 @@ public class PapyrusgmfgenextensionSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Specific Diagram Updater</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -470,7 +617,9 @@ public class PapyrusgmfgenextensionSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Gen Node Constraint</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -485,7 +634,9 @@ public class PapyrusgmfgenextensionSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Specific Locator External Label</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -500,7 +651,9 @@ public class PapyrusgmfgenextensionSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Additional Edit Part Candies</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -515,7 +668,9 @@ public class PapyrusgmfgenextensionSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Edit Part Using Delete Service</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -530,7 +685,9 @@ public class PapyrusgmfgenextensionSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Edit Part Using Reorient Service</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -545,7 +702,9 @@ public class PapyrusgmfgenextensionSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Label Visibility Preference</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -560,7 +719,9 @@ public class PapyrusgmfgenextensionSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Compartment Visibility Preference</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -575,7 +736,9 @@ public class PapyrusgmfgenextensionSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Compartment Title Visibility Preference</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -590,7 +753,9 @@ public class PapyrusgmfgenextensionSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Constrained By Reference Compartment Item Semantic Edit Policy</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -605,7 +770,9 @@ public class PapyrusgmfgenextensionSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>External Element Types Library</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -620,7 +787,9 @@ public class PapyrusgmfgenextensionSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>External Metamodel Type</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -635,7 +804,9 @@ public class PapyrusgmfgenextensionSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Generate Using Element Type Creation Command</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -650,7 +821,9 @@ public class PapyrusgmfgenextensionSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Custom Diagram Updater Singleton</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -665,7 +838,9 @@ public class PapyrusgmfgenextensionSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Gen Common Base</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -680,7 +855,9 @@ public class PapyrusgmfgenextensionSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Gen Container Base</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -695,7 +872,9 @@ public class PapyrusgmfgenextensionSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Gen Child Container</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -710,7 +889,9 @@ public class PapyrusgmfgenextensionSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Gen Link End</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -725,7 +906,9 @@ public class PapyrusgmfgenextensionSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Gen Node</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -740,7 +923,9 @@ public class PapyrusgmfgenextensionSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Element Type</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -755,7 +940,9 @@ public class PapyrusgmfgenextensionSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Metamodel Type</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -770,7 +957,9 @@ public class PapyrusgmfgenextensionSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch, but this is the last case anyway.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>EObject</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject)
* @generated
@@ -780,4 +969,4 @@ public class PapyrusgmfgenextensionSwitch<T> extends Switch<T> {
return null;
}
-} //PapyrusgmfgenextensionSwitch
+} // PapyrusgmfgenextensionSwitch
diff --git a/plugins/developer/org.eclipse.papyrus.infra.extendedtypes.elementtypeview/src/org/eclipse/papyrus/infra/extendedtypes/elementtypeview/Activator.java b/plugins/developer/org.eclipse.papyrus.infra.extendedtypes.elementtypeview/src/org/eclipse/papyrus/infra/extendedtypes/elementtypeview/Activator.java
index f8555ee6d11..8745dd6863a 100644
--- a/plugins/developer/org.eclipse.papyrus.infra.extendedtypes.elementtypeview/src/org/eclipse/papyrus/infra/extendedtypes/elementtypeview/Activator.java
+++ b/plugins/developer/org.eclipse.papyrus.infra.extendedtypes.elementtypeview/src/org/eclipse/papyrus/infra/extendedtypes/elementtypeview/Activator.java
@@ -16,7 +16,7 @@ public class Activator extends AbstractUIPlugin {
private static Activator plugin;
public static LogHelper log;
-
+
/**
* The constructor
*/
@@ -28,6 +28,7 @@ public class Activator extends AbstractUIPlugin {
*
* @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
*/
+ @Override
public void start(BundleContext context) throws Exception {
super.start(context);
plugin = this;
@@ -39,6 +40,7 @@ public class Activator extends AbstractUIPlugin {
*
* @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
*/
+ @Override
public void stop(BundleContext context) throws Exception {
log = null;
plugin = null;
@@ -47,7 +49,7 @@ public class Activator extends AbstractUIPlugin {
/**
* Returns the shared instance
- *
+ *
* @return the shared instance
*/
public static Activator getDefault() {
diff --git a/plugins/developer/org.eclipse.papyrus.infra.extendedtypes.elementtypeview/src/org/eclipse/papyrus/infra/extendedtypes/elementtypeview/view/ElementTypeLabelProvider.java b/plugins/developer/org.eclipse.papyrus.infra.extendedtypes.elementtypeview/src/org/eclipse/papyrus/infra/extendedtypes/elementtypeview/view/ElementTypeLabelProvider.java
index bd3f41e2d9b..8b90c8fc5ba 100644
--- a/plugins/developer/org.eclipse.papyrus.infra.extendedtypes.elementtypeview/src/org/eclipse/papyrus/infra/extendedtypes/elementtypeview/view/ElementTypeLabelProvider.java
+++ b/plugins/developer/org.eclipse.papyrus.infra.extendedtypes.elementtypeview/src/org/eclipse/papyrus/infra/extendedtypes/elementtypeview/view/ElementTypeLabelProvider.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -10,7 +10,7 @@
* Contributors:
* Ansgar Radermacher (CEA LIST) ansgar.radermacher@cea.fr - Initial API and implementation
* Based on edit policy view from patrick.tessier@cea.fr
- *
+ *
*/
package org.eclipse.papyrus.infra.extendedtypes.elementtypeview.view;
@@ -25,7 +25,7 @@ import org.eclipse.swt.widgets.Display;
/**
* This is the label provider to display figures
- *
+ *
*/
public class ElementTypeLabelProvider implements ITableLabelProvider, ITableColorProvider {
@@ -33,23 +33,28 @@ public class ElementTypeLabelProvider implements ITableLabelProvider, ITableColo
protected Color customizableDropEditPolicyColor = new Color(Display.getDefault(), 0, 38, 255);
+ @Override
public void removeListener(ILabelProviderListener listener) {
}
+ @Override
public boolean isLabelProperty(Object element, String property) {
return false;
}
+ @Override
public void dispose() {
}
+ @Override
public void addListener(ILabelProviderListener listener) {
}
+ @Override
public String getColumnText(Object element, int columnIndex) {
- if(element instanceof IElementType) {
- IElementType elementType = (IElementType)element;
- switch(columnIndex) {
+ if (element instanceof IElementType) {
+ IElementType elementType = (IElementType) element;
+ switch (columnIndex) {
case 0:
String name = elementType.getDisplayName();
return name;
@@ -60,14 +65,17 @@ public class ElementTypeLabelProvider implements ITableLabelProvider, ITableColo
return "cannot display element: " + element;
}
+ @Override
public Image getColumnImage(Object element, int columnIndex) {
return null;
}
+ @Override
public Color getForeground(Object element, int columnIndex) {
return null;
}
+ @Override
public Color getBackground(Object element, int columnIndex) {
return null;
}
diff --git a/plugins/developer/org.eclipse.papyrus.infra.extendedtypes.elementtypeview/src/org/eclipse/papyrus/infra/extendedtypes/elementtypeview/view/ElementTypeView.java b/plugins/developer/org.eclipse.papyrus.infra.extendedtypes.elementtypeview/src/org/eclipse/papyrus/infra/extendedtypes/elementtypeview/view/ElementTypeView.java
index 17e2b537115..da4d2894f34 100644
--- a/plugins/developer/org.eclipse.papyrus.infra.extendedtypes.elementtypeview/src/org/eclipse/papyrus/infra/extendedtypes/elementtypeview/view/ElementTypeView.java
+++ b/plugins/developer/org.eclipse.papyrus.infra.extendedtypes.elementtypeview/src/org/eclipse/papyrus/infra/extendedtypes/elementtypeview/view/ElementTypeView.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2013 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -45,7 +45,7 @@ import org.eclipse.ui.part.ViewPart;
/**
* This class shows the figure hierarchy attached to a edit-part
- *
+ *
*/
public class ElementTypeView extends ViewPart {
@@ -60,16 +60,17 @@ public class ElementTypeView extends ViewPart {
*
* @see org.eclipse.ui.part.WorkbenchPart#setFocus()
*/
+ @Override
public void setFocus() {
Viewer viewer = getViewer();
- if(viewer != null && !viewer.getControl().isDisposed()) {
+ if (viewer != null && !viewer.getControl().isDisposed()) {
viewer.getControl().setFocus();
}
}
/**
* Create the main tree control
- *
+ *
* @param parent
* @return Tree
*/
@@ -81,7 +82,7 @@ public class ElementTypeView extends ViewPart {
/**
* Return the viewer.
- *
+ *
* @return TreeViewer
*/
protected TreeViewer getViewer() {
@@ -89,44 +90,45 @@ public class ElementTypeView extends ViewPart {
}
/**
- *
+ *
* Constructor.
- *
+ *
*/
public ElementTypeView() {
myEditPartlistener = new ISelectionListener() {
+ @Override
public void selectionChanged(IWorkbenchPart part, ISelection selection) {
- if(selection instanceof IStructuredSelection) {
- Object selectedobject = ((IStructuredSelection)selection).getFirstElement();
+ if (selection instanceof IStructuredSelection) {
+ Object selectedobject = ((IStructuredSelection) selection).getFirstElement();
IClientContext papyrusContext;
try {
papyrusContext = TypeContext.getContext();
} catch (ServiceException e) {
Activator.log.error(e);
- if(viewer != null) {
+ if (viewer != null) {
viewer.setInput(new Object[0]);
viewer.expandAll();
}
return;
}
EObject selectedEObject = null;
- if(selectedobject instanceof EObject) {
- selectedEObject = (EObject)selectedobject;
- } else if(selectedobject instanceof IAdaptable) {
- selectedEObject = (EObject)((IAdaptable)selectedobject).getAdapter(EObject.class);
+ if (selectedobject instanceof EObject) {
+ selectedEObject = (EObject) selectedobject;
+ } else if (selectedobject instanceof IAdaptable) {
+ selectedEObject = (EObject) ((IAdaptable) selectedobject).getAdapter(EObject.class);
}
-
- if(selectedElement != null && !selectedElement.isDisposed()) {
- selectedElement.setText((selectedEObject != null ) ? selectedEObject.toString() : "" );
+
+ if (selectedElement != null && !selectedElement.isDisposed()) {
+ selectedElement.setText((selectedEObject != null) ? selectedEObject.toString() : "");
}
-
- if(viewer != null) {
- if(selectedEObject ==null) {
+
+ if (viewer != null) {
+ if (selectedEObject == null) {
viewer.setInput(new IElementType[0]);
} else {
viewer.setInput(ElementTypeRegistry.getInstance().getAllTypesMatching(selectedEObject, papyrusContext));
- viewer.expandAll();
+ viewer.expandAll();
}
}
}
@@ -145,12 +147,12 @@ public class ElementTypeView extends ViewPart {
TreeColumn tcIdentifier = new TreeColumn(viewer.getTree(), SWT.LEFT);
tcIdentifier.setText("Identifier");
tcIdentifier.setWidth(250);
- // TreeColumn tcLayoutManager = new TreeColumn(viewer.getTree(), SWT.LEFT);
- // tcLayoutManager.setText("Layout manager");
- // tcLayoutManager.setWidth(150);
- // TreeColumn tcBorder = new TreeColumn(viewer.getTree(), SWT.LEFT);
- // tcBorder.setText("Border");
- // tcBorder.setWidth(150);
+ // TreeColumn tcLayoutManager = new TreeColumn(viewer.getTree(), SWT.LEFT);
+ // tcLayoutManager.setText("Layout manager");
+ // tcLayoutManager.setWidth(150);
+ // TreeColumn tcBorder = new TreeColumn(viewer.getTree(), SWT.LEFT);
+ // tcBorder.setText("Border");
+ // tcBorder.setWidth(150);
}
@Override
@@ -161,9 +163,9 @@ public class ElementTypeView extends ViewPart {
composite.setLayout(new GridLayout(1, true));
selectedElement = new CLabel(composite, SWT.NONE);
selectedElement.setText("<no element>");
- selectedElement.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, false));
- Tree tree= createTree(composite);
- tree.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true));
+ selectedElement.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, false));
+ Tree tree = createTree(composite);
+ tree.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true));
viewer = new TreeViewer(tree);
viewer.setContentProvider(getContentProvider());
viewer.setLabelProvider(getLabelProvider());
@@ -202,29 +204,35 @@ public class ElementTypeView extends ViewPart {
protected IContentProvider getContentProvider() {
return new ITreeContentProvider() {
+ @Override
public Object[] getElements(final Object inputElement) {
- if(inputElement instanceof IElementType[]) {
- return (IElementType[])inputElement;
+ if (inputElement instanceof IElementType[]) {
+ return (IElementType[]) inputElement;
}
return null;
}
+ @Override
public void inputChanged(final Viewer viewer, final Object oldInput, final Object newInput) {
// nothing
}
+ @Override
public void dispose() {
// nothing
}
+ @Override
public boolean hasChildren(final Object element) {
return false;
}
+ @Override
public Object getParent(final Object element) {
return null;
}
+ @Override
public Object[] getChildren(final Object parentElement) {
return new Object[0];
}
diff --git a/plugins/developer/org.eclipse.papyrus.mwe2.utils/src/org/eclipse/papyrus/mwe2/utils/Activator.java b/plugins/developer/org.eclipse.papyrus.mwe2.utils/src/org/eclipse/papyrus/mwe2/utils/Activator.java
index e4a37634fd7..53c64d0c1a2 100644
--- a/plugins/developer/org.eclipse.papyrus.mwe2.utils/src/org/eclipse/papyrus/mwe2/utils/Activator.java
+++ b/plugins/developer/org.eclipse.papyrus.mwe2.utils/src/org/eclipse/papyrus/mwe2/utils/Activator.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Juan Cadavid <juan.cadavid@cea.fr> implementation
******************************************************************************/
@@ -23,16 +23,20 @@ public class Activator implements BundleActivator {
/*
* (non-Javadoc)
+ *
* @see org.osgi.framework.BundleActivator#start(org.osgi.framework.BundleContext)
*/
+ @Override
public void start(BundleContext bundleContext) throws Exception {
Activator.context = bundleContext;
}
/*
* (non-Javadoc)
+ *
* @see org.osgi.framework.BundleActivator#stop(org.osgi.framework.BundleContext)
*/
+ @Override
public void stop(BundleContext bundleContext) throws Exception {
Activator.context = null;
}
diff --git a/plugins/developer/org.eclipse.papyrus.mwe2.utils/src/org/eclipse/papyrus/mwe2/utils/components/QvtoTransformationWorkflowComponent.java b/plugins/developer/org.eclipse.papyrus.mwe2.utils/src/org/eclipse/papyrus/mwe2/utils/components/QvtoTransformationWorkflowComponent.java
index a88492f94cc..a394fc8cc04 100644
--- a/plugins/developer/org.eclipse.papyrus.mwe2.utils/src/org/eclipse/papyrus/mwe2/utils/components/QvtoTransformationWorkflowComponent.java
+++ b/plugins/developer/org.eclipse.papyrus.mwe2.utils/src/org/eclipse/papyrus/mwe2/utils/components/QvtoTransformationWorkflowComponent.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Juan Cadavid <juan.cadavid@cea.fr> implementation
******************************************************************************/
@@ -35,15 +35,15 @@ import org.eclipse.papyrus.mwe2.utils.messages.Messages;
* MWE Component to execute QVTO transformations. An example of use is:
* <blockquote>
* component = org.eclipse.papyrus.mwe.utils.components.QvtoTransformationWorkflowComponent {
- inputSlots = 'inputGmfgen'
- inputSlots = 'gmfgenUmlMetamodel'
- transformationURI = 'platform:/resource/org.eclipse.papyrus.tests.framework/qvto/gmfgen2uml.qvto'
- outputSlot = 'inputGmfgenUml'
- }
- </blockquote>
- * where the multi-valued input slots are the input parameters for the transformation;
+ * inputSlots = 'inputGmfgen'
+ * inputSlots = 'gmfgenUmlMetamodel'
+ * transformationURI = 'platform:/resource/org.eclipse.papyrus.tests.framework/qvto/gmfgen2uml.qvto'
+ * outputSlot = 'inputGmfgenUml'
+ * }
+ * </blockquote>
+ * where the multi-valued input slots are the input parameters for the transformation;
* there should be as many as there are declared in the qvto file;
- * transformationURI is the location of the .qvto file and outputSlot the slot where
+ * transformationURI is the location of the .qvto file and outputSlot the slot where
* the list of resulting eObjects of the transformation will be placed.
*
*/
@@ -78,7 +78,7 @@ public class QvtoTransformationWorkflowComponent extends
public ExecutionDiagnostic generate(List<? extends EObject> inObjects,
URI transformationURI, WorkflowContext ctx, Issues issues)
throws IOException {
- //resolveProxies(inObjects);
+ // resolveProxies(inObjects);
TransformationExecutor executor = new TransformationExecutor(
transformationURI);
Diagnostic loadTransformationDiagnostic = executor.loadTransformation();
@@ -118,11 +118,11 @@ public class QvtoTransformationWorkflowComponent extends
for (String inputSlot : inputSlots) {
Object inputObject = ctx.get(inputSlot);
- if(inputObject instanceof EObject){
+ if (inputObject instanceof EObject) {
inObjects.add((EObject) inputObject);
- }else if(inputObject instanceof List<?>){
+ } else if (inputObject instanceof List<?>) {
List<EObject> list = (List<EObject>) inputObject;
- inObjects.add((EObject) list.get(0));
+ inObjects.add(list.get(0));
}
}
try {
@@ -140,7 +140,7 @@ public class QvtoTransformationWorkflowComponent extends
issues.addError(Messages.QvtoTransformationWorkflowComponent_5);
}
}
-
-
+
+
}
diff --git a/plugins/developer/org.eclipse.papyrus.mwe2.utils/src/org/eclipse/papyrus/mwe2/utils/components/RegisterUmlProfileComponent.java b/plugins/developer/org.eclipse.papyrus.mwe2.utils/src/org/eclipse/papyrus/mwe2/utils/components/RegisterUmlProfileComponent.java
index 26c2f305ee8..190004fdcab 100644
--- a/plugins/developer/org.eclipse.papyrus.mwe2.utils/src/org/eclipse/papyrus/mwe2/utils/components/RegisterUmlProfileComponent.java
+++ b/plugins/developer/org.eclipse.papyrus.mwe2.utils/src/org/eclipse/papyrus/mwe2/utils/components/RegisterUmlProfileComponent.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Juan Cadavid <juan.cadavid@cea.fr> implementation
******************************************************************************/
@@ -26,9 +26,9 @@ import org.eclipse.uml2.uml.Profile;
* An example of its usage is:
* <blockquote>
* component = org.eclipse.papyrus.mwe.utils.components.RegisterUmlProfile {
- profileSlot = 'ecoreprofile'
- }
- </blockquote>
+ * profileSlot = 'ecoreprofile'
+ * }
+ * </blockquote>
* where profileSlot is a slot that contains the uml Profile object to register.
*/
public class RegisterUmlProfileComponent extends AbstractWorkflowComponent {
@@ -36,7 +36,7 @@ public class RegisterUmlProfileComponent extends AbstractWorkflowComponent {
private String profileSlot;
-
+
public String getProfileSlot() {
return profileSlot;
}
@@ -45,8 +45,9 @@ public class RegisterUmlProfileComponent extends AbstractWorkflowComponent {
this.profileSlot = profileSlot;
}
+ @Override
public void checkConfiguration(Issues issues) {
- if(profileSlot == null || profileSlot.equals("")){ //$NON-NLS-1$
+ if (profileSlot == null || profileSlot.equals("")) { //$NON-NLS-1$
issues.addError(Messages.RegisterUmlProfile_1);
}
}
@@ -55,13 +56,13 @@ public class RegisterUmlProfileComponent extends AbstractWorkflowComponent {
protected void invokeInternal(WorkflowContext ctx, ProgressMonitor monitor,
Issues issues) {
EObject eObject = (EObject) ctx.get(profileSlot);
- if(!(eObject instanceof Profile)){
+ if (!(eObject instanceof Profile)) {
log.error(Messages.RegisterUmlProfile_2);
return;
}
Profile profile = (Profile) eObject;
EPackage definition = profile.getDefinition();
- if(definition == null){
+ if (definition == null) {
log.error(Messages.RegisterUmlProfile_3);
return;
}
diff --git a/plugins/developer/org.eclipse.papyrus.sysml.sysmloveruml.codegen/generation-classes-helper-src/org/eclipse/papyrus/sysml/sysmloveruml/codegen/generationUtils/SysMLOverUMLHelper.java b/plugins/developer/org.eclipse.papyrus.sysml.sysmloveruml.codegen/generation-classes-helper-src/org/eclipse/papyrus/sysml/sysmloveruml/codegen/generationUtils/SysMLOverUMLHelper.java
index 69df1772784..101a2fd4e24 100644
--- a/plugins/developer/org.eclipse.papyrus.sysml.sysmloveruml.codegen/generation-classes-helper-src/org/eclipse/papyrus/sysml/sysmloveruml/codegen/generationUtils/SysMLOverUMLHelper.java
+++ b/plugins/developer/org.eclipse.papyrus.sysml.sysmloveruml.codegen/generation-classes-helper-src/org/eclipse/papyrus/sysml/sysmloveruml/codegen/generationUtils/SysMLOverUMLHelper.java
@@ -1,14 +1,14 @@
/**
* Copyright (c) 2011 Atos.
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Atos - Initial API and implementation
- *
+ *
*/
package org.eclipse.papyrus.sysml.sysmloveruml.codegen.generationUtils;
@@ -30,25 +30,25 @@ import org.eclipse.emf.ecore.EStructuralFeature;
/**
* Helper class for generation
- *
+ *
* @author "Arthur Daussy <a href="mailto:arthur.daussy@atos.net
* ">arthur.daussy@atos.net</a>"
- *
+ *
*/
public class SysMLOverUMLHelper {
/**
* Get all the based element of all the element of the package sorted by the
* Classifer_ID of their based element
- *
+ *
* @param genPackage
- * {@link GenPackage}
+ * {@link GenPackage}
* @return {@link TreeMap} of the all the based element sorted by the
* classifier_ID of their based element
*/
public static TreeMap<String, List<GenClass>> getSortedBasedElementFromPackage(GenPackage genPackage) {
TreeMap<String, List<GenClass>> result = new TreeMap<String, List<GenClass>>();
- for(GenClass genClass : genPackage.getGenClasses()) {
+ for (GenClass genClass : genPackage.getGenClasses()) {
/**
* Get all the based element for this class
*/
@@ -56,9 +56,9 @@ public class SysMLOverUMLHelper {
/**
* Register in the registery by EClass classifier
*/
- for(EClass basedClass : basedElements) {
+ for (EClass basedClass : basedElements) {
List<GenClass> list = result.get(basedClass.getName());
- if(list == null) {
+ if (list == null) {
result.put(basedClass.getName(), new ArrayList<GenClass>(Collections.singletonList(genClass)));
} else {
list.add(genClass);
@@ -71,14 +71,14 @@ public class SysMLOverUMLHelper {
/**
* Get the list of all EClass from the UML metamodel present in the SysML
* language
- *
+ *
* @param genModel
* @return {@link Set} of all UML EClass present in the sysml language
*/
public static Set<EClass> getAllUMLElementNameFromModel(GenModel genModel) {
Set<EClass> result = new HashSet<EClass>();
- for(GenPackage genPackage : genModel.getAllGenPackagesWithConcreteClasses()) {
- for(GenClass genClass : genPackage.getGenClasses()) {
+ for (GenPackage genPackage : genModel.getAllGenPackagesWithConcreteClasses()) {
+ for (GenClass genClass : genPackage.getGenClasses()) {
/**
* Get all the based element for this class
*/
@@ -86,7 +86,7 @@ public class SysMLOverUMLHelper {
/**
* Register in the registery by EClass classifier
*/
- for(EClass basedClass : basedElements) {
+ for (EClass basedClass : basedElements) {
result.add(basedClass);
}
}
@@ -97,16 +97,16 @@ public class SysMLOverUMLHelper {
/**
* Get all the based element of all the element of the model sorted by the
* Classifer_ID of their based element
- *
+ *
* @param genModel
- * {@link GenModel}
+ * {@link GenModel}
* @return {@link TreeMap} of the all the based element sorted by the
* classifier_ID of their based element
*/
public static TreeMap<String, Set<GenPackage>> getSortedEClassBasedElementFromModel(GenModel genModel) {
TreeMap<String, Set<GenPackage>> result = new TreeMap<String, Set<GenPackage>>();
- for(GenPackage genPackage : genModel.getAllGenPackagesWithConcreteClasses()) {
- for(GenClass genClass : genPackage.getGenClasses()) {
+ for (GenPackage genPackage : genModel.getAllGenPackagesWithConcreteClasses()) {
+ for (GenClass genClass : genPackage.getGenClasses()) {
/**
* Get all the based element for this class
*/
@@ -114,9 +114,9 @@ public class SysMLOverUMLHelper {
/**
* Register in the registery by EClass classifier
*/
- for(EClass basedClass : basedElements) {
+ for (EClass basedClass : basedElements) {
final Set<GenPackage> set = result.get(getClassifierCorrectLabel(basedClass.getName()));
- if(set != null) {
+ if (set != null) {
set.add(genClass.getGenPackage());
} else {
result.put(getClassifierCorrectLabel(basedClass.getName()), new HashSet<GenPackage>(Collections.singletonList(genClass.getGenPackage())));
@@ -130,19 +130,19 @@ public class SysMLOverUMLHelper {
/**
* Get the name of the test function for uml element in sysml langage
* Example : protected boolean isBlock ( Class clazz) { ... }
- *
+ *
* @param genClass
* @return the name of the function
*/
public static String getIsXFromYLabelFunction(GenClass genClass, EClass basedClass) {
return "is" + genClass.getClassifierAccessorName() + "From" //$NON-NLS-1$ //$NON-NLS-2$
- + basedClass.getName();////$NON-NLS-N$
+ + basedClass.getName();//
}
/**
* Get the name of the case function for uml element in sysml language
* Example : public T caseClassStereotypedByBlock(Class object) {...}
- *
+ *
* @param genClass
* @param basedClass
* @return
@@ -154,20 +154,20 @@ public class SysMLOverUMLHelper {
/**
* Get the name of the case function for uml element in sysml language
* Example : public T caseClassStereotypedByBlock(Class object) {...}
- *
+ *
* @param genClass
* @param String
- * based class name
+ * based class name
* @return
*/
public static String getCaseXStereotypedByYLabelFunction(GenClass genClass, String basedClassName) {
return "case" + basedClassName + "StereotypedBy" //$NON-NLS-1$ //$NON-NLS-2$
- + genClass.getClassifierAccessorName();////$NON-NLS-
+ + genClass.getClassifierAccessorName();////$NON-NLS-
}
/**
* Get the variablele anme for the isXFromY methods
- *
+ *
* @param eClass
* @return
*/
@@ -178,34 +178,34 @@ public class SysMLOverUMLHelper {
/**
* Get the based elements from a stereotype application EObject. (copied
* from org.eclipse.emf.compare.sysml.codegen)
- *
+ *
* @param eClass
- * {@link EClass} of the based element of the stereotype
+ * {@link EClass} of the based element of the stereotype
* @return The basedElement or empty list
*/
public static List<EClass> getBasedElement(EClass eClass) {
- if(eClass != null) {
+ if (eClass != null) {
final EList<EStructuralFeature> structuralFeatures = eClass.getEStructuralFeatures();
final ArrayList<EClass> basedElements = new ArrayList<EClass>();
- for(EStructuralFeature struc : structuralFeatures) {
- if(struc.getName().startsWith("base_")) { //$NON-NLS-1$
+ for (EStructuralFeature struc : structuralFeatures) {
+ if (struc.getName().startsWith("base_")) { //$NON-NLS-1$
final EClassifier attType = struc.getEType();
- if(attType instanceof EClass) {
- basedElements.add((EClass)attType);
+ if (attType instanceof EClass) {
+ basedElements.add((EClass) attType);
}
}
}
- if(basedElements.isEmpty()) {
+ if (basedElements.isEmpty()) {
/**
* If no based class found look into the super EClass Handle for
* exmaple the constriant block example.
* |Class|<-|Block]<-|ConstraintBlock|
*/
EList<EClass> superEclasses = eClass.getESuperTypes();
- if(superEclasses == null || superEclasses.isEmpty()) {
+ if (superEclasses == null || superEclasses.isEmpty()) {
return Collections.emptyList();
} else {
- for(EClass superEClass : superEclasses) {
+ for (EClass superEClass : superEclasses) {
basedElements.addAll(getBasedElement(superEClass));
}
}
@@ -217,7 +217,7 @@ public class SysMLOverUMLHelper {
/**
* get the complete name of Uml interfaces ex: org.eclipse.uml.Class
- *
+ *
* @param eClass
* @return
*/
@@ -227,7 +227,7 @@ public class SysMLOverUMLHelper {
/**
* Get the classifier label of this structural feature
- *
+ *
* @param feature
* @param basedClass
* @return
@@ -238,20 +238,20 @@ public class SysMLOverUMLHelper {
/**
* Get the base feature name Example: For Requirement -> "getBase_Class()"
- *
+ *
* @param stereotypeClass
* @param basedClass
* @return
*/
public static String getBase_ElementMethodName(EClass stereotypeClass, EClass basedClass) {
String result = ""; //$NON-NLS-1$
- if(stereotypeClass != null && basedClass != null) {
+ if (stereotypeClass != null && basedClass != null) {
final EList<EStructuralFeature> structuralFeatures = stereotypeClass.getEStructuralFeatures();
- for(EStructuralFeature feature : structuralFeatures) {
+ for (EStructuralFeature feature : structuralFeatures) {
EClassifier classifier = feature.getEType();
- if(classifier instanceof EClass) {
+ if (classifier instanceof EClass) {
String featureName = feature.getName();
- if(((EClass)classifier).equals(basedClass) && featureName.startsWith("base_")) { //$NON-NLS-1$
+ if (((EClass) classifier).equals(basedClass) && featureName.startsWith("base_")) { //$NON-NLS-1$
return getQualifiedBasedMethodName(featureName);
}
}
@@ -260,9 +260,9 @@ public class SysMLOverUMLHelper {
/**
* Look into super type TODO Check if it work with two super type
*/
- for(EClass superType : stereotypeClass.getESuperTypes()) {
+ for (EClass superType : stereotypeClass.getESuperTypes()) {
result = getBase_ElementMethodName(superType, basedClass);
- if(result != null && !("".equals(result))) { //$NON-NLS-1$
+ if (result != null && !("".equals(result))) { //$NON-NLS-1$
return result;
}
}
@@ -272,7 +272,7 @@ public class SysMLOverUMLHelper {
/**
* Get the qualified name of the method to get the based element Example:
* Block -> return "getBase_Class"
- *
+ *
* @param featureName
* @return
*/
@@ -282,7 +282,7 @@ public class SysMLOverUMLHelper {
/**
* Set the first letter of the word to upper case
- *
+ *
* @param s
* @return
*/
@@ -295,7 +295,7 @@ public class SysMLOverUMLHelper {
/**
* get the displayed name as it is displayed with UML Item provider
- *
+ *
* @param eClass
* @return
*/
@@ -305,7 +305,7 @@ public class SysMLOverUMLHelper {
/**
* Set the first letter of the word to upper case
- *
+ *
* @param s
* @return
*/
@@ -319,7 +319,7 @@ public class SysMLOverUMLHelper {
/**
* Get the qualified name (in the UML way) of the EClass example:
* SysML::Block::block
- *
+ *
* @param eClass
* @return
*/
@@ -331,14 +331,14 @@ public class SysMLOverUMLHelper {
*/
String packageName = ""; //$NON-NLS-1$
String packageNameAux = ""; //$NON-NLS-1$
- if(package_ != null) {
+ if (package_ != null) {
packageName = new String(package_.getNsPrefix());
packageName = packageName.concat("::").concat(eClassName); //$NON-NLS-1$
- while(package_.getESuperPackage() != null) {
+ while (package_.getESuperPackage() != null) {
package_ = package_.getESuperPackage();
packageNameAux = new String(package_.getNsPrefix());
packageNameAux = packageNameAux.concat("::") //$NON-NLS-1$
- .concat(packageName);
+ .concat(packageName);
packageName = new String(packageNameAux);
}
}
@@ -347,8 +347,8 @@ public class SysMLOverUMLHelper {
public static String getClassifierCorrectLabel(String classifier) {
StringBuilder builder = new StringBuilder();
- for(int i = 0; i < classifier.length(); i++) {
- if(Character.isUpperCase(classifier.charAt(i)) && i > 0) {
+ for (int i = 0; i < classifier.length(); i++) {
+ if (Character.isUpperCase(classifier.charAt(i)) && i > 0) {
builder.append('_');
}
builder.append(classifier.charAt(i));
@@ -358,8 +358,8 @@ public class SysMLOverUMLHelper {
public static String getElementTypeCorrectLabel(String classifier) {
StringBuilder builder = new StringBuilder();
- for(int i = 0; i < classifier.length(); i++) {
- if(Character.isUpperCase(classifier.charAt(i)) && i > 0) {
+ for (int i = 0; i < classifier.length(); i++) {
+ if (Character.isUpperCase(classifier.charAt(i)) && i > 0) {
builder.append(' ');
}
builder.append(classifier.charAt(i));
@@ -370,9 +370,9 @@ public class SysMLOverUMLHelper {
/**
* Get the correct label name of an {@link EClass} as it is written in UMLPackage.litterals
* Example:
- *
+ *
* EClass ActivityEdge -> return ACTIVITY_EDGE
- *
+ *
* @param eClass
* @return
*/
@@ -383,9 +383,9 @@ public class SysMLOverUMLHelper {
/**
* Get the correct label name of an {@link EClass} as it is written in plugins.properties to externalize strings
* Example:
- *
+ *
* EClass ActivityEdge -> return Activity Edge
- *
+ *
* @param eClass
* @return
*/
@@ -395,16 +395,16 @@ public class SysMLOverUMLHelper {
/**
* Get the package name with an adding string.
- *
+ *
* @param genPackage
- * {@link GenClass}
+ * {@link GenClass}
* @param elementName
- * {@link String} you want to add to create the apckage name
+ * {@link String} you want to add to create the apckage name
* @return Package name
*/
static String getXPackageName(GenModel genPackage, String elementName) {
final String basePackage = genPackage.getInterfaceNamePattern();
- if(basePackage.length() > 0) {
+ if (basePackage.length() > 0) {
return basePackage + "." + elementName.toLowerCase(); //$NON-NLS-1$
} else {
return elementName.toLowerCase();
diff --git a/plugins/developer/org.eclipse.papyrus.sysml.sysmloveruml.codegen/src/org/eclipse/papyrus/sysml/sysmloveruml/codegen/SysMLOverUMLGeneratorPlugin.java b/plugins/developer/org.eclipse.papyrus.sysml.sysmloveruml.codegen/src/org/eclipse/papyrus/sysml/sysmloveruml/codegen/SysMLOverUMLGeneratorPlugin.java
index 64a6c0c0ca6..eb080306d59 100644
--- a/plugins/developer/org.eclipse.papyrus.sysml.sysmloveruml.codegen/src/org/eclipse/papyrus/sysml/sysmloveruml/codegen/SysMLOverUMLGeneratorPlugin.java
+++ b/plugins/developer/org.eclipse.papyrus.sysml.sysmloveruml.codegen/src/org/eclipse/papyrus/sysml/sysmloveruml/codegen/SysMLOverUMLGeneratorPlugin.java
@@ -1,14 +1,14 @@
/**
* Copyright (c) 2011 Atos.
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Atos - Initial API and implementation
- *
+ *
*/
package org.eclipse.papyrus.sysml.sysmloveruml.codegen;
@@ -37,7 +37,7 @@ public class SysMLOverUMLGeneratorPlugin extends EMFPlugin {
* Creates the singleton instance.
*/
private SysMLOverUMLGeneratorPlugin() {
- super(new ResourceLocator[]{});
+ super(new ResourceLocator[] {});
}
/*
@@ -50,7 +50,7 @@ public class SysMLOverUMLGeneratorPlugin extends EMFPlugin {
/**
* Returns the singleton instance of the Eclipse plugin.
- *
+ *
* @return the singleton instance.
*/
public static Implementation getPlugin() {
diff --git a/plugins/developer/org.eclipse.papyrus.sysml.sysmloveruml.codegen/src/org/eclipse/papyrus/sysml/sysmloveruml/codegen/core/AbstractGeneratorAdaptor.java b/plugins/developer/org.eclipse.papyrus.sysml.sysmloveruml.codegen/src/org/eclipse/papyrus/sysml/sysmloveruml/codegen/core/AbstractGeneratorAdaptor.java
index 9f347d021e5..1e0ce48505b 100644
--- a/plugins/developer/org.eclipse.papyrus.sysml.sysmloveruml.codegen/src/org/eclipse/papyrus/sysml/sysmloveruml/codegen/core/AbstractGeneratorAdaptor.java
+++ b/plugins/developer/org.eclipse.papyrus.sysml.sysmloveruml.codegen/src/org/eclipse/papyrus/sysml/sysmloveruml/codegen/core/AbstractGeneratorAdaptor.java
@@ -1,14 +1,14 @@
/**
* Copyright (c) 2011 Atos.
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Atos - Initial API and implementation
- *
+ *
*/
package org.eclipse.papyrus.sysml.sysmloveruml.codegen.core;
@@ -27,7 +27,7 @@ import org.eclipse.papyrus.sysml.sysmloveruml.codegen.utils.LabelHelper;
* Abstract Generator adaptor. Used has based for future generator. it's
* provide: -> A store mechanism of JETEmitter -> A condition mechanism which
* select JETEmitter in function of the an argument which extends genBase
- *
+ *
* @author "Arthur Daussy <a href="mailto:arthur.daussy@atos.net
* ">arthur.daussy@atos.net</a>"
* @param <T>
@@ -50,9 +50,9 @@ public abstract class AbstractGeneratorAdaptor<T extends GenBase> extends GenBas
/**
* Super implementation plus initialize the store.
- *
+ *
* @param generatorAdapterFactory
- * See super implementation
+ * See super implementation
*/
public AbstractGeneratorAdaptor(GeneratorAdapterFactory generatorAdapterFactory) {
super(generatorAdapterFactory);
@@ -62,19 +62,19 @@ public abstract class AbstractGeneratorAdaptor<T extends GenBase> extends GenBas
/**
* Get the getJETEmitterDescriptors which are stored and which are
* corresponding condition which is validate with the {@link GenClass} passed in argument.
- *
+ *
* @param genBase
- * {@link GenBase} inherited element to compute the {@link JETEmitterDescriptor} according to conditions
+ * {@link GenBase} inherited element to compute the {@link JETEmitterDescriptor} according to conditions
* @return List of all {@link JETEmitterDescriptor} which correspond to the {@link GenBase} element
*/
protected JETEmitterDescriptor[] getJETEmitterDescriptors(T genBase) {
final ArrayList<JETEmitterDescriptor> result = new ArrayList<JETEmitterDescriptor>();
- for(JETEmitterDescriptor descriptor : jetEmitterMap.keySet()) {
- if(jetEmitterMap.get(descriptor).canGenerate(genBase)) {
+ for (JETEmitterDescriptor descriptor : jetEmitterMap.keySet()) {
+ if (jetEmitterMap.get(descriptor).canGenerate(genBase)) {
result.add(descriptor);
}
}
- if(result.isEmpty()) {
+ if (result.isEmpty()) {
return new JETEmitterDescriptor[0];
}
return result.toArray(new JETEmitterDescriptor[result.size()]);
diff --git a/plugins/developer/org.eclipse.papyrus.sysml.sysmloveruml.codegen/src/org/eclipse/papyrus/sysml/sysmloveruml/codegen/core/Condition.java b/plugins/developer/org.eclipse.papyrus.sysml.sysmloveruml.codegen/src/org/eclipse/papyrus/sysml/sysmloveruml/codegen/core/Condition.java
index 7d47ede95c4..a5bd8918feb 100644
--- a/plugins/developer/org.eclipse.papyrus.sysml.sysmloveruml.codegen/src/org/eclipse/papyrus/sysml/sysmloveruml/codegen/core/Condition.java
+++ b/plugins/developer/org.eclipse.papyrus.sysml.sysmloveruml.codegen/src/org/eclipse/papyrus/sysml/sysmloveruml/codegen/core/Condition.java
@@ -1,14 +1,14 @@
/**
* Copyright (c) 2011 Atos.
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Atos - Initial API and implementation
- *
+ *
*/
package org.eclipse.papyrus.sysml.sysmloveruml.codegen.core;
@@ -16,19 +16,19 @@ import org.eclipse.emf.codegen.ecore.genmodel.GenBase;
/**
* Condition on a GenBase to say if a generator has to be used with this {@link GenBase}.
- *
+ *
* @author Arthur Daussy <a
* href="mailto:arthur.daussy@atos.net">arthur.daussy@atos.net</a>
* @param <T>
- * Element inherited from {@link GenBase} to calculate the condition
+ * Element inherited from {@link GenBase} to calculate the condition
*/
public interface Condition<T extends GenBase> {
/**
* Tell if the condition is true with the parameter.
- *
+ *
* @param gen
- * T
+ * T
* @return true if the condition relate to T is true
*/
boolean canGenerate(T gen);
diff --git a/plugins/developer/org.eclipse.papyrus.sysml.sysmloveruml.codegen/src/org/eclipse/papyrus/sysml/sysmloveruml/codegen/core/Messages.java b/plugins/developer/org.eclipse.papyrus.sysml.sysmloveruml.codegen/src/org/eclipse/papyrus/sysml/sysmloveruml/codegen/core/Messages.java
index 70921f44d2d..d292a279963 100644
--- a/plugins/developer/org.eclipse.papyrus.sysml.sysmloveruml.codegen/src/org/eclipse/papyrus/sysml/sysmloveruml/codegen/core/Messages.java
+++ b/plugins/developer/org.eclipse.papyrus.sysml.sysmloveruml.codegen/src/org/eclipse/papyrus/sysml/sysmloveruml/codegen/core/Messages.java
@@ -1,14 +1,14 @@
/**
* Copyright (c) 2011 Atos.
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Atos - Initial API and implementation
- *
+ *
*/
package org.eclipse.papyrus.sysml.sysmloveruml.codegen.core;
@@ -16,9 +16,9 @@ import org.eclipse.osgi.util.NLS;
/**
* Externalize messages.
- *
+ *
* @author "Arthur Daussy <a href="mailto:arthur.daussy@atos.net">arthur.daussy@atos.net</a>"
- *
+ *
*/
public class Messages extends NLS {
diff --git a/plugins/developer/org.eclipse.papyrus.sysml.sysmloveruml.codegen/src/org/eclipse/papyrus/sysml/sysmloveruml/codegen/core/SysMLOverUMLGenModelGeneratorAdapterFactory.java b/plugins/developer/org.eclipse.papyrus.sysml.sysmloveruml.codegen/src/org/eclipse/papyrus/sysml/sysmloveruml/codegen/core/SysMLOverUMLGenModelGeneratorAdapterFactory.java
index dc1c44f1c02..c55ea33e4c1 100644
--- a/plugins/developer/org.eclipse.papyrus.sysml.sysmloveruml.codegen/src/org/eclipse/papyrus/sysml/sysmloveruml/codegen/core/SysMLOverUMLGenModelGeneratorAdapterFactory.java
+++ b/plugins/developer/org.eclipse.papyrus.sysml.sysmloveruml.codegen/src/org/eclipse/papyrus/sysml/sysmloveruml/codegen/core/SysMLOverUMLGenModelGeneratorAdapterFactory.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2011 Atos.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -19,7 +19,7 @@ import org.eclipse.emf.common.notify.Adapter;
/**
* @author "Arthur Daussy <a href="mailto:arthur.daussy@atos.net
* ">arthur.daussy@atos.net</a>"
- *
+ *
*/
public class SysMLOverUMLGenModelGeneratorAdapterFactory extends GenModelGeneratorAdapterFactory {
@@ -35,7 +35,7 @@ public class SysMLOverUMLGenModelGeneratorAdapterFactory extends GenModelGenerat
@Override
public Adapter createGenModelAdapter() {
- if(genPackageGeneratorAdapter == null) {
+ if (genPackageGeneratorAdapter == null) {
genPackageGeneratorAdapter = new SysMLOverUmlGenModelGenerator(this);
}
return genPackageGeneratorAdapter;
@@ -43,7 +43,7 @@ public class SysMLOverUMLGenModelGeneratorAdapterFactory extends GenModelGenerat
/**
* Define the new GenClassFatoryGeneratorAdaptor.
- *
+ *
* @see org.eclipse.emf.codegen.ecore.genmodel.generator.GenModelGeneratorAdapterFactory#createGenClassAdapter()
* @return {@link Adapter}
*/
diff --git a/plugins/developer/org.eclipse.papyrus.sysml.sysmloveruml.codegen/src/org/eclipse/papyrus/sysml/sysmloveruml/codegen/core/SysMLOverUmlGenModelGenerator.java b/plugins/developer/org.eclipse.papyrus.sysml.sysmloveruml.codegen/src/org/eclipse/papyrus/sysml/sysmloveruml/codegen/core/SysMLOverUmlGenModelGenerator.java
index 2b4d4c89d31..ddc52878d30 100644
--- a/plugins/developer/org.eclipse.papyrus.sysml.sysmloveruml.codegen/src/org/eclipse/papyrus/sysml/sysmloveruml/codegen/core/SysMLOverUmlGenModelGenerator.java
+++ b/plugins/developer/org.eclipse.papyrus.sysml.sysmloveruml.codegen/src/org/eclipse/papyrus/sysml/sysmloveruml/codegen/core/SysMLOverUmlGenModelGenerator.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2011 Atos.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -21,9 +21,9 @@ import org.eclipse.papyrus.sysml.sysmloveruml.codegen.generationUtils.SysMLOverU
/**
* Generator for model elements.
- *
+ *
* @author "Arthur Daussy <a href="mailto:arthur.daussy@atos.net">arthur.daussy@atos.net</a>"
- *
+ *
*/
public class SysMLOverUmlGenModelGenerator extends AbstractGeneratorAdaptor<GenModel> {
@@ -39,7 +39,7 @@ public class SysMLOverUmlGenModelGenerator extends AbstractGeneratorAdaptor<GenM
@Override
protected Diagnostic generateEdit(Object object, Monitor monitor) {
- final GenModel genModel = (GenModel)object;
+ final GenModel genModel = (GenModel) object;
monitor.beginTask("", 2); //$NON-NLS-1$
message = GENERATOR_LABEL;
monitor.subTask(message);
@@ -49,8 +49,9 @@ public class SysMLOverUmlGenModelGenerator extends AbstractGeneratorAdaptor<GenM
* Generate only if there at least one good template to generate
*/
final JETEmitterDescriptor[] emitters = getJETEmitterDescriptors(genModel);
- if(emitters.length > 0) {
- generateJava(genModel.getEditDirectory(), SysMLOverUMLHelper.getAdapterFactoryRegistryPackageName(), SysMLOverUMLHelper.getAdapterFactoryRegistryClassName(), getJETEmitter(getJETEmitterDescriptors(genModel), CHANGE_ELEMENT_ID), null, createMonitor(monitor, 1));
+ if (emitters.length > 0) {
+ generateJava(genModel.getEditDirectory(), SysMLOverUMLHelper.getAdapterFactoryRegistryPackageName(), SysMLOverUMLHelper.getAdapterFactoryRegistryClassName(), getJETEmitter(getJETEmitterDescriptors(genModel), CHANGE_ELEMENT_ID), null,
+ createMonitor(monitor, 1));
}
return Diagnostic.OK_INSTANCE;
}
diff --git a/plugins/developer/org.eclipse.papyrus.sysml.sysmloveruml.codegen/src/org/eclipse/papyrus/sysml/sysmloveruml/codegen/utils/LabelHelper.java b/plugins/developer/org.eclipse.papyrus.sysml.sysmloveruml.codegen/src/org/eclipse/papyrus/sysml/sysmloveruml/codegen/utils/LabelHelper.java
index a3c8a2d1ab8..68261527304 100644
--- a/plugins/developer/org.eclipse.papyrus.sysml.sysmloveruml.codegen/src/org/eclipse/papyrus/sysml/sysmloveruml/codegen/utils/LabelHelper.java
+++ b/plugins/developer/org.eclipse.papyrus.sysml.sysmloveruml.codegen/src/org/eclipse/papyrus/sysml/sysmloveruml/codegen/utils/LabelHelper.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2011 Atos Origin.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -18,7 +18,7 @@ import org.eclipse.papyrus.sysml.sysmloveruml.codegen.SysMLOverUMLGeneratorPlugi
/**
* Helper to print label during generation.
- *
+ *
* @author "Arthur Daussy <a href="mailto:arthur.daussy@atos.net
* ">arthur.daussy@atos.net</a>"
*/
@@ -36,7 +36,7 @@ public final class LabelHelper {
/**
* Get the name of the extension class of the Adapter Factory Class
- *
+ *
* @param genPackage
* @return
*/
diff --git a/plugins/developer/org.eclipse.papyrus.uml.developer.mde/src/org/eclipse/papyrus/uml/developper/mde/Activator.java b/plugins/developer/org.eclipse.papyrus.uml.developer.mde/src/org/eclipse/papyrus/uml/developper/mde/Activator.java
index 70d2f4192e2..e55e4b9c438 100644
--- a/plugins/developer/org.eclipse.papyrus.uml.developer.mde/src/org/eclipse/papyrus/uml/developper/mde/Activator.java
+++ b/plugins/developer/org.eclipse.papyrus.uml.developer.mde/src/org/eclipse/papyrus/uml/developper/mde/Activator.java
@@ -1,6 +1,6 @@
/*****************************************************************************
* Copyright (c) 2014 CEA LIST and others.
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -21,7 +21,7 @@ import org.osgi.framework.BundleContext;
*/
public class Activator extends AbstractUIPlugin {
- /** The plug-in ID**/
+ /** The plug-in ID **/
public static final String PLUGIN_ID = "org.eclipse.papyrus.uml.developer.mde"; //$NON-NLS-1$
// The shared instance
@@ -38,6 +38,7 @@ public class Activator extends AbstractUIPlugin {
*
* @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
*/
+ @Override
public void start(BundleContext context) throws Exception {
super.start(context);
plugin = this;
@@ -48,6 +49,7 @@ public class Activator extends AbstractUIPlugin {
*
* @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
*/
+ @Override
public void stop(BundleContext context) throws Exception {
plugin = null;
super.stop(context);
diff --git a/plugins/developer/org.eclipse.papyrus.uml.developer.mde/src/org/eclipse/papyrus/uml/developper/mde/I_DeveloperIDMStereotype.java b/plugins/developer/org.eclipse.papyrus.uml.developer.mde/src/org/eclipse/papyrus/uml/developper/mde/I_DeveloperIDMStereotype.java
index 9998c9b7047..449bdfcebc0 100644
--- a/plugins/developer/org.eclipse.papyrus.uml.developer.mde/src/org/eclipse/papyrus/uml/developper/mde/I_DeveloperIDMStereotype.java
+++ b/plugins/developer/org.eclipse.papyrus.uml.developer.mde/src/org/eclipse/papyrus/uml/developper/mde/I_DeveloperIDMStereotype.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2014 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
diff --git a/plugins/developer/org.eclipse.papyrus.uml.developer.mde/src/org/eclipse/papyrus/uml/developper/mde/I_DocumentStereotype.java b/plugins/developer/org.eclipse.papyrus.uml.developer.mde/src/org/eclipse/papyrus/uml/developper/mde/I_DocumentStereotype.java
index 4349c53ba4b..146231c7290 100644
--- a/plugins/developer/org.eclipse.papyrus.uml.developer.mde/src/org/eclipse/papyrus/uml/developper/mde/I_DocumentStereotype.java
+++ b/plugins/developer/org.eclipse.papyrus.uml.developer.mde/src/org/eclipse/papyrus/uml/developper/mde/I_DocumentStereotype.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2014 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
diff --git a/plugins/developer/org.eclipse.papyrus.uml.developer.mde/src/org/eclipse/papyrus/uml/developper/mde/command/CreateDocumentModelCommand.java b/plugins/developer/org.eclipse.papyrus.uml.developer.mde/src/org/eclipse/papyrus/uml/developper/mde/command/CreateDocumentModelCommand.java
index 5610a71ebb9..93e39dc5be1 100644
--- a/plugins/developer/org.eclipse.papyrus.uml.developer.mde/src/org/eclipse/papyrus/uml/developper/mde/command/CreateDocumentModelCommand.java
+++ b/plugins/developer/org.eclipse.papyrus.uml.developer.mde/src/org/eclipse/papyrus/uml/developper/mde/command/CreateDocumentModelCommand.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2014 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -64,21 +64,23 @@ public class CreateDocumentModelCommand extends RecordingCommand {
private static final String SYS_ML_REQUIREMENTS_REQUIREMENT = "SysML::Requirements::Requirement"; //$NON-NLS-1$
protected static final String REQUIREMENTS = "Requirements"; //$NON-NLS-1$
protected org.eclipse.uml2.uml.Package topModel;
- protected String directoryPath=null;
+ protected String directoryPath = null;
protected HyperLinkHelperFactory hyperlinkHelperFactory;
/**
- *
+ *
* Constructor to transform model into document model
*
* @param domain
- * @param topModel the root model
- * @param directoryPath the directory where image will be stored, pay attention directory must exist
+ * @param topModel
+ * the root model
+ * @param directoryPath
+ * the directory where image will be stored, pay attention directory must exist
*/
public CreateDocumentModelCommand(TransactionalEditingDomain domain, org.eclipse.uml2.uml.Package topModel, String directoryPath) {
super(domain);
- this.topModel=topModel;
- this.directoryPath=directoryPath;
+ this.topModel = topModel;
+ this.directoryPath = directoryPath;
ArrayList<AbstractHyperLinkHelper> hyperLinkHelpers = new ArrayList<AbstractHyperLinkHelper>();
hyperLinkHelpers.addAll(HyperLinkHelpersRegistrationUtil.INSTANCE.getAllRegisteredHyperLinkHelper());
@@ -88,29 +90,29 @@ public class CreateDocumentModelCommand extends RecordingCommand {
@Override
protected void doExecute() {
CopyToImageUtil copyImageUtil = new CopyToImageUtil();
- Model documentModel=UMLFactory.eINSTANCE.createModel();
+ Model documentModel = UMLFactory.eINSTANCE.createModel();
topModel.getPackagedElements().add(documentModel);
- Stereotype stereotypeDocument =documentModel.getApplicableStereotype(I_DocumentStereotype.DOCUMENT_STEREOTYPE);
+ Stereotype stereotypeDocument = documentModel.getApplicableStereotype(I_DocumentStereotype.DOCUMENT_STEREOTYPE);
documentModel.applyStereotype(stereotypeDocument);
- Stereotype stereotypeProject= topModel.getAppliedStereotype(I_DeveloperIDMStereotype.PROJECT_STEREOTYPE);
- documentModel.setName((String)topModel.getValue(stereotypeProject, I_DeveloperIDMStereotype.PROJECT_TITLE_ATT));
- documentModel.setValue(stereotypeDocument, I_DocumentStereotype.DOCUMENT_AUTHOR_ATT, ((String)topModel.getValue(stereotypeProject, I_DeveloperIDMStereotype.PROJECT_AUTHOR_ATT)));
- documentModel.setValue(stereotypeDocument, I_DocumentStereotype.DOCUMENT_VERSION_ATT, ((String)topModel.getValue(stereotypeProject, I_DeveloperIDMStereotype.PROJECT_VERSION_ATT)));
+ Stereotype stereotypeProject = topModel.getAppliedStereotype(I_DeveloperIDMStereotype.PROJECT_STEREOTYPE);
+ documentModel.setName((String) topModel.getValue(stereotypeProject, I_DeveloperIDMStereotype.PROJECT_TITLE_ATT));
+ documentModel.setValue(stereotypeDocument, I_DocumentStereotype.DOCUMENT_AUTHOR_ATT, (topModel.getValue(stereotypeProject, I_DeveloperIDMStereotype.PROJECT_AUTHOR_ATT)));
+ documentModel.setValue(stereotypeDocument, I_DocumentStereotype.DOCUMENT_VERSION_ATT, (topModel.getValue(stereotypeProject, I_DeveloperIDMStereotype.PROJECT_VERSION_ATT)));
- for(Iterator<Comment> iteComment = (topModel).getOwnedComments().iterator(); iteComment.hasNext();) {
- Comment currentComment = (Comment)iteComment.next();
+ for (Iterator<Comment> iteComment = (topModel).getOwnedComments().iterator(); iteComment.hasNext();) {
+ Comment currentComment = iteComment.next();
transformToContentComment(documentModel, currentComment);
}
- //get Requirement package
+ // get Requirement package
generateRequirements(documentModel);
- //get UseCases package
+ // get UseCases package
generateUseCases(copyImageUtil, documentModel);
- //getDesing package
+ // getDesing package
generateDesign(copyImageUtil, documentModel);
generateTests(copyImageUtil, documentModel);
@@ -118,30 +120,30 @@ public class CreateDocumentModelCommand extends RecordingCommand {
}
protected void generateRequirements(Model documentModel) {
- Model requirementsIn=null;
- for(Iterator<PackageableElement> iterator = topModel.getPackagedElements().iterator(); iterator.hasNext();) {
- PackageableElement packageableElement = (PackageableElement)iterator.next();
- if((packageableElement.getAppliedStereotype(I_DeveloperIDMStereotype.REQUIREMENTS_STEREOTYPE))!=null){
- requirementsIn=(Model)packageableElement;
+ Model requirementsIn = null;
+ for (Iterator<PackageableElement> iterator = topModel.getPackagedElements().iterator(); iterator.hasNext();) {
+ PackageableElement packageableElement = iterator.next();
+ if ((packageableElement.getAppliedStereotype(I_DeveloperIDMStereotype.REQUIREMENTS_STEREOTYPE)) != null) {
+ requirementsIn = (Model) packageableElement;
}
}
- if (requirementsIn!= null){
- Package requirementsOUT=UMLFactory.eINSTANCE.createPackage();
+ if (requirementsIn != null) {
+ Package requirementsOUT = UMLFactory.eINSTANCE.createPackage();
documentModel.getPackagedElements().add(requirementsOUT);
- Stereotype sectionStereotype= requirementsOUT.getApplicableStereotype(I_DocumentStereotype.SECTION_STEREOTYPE);
+ Stereotype sectionStereotype = requirementsOUT.getApplicableStereotype(I_DocumentStereotype.SECTION_STEREOTYPE);
requirementsOUT.applyStereotype(sectionStereotype);
requirementsOUT.setName(REQUIREMENTS);
- for(Iterator<Element> itereq = (requirementsIn).getOwnedElements().iterator(); itereq.hasNext();) {
- Element currentReq = (Element)itereq.next();
- Stereotype reqStereotype=currentReq.getApplicableStereotype(SYS_ML_REQUIREMENTS_REQUIREMENT);
- if(reqStereotype!=null){
- String out="- "+((org.eclipse.uml2.uml.Class)currentReq).getName()+" (id="+currentReq.getValue(reqStereotype, "id")+"): "; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
- out=out+"\n "+currentReq.getValue(reqStereotype, "text"); //$NON-NLS-1$ //$NON-NLS-2$
+ for (Iterator<Element> itereq = (requirementsIn).getOwnedElements().iterator(); itereq.hasNext();) {
+ Element currentReq = itereq.next();
+ Stereotype reqStereotype = currentReq.getApplicableStereotype(SYS_ML_REQUIREMENTS_REQUIREMENT);
+ if (reqStereotype != null) {
+ String out = "- " + ((org.eclipse.uml2.uml.Class) currentReq).getName() + " (id=" + currentReq.getValue(reqStereotype, "id") + "): "; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
+ out = out + "\n " + currentReq.getValue(reqStereotype, "text"); //$NON-NLS-1$ //$NON-NLS-2$
- Comment comment=requirementsOUT.createOwnedComment();
- Stereotype contentStereotype= comment.getApplicableStereotype(I_DocumentStereotype.CONTENT_STEREOTYPE);
+ Comment comment = requirementsOUT.createOwnedComment();
+ Stereotype contentStereotype = comment.getApplicableStereotype(I_DocumentStereotype.CONTENT_STEREOTYPE);
comment.applyStereotype(contentStereotype);
comment.setBody(out);
}
@@ -150,35 +152,35 @@ public class CreateDocumentModelCommand extends RecordingCommand {
}
protected Model generateUseCases(CopyToImageUtil copyImageUtil, Model documentModel) {
- Model useCaseIN=null;
- for(Iterator<PackageableElement> iterator = topModel.getPackagedElements().iterator(); iterator.hasNext();) {
- PackageableElement packageableElement = (PackageableElement)iterator.next();
- if((packageableElement.getAppliedStereotype(I_DeveloperIDMStereotype.USECASES_STEREOTYPE))!=null){
- useCaseIN=(Model)packageableElement;
+ Model useCaseIN = null;
+ for (Iterator<PackageableElement> iterator = topModel.getPackagedElements().iterator(); iterator.hasNext();) {
+ PackageableElement packageableElement = iterator.next();
+ if ((packageableElement.getAppliedStereotype(I_DeveloperIDMStereotype.USECASES_STEREOTYPE)) != null) {
+ useCaseIN = (Model) packageableElement;
}
}
- if (useCaseIN!= null){
+ if (useCaseIN != null) {
Package useCaseModelOUT = createSection(documentModel, USE_CASES);
- //createRef diagram
- if(containedDiagrams(useCaseIN).size()>0){
- Diagram currentDiagram= containedDiagrams(useCaseIN).get(0);
+ // createRef diagram
+ if (containedDiagrams(useCaseIN).size() > 0) {
+ Diagram currentDiagram = containedDiagrams(useCaseIN).get(0);
generateImg(copyImageUtil, useCaseModelOUT, currentDiagram);
}
- for(Iterator<Comment> iteComment = (useCaseIN).getOwnedComments().iterator(); iteComment.hasNext();) {
- Comment currentComment = (Comment)iteComment.next();
+ for (Iterator<Comment> iteComment = (useCaseIN).getOwnedComments().iterator(); iteComment.hasNext();) {
+ Comment currentComment = iteComment.next();
transformToContentComment(useCaseModelOUT, currentComment);
}
- for(Iterator<EObject> iterator = useCaseIN.eAllContents(); iterator.hasNext();) {
- EObject packageableElement = (EObject)iterator.next();
- if(packageableElement instanceof UseCase){
- Package useCaseSectionOUT= createSection(useCaseModelOUT, ((UseCase)packageableElement).getName());
+ for (Iterator<EObject> iterator = useCaseIN.eAllContents(); iterator.hasNext();) {
+ EObject packageableElement = iterator.next();
+ if (packageableElement instanceof UseCase) {
+ Package useCaseSectionOUT = createSection(useCaseModelOUT, ((UseCase) packageableElement).getName());
- for(Iterator<Comment> iteComment = ((UseCase)packageableElement).getOwnedComments().iterator(); iteComment.hasNext();) {
- Comment currentComment = (Comment)iteComment.next();
+ for (Iterator<Comment> iteComment = ((UseCase) packageableElement).getOwnedComments().iterator(); iteComment.hasNext();) {
+ Comment currentComment = iteComment.next();
transformToContentWithUser(copyImageUtil, useCaseSectionOUT, currentComment);
}
}
@@ -189,37 +191,38 @@ public class CreateDocumentModelCommand extends RecordingCommand {
}
protected void transformToContentWithUser(CopyToImageUtil copyImageUtil, Package useCaseSectionOUT, Comment currentComment) {
- Stereotype isUser= currentComment.getAppliedStereotype(I_DeveloperIDMStereotype.USERDOC_STEREOTYPE);
- if(isUser!=null){
- Package HowToSection=(Package)useCaseSectionOUT.getPackagedElement(HOW_TO);
- if( HowToSection==null){
- HowToSection= createSection(useCaseSectionOUT, HOW_TO);}
+ Stereotype isUser = currentComment.getAppliedStereotype(I_DeveloperIDMStereotype.USERDOC_STEREOTYPE);
+ if (isUser != null) {
+ Package HowToSection = (Package) useCaseSectionOUT.getPackagedElement(HOW_TO);
+ if (HowToSection == null) {
+ HowToSection = createSection(useCaseSectionOUT, HOW_TO);
+ }
transformToContentComment(HowToSection, currentComment);
createImageFromHyperLink(copyImageUtil, HowToSection, currentComment);
}
- else{
+ else {
transformToContentComment(useCaseSectionOUT, currentComment);
}
}
protected void generateDesign(CopyToImageUtil copyImageUtil, Model documentModel) {
- //get Design package
- Model designPackageIn=null;
- for(Iterator<PackageableElement> iterator = topModel.getPackagedElements().iterator(); iterator.hasNext();) {
- PackageableElement packageableElement = (PackageableElement)iterator.next();
- if((packageableElement.getAppliedStereotype(I_DeveloperIDMStereotype.DESIGN_STEREOTYPE))!=null){
- designPackageIn=(Model)packageableElement;
+ // get Design package
+ Model designPackageIn = null;
+ for (Iterator<PackageableElement> iterator = topModel.getPackagedElements().iterator(); iterator.hasNext();) {
+ PackageableElement packageableElement = iterator.next();
+ if ((packageableElement.getAppliedStereotype(I_DeveloperIDMStereotype.DESIGN_STEREOTYPE)) != null) {
+ designPackageIn = (Model) packageableElement;
}
}
- if(designPackageIn!=null){
- Package designPackageOUT= createSection(documentModel, DESIGN);
- //createRef diagram
- if(containedDiagrams(designPackageIn).size()>0){
- Diagram currentDiagram= containedDiagrams(designPackageIn).get(0);
+ if (designPackageIn != null) {
+ Package designPackageOUT = createSection(documentModel, DESIGN);
+ // createRef diagram
+ if (containedDiagrams(designPackageIn).size() > 0) {
+ Diagram currentDiagram = containedDiagrams(designPackageIn).get(0);
generateImg(copyImageUtil, designPackageOUT, currentDiagram);
}
- for(Iterator<Comment> iteComment = (designPackageIn).getOwnedComments().iterator(); iteComment.hasNext();) {
- Comment currentComment = (Comment)iteComment.next();
+ for (Iterator<Comment> iteComment = (designPackageIn).getOwnedComments().iterator(); iteComment.hasNext();) {
+ Comment currentComment = iteComment.next();
createImageFromHyperLink(copyImageUtil, designPackageOUT, currentComment);
transformToContentComment(designPackageOUT, currentComment);
}
@@ -230,39 +233,39 @@ public class CreateDocumentModelCommand extends RecordingCommand {
}
protected Model generateTests(CopyToImageUtil copyImageUtil, Model documentModel) {
- Model testIN=null;
- for(Iterator<PackageableElement> iterator = topModel.getPackagedElements().iterator(); iterator.hasNext();) {
- PackageableElement packageableElement = (PackageableElement)iterator.next();
- if((packageableElement.getAppliedStereotype(I_DeveloperIDMStereotype.TESTS_STEREOTYPE))!=null){
- testIN=(Model)packageableElement;
+ Model testIN = null;
+ for (Iterator<PackageableElement> iterator = topModel.getPackagedElements().iterator(); iterator.hasNext();) {
+ PackageableElement packageableElement = iterator.next();
+ if ((packageableElement.getAppliedStereotype(I_DeveloperIDMStereotype.TESTS_STEREOTYPE)) != null) {
+ testIN = (Model) packageableElement;
}
}
- if (testIN!= null){
+ if (testIN != null) {
Package testModelOUT = createSection(documentModel, TESTS);
- //createRef diagram
- if(containedDiagrams(testIN).size()>0){
- Diagram currentDiagram= containedDiagrams(testIN).get(0);
+ // createRef diagram
+ if (containedDiagrams(testIN).size() > 0) {
+ Diagram currentDiagram = containedDiagrams(testIN).get(0);
generateImg(copyImageUtil, testModelOUT, currentDiagram);
}
- for(Iterator<Comment> iteComment = (testIN).getOwnedComments().iterator(); iteComment.hasNext();) {
- Comment currentComment = (Comment)iteComment.next();
+ for (Iterator<Comment> iteComment = (testIN).getOwnedComments().iterator(); iteComment.hasNext();) {
+ Comment currentComment = iteComment.next();
transformToContentComment(testModelOUT, currentComment);
}
- for(Iterator<EObject> iterator = testIN.eAllContents(); iterator.hasNext();) {
- EObject packageableElement = (EObject)iterator.next();
- if(packageableElement instanceof UseCase){
- Package useCaseSectionOUT= createSection(testModelOUT, ((UseCase)packageableElement).getName());
- for(Iterator<Comment> iteComment = ((UseCase)packageableElement).getOwnedComments().iterator(); iteComment.hasNext();) {
- Comment currentComment = (Comment)iteComment.next();
+ for (Iterator<EObject> iterator = testIN.eAllContents(); iterator.hasNext();) {
+ EObject packageableElement = iterator.next();
+ if (packageableElement instanceof UseCase) {
+ Package useCaseSectionOUT = createSection(testModelOUT, ((UseCase) packageableElement).getName());
+ for (Iterator<Comment> iteComment = ((UseCase) packageableElement).getOwnedComments().iterator(); iteComment.hasNext();) {
+ Comment currentComment = iteComment.next();
transformToContentComment(useCaseSectionOUT, currentComment);
}
- ArrayList<NamedElement> test= getAllDependentElement((UseCase)packageableElement, topModel);
- for(Iterator<NamedElement> iteratorTest = test.iterator(); iteratorTest.hasNext();) {
- NamedElement currentTest = (NamedElement)iteratorTest.next();
+ ArrayList<NamedElement> test = getAllDependentElement((UseCase) packageableElement, topModel);
+ for (Iterator<NamedElement> iteratorTest = test.iterator(); iteratorTest.hasNext();) {
+ NamedElement currentTest = iteratorTest.next();
createSection(useCaseSectionOUT, currentTest.getName());
}
@@ -275,19 +278,19 @@ public class CreateDocumentModelCommand extends RecordingCommand {
}
/**
- *
+ *
* @param namedElement
* @param topModel
* @return the list of elements that depends of the given named element (never null, empty list)
*/
- public ArrayList<NamedElement> getAllDependentElement(NamedElement namedElement, Package topModel){
- ArrayList<NamedElement> result= new ArrayList<NamedElement>();
- Iterator<EObject> iteratorEObject= topModel.eAllContents();
- while(iteratorEObject.hasNext()) {
- EObject eObject = (EObject)iteratorEObject.next();
- if(eObject instanceof Dependency){
- if(((Dependency)eObject).getSuppliers().contains(namedElement)){
- result.addAll(((Dependency)eObject).getClients());
+ public ArrayList<NamedElement> getAllDependentElement(NamedElement namedElement, Package topModel) {
+ ArrayList<NamedElement> result = new ArrayList<NamedElement>();
+ Iterator<EObject> iteratorEObject = topModel.eAllContents();
+ while (iteratorEObject.hasNext()) {
+ EObject eObject = iteratorEObject.next();
+ if (eObject instanceof Dependency) {
+ if (((Dependency) eObject).getSuppliers().contains(namedElement)) {
+ result.addAll(((Dependency) eObject).getClients());
}
}
@@ -299,28 +302,28 @@ public class CreateDocumentModelCommand extends RecordingCommand {
@SuppressWarnings("unchecked")
protected void createImageFromHyperLink(CopyToImageUtil copyImageUtil, Package designPackageOUT, Comment currentComment) {
- List<Object>referedViews=NavigatorUtils.getEObjectViews(currentComment);
- if(referedViews.size()!=0){
- for(Iterator<?> iterator = referedViews.iterator(); iterator.hasNext();) {
- Object currentView = (Object)iterator.next();
- if( currentView instanceof View){
- ArrayList<HyperLinkObject> result=null;
+ List<Object> referedViews = NavigatorUtils.getEObjectViews(currentComment);
+ if (referedViews.size() != 0) {
+ for (Iterator<?> iterator = referedViews.iterator(); iterator.hasNext();) {
+ Object currentView = iterator.next();
+ if (currentView instanceof View) {
+ ArrayList<HyperLinkObject> result = null;
try {
- result = (ArrayList<HyperLinkObject>)hyperlinkHelperFactory.getAllreferenced((View)referedViews.get(0));
+ result = (ArrayList<HyperLinkObject>) hyperlinkHelperFactory.getAllreferenced((View) referedViews.get(0));
} catch (HyperLinkException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
- for(Iterator<HyperLinkObject> iteratorhyperlink = result.iterator(); iteratorhyperlink.hasNext();) {
- HyperLinkObject hyperLinkObject = (HyperLinkObject)iteratorhyperlink.next();
+ for (Iterator<HyperLinkObject> iteratorhyperlink = result.iterator(); iteratorhyperlink.hasNext();) {
+ HyperLinkObject hyperLinkObject = iteratorhyperlink.next();
System.err.println(hyperLinkObject.getObject());
- if(hyperLinkObject.getObject() instanceof Diagram){
- generateImg(copyImageUtil, designPackageOUT, ((Diagram)hyperLinkObject.getObject()));
+ if (hyperLinkObject.getObject() instanceof Diagram) {
+ generateImg(copyImageUtil, designPackageOUT, ((Diagram) hyperLinkObject.getObject()));
}
- if(hyperLinkObject instanceof HyperLinkDocument ){
- String IMGpath=((HyperLinkDocument)hyperLinkObject).getHyperlinkDocument();
- Comment commentImg=designPackageOUT.createOwnedComment();
- Stereotype refStereotype= commentImg.getApplicableStereotype(I_DocumentStereotype.IMAGEREF_STEREOTYPE);
+ if (hyperLinkObject instanceof HyperLinkDocument) {
+ String IMGpath = ((HyperLinkDocument) hyperLinkObject).getHyperlinkDocument();
+ Comment commentImg = designPackageOUT.createOwnedComment();
+ Stereotype refStereotype = commentImg.getApplicableStereotype(I_DocumentStereotype.IMAGEREF_STEREOTYPE);
commentImg.applyStereotype(refStereotype);
commentImg.setValue(refStereotype, I_DocumentStereotype.IMAGEREF_REF_ATT, IMGpath.toString());
commentImg.setBody(hyperLinkObject.getTooltipText());
@@ -333,14 +336,15 @@ public class CreateDocumentModelCommand extends RecordingCommand {
/**
* create the element section from the package
+ *
* @param documentModelOUT
* @param sectiontitle
* @return
*/
protected Package createSection(Package documentModelOUT, String sectiontitle) {
- Package SectionPackageOUT=UMLFactory.eINSTANCE.createPackage();
+ Package SectionPackageOUT = UMLFactory.eINSTANCE.createPackage();
documentModelOUT.getPackagedElements().add(SectionPackageOUT);
- Stereotype sectionStereotype= SectionPackageOUT.getApplicableStereotype(I_DocumentStereotype.SECTION_STEREOTYPE);
+ Stereotype sectionStereotype = SectionPackageOUT.getApplicableStereotype(I_DocumentStereotype.SECTION_STEREOTYPE);
SectionPackageOUT.applyStereotype(sectionStereotype);
SectionPackageOUT.setName(sectiontitle);
return SectionPackageOUT;
@@ -348,60 +352,62 @@ public class CreateDocumentModelCommand extends RecordingCommand {
/**
* transform a comment to content Comment
+ *
* @param documentModel
* @param currentComment
*/
protected void transformToContentComment(Package documentModel, Comment currentComment) {
- Comment comment=documentModel.createOwnedComment();
- Stereotype contentStereotype= comment.getApplicableStereotype(I_DocumentStereotype.CONTENT_STEREOTYPE);
+ Comment comment = documentModel.createOwnedComment();
+ Stereotype contentStereotype = comment.getApplicableStereotype(I_DocumentStereotype.CONTENT_STEREOTYPE);
comment.applyStereotype(contentStereotype);
comment.setBody(currentComment.getBody());
}
/**
* Transform a diagram to imageRefComment
+ *
* @param copyImageUtil
* @param currentModel
* @param currentDiagram
*/
protected void generateImg(CopyToImageUtil copyImageUtil, Package currentModel, Diagram currentDiagram) {
- Path imagePath= new Path(""+directoryPath+ File.separator +"imgDOC"+File.separator+ currentDiagram.getName().replaceAll(" ", "_")+".png"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ //$NON-NLS-5$
+ Path imagePath = new Path("" + directoryPath + File.separator + "imgDOC" + File.separator + currentDiagram.getName().replaceAll(" ", "_") + ".png"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ //$NON-NLS-5$
try {
copyImageUtil.copyToImage(currentDiagram,
- imagePath,
- ImageFileFormat.PNG,
- new NullProgressMonitor(),
- PreferencesHint.USE_DEFAULTS);
+ imagePath,
+ ImageFileFormat.PNG,
+ new NullProgressMonitor(),
+ PreferencesHint.USE_DEFAULTS);
} catch (CoreException e) {
e.printStackTrace();
}
- Comment commentImg=currentModel.createOwnedComment();
- Stereotype refStereotype= commentImg.getApplicableStereotype(I_DocumentStereotype.IMAGEREF_STEREOTYPE);
+ Comment commentImg = currentModel.createOwnedComment();
+ Stereotype refStereotype = commentImg.getApplicableStereotype(I_DocumentStereotype.IMAGEREF_STEREOTYPE);
commentImg.applyStereotype(refStereotype);
commentImg.setValue(refStereotype, I_DocumentStereotype.IMAGEREF_REF_ATT, imagePath.toString());
commentImg.setBody(currentDiagram.getName());
}
/**
- *
+ *
* @param source
* @return the list of referenced diagram
*/
public ArrayList<Diagram> containedDiagrams(EObject source) {
ArrayList<Diagram> result = new ArrayList<Diagram>();
Iterator<EObject> roots = NavigatorUtils.getNotationRoots(source);
- if(roots == null) {
+ if (roots == null) {
return result;
}
- while(roots.hasNext()) {
+ while (roots.hasNext()) {
EObject root = roots.next();
- if(root instanceof Diagram) {
+ if (root instanceof Diagram) {
if (EcoreUtil.equals(DiagramUtils.getOwner((Diagram) root), source)) {
- result.add((Diagram)root);
+ result.add((Diagram) root);
}
}
}
diff --git a/plugins/developer/org.eclipse.papyrus.uml.developer.mde/src/org/eclipse/papyrus/uml/developper/mde/handler/GetHTMLTextHandler.java b/plugins/developer/org.eclipse.papyrus.uml.developer.mde/src/org/eclipse/papyrus/uml/developper/mde/handler/GetHTMLTextHandler.java
index 01ccfb39cc5..36a89c90585 100644
--- a/plugins/developer/org.eclipse.papyrus.uml.developer.mde/src/org/eclipse/papyrus/uml/developper/mde/handler/GetHTMLTextHandler.java
+++ b/plugins/developer/org.eclipse.papyrus.uml.developer.mde/src/org/eclipse/papyrus/uml/developper/mde/handler/GetHTMLTextHandler.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2014 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -38,11 +38,11 @@ public class GetHTMLTextHandler extends IDMAbstractHandler {
@Override
public Object execute(ExecutionEvent event) throws ExecutionException {
super.execute(event);
- System.err.println( getCurrentProject().getLocationURI().getPath());
- CreateDocumentModelCommand createDocumentModelCommand= new CreateDocumentModelCommand(transactionalEditingDomain,(Model)getSelection(), getCurrentProject().getLocationURI().getPath()+INTERNAL_DIRECTORY_NAME );
+ System.err.println(getCurrentProject().getLocationURI().getPath());
+ CreateDocumentModelCommand createDocumentModelCommand = new CreateDocumentModelCommand(transactionalEditingDomain, (Model) getSelection(), getCurrentProject().getLocationURI().getPath() + INTERNAL_DIRECTORY_NAME);
transactionalEditingDomain.getCommandStack().execute(createDocumentModelCommand);
IProject project = getCurrentProject();
- TranscriptionEngine engine= new TranscriptionEngine((Model)getSelection(), project, new HTMLTranscription());
+ TranscriptionEngine engine = new TranscriptionEngine((Model) getSelection(), project, new HTMLTranscription());
engine.traduce();
return null;
}
@@ -51,22 +51,22 @@ public class GetHTMLTextHandler extends IDMAbstractHandler {
private IProject getCurrentProject() {
IWorkspace workspace = ResourcesPlugin.getWorkspace();
IWorkspaceRoot root = workspace.getRoot();
- IProject project = root.getProject();
- String path=getSelection().eResource().getURI().path();
- for(IProject currentProject : root.getProjects()) {
- if( path.contains(currentProject.getName())){
- project=currentProject;
+ IProject project = root.getProject();
+ String path = getSelection().eResource().getURI().path();
+ for (IProject currentProject : root.getProjects()) {
+ if (path.contains(currentProject.getName())) {
+ project = currentProject;
}
}
return project;
}
-
+
@Override
public boolean isEnabled() {
- if(getSelection() instanceof Model){
- if(((Model)getSelection()).getAppliedStereotype(I_DeveloperIDMStereotype.PROJECT_STEREOTYPE)!=null){
+ if (getSelection() instanceof Model) {
+ if (((Model) getSelection()).getAppliedStereotype(I_DeveloperIDMStereotype.PROJECT_STEREOTYPE) != null) {
return true;
}
diff --git a/plugins/developer/org.eclipse.papyrus.uml.developer.mde/src/org/eclipse/papyrus/uml/developper/mde/handler/GetWikiTextHandler.java b/plugins/developer/org.eclipse.papyrus.uml.developer.mde/src/org/eclipse/papyrus/uml/developper/mde/handler/GetWikiTextHandler.java
index f45626cddf9..072d8cc28d1 100644
--- a/plugins/developer/org.eclipse.papyrus.uml.developer.mde/src/org/eclipse/papyrus/uml/developper/mde/handler/GetWikiTextHandler.java
+++ b/plugins/developer/org.eclipse.papyrus.uml.developer.mde/src/org/eclipse/papyrus/uml/developper/mde/handler/GetWikiTextHandler.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2014 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -26,20 +26,21 @@ import org.eclipse.papyrus.uml.developper.mde.transcription.WikiTranscription;
import org.eclipse.uml2.uml.Model;
/**
- * This class is used to create and wiki developper doc file.
+ * This class is used to create and wiki developper doc file.
*
*/
public class GetWikiTextHandler extends IDMAbstractHandler {
protected static final String INTERNAL_DIRECTORY_NAME = "/doc"; //$NON-NLS-1$
+
@Override
public Object execute(ExecutionEvent event) throws ExecutionException {
super.execute(event);
- System.err.println( getCurrentProject().getLocationURI().getPath());
- CreateDocumentModelCommand createDocumentModelCommand= new CreateDocumentModelCommand(transactionalEditingDomain,(Model)getSelection(), getCurrentProject().getLocationURI().getPath()+INTERNAL_DIRECTORY_NAME );
+ System.err.println(getCurrentProject().getLocationURI().getPath());
+ CreateDocumentModelCommand createDocumentModelCommand = new CreateDocumentModelCommand(transactionalEditingDomain, (Model) getSelection(), getCurrentProject().getLocationURI().getPath() + INTERNAL_DIRECTORY_NAME);
transactionalEditingDomain.getCommandStack().execute(createDocumentModelCommand);
IProject project = getCurrentProject();
- TranscriptionEngine engine= new TranscriptionEngine((Model)getSelection(), project, new WikiTranscription());
+ TranscriptionEngine engine = new TranscriptionEngine((Model) getSelection(), project, new WikiTranscription());
engine.traduce();
return null;
}
@@ -48,22 +49,22 @@ public class GetWikiTextHandler extends IDMAbstractHandler {
private IProject getCurrentProject() {
IWorkspace workspace = ResourcesPlugin.getWorkspace();
IWorkspaceRoot root = workspace.getRoot();
- IProject project = root.getProject();
- String path=getSelection().eResource().getURI().path();
- for(IProject currentProject : root.getProjects()) {
- if( path.contains(currentProject.getName())){
- project=currentProject;
+ IProject project = root.getProject();
+ String path = getSelection().eResource().getURI().path();
+ for (IProject currentProject : root.getProjects()) {
+ if (path.contains(currentProject.getName())) {
+ project = currentProject;
}
}
return project;
}
-
+
@Override
public boolean isEnabled() {
- if(getSelection() instanceof Model){
- if(((Model)getSelection()).getAppliedStereotype(I_DeveloperIDMStereotype.PROJECT_STEREOTYPE)!=null){
+ if (getSelection() instanceof Model) {
+ if (((Model) getSelection()).getAppliedStereotype(I_DeveloperIDMStereotype.PROJECT_STEREOTYPE) != null) {
return true;
}
diff --git a/plugins/developer/org.eclipse.papyrus.uml.developer.mde/src/org/eclipse/papyrus/uml/developper/mde/handler/IDMAbstractHandler.java b/plugins/developer/org.eclipse.papyrus.uml.developer.mde/src/org/eclipse/papyrus/uml/developper/mde/handler/IDMAbstractHandler.java
index 2563a0c77e3..6dc3c3fffdf 100644
--- a/plugins/developer/org.eclipse.papyrus.uml.developer.mde/src/org/eclipse/papyrus/uml/developper/mde/handler/IDMAbstractHandler.java
+++ b/plugins/developer/org.eclipse.papyrus.uml.developer.mde/src/org/eclipse/papyrus/uml/developper/mde/handler/IDMAbstractHandler.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2014 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -38,72 +38,78 @@ import org.eclipse.uml2.uml.Package;
*/
public abstract class IDMAbstractHandler extends AbstractHandler {
- protected TransactionalEditingDomain transactionalEditingDomain=null;
+ protected TransactionalEditingDomain transactionalEditingDomain = null;
protected PapyrusMultiDiagramEditor papyrusEditor;
/**
* get the root package
+ *
* @param elem
* @return the root package
*/
- public Package getToPackage(Element elem){
- Package tmp= elem.getNearestPackage();
- while(tmp.getOwner()!=null && (tmp.getOwner()instanceof Package)){
- tmp= (Package)tmp.getOwner();
+ public Package getToPackage(Element elem) {
+ Package tmp = elem.getNearestPackage();
+ while (tmp.getOwner() != null && (tmp.getOwner() instanceof Package)) {
+ tmp = (Package) tmp.getOwner();
}
return tmp;
}
- //@Override
+ // @Override
+ @Override
public Object execute(ExecutionEvent event) throws ExecutionException {
try {
- papyrusEditor =(PapyrusMultiDiagramEditor)ServiceUtilsForHandlers.getInstance().getService(IMultiDiagramEditor.class, event);
- transactionalEditingDomain =ServiceUtilsForHandlers.getInstance().getService(org.eclipse.emf.transaction.TransactionalEditingDomain.class, event);
+ papyrusEditor = (PapyrusMultiDiagramEditor) ServiceUtilsForHandlers.getInstance().getService(IMultiDiagramEditor.class, event);
+ transactionalEditingDomain = ServiceUtilsForHandlers.getInstance().getService(org.eclipse.emf.transaction.TransactionalEditingDomain.class, event);
} catch (Exception e) {
- System.err.println("impossible to get the Transactional Editing Domain "+e); //$NON-NLS-1$
+ System.err.println("impossible to get the Transactional Editing Domain " + e); //$NON-NLS-1$
}
return null;
}
+
/**
* getSelected element in the diagram or in hte model explorer
+ *
* @return Element or null
*/
- protected Element getSelection(){
+ protected Element getSelection() {
ISelectionService selectionService = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getSelectionService();
ISelection selection = selectionService.getSelection();
- if(selection instanceof IStructuredSelection) {
- Object selectedobject = ((IStructuredSelection)selection).getFirstElement();
+ if (selection instanceof IStructuredSelection) {
+ Object selectedobject = ((IStructuredSelection) selection).getFirstElement();
- EObject selectedElement=(EObject)EMFHelper.getEObject(selectedobject);
- if( selectedElement instanceof Element){
- return (Element)selectedElement;
+ EObject selectedElement = EMFHelper.getEObject(selectedobject);
+ if (selectedElement instanceof Element) {
+ return (Element) selectedElement;
}
}
return null;
}
+
/**
* getSelected element in the diagram or in hte model explorer
+ *
* @return Element or null
*/
- protected ArrayList<Element> getSelectionSet(){
- ArrayList<Element> selectedSet =new ArrayList<Element>();
+ protected ArrayList<Element> getSelectionSet() {
+ ArrayList<Element> selectedSet = new ArrayList<Element>();
ISelectionService selectionService = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getSelectionService();
ISelection selection = selectionService.getSelection();
- //look for papyrus
+ // look for papyrus
- if(selection instanceof IStructuredSelection) {
+ if (selection instanceof IStructuredSelection) {
@SuppressWarnings("rawtypes")
- Iterator selectedobjectIteractor = ((IStructuredSelection)selection).iterator();
+ Iterator selectedobjectIteractor = ((IStructuredSelection) selection).iterator();
while (selectedobjectIteractor.hasNext()) {
Object currentSelection = selectedobjectIteractor.next();
- EObject selectedElement=(EObject)EMFHelper.getEObject(currentSelection);
- if( selectedElement instanceof Element){
- selectedSet.add((Element)selectedElement);
+ EObject selectedElement = EMFHelper.getEObject(currentSelection);
+ if (selectedElement instanceof Element) {
+ selectedSet.add((Element) selectedElement);
}
}
diff --git a/plugins/developer/org.eclipse.papyrus.uml.developer.mde/src/org/eclipse/papyrus/uml/developper/mde/transcription/HTMLTranscription.java b/plugins/developer/org.eclipse.papyrus.uml.developer.mde/src/org/eclipse/papyrus/uml/developper/mde/transcription/HTMLTranscription.java
index c491c395c07..4b6ab34505b 100644
--- a/plugins/developer/org.eclipse.papyrus.uml.developer.mde/src/org/eclipse/papyrus/uml/developper/mde/transcription/HTMLTranscription.java
+++ b/plugins/developer/org.eclipse.papyrus.uml.developer.mde/src/org/eclipse/papyrus/uml/developper/mde/transcription/HTMLTranscription.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2014 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -22,6 +22,7 @@ import org.eclipse.uml2.uml.Stereotype;
/**
* this class is a specialization to generate html files.
+ *
* @author PT202707
*
*/
@@ -34,7 +35,8 @@ public class HTMLTranscription implements ITranscription {
*
* @param out
*/
-
+
+ @Override
public void writeEndingDocument(StringBuffer out) {
out.append("</html>"); //$NON-NLS-1$
}
@@ -46,7 +48,8 @@ public class HTMLTranscription implements ITranscription {
* @param out
* @return the string buffer after adding the prefix for the document
*/
-
+
+ @Override
public StringBuffer writeBeginningDocument(StringBuffer out) {
out.append("<html>"); //$NON-NLS-1$
out.append("<link rel=\"stylesheet\" href=\"default.css\" type=\"text/css\">"); //$NON-NLS-1$
@@ -60,12 +63,13 @@ public class HTMLTranscription implements ITranscription {
* @param out
* @param documentModel
*/
-
+
+ @Override
public void writeDocumentTitle(StringBuffer out, Model documentModel) {
- out.append("<H1>"+documentModel.getName()+"</H1>"); //$NON-NLS-1$ //$NON-NLS-2$
+ out.append("<H1>" + documentModel.getName() + "</H1>"); //$NON-NLS-1$ //$NON-NLS-2$
}
-
+
/**
@@ -75,9 +79,10 @@ public class HTMLTranscription implements ITranscription {
* @param level
* @param packageableElement
*/
-
+
+ @Override
public void writesectionTitle(StringBuffer out, int level, Element packageableElement) {
- out.append("<H"+level+">"+((Package)packageableElement).getName()+"</H"+level+">"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
+ out.append("<H" + level + ">" + ((Package) packageableElement).getName() + "</H" + level + ">"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
}
@@ -88,10 +93,11 @@ public class HTMLTranscription implements ITranscription {
* @param packageableElement
* @param imgRefStereotype
*/
-
+
+ @Override
public void writeImageRef(StringBuffer out, Element packageableElement, Stereotype imgRefStereotype) {
- out.append("<P align=\"middle\"><img src="+((Element)packageableElement).getValue(imgRefStereotype, I_DocumentStereotype.IMAGEREF_REF_ATT)+" alt="+((Comment)packageableElement).getBody()+ " ></P>"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
- out.append("<P align=\"middle\">"+((Comment)packageableElement).getBody()+"</P>"); //$NON-NLS-1$ //$NON-NLS-2$
+ out.append("<P align=\"middle\"><img src=" + packageableElement.getValue(imgRefStereotype, I_DocumentStereotype.IMAGEREF_REF_ATT) + " alt=" + ((Comment) packageableElement).getBody() + " ></P>"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
+ out.append("<P align=\"middle\">" + ((Comment) packageableElement).getBody() + "</P>"); //$NON-NLS-1$ //$NON-NLS-2$
out.append("</BR>"); //$NON-NLS-1$
}
@@ -102,14 +108,16 @@ public class HTMLTranscription implements ITranscription {
* @param out
* @param packageableElement
*/
-
+
+ @Override
public void writeParagraph(StringBuffer out, Element packageableElement) {
- out.append("<pre>"+((Comment)packageableElement).getBody().replaceAll("\n", "<BR/>")+"</pre>"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
+ out.append("<pre>" + ((Comment) packageableElement).getBody().replaceAll("\n", "<BR/>") + "</pre>"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
}
+ @Override
public String getNameFile() {
-
+
return "DeveloperDoc.html"; //$NON-NLS-1$
}
diff --git a/plugins/developer/org.eclipse.papyrus.uml.developer.mde/src/org/eclipse/papyrus/uml/developper/mde/transcription/ITranscription.java b/plugins/developer/org.eclipse.papyrus.uml.developer.mde/src/org/eclipse/papyrus/uml/developper/mde/transcription/ITranscription.java
index 2a8c986e251..c0b7655104e 100644
--- a/plugins/developer/org.eclipse.papyrus.uml.developer.mde/src/org/eclipse/papyrus/uml/developper/mde/transcription/ITranscription.java
+++ b/plugins/developer/org.eclipse.papyrus.uml.developer.mde/src/org/eclipse/papyrus/uml/developper/mde/transcription/ITranscription.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2014 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -26,48 +26,62 @@ public interface ITranscription {
/**
* finalize the document
+ *
* @param out
*/
public abstract void writeEndingDocument(StringBuffer out);
/**
* init the document
+ *
* @param out
- * @return the string buffer after adding the prefix for the document
+ * @return the string buffer after adding the prefix for the document
*/
public abstract StringBuffer writeBeginningDocument(StringBuffer out);
/**
* write the document title
+ *
* @param out
- * @param documentModel the package
+ * @param documentModel
+ * the package
*/
public abstract void writeDocumentTitle(StringBuffer out, Model documentModel);
/**
* withe the section title from a package
+ *
* @param out
- * @param level the heap of the package
- * @param packageableElement the package
+ * @param level
+ * the heap of the package
+ * @param packageableElement
+ * the package
*/
public abstract void writesectionTitle(StringBuffer out, int level, Element packageableElement);
/**
* write a image
+ *
* @param out
- * @param packageableElement form a comment that contains the ref to the
- * @param imgRefStereotype the stereotype in charge to reference the image
+ * @param packageableElement
+ * form a comment that contains the ref to the
+ * @param imgRefStereotype
+ * the stereotype in charge to reference the image
*/
public abstract void writeImageRef(StringBuffer out, Element packageableElement, Stereotype imgRefStereotype);
+
/**
* write a paragraph
- * @param out
- * @param packageableElement from a comment
+ *
+ * @param out
+ * @param packageableElement
+ * from a comment
*/
public abstract void writeParagraph(StringBuffer out, Element packageableElement);
+
/**
- *
+ *
* @return the name of the document to generate
*/
public abstract String getNameFile();
diff --git a/plugins/developer/org.eclipse.papyrus.uml.developer.mde/src/org/eclipse/papyrus/uml/developper/mde/transcription/TranscriptionEngine.java b/plugins/developer/org.eclipse.papyrus.uml.developer.mde/src/org/eclipse/papyrus/uml/developper/mde/transcription/TranscriptionEngine.java
index c763cdb7205..bf1135edb71 100644
--- a/plugins/developer/org.eclipse.papyrus.uml.developer.mde/src/org/eclipse/papyrus/uml/developper/mde/transcription/TranscriptionEngine.java
+++ b/plugins/developer/org.eclipse.papyrus.uml.developer.mde/src/org/eclipse/papyrus/uml/developper/mde/transcription/TranscriptionEngine.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2014 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -36,17 +36,20 @@ import org.eclipse.uml2.uml.Stereotype;
*/
public class TranscriptionEngine {
protected static final String INTERNAL_DIRECTORY = "doc/"; //$NON-NLS-1$
- Model model=null;
+ Model model = null;
IProject project;
- ITranscription transcription=null;
-
+ ITranscription transcription = null;
+
/**
- *
+ *
* Constructor.
*
- * @param model the root model
- * @param project the project where we want to put the new file
- * @param transcription the object in charge to do the transcription
+ * @param model
+ * the root model
+ * @param project
+ * the project where we want to put the new file
+ * @param transcription
+ * the object in charge to do the transcription
*/
public TranscriptionEngine(Model model, IProject project, ITranscription transcription) {
super();
@@ -59,15 +62,16 @@ public class TranscriptionEngine {
* execute the transcription
*/
public void traduce() {
- IFile file = project.getFile(INTERNAL_DIRECTORY+transcription.getNameFile());
- //at this point, no resources have been created
- if (!project.isOpen())
+ IFile file = project.getFile(INTERNAL_DIRECTORY + transcription.getNameFile());
+ // at this point, no resources have been created
+ if (!project.isOpen()) {
try {
project.open(null);
} catch (CoreException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
+ }
if (file.exists()) {
try {
file.delete(true, new NullProgressMonitor());
@@ -76,7 +80,7 @@ public class TranscriptionEngine {
}
}
if (!file.exists()) {
- StringBuffer buffer=getText(model);
+ StringBuffer buffer = getText(model);
InputStream source = new ByteArrayInputStream(buffer.toString().getBytes());
try {
file.create(source, IResource.NONE, null);
@@ -85,26 +89,27 @@ public class TranscriptionEngine {
}
}
}
-
+
/**
- *
- * @param model that will be traduced
+ *
+ * @param model
+ * that will be traduced
* @return the stringBuffer that will be obtained from the transcription
*/
- public StringBuffer getText(Model model){
+ public StringBuffer getText(Model model) {
StringBuffer out = new StringBuffer();
transcription.writeBeginningDocument(out);
- Model documentModel=null;
- for(Iterator<PackageableElement> iterator = model.getPackagedElements().iterator(); iterator.hasNext();) {
- PackageableElement packageableElement = (PackageableElement)iterator.next();
- if((packageableElement.getAppliedStereotype(I_DocumentStereotype.DOCUMENT_STEREOTYPE))!=null){
- documentModel=(Model)packageableElement;
+ Model documentModel = null;
+ for (Iterator<PackageableElement> iterator = model.getPackagedElements().iterator(); iterator.hasNext();) {
+ PackageableElement packageableElement = iterator.next();
+ if ((packageableElement.getAppliedStereotype(I_DocumentStereotype.DOCUMENT_STEREOTYPE)) != null) {
+ documentModel = (Model) packageableElement;
}
}
- if(documentModel!=null){
+ if (documentModel != null) {
transcription.writeDocumentTitle(out, documentModel);
- writeContent(out, documentModel,2);
+ writeContent(out, documentModel, 2);
}
transcription.writeEndingDocument(out);
@@ -113,31 +118,35 @@ public class TranscriptionEngine {
/**
* create a content from a package
- * @param out the result
- * @param documentModel the package where its content will be translated
- * @param level the depth of the current package
+ *
+ * @param out
+ * the result
+ * @param documentModel
+ * the package where its content will be translated
+ * @param level
+ * the depth of the current package
*/
public void writeContent(StringBuffer out, Package documentModel, int level) {
- for(Iterator<Element> iteComment = (documentModel).getOwnedElements().iterator(); iteComment.hasNext();) {
- Element packageableElement = (Element)iteComment.next();
- if(((Element)packageableElement).getAppliedStereotype(I_DocumentStereotype.CONTENT_STEREOTYPE)!=null){
- if(((Comment)packageableElement).getBody()!=null){
+ for (Iterator<Element> iteComment = (documentModel).getOwnedElements().iterator(); iteComment.hasNext();) {
+ Element packageableElement = iteComment.next();
+ if (packageableElement.getAppliedStereotype(I_DocumentStereotype.CONTENT_STEREOTYPE) != null) {
+ if (((Comment) packageableElement).getBody() != null) {
transcription.writeParagraph(out, packageableElement);
}
}
- if(((Element)packageableElement).getAppliedStereotype(I_DocumentStereotype.IMAGEREF_STEREOTYPE)!=null){
- Stereotype imgRefStereotype=((Element)packageableElement).getAppliedStereotype(I_DocumentStereotype.IMAGEREF_STEREOTYPE);
- if(((Comment)packageableElement).getBody()!=null){
+ if (packageableElement.getAppliedStereotype(I_DocumentStereotype.IMAGEREF_STEREOTYPE) != null) {
+ Stereotype imgRefStereotype = packageableElement.getAppliedStereotype(I_DocumentStereotype.IMAGEREF_STEREOTYPE);
+ if (((Comment) packageableElement).getBody() != null) {
transcription.writeImageRef(out, packageableElement, imgRefStereotype);
}
}
- if(((Element)packageableElement).getAppliedStereotype(I_DocumentStereotype.SECTION_STEREOTYPE)!=null){
+ if (packageableElement.getAppliedStereotype(I_DocumentStereotype.SECTION_STEREOTYPE) != null) {
transcription.writesectionTitle(out, level, packageableElement);
- writeContent(out, ((Package)packageableElement), level+1);
+ writeContent(out, ((Package) packageableElement), level + 1);
}
}
}
-
+
}
diff --git a/plugins/developer/org.eclipse.papyrus.uml.developer.mde/src/org/eclipse/papyrus/uml/developper/mde/transcription/WikiTranscription.java b/plugins/developer/org.eclipse.papyrus.uml.developer.mde/src/org/eclipse/papyrus/uml/developper/mde/transcription/WikiTranscription.java
index ec3b3ec9a8a..de7bd8957b6 100644
--- a/plugins/developer/org.eclipse.papyrus.uml.developer.mde/src/org/eclipse/papyrus/uml/developper/mde/transcription/WikiTranscription.java
+++ b/plugins/developer/org.eclipse.papyrus.uml.developer.mde/src/org/eclipse/papyrus/uml/developper/mde/transcription/WikiTranscription.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2014 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -33,7 +33,8 @@ public class WikiTranscription implements ITranscription {
*
* @param out
*/
-
+
+ @Override
public void writeEndingDocument(StringBuffer out) {
}
@@ -44,7 +45,8 @@ public class WikiTranscription implements ITranscription {
* @param out
* @return the string buffer after adding the prefix for the document
*/
-
+
+ @Override
public StringBuffer writeBeginningDocument(StringBuffer out) {
out.append("\n__TOC__"); //$NON-NLS-1$
return out;
@@ -57,12 +59,13 @@ public class WikiTranscription implements ITranscription {
* @param out
* @param documentModel
*/
-
+
+ @Override
public void writeDocumentTitle(StringBuffer out, Model documentModel) {
- out.append("\n= "+documentModel.getName()+" ="); //$NON-NLS-1$ //$NON-NLS-2$
+ out.append("\n= " + documentModel.getName() + " ="); //$NON-NLS-1$ //$NON-NLS-2$
}
-
+
/**
@@ -72,15 +75,16 @@ public class WikiTranscription implements ITranscription {
* @param level
* @param packageableElement
*/
-
+
+ @Override
public void writesectionTitle(StringBuffer out, int level, Element packageableElement) {
- if(level==2){
- out.append("\n=="+((Package)packageableElement).getName()+"==");} //$NON-NLS-1$ //$NON-NLS-2$
- if(level==3){
- out.append("\n==="+((Package)packageableElement).getName()+"===");} //$NON-NLS-1$ //$NON-NLS-2$
- if(level==4){
- out.append("\n===="+((Package)packageableElement).getName()+"====");} //$NON-NLS-1$ //$NON-NLS-2$
-
+ if (level == 2) {
+ out.append("\n==" + ((Package) packageableElement).getName() + "==");} //$NON-NLS-1$ //$NON-NLS-2$
+ if (level == 3) {
+ out.append("\n===" + ((Package) packageableElement).getName() + "===");} //$NON-NLS-1$ //$NON-NLS-2$
+ if (level == 4) {
+ out.append("\n====" + ((Package) packageableElement).getName() + "====");} //$NON-NLS-1$ //$NON-NLS-2$
+
}
@@ -91,9 +95,10 @@ public class WikiTranscription implements ITranscription {
* @param packageableElement
* @param imgRefStereotype
*/
-
+
+ @Override
public void writeImageRef(StringBuffer out, Element packageableElement, Stereotype imgRefStereotype) {
- out.append("\n[[Image:"+((Element)packageableElement).getValue(imgRefStereotype, I_DocumentStereotype.IMAGEREF_REF_ATT)+"|"+((Comment)packageableElement).getBody()+"]]<br>"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
+ out.append("\n[[Image:" + packageableElement.getValue(imgRefStereotype, I_DocumentStereotype.IMAGEREF_REF_ATT) + "|" + ((Comment) packageableElement).getBody() + "]]<br>"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
}
@@ -103,14 +108,16 @@ public class WikiTranscription implements ITranscription {
* @param out
* @param packageableElement
*/
-
+
+ @Override
public void writeParagraph(StringBuffer out, Element packageableElement) {
- out.append("\n"+((Comment)packageableElement).getBody()); //$NON-NLS-1$
+ out.append("\n" + ((Comment) packageableElement).getBody()); //$NON-NLS-1$
}
+ @Override
public String getNameFile() {
-
+
return "DeveloperDoc.mediawiki"; //$NON-NLS-1$
}

Back to the top