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/infra/viewpoints
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/infra/viewpoints')
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.edit/src/org/eclipse/papyrus/infra/viewpoints/configuration/provider/CategoryItemProvider.java61
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.edit/src/org/eclipse/papyrus/infra/viewpoints/configuration/provider/ChildRuleItemProvider.java105
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.edit/src/org/eclipse/papyrus/infra/viewpoints/configuration/provider/ConfigurationEditPlugin.java19
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.edit/src/org/eclipse/papyrus/infra/viewpoints/configuration/provider/ConfigurationItemProviderAdapterFactory.java146
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.edit/src/org/eclipse/papyrus/infra/viewpoints/configuration/provider/ModelAutoCreateItemProvider.java104
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.edit/src/org/eclipse/papyrus/infra/viewpoints/configuration/provider/ModelRuleItemProvider.java142
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.edit/src/org/eclipse/papyrus/infra/viewpoints/configuration/provider/OwningRuleItemProvider.java110
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.edit/src/org/eclipse/papyrus/infra/viewpoints/configuration/provider/PaletteRuleItemProvider.java44
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.edit/src/org/eclipse/papyrus/infra/viewpoints/configuration/provider/PapyrusConfigurationItemProvider.java95
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.edit/src/org/eclipse/papyrus/infra/viewpoints/configuration/provider/PapyrusDiagramItemProvider.java89
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.edit/src/org/eclipse/papyrus/infra/viewpoints/configuration/provider/PapyrusSyncTableItemProvider.java16
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.edit/src/org/eclipse/papyrus/infra/viewpoints/configuration/provider/PapyrusTableItemProvider.java47
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.edit/src/org/eclipse/papyrus/infra/viewpoints/configuration/provider/PapyrusViewItemProvider.java178
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.edit/src/org/eclipse/papyrus/infra/viewpoints/configuration/provider/PapyrusViewpointItemProvider.java55
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.edit/src/org/eclipse/papyrus/infra/viewpoints/configuration/provider/PathElementItemProvider.java92
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.edit/src/org/eclipse/papyrus/infra/viewpoints/configuration/provider/RuleItemProvider.java48
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.editor/src/org/eclipse/papyrus/infra/viewpoints/configuration/presentation/ConfigurationActionBarContributor.java97
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.editor/src/org/eclipse/papyrus/infra/viewpoints/configuration/presentation/ConfigurationEditor.java819
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.editor/src/org/eclipse/papyrus/infra/viewpoints/configuration/presentation/ConfigurationEditorPlugin.java23
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.editor/src/org/eclipse/papyrus/infra/viewpoints/configuration/presentation/ConfigurationModelWizard.java159
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/custom-src/org/eclipse/papyrus/infra/viewpoints/configuration/ComplexTypePropertyDescriptor.java7
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/custom-src/org/eclipse/papyrus/infra/viewpoints/configuration/EClassPropertyDescriptor.java28
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/custom-src/org/eclipse/papyrus/infra/viewpoints/configuration/EPackagePropertyDescriptor.java17
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/custom-src/org/eclipse/papyrus/infra/viewpoints/configuration/EReferencePropertyDescriptor.java13
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/custom-src/org/eclipse/papyrus/infra/viewpoints/configuration/ProfilePropertyDescriptor.java27
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/custom-src/org/eclipse/papyrus/infra/viewpoints/configuration/StereotypePropertyDescriptor.java54
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/custom-src/org/eclipse/papyrus/infra/viewpoints/configuration/SurrogateItemPropertyDescriptor.java71
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/custom-src/org/eclipse/papyrus/infra/viewpoints/configuration/ui/ConfigurationURLSelectionDialog.java120
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/custom-src/org/eclipse/papyrus/infra/viewpoints/configuration/ui/ECoreModelContentProvider.java34
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/custom-src/org/eclipse/papyrus/infra/viewpoints/configuration/ui/IModelElementValidator.java7
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/custom-src/org/eclipse/papyrus/infra/viewpoints/configuration/ui/ModelElementSelectionDialog.java197
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/Activator.java4
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/Category.java18
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/ChildRule.java34
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/ConfigurationFactory.java20
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/ConfigurationPackage.java261
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/ModelAutoCreate.java34
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/ModelRule.java28
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/OwningRule.java34
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/PaletteRule.java12
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/PapyrusConfiguration.java28
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/PapyrusDiagram.java28
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/PapyrusSyncTable.java8
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/PapyrusTable.java18
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/PapyrusView.java50
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/PapyrusViewpoint.java12
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/PathElement.java24
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/Rule.java12
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/impl/CategoryImpl.java50
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/impl/ChildRuleImpl.java147
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/impl/ConfigurationFactoryImpl.java73
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/impl/ConfigurationPackageImpl.java217
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/impl/ModelAutoCreateImpl.java113
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/impl/ModelRuleImpl.java195
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/impl/OwningRuleImpl.java141
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/impl/PaletteRuleImpl.java44
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/impl/PapyrusConfigurationImpl.java121
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/impl/PapyrusDiagramImpl.java134
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/impl/PapyrusSyncTableImpl.java12
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/impl/PapyrusTableImpl.java50
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/impl/PapyrusViewImpl.java227
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/impl/PapyrusViewpointImpl.java50
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/impl/PathElementImpl.java96
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/impl/RuleImpl.java44
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/util/ConfigurationAdapterFactory.java220
-rw-r--r--plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/util/ConfigurationResourceFactoryImpl.java13
-rw-r--r--plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/util/ConfigurationResourceImpl.java17
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/util/ConfigurationSwitch.java367
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010.edit/src/org/eclipse/papyrus/infra/viewpoints/iso42010/provider/ADElementItemProvider.java81
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010.edit/src/org/eclipse/papyrus/infra/viewpoints/iso42010/provider/ArchitectureDecisionItemProvider.java175
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010.edit/src/org/eclipse/papyrus/infra/viewpoints/iso42010/provider/ArchitectureDescriptionItemProvider.java89
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010.edit/src/org/eclipse/papyrus/infra/viewpoints/iso42010/provider/ArchitectureFrameworkItemProvider.java53
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010.edit/src/org/eclipse/papyrus/infra/viewpoints/iso42010/provider/ArchitectureItemProvider.java45
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010.edit/src/org/eclipse/papyrus/infra/viewpoints/iso42010/provider/ArchitectureModelItemProvider.java50
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010.edit/src/org/eclipse/papyrus/infra/viewpoints/iso42010/provider/ArchitectureRationaleItemProvider.java50
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010.edit/src/org/eclipse/papyrus/infra/viewpoints/iso42010/provider/ArchitectureViewItemProvider.java90
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010.edit/src/org/eclipse/papyrus/infra/viewpoints/iso42010/provider/ArchitectureViewpointItemProvider.java90
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010.edit/src/org/eclipse/papyrus/infra/viewpoints/iso42010/provider/ConcernItemProvider.java150
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010.edit/src/org/eclipse/papyrus/infra/viewpoints/iso42010/provider/CorrespondenceItemProvider.java70
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010.edit/src/org/eclipse/papyrus/infra/viewpoints/iso42010/provider/CorrespondenceRuleItemProvider.java45
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010.edit/src/org/eclipse/papyrus/infra/viewpoints/iso42010/provider/Iso42010EditPlugin.java21
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010.edit/src/org/eclipse/papyrus/infra/viewpoints/iso42010/provider/Iso42010ItemProviderAdapterFactory.java110
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010.edit/src/org/eclipse/papyrus/infra/viewpoints/iso42010/provider/ModelKindItemProvider.java50
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010.edit/src/org/eclipse/papyrus/infra/viewpoints/iso42010/provider/StakeholderItemProvider.java95
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010.edit/src/org/eclipse/papyrus/infra/viewpoints/iso42010/provider/SystemItemProvider.java107
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/ADElement.java24
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/Activator.java4
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/Architecture.java18
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/ArchitectureDecision.java44
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/ArchitectureDescription.java76
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/ArchitectureFramework.java32
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/ArchitectureModel.java28
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/ArchitectureRationale.java14
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/ArchitectureView.java30
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/ArchitectureViewpoint.java30
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/Concern.java38
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/Correspondence.java20
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/CorrespondenceRule.java14
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/Iso42010Factory.java27
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/Iso42010Package.java272
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/ModelKind.java24
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/Stakeholder.java30
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/System.java34
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/impl/ADElementImpl.java86
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/impl/ArchitectureDecisionImpl.java222
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/impl/ArchitectureDescriptionImpl.java363
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/impl/ArchitectureFrameworkImpl.java137
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/impl/ArchitectureImpl.java92
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/impl/ArchitectureModelImpl.java161
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/impl/ArchitectureRationaleImpl.java52
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/impl/ArchitectureViewImpl.java160
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/impl/ArchitectureViewpointImpl.java160
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/impl/ConcernImpl.java188
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/impl/CorrespondenceImpl.java78
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/impl/CorrespondenceRuleImpl.java52
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/impl/Iso42010FactoryImpl.java83
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/impl/Iso42010PackageImpl.java367
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/impl/ModelKindImpl.java121
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/impl/StakeholderImpl.java152
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/impl/SystemImpl.java160
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/util/Iso42010AdapterFactory.java186
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/util/Iso42010Switch.java297
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src-gen/org/eclipse/papyrus/infra/viewpoints/style/PapyrusViewStyle.java28
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src-gen/org/eclipse/papyrus/infra/viewpoints/style/StyleFactory.java14
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src-gen/org/eclipse/papyrus/infra/viewpoints/style/StylePackage.java48
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src-gen/org/eclipse/papyrus/infra/viewpoints/style/impl/PapyrusViewStyleImpl.java94
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src-gen/org/eclipse/papyrus/infra/viewpoints/style/impl/StyleFactoryImpl.java31
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src-gen/org/eclipse/papyrus/infra/viewpoints/style/impl/StylePackageImpl.java78
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src-gen/org/eclipse/papyrus/infra/viewpoints/style/util/StyleAdapterFactory.java56
-rw-r--r--plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src-gen/org/eclipse/papyrus/infra/viewpoints/style/util/StyleResourceFactoryImpl.java13
-rw-r--r--plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src-gen/org/eclipse/papyrus/infra/viewpoints/style/util/StyleResourceImpl.java18
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src-gen/org/eclipse/papyrus/infra/viewpoints/style/util/StyleSwitch.java49
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/Activator.java6
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/DynamicCommandHandler.java4
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/DynamicContribution.java15
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/IProfileHelper.java8
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/IViewTypeHelper.java12
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/ModelAddData.java31
-rw-r--r--plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/ModelRuleConstraintEngine.java13
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/NotationUtils.java50
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/PolicyChecker.java237
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/PreferenceConstants.java4
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/PreferenceInitializer.java5
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/ProfileUtils.java11
-rw-r--r--plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/RuleConstraintManager.java2
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/UnavailableViewPrototype.java6
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/ViewPrototype.java97
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/ViewPrototypeContentProvider.java80
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/ViewpointExplorer.java7
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/WeightedConfiguration.java29
-rw-r--r--plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/query/IsContainedByProfileQuery.java28
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.preferences/src/org/eclipse/papyrus/infra/viewpoints/preferences/Activator.java8
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.preferences/src/org/eclipse/papyrus/infra/viewpoints/preferences/ResourceFieldEditor.java202
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.preferences/src/org/eclipse/papyrus/infra/viewpoints/preferences/UpdatableComboBoxFieldEditor.java105
-rwxr-xr-xplugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.preferences/src/org/eclipse/papyrus/infra/viewpoints/preferences/ViewpointsPreferencePage.java119
155 files changed, 7767 insertions, 4968 deletions
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.edit/src/org/eclipse/papyrus/infra/viewpoints/configuration/provider/CategoryItemProvider.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.edit/src/org/eclipse/papyrus/infra/viewpoints/configuration/provider/CategoryItemProvider.java
index f5288501381..98a2f1425a8 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.edit/src/org/eclipse/papyrus/infra/viewpoints/configuration/provider/CategoryItemProvider.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.edit/src/org/eclipse/papyrus/infra/viewpoints/configuration/provider/CategoryItemProvider.java
@@ -1,15 +1,15 @@
/**
* 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
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- *
- *
+ *
+ *
*/
package org.eclipse.papyrus.infra.viewpoints.configuration.provider;
@@ -41,11 +41,12 @@ import org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage;
* This is the item provider adapter for a {@link org.eclipse.papyrus.infra.viewpoints.configuration.Category} object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public class CategoryItemProvider
- extends ItemProviderAdapter
- implements
+ extends ItemProviderAdapter
+ implements
IEditingDomainItemProvider,
IStructuredItemContentProvider,
ITreeItemContentProvider,
@@ -55,6 +56,7 @@ public class CategoryItemProvider
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public CategoryItemProvider(AdapterFactory adapterFactory) {
@@ -65,6 +67,7 @@ public class CategoryItemProvider
* This returns the property descriptors for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -81,28 +84,30 @@ public class CategoryItemProvider
* 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_Category_name_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_Category_name_feature", "_UI_Category_type"),
- ConfigurationPackage.Literals.CATEGORY__NAME,
- true,
- false,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null));
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_Category_name_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_Category_name_feature", "_UI_Category_type"),
+ ConfigurationPackage.Literals.CATEGORY__NAME,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
}
/**
* This returns Category.gif.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated NOT - custom image
*/
@Override
@@ -114,22 +119,24 @@ public class CategoryItemProvider
* This returns the label text for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public String getText(Object object) {
- String label = ((Category)object).getName();
+ String label = ((Category) object).getName();
return label == null || label.length() == 0 ?
- getString("_UI_Category_type") :
- getString("_UI_Category_type") + " " + label;
+ getString("_UI_Category_type") :
+ getString("_UI_Category_type") + " " + label;
}
-
+
/**
* This handles model notifications by calling {@link #updateChildren} to update any cached
* children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -137,9 +144,9 @@ public class CategoryItemProvider
updateChildren(notification);
switch (notification.getFeatureID(Category.class)) {
- case ConfigurationPackage.CATEGORY__NAME:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
- return;
+ case ConfigurationPackage.CATEGORY__NAME:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+ return;
}
super.notifyChanged(notification);
}
@@ -149,6 +156,7 @@ public class CategoryItemProvider
* that can be created under this object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -160,11 +168,12 @@ public class CategoryItemProvider
* Return the resource locator for this item provider's resources.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public ResourceLocator getResourceLocator() {
- return ((IChildCreationExtender)adapterFactory).getResourceLocator();
+ return ((IChildCreationExtender) adapterFactory).getResourceLocator();
}
}
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.edit/src/org/eclipse/papyrus/infra/viewpoints/configuration/provider/ChildRuleItemProvider.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.edit/src/org/eclipse/papyrus/infra/viewpoints/configuration/provider/ChildRuleItemProvider.java
index 8beeab490eb..7358927d8a0 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.edit/src/org/eclipse/papyrus/infra/viewpoints/configuration/provider/ChildRuleItemProvider.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.edit/src/org/eclipse/papyrus/infra/viewpoints/configuration/provider/ChildRuleItemProvider.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
@@ -33,14 +33,16 @@ import org.eclipse.papyrus.infra.viewpoints.configuration.StereotypePropertyDesc
* This is the item provider adapter for a {@link org.eclipse.papyrus.infra.viewpoints.configuration.ChildRule} object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public class ChildRuleItemProvider
- extends RuleItemProvider {
+ extends RuleItemProvider {
/**
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public ChildRuleItemProvider(AdapterFactory adapterFactory) {
@@ -51,6 +53,7 @@ public class ChildRuleItemProvider
* This returns the property descriptors for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -69,76 +72,77 @@ public class ChildRuleItemProvider
* This adds a property descriptor for the Element feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated NOT
*/
protected void addElementPropertyDescriptor(Object object) {
itemPropertyDescriptors.add
- (new EClassPropertyDescriptor(createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_ChildRule_element_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_ChildRule_element_feature", "_UI_ChildRule_type"),
- ConfigurationPackage.Literals.CHILD_RULE__ELEMENT,
- true,
- false,
- true,
- null,
- null,
- null)));
+ (new EClassPropertyDescriptor(createItemPropertyDescriptor
+ (((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_ChildRule_element_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_ChildRule_element_feature", "_UI_ChildRule_type"),
+ ConfigurationPackage.Literals.CHILD_RULE__ELEMENT,
+ true,
+ false,
+ true,
+ null,
+ null,
+ null)));
}
/**
* This adds a property descriptor for the Stereotypes feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated NOT
*/
protected void addStereotypesPropertyDescriptor(Object object) {
itemPropertyDescriptors.add
- (new StereotypePropertyDescriptor(createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_ChildRule_stereotypes_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_ChildRule_stereotypes_feature", "_UI_ChildRule_type"),
- ConfigurationPackage.Literals.CHILD_RULE__STEREOTYPES,
- true,
- false,
- true,
- null,
- null,
- null)));
+ (new StereotypePropertyDescriptor(createItemPropertyDescriptor
+ (((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_ChildRule_stereotypes_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_ChildRule_stereotypes_feature", "_UI_ChildRule_type"),
+ ConfigurationPackage.Literals.CHILD_RULE__STEREOTYPES,
+ true,
+ false,
+ true,
+ null,
+ null,
+ null)));
}
/**
* This adds a property descriptor for the Origin feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated NOT
*/
protected void addOriginPropertyDescriptor(Object object) {
itemPropertyDescriptors.add
- (new EClassPropertyDescriptor(createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_ChildRule_origin_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_ChildRule_origin_feature", "_UI_ChildRule_type"),
- ConfigurationPackage.Literals.CHILD_RULE__ORIGIN,
- true,
- false,
- true,
- null,
- null,
- null)));
+ (new EClassPropertyDescriptor(createItemPropertyDescriptor
+ (((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_ChildRule_origin_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_ChildRule_origin_feature", "_UI_ChildRule_type"),
+ ConfigurationPackage.Literals.CHILD_RULE__ORIGIN,
+ true,
+ false,
+ true,
+ null,
+ 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
@@ -153,6 +157,7 @@ public class ChildRuleItemProvider
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -167,6 +172,7 @@ public class ChildRuleItemProvider
* This returns ChildRule.gif.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated NOT - custom image
*/
@Override
@@ -188,8 +194,9 @@ public class ChildRuleItemProvider
if (!rule.getStereotypes().isEmpty()) {
builder.append("<<");
for (int i = 0; i != rule.getStereotypes().size(); i++) {
- if (i != 0)
+ if (i != 0) {
builder.append(",");
+ }
builder.append(rule.getStereotypes().get(i).getName());
}
builder.append(">> ");
@@ -205,6 +212,7 @@ public class ChildRuleItemProvider
* children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -212,9 +220,9 @@ public class ChildRuleItemProvider
updateChildren(notification);
switch (notification.getFeatureID(ChildRule.class)) {
- case ConfigurationPackage.CHILD_RULE__INSERTION_PATH:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
- return;
+ case ConfigurationPackage.CHILD_RULE__INSERTION_PATH:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
+ return;
}
super.notifyChanged(notification);
}
@@ -224,6 +232,7 @@ public class ChildRuleItemProvider
* that can be created under this object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -231,9 +240,9 @@ public class ChildRuleItemProvider
super.collectNewChildDescriptors(newChildDescriptors, object);
newChildDescriptors.add
- (createChildParameter
+ (createChildParameter
(ConfigurationPackage.Literals.CHILD_RULE__INSERTION_PATH,
- ConfigurationFactory.eINSTANCE.createPathElement()));
+ ConfigurationFactory.eINSTANCE.createPathElement()));
}
}
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.edit/src/org/eclipse/papyrus/infra/viewpoints/configuration/provider/ConfigurationEditPlugin.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.edit/src/org/eclipse/papyrus/infra/viewpoints/configuration/provider/ConfigurationEditPlugin.java
index 853b573a0bf..533a5e7e581 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.edit/src/org/eclipse/papyrus/infra/viewpoints/configuration/provider/ConfigurationEditPlugin.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.edit/src/org/eclipse/papyrus/infra/viewpoints/configuration/provider/ConfigurationEditPlugin.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
@@ -22,6 +22,7 @@ import org.eclipse.papyrus.infra.viewpoints.iso42010.provider.Iso42010EditPlugin
* This is the central singleton for the Configuration edit plugin.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public final class ConfigurationEditPlugin extends EMFPlugin {
@@ -29,6 +30,7 @@ public final class ConfigurationEditPlugin extends EMFPlugin {
* Keep track of the singleton.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public static final ConfigurationEditPlugin INSTANCE = new ConfigurationEditPlugin();
@@ -37,6 +39,7 @@ public final class ConfigurationEditPlugin extends EMFPlugin {
* Keep track of the singleton.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private static Implementation plugin;
@@ -45,20 +48,21 @@ public final class ConfigurationEditPlugin extends EMFPlugin {
* Create the instance.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public ConfigurationEditPlugin() {
- super
- (new ResourceLocator [] {
- ConstraintsEditPlugin.INSTANCE,
- Iso42010EditPlugin.INSTANCE,
- });
+ super(new ResourceLocator[] {
+ ConstraintsEditPlugin.INSTANCE,
+ Iso42010EditPlugin.INSTANCE,
+ });
}
/**
* Returns the singleton instance of the Eclipse plugin.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the singleton instance.
* @generated
*/
@@ -71,6 +75,7 @@ public final class ConfigurationEditPlugin extends EMFPlugin {
* Returns the singleton instance of the Eclipse plugin.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the singleton instance.
* @generated
*/
@@ -82,6 +87,7 @@ public final class ConfigurationEditPlugin extends EMFPlugin {
* The actual implementation of the Eclipse <b>Plugin</b>.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public static class Implementation extends EclipsePlugin {
@@ -89,6 +95,7 @@ public final class ConfigurationEditPlugin extends EMFPlugin {
* Creates an instance.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public Implementation() {
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.edit/src/org/eclipse/papyrus/infra/viewpoints/configuration/provider/ConfigurationItemProviderAdapterFactory.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.edit/src/org/eclipse/papyrus/infra/viewpoints/configuration/provider/ConfigurationItemProviderAdapterFactory.java
index dc7b307ecc6..9127ab47250 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.edit/src/org/eclipse/papyrus/infra/viewpoints/configuration/provider/ConfigurationItemProviderAdapterFactory.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.edit/src/org/eclipse/papyrus/infra/viewpoints/configuration/provider/ConfigurationItemProviderAdapterFactory.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
@@ -55,6 +55,7 @@ import org.eclipse.papyrus.infra.viewpoints.iso42010.util.Iso42010Switch;
* Note that most of the adapters are shared among multiple instances.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public class ConfigurationItemProviderAdapterFactory extends ConfigurationAdapterFactory implements ComposeableAdapterFactory, IChangeNotifier, IDisposable, IChildCreationExtender {
@@ -62,6 +63,7 @@ public class ConfigurationItemProviderAdapterFactory extends ConfigurationAdapte
* This keeps track of the root adapter factory that delegates to this adapter factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected ComposedAdapterFactory parentAdapterFactory;
@@ -70,6 +72,7 @@ public class ConfigurationItemProviderAdapterFactory extends ConfigurationAdapte
* This is used to implement {@link org.eclipse.emf.edit.provider.IChangeNotifier}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected IChangeNotifier changeNotifier = new ChangeNotifier();
@@ -78,6 +81,7 @@ public class ConfigurationItemProviderAdapterFactory extends ConfigurationAdapte
* This helps manage the child creation extenders.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected ChildCreationExtenderManager childCreationExtenderManager = new ChildCreationExtenderManager(ConfigurationEditPlugin.INSTANCE, ConfigurationPackage.eNS_URI);
@@ -86,6 +90,7 @@ public class ConfigurationItemProviderAdapterFactory extends ConfigurationAdapte
* 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>();
@@ -94,6 +99,7 @@ public class ConfigurationItemProviderAdapterFactory extends ConfigurationAdapte
* This constructs an instance.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public ConfigurationItemProviderAdapterFactory() {
@@ -108,6 +114,7 @@ public class ConfigurationItemProviderAdapterFactory extends ConfigurationAdapte
* This keeps track of the one adapter used for all {@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusConfiguration} instances.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected PapyrusConfigurationItemProvider papyrusConfigurationItemProvider;
@@ -116,6 +123,7 @@ public class ConfigurationItemProviderAdapterFactory extends ConfigurationAdapte
* This creates an adapter for a {@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusConfiguration}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -131,6 +139,7 @@ public class ConfigurationItemProviderAdapterFactory extends ConfigurationAdapte
* This keeps track of the one adapter used for all {@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusViewpoint} instances.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected PapyrusViewpointItemProvider papyrusViewpointItemProvider;
@@ -139,6 +148,7 @@ public class ConfigurationItemProviderAdapterFactory extends ConfigurationAdapte
* This creates an adapter for a {@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusViewpoint}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -154,6 +164,7 @@ public class ConfigurationItemProviderAdapterFactory extends ConfigurationAdapte
* This keeps track of the one adapter used for all {@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusView} instances.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected PapyrusViewItemProvider papyrusViewItemProvider;
@@ -162,6 +173,7 @@ public class ConfigurationItemProviderAdapterFactory extends ConfigurationAdapte
* This creates an adapter for a {@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusView}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -177,6 +189,7 @@ public class ConfigurationItemProviderAdapterFactory extends ConfigurationAdapte
* This keeps track of the one adapter used for all {@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusDiagram} instances.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected PapyrusDiagramItemProvider papyrusDiagramItemProvider;
@@ -185,6 +198,7 @@ public class ConfigurationItemProviderAdapterFactory extends ConfigurationAdapte
* This creates an adapter for a {@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusDiagram}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -200,6 +214,7 @@ public class ConfigurationItemProviderAdapterFactory extends ConfigurationAdapte
* This keeps track of the one adapter used for all {@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusSyncTable} instances.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected PapyrusSyncTableItemProvider papyrusSyncTableItemProvider;
@@ -208,6 +223,7 @@ public class ConfigurationItemProviderAdapterFactory extends ConfigurationAdapte
* This creates an adapter for a {@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusSyncTable}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -223,6 +239,7 @@ public class ConfigurationItemProviderAdapterFactory extends ConfigurationAdapte
* This keeps track of the one adapter used for all {@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusTable} instances.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected PapyrusTableItemProvider papyrusTableItemProvider;
@@ -231,6 +248,7 @@ public class ConfigurationItemProviderAdapterFactory extends ConfigurationAdapte
* This creates an adapter for a {@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusTable}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -246,6 +264,7 @@ public class ConfigurationItemProviderAdapterFactory extends ConfigurationAdapte
* This keeps track of the one adapter used for all {@link org.eclipse.papyrus.infra.viewpoints.configuration.ModelRule} instances.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected ModelRuleItemProvider modelRuleItemProvider;
@@ -254,6 +273,7 @@ public class ConfigurationItemProviderAdapterFactory extends ConfigurationAdapte
* This creates an adapter for a {@link org.eclipse.papyrus.infra.viewpoints.configuration.ModelRule}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -269,6 +289,7 @@ public class ConfigurationItemProviderAdapterFactory extends ConfigurationAdapte
* This keeps track of the one adapter used for all {@link org.eclipse.papyrus.infra.viewpoints.configuration.OwningRule} instances.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected OwningRuleItemProvider owningRuleItemProvider;
@@ -277,6 +298,7 @@ public class ConfigurationItemProviderAdapterFactory extends ConfigurationAdapte
* This creates an adapter for a {@link org.eclipse.papyrus.infra.viewpoints.configuration.OwningRule}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -292,6 +314,7 @@ public class ConfigurationItemProviderAdapterFactory extends ConfigurationAdapte
* This keeps track of the one adapter used for all {@link org.eclipse.papyrus.infra.viewpoints.configuration.ChildRule} instances.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected ChildRuleItemProvider childRuleItemProvider;
@@ -300,6 +323,7 @@ public class ConfigurationItemProviderAdapterFactory extends ConfigurationAdapte
* This creates an adapter for a {@link org.eclipse.papyrus.infra.viewpoints.configuration.ChildRule}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -315,6 +339,7 @@ public class ConfigurationItemProviderAdapterFactory extends ConfigurationAdapte
* This keeps track of the one adapter used for all {@link org.eclipse.papyrus.infra.viewpoints.configuration.PaletteRule} instances.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected PaletteRuleItemProvider paletteRuleItemProvider;
@@ -323,6 +348,7 @@ public class ConfigurationItemProviderAdapterFactory extends ConfigurationAdapte
* This creates an adapter for a {@link org.eclipse.papyrus.infra.viewpoints.configuration.PaletteRule}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -338,6 +364,7 @@ public class ConfigurationItemProviderAdapterFactory extends ConfigurationAdapte
* This keeps track of the one adapter used for all {@link org.eclipse.papyrus.infra.viewpoints.configuration.PathElement} instances.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected PathElementItemProvider pathElementItemProvider;
@@ -346,6 +373,7 @@ public class ConfigurationItemProviderAdapterFactory extends ConfigurationAdapte
* This creates an adapter for a {@link org.eclipse.papyrus.infra.viewpoints.configuration.PathElement}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -361,6 +389,7 @@ public class ConfigurationItemProviderAdapterFactory extends ConfigurationAdapte
* This keeps track of the one adapter used for all {@link org.eclipse.papyrus.infra.viewpoints.configuration.Category} instances.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected CategoryItemProvider categoryItemProvider;
@@ -369,6 +398,7 @@ public class ConfigurationItemProviderAdapterFactory extends ConfigurationAdapte
* This creates an adapter for a {@link org.eclipse.papyrus.infra.viewpoints.configuration.Category}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -384,6 +414,7 @@ public class ConfigurationItemProviderAdapterFactory extends ConfigurationAdapte
* This keeps track of the one adapter used for all {@link org.eclipse.papyrus.infra.viewpoints.configuration.ModelAutoCreate} instances.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected ModelAutoCreateItemProvider modelAutoCreateItemProvider;
@@ -392,6 +423,7 @@ public class ConfigurationItemProviderAdapterFactory extends ConfigurationAdapte
* This creates an adapter for a {@link org.eclipse.papyrus.infra.viewpoints.configuration.ModelAutoCreate}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -407,6 +439,7 @@ public class ConfigurationItemProviderAdapterFactory extends ConfigurationAdapte
* This returns the root adapter factory that contains this factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public ComposeableAdapterFactory getRootAdapterFactory() {
@@ -417,6 +450,7 @@ public class ConfigurationItemProviderAdapterFactory extends ConfigurationAdapte
* This sets the composed adapter factory that contains this factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public void setParentAdapterFactory(ComposedAdapterFactory parentAdapterFactory) {
@@ -426,6 +460,7 @@ public class ConfigurationItemProviderAdapterFactory extends ConfigurationAdapte
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -437,6 +472,7 @@ public class ConfigurationItemProviderAdapterFactory extends ConfigurationAdapte
* This implementation substitutes the factory itself as the key for the adapter.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -447,13 +483,14 @@ public class ConfigurationItemProviderAdapterFactory extends ConfigurationAdapte
/**
* <!-- 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;
}
}
@@ -464,6 +501,7 @@ public class ConfigurationItemProviderAdapterFactory extends ConfigurationAdapte
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public List<IChildCreationExtender> getChildCreationExtenders() {
@@ -473,6 +511,7 @@ public class ConfigurationItemProviderAdapterFactory extends ConfigurationAdapte
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public Collection<?> getNewChildDescriptors(Object object, EditingDomain editingDomain) {
@@ -482,6 +521,7 @@ public class ConfigurationItemProviderAdapterFactory extends ConfigurationAdapte
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public ResourceLocator getResourceLocator() {
@@ -492,6 +532,7 @@ public class ConfigurationItemProviderAdapterFactory extends ConfigurationAdapte
* This adds a listener.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public void addListener(INotifyChangedListener notifyChangedListener) {
@@ -502,6 +543,7 @@ public class ConfigurationItemProviderAdapterFactory extends ConfigurationAdapte
* This removes a listener.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public void removeListener(INotifyChangedListener notifyChangedListener) {
@@ -512,6 +554,7 @@ public class ConfigurationItemProviderAdapterFactory extends ConfigurationAdapte
* This delegates to {@link #changeNotifier} and to {@link #parentAdapterFactory}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public void fireNotifyChanged(Notification notification) {
@@ -523,31 +566,59 @@ public class ConfigurationItemProviderAdapterFactory extends ConfigurationAdapte
}
/**
- * 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
*/
public void dispose() {
- if (papyrusConfigurationItemProvider != null) papyrusConfigurationItemProvider.dispose();
- if (papyrusViewpointItemProvider != null) papyrusViewpointItemProvider.dispose();
- if (papyrusViewItemProvider != null) papyrusViewItemProvider.dispose();
- if (papyrusDiagramItemProvider != null) papyrusDiagramItemProvider.dispose();
- if (papyrusSyncTableItemProvider != null) papyrusSyncTableItemProvider.dispose();
- if (papyrusTableItemProvider != null) papyrusTableItemProvider.dispose();
- if (modelRuleItemProvider != null) modelRuleItemProvider.dispose();
- if (owningRuleItemProvider != null) owningRuleItemProvider.dispose();
- if (childRuleItemProvider != null) childRuleItemProvider.dispose();
- if (paletteRuleItemProvider != null) paletteRuleItemProvider.dispose();
- if (pathElementItemProvider != null) pathElementItemProvider.dispose();
- if (categoryItemProvider != null) categoryItemProvider.dispose();
- if (modelAutoCreateItemProvider != null) modelAutoCreateItemProvider.dispose();
+ if (papyrusConfigurationItemProvider != null) {
+ papyrusConfigurationItemProvider.dispose();
+ }
+ if (papyrusViewpointItemProvider != null) {
+ papyrusViewpointItemProvider.dispose();
+ }
+ if (papyrusViewItemProvider != null) {
+ papyrusViewItemProvider.dispose();
+ }
+ if (papyrusDiagramItemProvider != null) {
+ papyrusDiagramItemProvider.dispose();
+ }
+ if (papyrusSyncTableItemProvider != null) {
+ papyrusSyncTableItemProvider.dispose();
+ }
+ if (papyrusTableItemProvider != null) {
+ papyrusTableItemProvider.dispose();
+ }
+ if (modelRuleItemProvider != null) {
+ modelRuleItemProvider.dispose();
+ }
+ if (owningRuleItemProvider != null) {
+ owningRuleItemProvider.dispose();
+ }
+ if (childRuleItemProvider != null) {
+ childRuleItemProvider.dispose();
+ }
+ if (paletteRuleItemProvider != null) {
+ paletteRuleItemProvider.dispose();
+ }
+ if (pathElementItemProvider != null) {
+ pathElementItemProvider.dispose();
+ }
+ if (categoryItemProvider != null) {
+ categoryItemProvider.dispose();
+ }
+ if (modelAutoCreateItemProvider != null) {
+ modelAutoCreateItemProvider.dispose();
+ }
}
/**
* A child creation extender for the {@link Iso42010Package}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public static class Iso42010ChildCreationExtender implements IChildCreationExtender {
@@ -555,6 +626,7 @@ public class ConfigurationItemProviderAdapterFactory extends ConfigurationAdapte
* The switch for creating child descriptors specific to each extended class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected static class CreationSwitch extends Iso42010Switch<Object> {
@@ -562,6 +634,7 @@ public class ConfigurationItemProviderAdapterFactory extends ConfigurationAdapte
* The child descriptors being populated.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected List<Object> newChildDescriptors;
@@ -570,6 +643,7 @@ public class ConfigurationItemProviderAdapterFactory extends ConfigurationAdapte
* The domain in which to create the children.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected EditingDomain editingDomain;
@@ -578,75 +652,81 @@ public class ConfigurationItemProviderAdapterFactory extends ConfigurationAdapte
* Creates the a switch for populating child descriptors in the given domain.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
CreationSwitch(List<Object> newChildDescriptors, EditingDomain editingDomain) {
this.newChildDescriptors = newChildDescriptors;
this.editingDomain = editingDomain;
}
+
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object caseArchitectureDescription(ArchitectureDescription object) {
newChildDescriptors.add
- (createChildParameter
+ (createChildParameter
(Iso42010Package.Literals.ARCHITECTURE_DESCRIPTION__VIEWPOINTS,
- ConfigurationFactory.eINSTANCE.createPapyrusViewpoint()));
+ ConfigurationFactory.eINSTANCE.createPapyrusViewpoint()));
return null;
}
-
+
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object caseArchitectureViewpoint(ArchitectureViewpoint object) {
newChildDescriptors.add
- (createChildParameter
+ (createChildParameter
(Iso42010Package.Literals.ARCHITECTURE_VIEWPOINT__MODEL_KINDS,
- ConfigurationFactory.eINSTANCE.createPapyrusView()));
+ ConfigurationFactory.eINSTANCE.createPapyrusView()));
newChildDescriptors.add
- (createChildParameter
+ (createChildParameter
(Iso42010Package.Literals.ARCHITECTURE_VIEWPOINT__MODEL_KINDS,
- ConfigurationFactory.eINSTANCE.createPapyrusDiagram()));
+ ConfigurationFactory.eINSTANCE.createPapyrusDiagram()));
newChildDescriptors.add
- (createChildParameter
+ (createChildParameter
(Iso42010Package.Literals.ARCHITECTURE_VIEWPOINT__MODEL_KINDS,
- ConfigurationFactory.eINSTANCE.createPapyrusSyncTable()));
+ ConfigurationFactory.eINSTANCE.createPapyrusSyncTable()));
newChildDescriptors.add
- (createChildParameter
+ (createChildParameter
(Iso42010Package.Literals.ARCHITECTURE_VIEWPOINT__MODEL_KINDS,
- ConfigurationFactory.eINSTANCE.createPapyrusTable()));
+ ConfigurationFactory.eINSTANCE.createPapyrusTable()));
return null;
}
-
+
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object caseArchitectureFramework(ArchitectureFramework object) {
newChildDescriptors.add
- (createChildParameter
+ (createChildParameter
(Iso42010Package.Literals.ARCHITECTURE_FRAMEWORK__VIEWPOINTS,
- ConfigurationFactory.eINSTANCE.createPapyrusViewpoint()));
+ ConfigurationFactory.eINSTANCE.createPapyrusViewpoint()));
return null;
}
-
+
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected CommandParameter createChildParameter(Object feature, Object child) {
@@ -658,17 +738,19 @@ public class ConfigurationItemProviderAdapterFactory extends ConfigurationAdapte
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public Collection<Object> getNewChildDescriptors(Object object, EditingDomain editingDomain) {
ArrayList<Object> result = new ArrayList<Object>();
- new CreationSwitch(result, editingDomain).doSwitch((EObject)object);
+ new CreationSwitch(result, editingDomain).doSwitch((EObject) object);
return result;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public ResourceLocator getResourceLocator() {
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.edit/src/org/eclipse/papyrus/infra/viewpoints/configuration/provider/ModelAutoCreateItemProvider.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.edit/src/org/eclipse/papyrus/infra/viewpoints/configuration/provider/ModelAutoCreateItemProvider.java
index d4b9825577e..caa3fa2bfab 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.edit/src/org/eclipse/papyrus/infra/viewpoints/configuration/provider/ModelAutoCreateItemProvider.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.edit/src/org/eclipse/papyrus/infra/viewpoints/configuration/provider/ModelAutoCreateItemProvider.java
@@ -1,15 +1,15 @@
/**
* 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
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- *
- *
+ *
+ *
*/
package org.eclipse.papyrus.infra.viewpoints.configuration.provider;
@@ -42,11 +42,12 @@ import org.eclipse.papyrus.infra.viewpoints.configuration.ModelAutoCreate;
* This is the item provider adapter for a {@link org.eclipse.papyrus.infra.viewpoints.configuration.ModelAutoCreate} object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public class ModelAutoCreateItemProvider
- extends ItemProviderAdapter
- implements
+ extends ItemProviderAdapter
+ implements
IEditingDomainItemProvider,
IStructuredItemContentProvider,
ITreeItemContentProvider,
@@ -56,6 +57,7 @@ public class ModelAutoCreateItemProvider
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public ModelAutoCreateItemProvider(AdapterFactory adapterFactory) {
@@ -66,6 +68,7 @@ public class ModelAutoCreateItemProvider
* This returns the property descriptors for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -84,72 +87,76 @@ public class ModelAutoCreateItemProvider
* This adds a property descriptor for the Feature feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated NOT
*/
protected void addFeaturePropertyDescriptor(Object object) {
itemPropertyDescriptors.add
- (new EReferencePropertyDescriptor(createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_ModelAutoCreate_feature_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_ModelAutoCreate_feature_feature", "_UI_ModelAutoCreate_type"),
- ConfigurationPackage.Literals.MODEL_AUTO_CREATE__FEATURE,
- true,
- false,
- true,
- null,
- null,
- null)));
+ (new EReferencePropertyDescriptor(createItemPropertyDescriptor
+ (((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_ModelAutoCreate_feature_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_ModelAutoCreate_feature_feature", "_UI_ModelAutoCreate_type"),
+ ConfigurationPackage.Literals.MODEL_AUTO_CREATE__FEATURE,
+ true,
+ false,
+ true,
+ null,
+ null,
+ null)));
}
/**
* This adds a property descriptor for the Origin feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected void addOriginPropertyDescriptor(Object object) {
itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_ModelAutoCreate_origin_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_ModelAutoCreate_origin_feature", "_UI_ModelAutoCreate_type"),
- ConfigurationPackage.Literals.MODEL_AUTO_CREATE__ORIGIN,
- false,
- false,
- false,
- null,
- null,
- null));
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_ModelAutoCreate_origin_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_ModelAutoCreate_origin_feature", "_UI_ModelAutoCreate_type"),
+ ConfigurationPackage.Literals.MODEL_AUTO_CREATE__ORIGIN,
+ false,
+ false,
+ false,
+ null,
+ null,
+ null));
}
/**
* This adds a property descriptor for the Creation Type feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated NOT
*/
protected void addCreationTypePropertyDescriptor(Object object) {
itemPropertyDescriptors.add
- (new ComplexTypePropertyDescriptor(createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_ModelAutoCreate_creationType_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_ModelAutoCreate_creationType_feature", "_UI_ModelAutoCreate_type"),
- ConfigurationPackage.Literals.MODEL_AUTO_CREATE__CREATION_TYPE,
- true,
- false,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null)));
+ (new ComplexTypePropertyDescriptor(createItemPropertyDescriptor
+ (((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_ModelAutoCreate_creationType_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_ModelAutoCreate_creationType_feature", "_UI_ModelAutoCreate_type"),
+ ConfigurationPackage.Literals.MODEL_AUTO_CREATE__CREATION_TYPE,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null)));
}
/**
* This returns ModelAutoCreate.gif.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated NOT - Custom Image
*/
@Override
@@ -176,13 +183,14 @@ public class ModelAutoCreateItemProvider
builder.append(target != null ? target : "?");
return builder.toString();
}
-
+
/**
* This handles model notifications by calling {@link #updateChildren} to update any cached
* children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -190,9 +198,9 @@ public class ModelAutoCreateItemProvider
updateChildren(notification);
switch (notification.getFeatureID(ModelAutoCreate.class)) {
- case ConfigurationPackage.MODEL_AUTO_CREATE__CREATION_TYPE:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
- return;
+ case ConfigurationPackage.MODEL_AUTO_CREATE__CREATION_TYPE:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+ return;
}
super.notifyChanged(notification);
}
@@ -202,6 +210,7 @@ public class ModelAutoCreateItemProvider
* that can be created under this object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -213,11 +222,12 @@ public class ModelAutoCreateItemProvider
* Return the resource locator for this item provider's resources.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public ResourceLocator getResourceLocator() {
- return ((IChildCreationExtender)adapterFactory).getResourceLocator();
+ return ((IChildCreationExtender) adapterFactory).getResourceLocator();
}
}
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.edit/src/org/eclipse/papyrus/infra/viewpoints/configuration/provider/ModelRuleItemProvider.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.edit/src/org/eclipse/papyrus/infra/viewpoints/configuration/provider/ModelRuleItemProvider.java
index 9743aaa3e79..76a56a311dd 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.edit/src/org/eclipse/papyrus/infra/viewpoints/configuration/provider/ModelRuleItemProvider.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.edit/src/org/eclipse/papyrus/infra/viewpoints/configuration/provider/ModelRuleItemProvider.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
@@ -35,14 +35,16 @@ import org.eclipse.papyrus.infra.viewpoints.configuration.StereotypePropertyDesc
* This is the item provider adapter for a {@link org.eclipse.papyrus.infra.viewpoints.configuration.ModelRule} object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public class ModelRuleItemProvider
- extends RuleItemProvider {
+ extends RuleItemProvider {
/**
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public ModelRuleItemProvider(AdapterFactory adapterFactory) {
@@ -53,6 +55,7 @@ public class ModelRuleItemProvider
* This returns the property descriptors for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -72,98 +75,100 @@ public class ModelRuleItemProvider
* This adds a property descriptor for the Element Multiplicity feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected void addElementMultiplicityPropertyDescriptor(Object object) {
itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_DisplayUnit_elementMultiplicity_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_DisplayUnit_elementMultiplicity_feature", "_UI_DisplayUnit_type"),
- ConstraintsPackage.Literals.DISPLAY_UNIT__ELEMENT_MULTIPLICITY,
- true,
- false,
- false,
- ItemPropertyDescriptor.INTEGRAL_VALUE_IMAGE,
- null,
- null));
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_DisplayUnit_elementMultiplicity_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_DisplayUnit_elementMultiplicity_feature", "_UI_DisplayUnit_type"),
+ ConstraintsPackage.Literals.DISPLAY_UNIT__ELEMENT_MULTIPLICITY,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.INTEGRAL_VALUE_IMAGE,
+ null,
+ null));
}
/**
* This adds a property descriptor for the Element feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated NOT
*/
protected void addElementPropertyDescriptor(Object object) {
itemPropertyDescriptors.add
- (new EClassPropertyDescriptor(createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_ModelRule_element_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_ModelRule_element_feature", "_UI_ModelRule_type"),
- ConfigurationPackage.Literals.MODEL_RULE__ELEMENT,
- true,
- false,
- true,
- null,
- null,
- null)));
+ (new EClassPropertyDescriptor(createItemPropertyDescriptor
+ (((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_ModelRule_element_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_ModelRule_element_feature", "_UI_ModelRule_type"),
+ ConfigurationPackage.Literals.MODEL_RULE__ELEMENT,
+ true,
+ false,
+ true,
+ null,
+ null,
+ null)));
}
/**
* This adds a property descriptor for the Stereotypes feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated NOT
*/
protected void addStereotypesPropertyDescriptor(Object object) {
itemPropertyDescriptors.add
- (new StereotypePropertyDescriptor(createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_ModelRule_stereotypes_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_ModelRule_stereotypes_feature", "_UI_ModelRule_type"),
- ConfigurationPackage.Literals.MODEL_RULE__STEREOTYPES,
- true,
- false,
- true,
- null,
- null,
- null)));
+ (new StereotypePropertyDescriptor(createItemPropertyDescriptor
+ (((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_ModelRule_stereotypes_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_ModelRule_stereotypes_feature", "_UI_ModelRule_type"),
+ ConfigurationPackage.Literals.MODEL_RULE__STEREOTYPES,
+ true,
+ false,
+ true,
+ null,
+ null,
+ null)));
}
/**
* This adds a property descriptor for the Multiplicity feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected void addMultiplicityPropertyDescriptor(Object object) {
itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_ModelRule_multiplicity_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_ModelRule_multiplicity_feature", "_UI_ModelRule_type"),
- ConfigurationPackage.Literals.MODEL_RULE__MULTIPLICITY,
- true,
- false,
- false,
- ItemPropertyDescriptor.INTEGRAL_VALUE_IMAGE,
- null,
- null));
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_ModelRule_multiplicity_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_ModelRule_multiplicity_feature", "_UI_ModelRule_type"),
+ ConfigurationPackage.Literals.MODEL_RULE__MULTIPLICITY,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.INTEGRAL_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
@@ -178,6 +183,7 @@ public class ModelRuleItemProvider
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -192,6 +198,7 @@ public class ModelRuleItemProvider
* This returns ModelRule.gif.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated NOT - Custom Image
*/
@Override
@@ -211,8 +218,9 @@ public class ModelRuleItemProvider
if (!rule.getStereotypes().isEmpty()) {
builder.append("<<");
for (int i = 0; i != rule.getStereotypes().size(); i++) {
- if (i != 0)
+ if (i != 0) {
builder.append(",");
+ }
builder.append(rule.getStereotypes().get(i).getName());
}
builder.append(">> ");
@@ -230,6 +238,7 @@ public class ModelRuleItemProvider
* children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -237,13 +246,13 @@ public class ModelRuleItemProvider
updateChildren(notification);
switch (notification.getFeatureID(ModelRule.class)) {
- case ConfigurationPackage.MODEL_RULE__ELEMENT_MULTIPLICITY:
- case ConfigurationPackage.MODEL_RULE__MULTIPLICITY:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
- return;
- case ConfigurationPackage.MODEL_RULE__CONSTRAINTS:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
- return;
+ case ConfigurationPackage.MODEL_RULE__ELEMENT_MULTIPLICITY:
+ case ConfigurationPackage.MODEL_RULE__MULTIPLICITY:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+ return;
+ case ConfigurationPackage.MODEL_RULE__CONSTRAINTS:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
+ return;
}
super.notifyChanged(notification);
}
@@ -253,6 +262,7 @@ public class ModelRuleItemProvider
* that can be created under this object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -260,14 +270,14 @@ public class ModelRuleItemProvider
super.collectNewChildDescriptors(newChildDescriptors, object);
newChildDescriptors.add
- (createChildParameter
+ (createChildParameter
(ConstraintsPackage.Literals.DISPLAY_UNIT__CONSTRAINTS,
- ConstraintsFactory.eINSTANCE.createSimpleConstraint()));
+ ConstraintsFactory.eINSTANCE.createSimpleConstraint()));
newChildDescriptors.add
- (createChildParameter
+ (createChildParameter
(ConstraintsPackage.Literals.DISPLAY_UNIT__CONSTRAINTS,
- ConstraintsFactory.eINSTANCE.createCompositeConstraint()));
+ ConstraintsFactory.eINSTANCE.createCompositeConstraint()));
}
}
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.edit/src/org/eclipse/papyrus/infra/viewpoints/configuration/provider/OwningRuleItemProvider.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.edit/src/org/eclipse/papyrus/infra/viewpoints/configuration/provider/OwningRuleItemProvider.java
index 013515a8c0d..8fa210c7cda 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.edit/src/org/eclipse/papyrus/infra/viewpoints/configuration/provider/OwningRuleItemProvider.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.edit/src/org/eclipse/papyrus/infra/viewpoints/configuration/provider/OwningRuleItemProvider.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
@@ -34,14 +34,16 @@ import org.eclipse.papyrus.infra.viewpoints.configuration.StereotypePropertyDesc
* This is the item provider adapter for a {@link org.eclipse.papyrus.infra.viewpoints.configuration.OwningRule} object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public class OwningRuleItemProvider
- extends RuleItemProvider {
+ extends RuleItemProvider {
/**
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public OwningRuleItemProvider(AdapterFactory adapterFactory) {
@@ -69,76 +71,77 @@ public class OwningRuleItemProvider
* This adds a property descriptor for the Element feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated NOT
*/
protected void addElementPropertyDescriptor(Object object) {
itemPropertyDescriptors.add
- (new EClassPropertyDescriptor(createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_OwningRule_element_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_OwningRule_element_feature", "_UI_OwningRule_type"),
- ConfigurationPackage.Literals.OWNING_RULE__ELEMENT,
- true,
- false,
- true,
- null,
- null,
- null)));
+ (new EClassPropertyDescriptor(createItemPropertyDescriptor
+ (((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_OwningRule_element_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_OwningRule_element_feature", "_UI_OwningRule_type"),
+ ConfigurationPackage.Literals.OWNING_RULE__ELEMENT,
+ true,
+ false,
+ true,
+ null,
+ null,
+ null)));
}
/**
* This adds a property descriptor for the Stereotypes feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated NOT
*/
protected void addStereotypesPropertyDescriptor(Object object) {
itemPropertyDescriptors.add
- (new StereotypePropertyDescriptor(createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_OwningRule_stereotypes_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_OwningRule_stereotypes_feature", "_UI_OwningRule_type"),
- ConfigurationPackage.Literals.OWNING_RULE__STEREOTYPES,
- true,
- false,
- true,
- null,
- null,
- null)));
+ (new StereotypePropertyDescriptor(createItemPropertyDescriptor
+ (((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_OwningRule_stereotypes_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_OwningRule_stereotypes_feature", "_UI_OwningRule_type"),
+ ConfigurationPackage.Literals.OWNING_RULE__STEREOTYPES,
+ true,
+ false,
+ true,
+ null,
+ null,
+ null)));
}
/**
* This adds a property descriptor for the Multiplicity feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected void addMultiplicityPropertyDescriptor(Object object) {
itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_OwningRule_multiplicity_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_OwningRule_multiplicity_feature", "_UI_OwningRule_type"),
- ConfigurationPackage.Literals.OWNING_RULE__MULTIPLICITY,
- true,
- false,
- false,
- ItemPropertyDescriptor.INTEGRAL_VALUE_IMAGE,
- null,
- null));
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_OwningRule_multiplicity_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_OwningRule_multiplicity_feature", "_UI_OwningRule_type"),
+ ConfigurationPackage.Literals.OWNING_RULE__MULTIPLICITY,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.INTEGRAL_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
@@ -153,6 +156,7 @@ public class OwningRuleItemProvider
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -167,6 +171,7 @@ public class OwningRuleItemProvider
* This returns OwningRule.gif.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated NOT - Custom Image
*/
@Override
@@ -186,8 +191,9 @@ public class OwningRuleItemProvider
if (!rule.getStereotypes().isEmpty()) {
builder.append("<<");
for (int i = 0; i != rule.getStereotypes().size(); i++) {
- if (i != 0)
+ if (i != 0) {
builder.append(",");
+ }
builder.append(rule.getStereotypes().get(i).getName());
}
builder.append(">> ");
@@ -205,6 +211,7 @@ public class OwningRuleItemProvider
* children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -212,12 +219,12 @@ public class OwningRuleItemProvider
updateChildren(notification);
switch (notification.getFeatureID(OwningRule.class)) {
- case ConfigurationPackage.OWNING_RULE__MULTIPLICITY:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
- return;
- case ConfigurationPackage.OWNING_RULE__NEW_MODEL_PATH:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
- return;
+ case ConfigurationPackage.OWNING_RULE__MULTIPLICITY:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+ return;
+ case ConfigurationPackage.OWNING_RULE__NEW_MODEL_PATH:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
+ return;
}
super.notifyChanged(notification);
}
@@ -227,6 +234,7 @@ public class OwningRuleItemProvider
* that can be created under this object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -234,9 +242,9 @@ public class OwningRuleItemProvider
super.collectNewChildDescriptors(newChildDescriptors, object);
newChildDescriptors.add
- (createChildParameter
+ (createChildParameter
(ConfigurationPackage.Literals.OWNING_RULE__NEW_MODEL_PATH,
- ConfigurationFactory.eINSTANCE.createModelAutoCreate()));
+ ConfigurationFactory.eINSTANCE.createModelAutoCreate()));
}
}
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.edit/src/org/eclipse/papyrus/infra/viewpoints/configuration/provider/PaletteRuleItemProvider.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.edit/src/org/eclipse/papyrus/infra/viewpoints/configuration/provider/PaletteRuleItemProvider.java
index 00961726b2a..832eee4a600 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.edit/src/org/eclipse/papyrus/infra/viewpoints/configuration/provider/PaletteRuleItemProvider.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.edit/src/org/eclipse/papyrus/infra/viewpoints/configuration/provider/PaletteRuleItemProvider.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
@@ -29,14 +29,16 @@ import org.eclipse.papyrus.infra.viewpoints.configuration.PaletteRule;
* This is the item provider adapter for a {@link org.eclipse.papyrus.infra.viewpoints.configuration.PaletteRule} object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public class PaletteRuleItemProvider
- extends RuleItemProvider {
+ extends RuleItemProvider {
/**
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public PaletteRuleItemProvider(AdapterFactory adapterFactory) {
@@ -47,6 +49,7 @@ public class PaletteRuleItemProvider
* This returns the property descriptors for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -63,28 +66,30 @@ public class PaletteRuleItemProvider
* This adds a property descriptor for the Element feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected void addElementPropertyDescriptor(Object object) {
itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_PaletteRule_element_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_PaletteRule_element_feature", "_UI_PaletteRule_type"),
- ConfigurationPackage.Literals.PALETTE_RULE__ELEMENT,
- true,
- false,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null));
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_PaletteRule_element_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_PaletteRule_element_feature", "_UI_PaletteRule_type"),
+ ConfigurationPackage.Literals.PALETTE_RULE__ELEMENT,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
}
/**
* This returns PaletteRule.gif.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated NOT - Custom Image
*/
@Override
@@ -101,8 +106,9 @@ public class PaletteRuleItemProvider
public String getText(Object object) {
PaletteRule rule = (PaletteRule) object;
String data = "*";
- if (rule.getElement() != null && !rule.getElement().isEmpty())
+ if (rule.getElement() != null && !rule.getElement().isEmpty()) {
data = rule.getElement();
+ }
return "Palette: " + data + " => " + (rule.isPermit() ? "allow" : "deny");
}
@@ -111,6 +117,7 @@ public class PaletteRuleItemProvider
* children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -118,9 +125,9 @@ public class PaletteRuleItemProvider
updateChildren(notification);
switch (notification.getFeatureID(PaletteRule.class)) {
- case ConfigurationPackage.PALETTE_RULE__ELEMENT:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
- return;
+ case ConfigurationPackage.PALETTE_RULE__ELEMENT:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+ return;
}
super.notifyChanged(notification);
}
@@ -130,6 +137,7 @@ public class PaletteRuleItemProvider
* that can be created under this object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.edit/src/org/eclipse/papyrus/infra/viewpoints/configuration/provider/PapyrusConfigurationItemProvider.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.edit/src/org/eclipse/papyrus/infra/viewpoints/configuration/provider/PapyrusConfigurationItemProvider.java
index 012102451f7..cef2dc2aaa9 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.edit/src/org/eclipse/papyrus/infra/viewpoints/configuration/provider/PapyrusConfigurationItemProvider.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.edit/src/org/eclipse/papyrus/infra/viewpoints/configuration/provider/PapyrusConfigurationItemProvider.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
@@ -37,14 +37,16 @@ import org.eclipse.papyrus.infra.viewpoints.iso42010.provider.ArchitectureFramew
* This is the item provider adapter for a {@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusConfiguration} object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public class PapyrusConfigurationItemProvider
- extends ArchitectureFrameworkItemProvider {
+ extends ArchitectureFrameworkItemProvider {
/**
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public PapyrusConfigurationItemProvider(AdapterFactory adapterFactory) {
@@ -55,6 +57,7 @@ public class PapyrusConfigurationItemProvider
* This returns the property descriptors for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -72,53 +75,54 @@ public class PapyrusConfigurationItemProvider
* This adds a property descriptor for the Default Stakeholder feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected void addDefaultStakeholderPropertyDescriptor(Object object) {
itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_PapyrusConfiguration_defaultStakeholder_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_PapyrusConfiguration_defaultStakeholder_feature", "_UI_PapyrusConfiguration_type"),
- ConfigurationPackage.Literals.PAPYRUS_CONFIGURATION__DEFAULT_STAKEHOLDER,
- true,
- false,
- true,
- null,
- null,
- null));
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_PapyrusConfiguration_defaultStakeholder_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_PapyrusConfiguration_defaultStakeholder_feature", "_UI_PapyrusConfiguration_type"),
+ ConfigurationPackage.Literals.PAPYRUS_CONFIGURATION__DEFAULT_STAKEHOLDER,
+ true,
+ false,
+ true,
+ null,
+ null,
+ null));
}
/**
* This adds a property descriptor for the Metamodel feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated NOT
*/
protected void addMetamodelPropertyDescriptor(Object object) {
itemPropertyDescriptors.add
- (new EPackagePropertyDescriptor(createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_PapyrusConfiguration_metamodel_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_PapyrusConfiguration_metamodel_feature", "_UI_PapyrusConfiguration_type"),
- ConfigurationPackage.Literals.PAPYRUS_CONFIGURATION__METAMODEL,
- true,
- false,
- true,
- null,
- null,
- null)));
+ (new EPackagePropertyDescriptor(createItemPropertyDescriptor
+ (((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_PapyrusConfiguration_metamodel_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_PapyrusConfiguration_metamodel_feature", "_UI_PapyrusConfiguration_type"),
+ ConfigurationPackage.Literals.PAPYRUS_CONFIGURATION__METAMODEL,
+ true,
+ false,
+ true,
+ null,
+ 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
@@ -133,6 +137,7 @@ public class PapyrusConfigurationItemProvider
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -147,6 +152,7 @@ public class PapyrusConfigurationItemProvider
* This returns PapyrusConfiguration.gif.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated NOT - Custom Image
*/
@Override
@@ -162,8 +168,9 @@ public class PapyrusConfigurationItemProvider
@Override
public String getText(Object object) {
PapyrusConfiguration config = (PapyrusConfiguration) object;
- if (config.getMetamodel() != null)
+ if (config.getMetamodel() != null) {
return "Papyrus Configuration (" + config.getMetamodel().getNsURI() + ")";
+ }
return "Papyrus Configuration (?)";
}
@@ -172,6 +179,7 @@ public class PapyrusConfigurationItemProvider
* children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -179,9 +187,9 @@ public class PapyrusConfigurationItemProvider
updateChildren(notification);
switch (notification.getFeatureID(PapyrusConfiguration.class)) {
- case ConfigurationPackage.PAPYRUS_CONFIGURATION__CATEGORIES:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
- return;
+ case ConfigurationPackage.PAPYRUS_CONFIGURATION__CATEGORIES:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
+ return;
}
super.notifyChanged(notification);
}
@@ -195,30 +203,31 @@ public class PapyrusConfigurationItemProvider
@Override
protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
newChildDescriptors.add
- (createChildParameter
+ (createChildParameter
(Iso42010Package.Literals.ARCHITECTURE_FRAMEWORK__VIEWPOINTS,
- ConfigurationFactory.eINSTANCE.createPapyrusViewpoint()));
-
+ ConfigurationFactory.eINSTANCE.createPapyrusViewpoint()));
+
newChildDescriptors.add
- (createChildParameter
+ (createChildParameter
(Iso42010Package.Literals.ARCHITECTURE_FRAMEWORK__STAKEHOLDERS,
- Iso42010Factory.eINSTANCE.createStakeholder()));
-
+ Iso42010Factory.eINSTANCE.createStakeholder()));
+
newChildDescriptors.add
- (createChildParameter
+ (createChildParameter
(ConfigurationPackage.Literals.PAPYRUS_CONFIGURATION__CATEGORIES,
- ConfigurationFactory.eINSTANCE.createCategory()));
+ ConfigurationFactory.eINSTANCE.createCategory()));
}
/**
* Return the resource locator for this item provider's resources.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public ResourceLocator getResourceLocator() {
- return ((IChildCreationExtender)adapterFactory).getResourceLocator();
+ return ((IChildCreationExtender) adapterFactory).getResourceLocator();
}
}
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.edit/src/org/eclipse/papyrus/infra/viewpoints/configuration/provider/PapyrusDiagramItemProvider.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.edit/src/org/eclipse/papyrus/infra/viewpoints/configuration/provider/PapyrusDiagramItemProvider.java
index f7f1f2f68fc..ecd97737257 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.edit/src/org/eclipse/papyrus/infra/viewpoints/configuration/provider/PapyrusDiagramItemProvider.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.edit/src/org/eclipse/papyrus/infra/viewpoints/configuration/provider/PapyrusDiagramItemProvider.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
@@ -31,14 +31,16 @@ import org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusDiagram;
* This is the item provider adapter for a {@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusDiagram} object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public class PapyrusDiagramItemProvider
- extends PapyrusViewItemProvider {
+ extends PapyrusViewItemProvider {
/**
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public PapyrusDiagramItemProvider(AdapterFactory adapterFactory) {
@@ -49,6 +51,7 @@ public class PapyrusDiagramItemProvider
* This returns the property descriptors for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -66,52 +69,54 @@ public class PapyrusDiagramItemProvider
* This adds a property descriptor for the Custom Palette feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected void addCustomPalettePropertyDescriptor(Object object) {
itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_PapyrusDiagram_customPalette_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_PapyrusDiagram_customPalette_feature", "_UI_PapyrusDiagram_type"),
- ConfigurationPackage.Literals.PAPYRUS_DIAGRAM__CUSTOM_PALETTE,
- true,
- false,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null));
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_PapyrusDiagram_customPalette_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_PapyrusDiagram_customPalette_feature", "_UI_PapyrusDiagram_type"),
+ ConfigurationPackage.Literals.PAPYRUS_DIAGRAM__CUSTOM_PALETTE,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
}
/**
* This adds a property descriptor for the Custom Style feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected void addCustomStylePropertyDescriptor(Object object) {
itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_PapyrusDiagram_customStyle_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_PapyrusDiagram_customStyle_feature", "_UI_PapyrusDiagram_type"),
- ConfigurationPackage.Literals.PAPYRUS_DIAGRAM__CUSTOM_STYLE,
- true,
- false,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null));
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_PapyrusDiagram_customStyle_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_PapyrusDiagram_customStyle_feature", "_UI_PapyrusDiagram_type"),
+ ConfigurationPackage.Literals.PAPYRUS_DIAGRAM__CUSTOM_STYLE,
+ 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
@@ -127,6 +132,7 @@ public class PapyrusDiagramItemProvider
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -141,6 +147,7 @@ public class PapyrusDiagramItemProvider
* This returns PapyrusDiagram.gif.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated NOT - Custom Image
*/
@Override
@@ -163,6 +170,7 @@ public class PapyrusDiagramItemProvider
* children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -170,14 +178,14 @@ public class PapyrusDiagramItemProvider
updateChildren(notification);
switch (notification.getFeatureID(PapyrusDiagram.class)) {
- case ConfigurationPackage.PAPYRUS_DIAGRAM__CUSTOM_PALETTE:
- case ConfigurationPackage.PAPYRUS_DIAGRAM__CUSTOM_STYLE:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
- return;
- case ConfigurationPackage.PAPYRUS_DIAGRAM__CHILD_RULES:
- case ConfigurationPackage.PAPYRUS_DIAGRAM__PALETTE_RULES:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
- return;
+ case ConfigurationPackage.PAPYRUS_DIAGRAM__CUSTOM_PALETTE:
+ case ConfigurationPackage.PAPYRUS_DIAGRAM__CUSTOM_STYLE:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+ return;
+ case ConfigurationPackage.PAPYRUS_DIAGRAM__CHILD_RULES:
+ case ConfigurationPackage.PAPYRUS_DIAGRAM__PALETTE_RULES:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
+ return;
}
super.notifyChanged(notification);
}
@@ -187,6 +195,7 @@ public class PapyrusDiagramItemProvider
* that can be created under this object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -194,14 +203,14 @@ public class PapyrusDiagramItemProvider
super.collectNewChildDescriptors(newChildDescriptors, object);
newChildDescriptors.add
- (createChildParameter
+ (createChildParameter
(ConfigurationPackage.Literals.PAPYRUS_DIAGRAM__CHILD_RULES,
- ConfigurationFactory.eINSTANCE.createChildRule()));
+ ConfigurationFactory.eINSTANCE.createChildRule()));
newChildDescriptors.add
- (createChildParameter
+ (createChildParameter
(ConfigurationPackage.Literals.PAPYRUS_DIAGRAM__PALETTE_RULES,
- ConfigurationFactory.eINSTANCE.createPaletteRule()));
+ ConfigurationFactory.eINSTANCE.createPaletteRule()));
}
}
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.edit/src/org/eclipse/papyrus/infra/viewpoints/configuration/provider/PapyrusSyncTableItemProvider.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.edit/src/org/eclipse/papyrus/infra/viewpoints/configuration/provider/PapyrusSyncTableItemProvider.java
index 7cf86032b39..29147cc697d 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.edit/src/org/eclipse/papyrus/infra/viewpoints/configuration/provider/PapyrusSyncTableItemProvider.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.edit/src/org/eclipse/papyrus/infra/viewpoints/configuration/provider/PapyrusSyncTableItemProvider.java
@@ -1,15 +1,15 @@
/**
* 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
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- *
- *
+ *
+ *
*/
package org.eclipse.papyrus.infra.viewpoints.configuration.provider;
@@ -25,14 +25,16 @@ import org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusSyncTable;
* This is the item provider adapter for a {@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusSyncTable} object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public class PapyrusSyncTableItemProvider
- extends PapyrusViewItemProvider {
+ extends PapyrusViewItemProvider {
/**
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public PapyrusSyncTableItemProvider(AdapterFactory adapterFactory) {
@@ -43,6 +45,7 @@ public class PapyrusSyncTableItemProvider
* This returns the property descriptors for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -58,6 +61,7 @@ public class PapyrusSyncTableItemProvider
* This returns PapyrusSyncTable.gif.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated NOT - Custom Image
*/
@Override
@@ -80,6 +84,7 @@ public class PapyrusSyncTableItemProvider
* children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -93,6 +98,7 @@ public class PapyrusSyncTableItemProvider
* that can be created under this object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.edit/src/org/eclipse/papyrus/infra/viewpoints/configuration/provider/PapyrusTableItemProvider.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.edit/src/org/eclipse/papyrus/infra/viewpoints/configuration/provider/PapyrusTableItemProvider.java
index 5e4d5b22280..b7f5ccf4856 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.edit/src/org/eclipse/papyrus/infra/viewpoints/configuration/provider/PapyrusTableItemProvider.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.edit/src/org/eclipse/papyrus/infra/viewpoints/configuration/provider/PapyrusTableItemProvider.java
@@ -1,15 +1,15 @@
/**
* 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
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- *
- *
+ *
+ *
*/
package org.eclipse.papyrus.infra.viewpoints.configuration.provider;
@@ -29,14 +29,16 @@ import org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusTable;
* This is the item provider adapter for a {@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusTable} object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public class PapyrusTableItemProvider
- extends PapyrusViewItemProvider {
+ extends PapyrusViewItemProvider {
/**
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public PapyrusTableItemProvider(AdapterFactory adapterFactory) {
@@ -47,6 +49,7 @@ public class PapyrusTableItemProvider
* This returns the property descriptors for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -63,28 +66,30 @@ public class PapyrusTableItemProvider
* This adds a property descriptor for the Configuration feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected void addConfigurationPropertyDescriptor(Object object) {
itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_PapyrusTable_configuration_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_PapyrusTable_configuration_feature", "_UI_PapyrusTable_type"),
- ConfigurationPackage.Literals.PAPYRUS_TABLE__CONFIGURATION,
- true,
- false,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null));
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_PapyrusTable_configuration_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_PapyrusTable_configuration_feature", "_UI_PapyrusTable_type"),
+ ConfigurationPackage.Literals.PAPYRUS_TABLE__CONFIGURATION,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
}
/**
* This returns PapyrusTable.gif.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated NOT - Custom Image
*/
@Override
@@ -107,6 +112,7 @@ public class PapyrusTableItemProvider
* children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -114,9 +120,9 @@ public class PapyrusTableItemProvider
updateChildren(notification);
switch (notification.getFeatureID(PapyrusTable.class)) {
- case ConfigurationPackage.PAPYRUS_TABLE__CONFIGURATION:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
- return;
+ case ConfigurationPackage.PAPYRUS_TABLE__CONFIGURATION:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+ return;
}
super.notifyChanged(notification);
}
@@ -126,6 +132,7 @@ public class PapyrusTableItemProvider
* that can be created under this object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.edit/src/org/eclipse/papyrus/infra/viewpoints/configuration/provider/PapyrusViewItemProvider.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.edit/src/org/eclipse/papyrus/infra/viewpoints/configuration/provider/PapyrusViewItemProvider.java
index 83864b65f72..17f362dd373 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.edit/src/org/eclipse/papyrus/infra/viewpoints/configuration/provider/PapyrusViewItemProvider.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.edit/src/org/eclipse/papyrus/infra/viewpoints/configuration/provider/PapyrusViewItemProvider.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
@@ -37,14 +37,16 @@ import org.eclipse.papyrus.infra.viewpoints.iso42010.provider.ModelKindItemProvi
* This is the item provider adapter for a {@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusView} object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public class PapyrusViewItemProvider
- extends ModelKindItemProvider {
+ extends ModelKindItemProvider {
/**
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public PapyrusViewItemProvider(AdapterFactory adapterFactory) {
@@ -55,6 +57,7 @@ public class PapyrusViewItemProvider
* This returns the property descriptors for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -75,119 +78,123 @@ public class PapyrusViewItemProvider
* 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_PapyrusView_icon_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_PapyrusView_icon_feature", "_UI_PapyrusView_type"),
- ConfigurationPackage.Literals.PAPYRUS_VIEW__ICON,
- true,
- false,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null));
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_PapyrusView_icon_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_PapyrusView_icon_feature", "_UI_PapyrusView_type"),
+ ConfigurationPackage.Literals.PAPYRUS_VIEW__ICON,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
}
/**
* This adds a property descriptor for the Parent feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected void addParentPropertyDescriptor(Object object) {
itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_PapyrusView_parent_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_PapyrusView_parent_feature", "_UI_PapyrusView_type"),
- ConfigurationPackage.Literals.PAPYRUS_VIEW__PARENT,
- true,
- false,
- true,
- null,
- null,
- null));
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_PapyrusView_parent_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_PapyrusView_parent_feature", "_UI_PapyrusView_type"),
+ ConfigurationPackage.Literals.PAPYRUS_VIEW__PARENT,
+ true,
+ false,
+ true,
+ null,
+ null,
+ null));
}
/**
* This adds a property descriptor for the Profiles feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated NOT
*/
protected void addProfilesPropertyDescriptor(Object object) {
itemPropertyDescriptors.add
- (new ProfilePropertyDescriptor(createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_PapyrusView_profiles_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_PapyrusView_profiles_feature", "_UI_PapyrusView_type"),
- ConfigurationPackage.Literals.PAPYRUS_VIEW__PROFILES,
- true,
- false,
- true,
- null,
- null,
- null)));
+ (new ProfilePropertyDescriptor(createItemPropertyDescriptor
+ (((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_PapyrusView_profiles_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_PapyrusView_profiles_feature", "_UI_PapyrusView_type"),
+ ConfigurationPackage.Literals.PAPYRUS_VIEW__PROFILES,
+ true,
+ false,
+ true,
+ null,
+ null,
+ null)));
}
/**
* This adds a property descriptor for the Implementation ID feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected void addImplementationIDPropertyDescriptor(Object object) {
itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_PapyrusView_implementationID_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_PapyrusView_implementationID_feature", "_UI_PapyrusView_type"),
- ConfigurationPackage.Literals.PAPYRUS_VIEW__IMPLEMENTATION_ID,
- true,
- false,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null));
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_PapyrusView_implementationID_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_PapyrusView_implementationID_feature", "_UI_PapyrusView_type"),
+ ConfigurationPackage.Literals.PAPYRUS_VIEW__IMPLEMENTATION_ID,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
}
/**
* This adds a property descriptor for the Categories feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected void addCategoriesPropertyDescriptor(Object object) {
itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_PapyrusView_categories_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_PapyrusView_categories_feature", "_UI_PapyrusView_type"),
- ConfigurationPackage.Literals.PAPYRUS_VIEW__CATEGORIES,
- true,
- false,
- true,
- null,
- null,
- null));
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_PapyrusView_categories_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_PapyrusView_categories_feature", "_UI_PapyrusView_type"),
+ ConfigurationPackage.Literals.PAPYRUS_VIEW__CATEGORIES,
+ true,
+ false,
+ true,
+ null,
+ 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
@@ -203,6 +210,7 @@ public class PapyrusViewItemProvider
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -217,6 +225,7 @@ public class PapyrusViewItemProvider
* This returns PapyrusView.gif.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated NOT - Custom Image
*/
@Override
@@ -228,14 +237,15 @@ public class PapyrusViewItemProvider
* This returns the label text for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public String getText(Object object) {
- String label = ((PapyrusView)object).getName();
+ String label = ((PapyrusView) object).getName();
return label == null || label.length() == 0 ?
- getString("_UI_PapyrusView_type") :
- getString("_UI_PapyrusView_type") + " " + label;
+ getString("_UI_PapyrusView_type") :
+ getString("_UI_PapyrusView_type") + " " + label;
}
/**
@@ -245,8 +255,9 @@ public class PapyrusViewItemProvider
*/
protected static String getTextFor(PapyrusView view) {
PapyrusViewpoint vp = (PapyrusViewpoint) view.eContainer();
- if (view.getName() == null)
+ if (view.getName() == null) {
return (vp.getName() + " :: <natural> [" + view.getImplementationID() + "]");
+ }
return (vp.getName() + " :: " + view.getName());
}
@@ -255,6 +266,7 @@ public class PapyrusViewItemProvider
* children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -262,14 +274,14 @@ public class PapyrusViewItemProvider
updateChildren(notification);
switch (notification.getFeatureID(PapyrusView.class)) {
- case ConfigurationPackage.PAPYRUS_VIEW__ICON:
- case ConfigurationPackage.PAPYRUS_VIEW__IMPLEMENTATION_ID:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
- return;
- case ConfigurationPackage.PAPYRUS_VIEW__MODEL_RULES:
- case ConfigurationPackage.PAPYRUS_VIEW__OWNING_RULES:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
- return;
+ case ConfigurationPackage.PAPYRUS_VIEW__ICON:
+ case ConfigurationPackage.PAPYRUS_VIEW__IMPLEMENTATION_ID:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+ return;
+ case ConfigurationPackage.PAPYRUS_VIEW__MODEL_RULES:
+ case ConfigurationPackage.PAPYRUS_VIEW__OWNING_RULES:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
+ return;
}
super.notifyChanged(notification);
}
@@ -279,6 +291,7 @@ public class PapyrusViewItemProvider
* that can be created under this object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -286,25 +299,26 @@ public class PapyrusViewItemProvider
super.collectNewChildDescriptors(newChildDescriptors, object);
newChildDescriptors.add
- (createChildParameter
+ (createChildParameter
(ConfigurationPackage.Literals.PAPYRUS_VIEW__MODEL_RULES,
- ConfigurationFactory.eINSTANCE.createModelRule()));
+ ConfigurationFactory.eINSTANCE.createModelRule()));
newChildDescriptors.add
- (createChildParameter
+ (createChildParameter
(ConfigurationPackage.Literals.PAPYRUS_VIEW__OWNING_RULES,
- ConfigurationFactory.eINSTANCE.createOwningRule()));
+ ConfigurationFactory.eINSTANCE.createOwningRule()));
}
/**
* Return the resource locator for this item provider's resources.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public ResourceLocator getResourceLocator() {
- return ((IChildCreationExtender)adapterFactory).getResourceLocator();
+ return ((IChildCreationExtender) adapterFactory).getResourceLocator();
}
}
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.edit/src/org/eclipse/papyrus/infra/viewpoints/configuration/provider/PapyrusViewpointItemProvider.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.edit/src/org/eclipse/papyrus/infra/viewpoints/configuration/provider/PapyrusViewpointItemProvider.java
index 3b83ee2076d..41d9ee38fd6 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.edit/src/org/eclipse/papyrus/infra/viewpoints/configuration/provider/PapyrusViewpointItemProvider.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.edit/src/org/eclipse/papyrus/infra/viewpoints/configuration/provider/PapyrusViewpointItemProvider.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
@@ -32,14 +32,16 @@ import org.eclipse.papyrus.infra.viewpoints.iso42010.provider.ArchitectureViewpo
* This is the item provider adapter for a {@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusViewpoint} object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public class PapyrusViewpointItemProvider
- extends ArchitectureViewpointItemProvider {
+ extends ArchitectureViewpointItemProvider {
/**
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public PapyrusViewpointItemProvider(AdapterFactory adapterFactory) {
@@ -50,6 +52,7 @@ public class PapyrusViewpointItemProvider
* This returns the property descriptors for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -66,28 +69,30 @@ public class PapyrusViewpointItemProvider
* This adds a property descriptor for the Parent feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected void addParentPropertyDescriptor(Object object) {
itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_PapyrusViewpoint_parent_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_PapyrusViewpoint_parent_feature", "_UI_PapyrusViewpoint_type"),
- ConfigurationPackage.Literals.PAPYRUS_VIEWPOINT__PARENT,
- true,
- false,
- true,
- null,
- null,
- null));
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_PapyrusViewpoint_parent_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_PapyrusViewpoint_parent_feature", "_UI_PapyrusViewpoint_type"),
+ ConfigurationPackage.Literals.PAPYRUS_VIEWPOINT__PARENT,
+ true,
+ false,
+ true,
+ null,
+ null,
+ null));
}
/**
* This returns PapyrusViewpoint.gif.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated NOT - Custom Image
*/
@Override
@@ -102,7 +107,7 @@ public class PapyrusViewpointItemProvider
*/
@Override
public String getText(Object object) {
- String label = ((PapyrusViewpoint)object).getName();
+ String label = ((PapyrusViewpoint) object).getName();
return label == null || label.length() == 0 ? getString("_UI_PapyrusViewpoint_type") : label;
}
@@ -111,6 +116,7 @@ public class PapyrusViewpointItemProvider
* children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -128,28 +134,29 @@ public class PapyrusViewpointItemProvider
@Override
protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
newChildDescriptors.add
- (createChildParameter
+ (createChildParameter
(Iso42010Package.Literals.ARCHITECTURE_VIEWPOINT__MODEL_KINDS,
- ConfigurationFactory.eINSTANCE.createPapyrusDiagram()));
+ ConfigurationFactory.eINSTANCE.createPapyrusDiagram()));
newChildDescriptors.add
- (createChildParameter
- (Iso42010Package.Literals.ARCHITECTURE_VIEWPOINT__MODEL_KINDS,
- ConfigurationFactory.eINSTANCE.createPapyrusTable()));
+ (createChildParameter
+ (Iso42010Package.Literals.ARCHITECTURE_VIEWPOINT__MODEL_KINDS,
+ ConfigurationFactory.eINSTANCE.createPapyrusTable()));
newChildDescriptors.add
- (createChildParameter
- (Iso42010Package.Literals.ARCHITECTURE_VIEWPOINT__MODEL_KINDS,
- ConfigurationFactory.eINSTANCE.createPapyrusSyncTable()));
+ (createChildParameter
+ (Iso42010Package.Literals.ARCHITECTURE_VIEWPOINT__MODEL_KINDS,
+ ConfigurationFactory.eINSTANCE.createPapyrusSyncTable()));
}
/**
* Return the resource locator for this item provider's resources.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public ResourceLocator getResourceLocator() {
- return ((IChildCreationExtender)adapterFactory).getResourceLocator();
+ return ((IChildCreationExtender) adapterFactory).getResourceLocator();
}
}
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.edit/src/org/eclipse/papyrus/infra/viewpoints/configuration/provider/PathElementItemProvider.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.edit/src/org/eclipse/papyrus/infra/viewpoints/configuration/provider/PathElementItemProvider.java
index 82ffea1e57f..3ad28d41eb3 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.edit/src/org/eclipse/papyrus/infra/viewpoints/configuration/provider/PathElementItemProvider.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.edit/src/org/eclipse/papyrus/infra/viewpoints/configuration/provider/PathElementItemProvider.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
@@ -39,11 +39,12 @@ import org.eclipse.papyrus.infra.viewpoints.configuration.PathElement;
* This is the item provider adapter for a {@link org.eclipse.papyrus.infra.viewpoints.configuration.PathElement} object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public class PathElementItemProvider
- extends ItemProviderAdapter
- implements
+ extends ItemProviderAdapter
+ implements
IEditingDomainItemProvider,
IStructuredItemContentProvider,
ITreeItemContentProvider,
@@ -53,6 +54,7 @@ public class PathElementItemProvider
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public PathElementItemProvider(AdapterFactory adapterFactory) {
@@ -63,6 +65,7 @@ public class PathElementItemProvider
* This returns the property descriptors for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -81,23 +84,23 @@ public class PathElementItemProvider
* This adds a property descriptor for the Feature feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated NOT
*/
protected void addFeaturePropertyDescriptor(Object object) {
itemPropertyDescriptors.add
- (new EReferencePropertyDescriptor(createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_PathElement_feature_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_PathElement_feature_feature", "_UI_PathElement_type"),
- ConfigurationPackage.Literals.PATH_ELEMENT__FEATURE,
- true,
- false,
- true,
- null,
- null,
- null)));
+ (new EReferencePropertyDescriptor(createItemPropertyDescriptor
+ (((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_PathElement_feature_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_PathElement_feature_feature", "_UI_PathElement_type"),
+ ConfigurationPackage.Literals.PATH_ELEMENT__FEATURE,
+ true,
+ false,
+ true,
+ null,
+ null,
+ null)));
}
/**
@@ -107,48 +110,50 @@ public class PathElementItemProvider
*/
protected void addOriginPropertyDescriptor(Object object) {
itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_PathElement_origin_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_PathElement_origin_feature", "_UI_PathElement_type"),
- ConfigurationPackage.Literals.PATH_ELEMENT__ORIGIN,
- false,
- false,
- false,
- null,
- null,
- null));
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_PathElement_origin_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_PathElement_origin_feature", "_UI_PathElement_type"),
+ ConfigurationPackage.Literals.PATH_ELEMENT__ORIGIN,
+ false,
+ false,
+ false,
+ null,
+ null,
+ null));
}
/**
* This adds a property descriptor for the Target feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected void addTargetPropertyDescriptor(Object object) {
itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_PathElement_target_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_PathElement_target_feature", "_UI_PathElement_type"),
- ConfigurationPackage.Literals.PATH_ELEMENT__TARGET,
- false,
- false,
- false,
- null,
- null,
- null));
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_PathElement_target_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_PathElement_target_feature", "_UI_PathElement_type"),
+ ConfigurationPackage.Literals.PATH_ELEMENT__TARGET,
+ false,
+ false,
+ false,
+ null,
+ null,
+ null));
}
/**
* This returns PathElement.gif.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated NOT - Custom Image
- */
+ */
@Override
public Object getImage(Object object) {
return overlayImage(object, getResourceLocator().getImage("full/obj16/PathElement.png"));
@@ -179,6 +184,7 @@ public class PathElementItemProvider
* children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -192,6 +198,7 @@ public class PathElementItemProvider
* that can be created under this object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -203,11 +210,12 @@ public class PathElementItemProvider
* Return the resource locator for this item provider's resources.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public ResourceLocator getResourceLocator() {
- return ((IChildCreationExtender)adapterFactory).getResourceLocator();
+ return ((IChildCreationExtender) adapterFactory).getResourceLocator();
}
}
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.edit/src/org/eclipse/papyrus/infra/viewpoints/configuration/provider/RuleItemProvider.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.edit/src/org/eclipse/papyrus/infra/viewpoints/configuration/provider/RuleItemProvider.java
index 277abf949fc..5e80cfbd325 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.edit/src/org/eclipse/papyrus/infra/viewpoints/configuration/provider/RuleItemProvider.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.edit/src/org/eclipse/papyrus/infra/viewpoints/configuration/provider/RuleItemProvider.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
@@ -41,11 +41,12 @@ import org.eclipse.papyrus.infra.viewpoints.configuration.Rule;
* This is the item provider adapter for a {@link org.eclipse.papyrus.infra.viewpoints.configuration.Rule} object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public class RuleItemProvider
- extends ItemProviderAdapter
- implements
+ extends ItemProviderAdapter
+ implements
IEditingDomainItemProvider,
IStructuredItemContentProvider,
ITreeItemContentProvider,
@@ -55,6 +56,7 @@ public class RuleItemProvider
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public RuleItemProvider(AdapterFactory adapterFactory) {
@@ -65,6 +67,7 @@ public class RuleItemProvider
* This returns the property descriptors for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -81,33 +84,35 @@ public class RuleItemProvider
* This adds a property descriptor for the Permit feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected void addPermitPropertyDescriptor(Object object) {
itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_Rule_permit_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_Rule_permit_feature", "_UI_Rule_type"),
- ConfigurationPackage.Literals.RULE__PERMIT,
- true,
- false,
- false,
- ItemPropertyDescriptor.BOOLEAN_VALUE_IMAGE,
- null,
- null));
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_Rule_permit_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_Rule_permit_feature", "_UI_Rule_type"),
+ ConfigurationPackage.Literals.RULE__PERMIT,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.BOOLEAN_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) {
- Rule rule = (Rule)object;
+ Rule rule = (Rule) object;
return getString("_UI_Rule_type") + " " + rule.isPermit();
}
@@ -116,6 +121,7 @@ public class RuleItemProvider
* children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -123,9 +129,9 @@ public class RuleItemProvider
updateChildren(notification);
switch (notification.getFeatureID(Rule.class)) {
- case ConfigurationPackage.RULE__PERMIT:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
- return;
+ case ConfigurationPackage.RULE__PERMIT:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+ return;
}
super.notifyChanged(notification);
}
@@ -135,6 +141,7 @@ public class RuleItemProvider
* that can be created under this object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -146,11 +153,12 @@ public class RuleItemProvider
* Return the resource locator for this item provider's resources.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public ResourceLocator getResourceLocator() {
- return ((IChildCreationExtender)adapterFactory).getResourceLocator();
+ return ((IChildCreationExtender) adapterFactory).getResourceLocator();
}
}
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.editor/src/org/eclipse/papyrus/infra/viewpoints/configuration/presentation/ConfigurationActionBarContributor.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.editor/src/org/eclipse/papyrus/infra/viewpoints/configuration/presentation/ConfigurationActionBarContributor.java
index 9d1858515c4..9c86c3d0a95 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.editor/src/org/eclipse/papyrus/infra/viewpoints/configuration/presentation/ConfigurationActionBarContributor.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.editor/src/org/eclipse/papyrus/infra/viewpoints/configuration/presentation/ConfigurationActionBarContributor.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
@@ -54,15 +54,17 @@ import org.eclipse.ui.PartInitException;
* This is the action bar contributor for the Configuration model editor.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public class ConfigurationActionBarContributor
- 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;
@@ -71,6 +73,7 @@ public class ConfigurationActionBarContributor
* This keeps track of the current selection provider.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected ISelectionProvider selectionProvider;
@@ -79,51 +82,54 @@ public class ConfigurationActionBarContributor
* This action opens the Properties view.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected IAction showPropertiesViewAction =
- new Action(ConfigurationEditorPlugin.INSTANCE.getString("_UI_ShowPropertiesView_menu_item")) {
- @Override
- public void run() {
- try {
- getPage().showView("org.eclipse.ui.views.PropertySheet");
- }
- catch (PartInitException exception) {
- ConfigurationEditorPlugin.INSTANCE.log(exception);
+ new Action(ConfigurationEditorPlugin.INSTANCE.getString("_UI_ShowPropertiesView_menu_item")) {
+ @Override
+ public void run() {
+ try {
+ getPage().showView("org.eclipse.ui.views.PropertySheet");
+ }
+ catch (PartInitException exception) {
+ ConfigurationEditorPlugin.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(ConfigurationEditorPlugin.INSTANCE.getString("_UI_RefreshViewer_menu_item")) {
- @Override
- public boolean isEnabled() {
- return activeEditorPart instanceof IViewerProvider;
- }
+ new Action(ConfigurationEditorPlugin.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;
@@ -132,6 +138,7 @@ public class ConfigurationActionBarContributor
* 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;
@@ -141,6 +148,7 @@ public class ConfigurationActionBarContributor
* generated for the current selection by the item provider.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected Collection<IAction> createSiblingActions;
@@ -149,6 +157,7 @@ public class ConfigurationActionBarContributor
* 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;
@@ -157,6 +166,7 @@ public class ConfigurationActionBarContributor
* This creates an instance of the contributor.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public ConfigurationActionBarContributor() {
@@ -170,6 +180,7 @@ public class ConfigurationActionBarContributor
* This adds Separators for editor additions to the tool bar.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -183,6 +194,7 @@ public class ConfigurationActionBarContributor
* as well as the sub-menus for object creation items.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -209,11 +221,11 @@ public class ConfigurationActionBarContributor
// Force an update because Eclipse hides empty menus now.
//
submenuManager.addMenuListener
- (new IMenuListener() {
- public void menuAboutToShow(IMenuManager menuManager) {
- menuManager.updateAll(true);
- }
- });
+ (new IMenuListener() {
+ public void menuAboutToShow(IMenuManager menuManager) {
+ menuManager.updateAll(true);
+ }
+ });
addGlobalActions(submenuManager);
}
@@ -222,6 +234,7 @@ public class ConfigurationActionBarContributor
* 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
@@ -255,6 +268,7 @@ public class ConfigurationActionBarContributor
* 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) {
@@ -273,10 +287,10 @@ public class ConfigurationActionBarContributor
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);
@@ -302,6 +316,7 @@ public class ConfigurationActionBarContributor
* and returns the collection of these actions.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected Collection<IAction> generateCreateChildActions(Collection<?> descriptors, ISelection selection) {
@@ -319,6 +334,7 @@ public class ConfigurationActionBarContributor
* and returns the collection of these actions.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected Collection<IAction> generateCreateSiblingActions(Collection<?> descriptors, ISelection selection) {
@@ -338,6 +354,7 @@ public class ConfigurationActionBarContributor
* 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) {
@@ -352,12 +369,13 @@ public class ConfigurationActionBarContributor
}
}
}
-
+
/**
* 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) {
@@ -368,13 +386,13 @@ public class ConfigurationActionBarContributor
//
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);
}
@@ -387,6 +405,7 @@ public class ConfigurationActionBarContributor
* This populates the pop-up menu before it appears.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -407,6 +426,7 @@ public class ConfigurationActionBarContributor
* This inserts global actions before the "additions-end" separator.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -414,7 +434,7 @@ public class ConfigurationActionBarContributor
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);
@@ -424,6 +444,7 @@ public class ConfigurationActionBarContributor
* 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/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.editor/src/org/eclipse/papyrus/infra/viewpoints/configuration/presentation/ConfigurationEditor.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.editor/src/org/eclipse/papyrus/infra/viewpoints/configuration/presentation/ConfigurationEditor.java
index 07e0af3313e..83f3a426e24 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.editor/src/org/eclipse/papyrus/infra/viewpoints/configuration/presentation/ConfigurationEditor.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.editor/src/org/eclipse/papyrus/infra/viewpoints/configuration/presentation/ConfigurationEditor.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
@@ -137,15 +137,17 @@ import org.eclipse.ui.views.properties.PropertySheetPage;
* This is an example of a Configuration model editor.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public class ConfigurationEditor
- 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;
@@ -154,6 +156,7 @@ public class ConfigurationEditor
* This is the one adapter factory used for providing views of the model.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected ComposedAdapterFactory adapterFactory;
@@ -162,6 +165,7 @@ public class ConfigurationEditor
* This is the content outline page.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected IContentOutlinePage contentOutlinePage;
@@ -170,6 +174,7 @@ public class ConfigurationEditor
* This is a kludge...
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected IStatusLineManager contentOutlineStatusLineManager;
@@ -178,6 +183,7 @@ public class ConfigurationEditor
* This is the content outline page's viewer.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected TreeViewer contentOutlineViewer;
@@ -186,6 +192,7 @@ public class ConfigurationEditor
* This is the property sheet page.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected List<PropertySheetPage> propertySheetPages = new ArrayList<PropertySheetPage>();
@@ -195,6 +202,7 @@ public class ConfigurationEditor
* The parent relation must be correctly defined for this to work.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected TreeViewer selectionViewer;
@@ -203,6 +211,7 @@ public class ConfigurationEditor
* 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;
@@ -211,6 +220,7 @@ public class ConfigurationEditor
* This shows how a tree view works.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected TreeViewer treeViewer;
@@ -220,6 +230,7 @@ public class ConfigurationEditor
* A list viewer doesn't support icons.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected ListViewer listViewer;
@@ -229,6 +240,7 @@ public class ConfigurationEditor
* A table can be used as a list with icons.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected TableViewer tableViewer;
@@ -237,6 +249,7 @@ public class ConfigurationEditor
* This shows how a tree view with columns works.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected TreeViewer treeViewerWithColumns;
@@ -245,6 +258,7 @@ public class ConfigurationEditor
* This keeps track of the active viewer pane, in the book.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected ViewerPane currentViewerPane;
@@ -253,6 +267,7 @@ public class ConfigurationEditor
* 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;
@@ -261,6 +276,7 @@ public class ConfigurationEditor
* This listens to which ever viewer is active.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected ISelectionChangedListener selectionChangedListener;
@@ -269,6 +285,7 @@ public class ConfigurationEditor
* 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>();
@@ -277,6 +294,7 @@ public class ConfigurationEditor
* This keeps track of the selection of the editor as a whole.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected ISelection editorSelection = StructuredSelection.EMPTY;
@@ -286,6 +304,7 @@ public class ConfigurationEditor
* in Eclipse's Problems View.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected MarkerHelper markerHelper = new EditUIMarkerHelper();
@@ -294,46 +313,52 @@ public class ConfigurationEditor
* 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(ConfigurationEditor.this);
+ new IPartListener() {
+ public void partActivated(IWorkbenchPart p) {
+ if (p instanceof ContentOutline) {
+ if (((ContentOutline) p).getCurrentPage() == contentOutlinePage) {
+ getActionBarContributor().setActiveEditor(ConfigurationEditor.this);
- setCurrentViewer(contentOutlineViewer);
+ setCurrentViewer(contentOutlineViewer);
+ }
}
- }
- else if (p instanceof PropertySheet) {
- if (propertySheetPages.contains(((PropertySheet)p).getCurrentPage())) {
- getActionBarContributor().setActiveEditor(ConfigurationEditor.this);
+ else if (p instanceof PropertySheet) {
+ if (propertySheetPages.contains(((PropertySheet) p).getCurrentPage())) {
+ getActionBarContributor().setActiveEditor(ConfigurationEditor.this);
+ handleActivate();
+ }
+ }
+ else if (p == ConfigurationEditor.this) {
handleActivate();
}
}
- else if (p == ConfigurationEditor.this) {
- handleActivate();
+
+ 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.
- }
- };
+
+ public void partClosed(IWorkbenchPart p) {
+ // Ignore.
+ }
+
+ public void partDeactivated(IWorkbenchPart p) {
+ // Ignore.
+ }
+
+ 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>();
@@ -342,6 +367,7 @@ public class ConfigurationEditor
* Resources that have been changed since last activation.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected Collection<Resource> changedResources = new ArrayList<Resource>();
@@ -350,6 +376,7 @@ public class ConfigurationEditor
* Resources that have been saved.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected Collection<Resource> savedResources = new ArrayList<Resource>();
@@ -358,6 +385,7 @@ public class ConfigurationEditor
* 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>();
@@ -366,6 +394,7 @@ public class ConfigurationEditor
* Controls whether the problem indication should be updated.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected boolean updateProblemIndication = true;
@@ -374,18 +403,19 @@ public class ConfigurationEditor
* 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)) {
+ 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);
@@ -396,134 +426,136 @@ public class ConfigurationEditor
if (updateProblemIndication) {
getSite().getShell().getDisplay().asyncExec
- (new Runnable() {
- public void run() {
- updateProblemIndication();
- }
- });
+ (new Runnable() {
+ 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);
- resourceToDiagnosticMap.remove(target);
- if (updateProblemIndication) {
- getSite().getShell().getDisplay().asyncExec
- (new Runnable() {
- public void run() {
- updateProblemIndication();
- }
- });
+ @Override
+ protected void unsetTarget(Resource target) {
+ basicUnsetTarget(target);
+ resourceToDiagnosticMap.remove(target);
+ if (updateProblemIndication) {
+ getSite().getShell().getDisplay().asyncExec
+ (new Runnable() {
+ public void run() {
+ updateProblemIndication();
+ }
+ });
+ }
}
- }
- };
+ };
/**
* 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() {
+ 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);
+ }
}
}
+ return false;
}
- return false;
+
+ 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);
- 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(ConfigurationEditor.this, false);
+ }
+ }
+ });
+ }
- if (!visitor.getRemovedResources().isEmpty()) {
- getSite().getShell().getDisplay().asyncExec
- (new Runnable() {
- public void run() {
- removedResources.addAll(visitor.getRemovedResources());
- if (!isDirty()) {
- getSite().getPage().closeEditor(ConfigurationEditor.this, false);
- }
- }
- });
+ if (!visitor.getChangedResources().isEmpty()) {
+ getSite().getShell().getDisplay().asyncExec
+ (new Runnable() {
+ public void run() {
+ changedResources.addAll(visitor.getChangedResources());
+ if (getSite().getPage().getActiveEditor() == ConfigurationEditor.this) {
+ handleActivate();
+ }
+ }
+ });
+ }
}
-
- if (!visitor.getChangedResources().isEmpty()) {
- getSite().getShell().getDisplay().asyncExec
- (new Runnable() {
- public void run() {
- changedResources.addAll(visitor.getChangedResources());
- if (getSite().getPage().getActiveEditor() == ConfigurationEditor.this) {
- handleActivate();
- }
- }
- });
+ catch (CoreException exception) {
+ ConfigurationEditorPlugin.INSTANCE.log(exception);
}
}
- catch (CoreException exception) {
- ConfigurationEditorPlugin.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()) {
@@ -548,6 +580,7 @@ public class ConfigurationEditor
* Handles what to do with changed resources on activation.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected void handleChangedResources() {
@@ -563,8 +596,7 @@ public class ConfigurationEditor
resource.unload();
try {
resource.load(Collections.EMPTY_MAP);
- }
- catch (IOException exception) {
+ } catch (IOException exception) {
if (!resourceToDiagnosticMap.containsKey(resource)) {
resourceToDiagnosticMap.put(resource, analyzeResourceProblems(resource, exception));
}
@@ -585,17 +617,18 @@ public class ConfigurationEditor
* 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.infra.viewpoints.configuration.editor",
- 0,
- null,
- new Object [] { editingDomain.getResourceSet() });
+ "org.eclipse.papyrus.infra.viewpoints.configuration.editor",
+ 0,
+ null,
+ new Object[] { editingDomain.getResourceSet() });
for (Diagnostic childDiagnostic : resourceToDiagnosticMap.values()) {
if (childDiagnostic.getSeverity() != Diagnostic.OK) {
diagnostic.add(childDiagnostic);
@@ -604,7 +637,7 @@ public class ConfigurationEditor
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);
}
@@ -618,8 +651,7 @@ public class ConfigurationEditor
setPageText(lastEditorPage, problemEditorPart.getPartName());
setActivePage(lastEditorPage);
showTabs();
- }
- catch (PartInitException exception) {
+ } catch (PartInitException exception) {
ConfigurationEditorPlugin.INSTANCE.log(exception);
}
}
@@ -629,8 +661,7 @@ public class ConfigurationEditor
if (diagnostic.getSeverity() != Diagnostic.OK) {
try {
markerHelper.createMarkers(diagnostic);
- }
- catch (CoreException exception) {
+ } catch (CoreException exception) {
ConfigurationEditorPlugin.INSTANCE.log(exception);
}
}
@@ -642,20 +673,21 @@ public class ConfigurationEditor
* 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 ConfigurationEditor() {
@@ -667,6 +699,7 @@ public class ConfigurationEditor
* This sets up the editing domain for the model editor.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected void initializeEditingDomain() {
@@ -687,33 +720,33 @@ public class ConfigurationEditor
// 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());
+ (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());
currentViewer.refresh();
- }
- for (Iterator<PropertySheetPage> i = propertySheetPages.iterator(); i.hasNext(); ) {
- PropertySheetPage propertySheetPage = i.next();
- if (propertySheetPage.getControl().isDisposed()) {
- i.remove();
- }
- else {
- propertySheetPage.refresh();
- }
- }
- }
- });
- }
- });
+ }
+ for (Iterator<PropertySheetPage> i = propertySheetPages.iterator(); i.hasNext();) {
+ PropertySheetPage propertySheetPage = i.next();
+ if (propertySheetPage.getControl().isDisposed()) {
+ i.remove();
+ }
+ else {
+ propertySheetPage.refresh();
+ }
+ }
+ }
+ });
+ }
+ });
// Create the editing domain with a special command stack.
//
@@ -724,9 +757,10 @@ public class ConfigurationEditor
* 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);
}
@@ -735,6 +769,7 @@ public class ConfigurationEditor
* This sets the selection into whichever viewer is active.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public void setSelectionToViewer(Collection<?> collection) {
@@ -743,25 +778,25 @@ public class ConfigurationEditor
//
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() {
+ 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
*/
public EditingDomain getEditingDomain() {
@@ -771,12 +806,14 @@ public class ConfigurationEditor
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public class ReverseAdapterFactoryContentProvider extends AdapterFactoryContentProvider {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public ReverseAdapterFactoryContentProvider(AdapterFactory adapterFactory) {
@@ -786,10 +823,11 @@ public class ConfigurationEditor
/**
* <!-- 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();
}
@@ -797,10 +835,11 @@ public class ConfigurationEditor
/**
* <!-- 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();
}
@@ -808,6 +847,7 @@ public class ConfigurationEditor
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -819,6 +859,7 @@ public class ConfigurationEditor
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -830,6 +871,7 @@ public class ConfigurationEditor
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public void setCurrentViewerPane(ViewerPane viewerPane) {
@@ -847,6 +889,7 @@ public class ConfigurationEditor
* is the current one.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public void setCurrentViewer(Viewer viewer) {
@@ -857,13 +900,13 @@ public class ConfigurationEditor
// 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.
+ //
+ public void selectionChanged(SelectionChangedEvent selectionChangedEvent) {
+ setSelection(selectionChangedEvent.getSelection());
+ }
+ };
}
// Stop listening to the old one.
@@ -892,6 +935,7 @@ public class ConfigurationEditor
* This returns the viewer as required by the {@link IViewerProvider} interface.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public Viewer getViewer() {
@@ -902,6 +946,7 @@ public class ConfigurationEditor
* 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) {
@@ -909,7 +954,7 @@ public class ConfigurationEditor
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));
@@ -923,6 +968,7 @@ public class ConfigurationEditor
* 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() {
@@ -933,15 +979,14 @@ public class ConfigurationEditor
// 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);
}
@@ -951,28 +996,27 @@ public class ConfigurationEditor
* 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.infra.viewpoints.configuration.editor",
- 0,
- getString("_UI_CreateModelError_message", resource.getURI()),
- new Object [] { exception == null ? (Object)resource : exception });
+ "org.eclipse.papyrus.infra.viewpoints.configuration.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.infra.viewpoints.configuration.editor",
- 0,
- getString("_UI_CreateModelError_message", resource.getURI()),
- new Object[] { exception });
+ return new BasicDiagnostic(Diagnostic.ERROR,
+ "org.eclipse.papyrus.infra.viewpoints.configuration.editor",
+ 0,
+ getString("_UI_CreateModelError_message", resource.getURI()),
+ new Object[] { exception });
}
else {
return Diagnostic.OK_INSTANCE;
@@ -983,6 +1027,7 @@ public class ConfigurationEditor
* This is the method used by the framework to install your own controls.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -998,22 +1043,23 @@ public class ConfigurationEditor
//
{
ViewerPane viewerPane =
- new ViewerPane(getSite().getPage(), ConfigurationEditor.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(), ConfigurationEditor.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));
@@ -1032,22 +1078,23 @@ public class ConfigurationEditor
//
{
ViewerPane viewerPane =
- new ViewerPane(getSite().getPage(), ConfigurationEditor.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(), ConfigurationEditor.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));
@@ -1061,19 +1108,20 @@ public class ConfigurationEditor
//
{
ViewerPane viewerPane =
- new ViewerPane(getSite().getPage(), ConfigurationEditor.this) {
- @Override
- public Viewer createViewer(Composite composite) {
- return new ListViewer(composite);
- }
- @Override
- public void requestActivation() {
- super.requestActivation();
- setCurrentViewerPane(this);
- }
- };
+ new ViewerPane(getSite().getPage(), ConfigurationEditor.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));
@@ -1086,19 +1134,20 @@ public class ConfigurationEditor
//
{
ViewerPane viewerPane =
- new ViewerPane(getSite().getPage(), ConfigurationEditor.this) {
- @Override
- public Viewer createViewer(Composite composite) {
- return new TreeViewer(composite);
- }
- @Override
- public void requestActivation() {
- super.requestActivation();
- setCurrentViewerPane(this);
- }
- };
+ new ViewerPane(getSite().getPage(), ConfigurationEditor.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));
@@ -1113,19 +1162,20 @@ public class ConfigurationEditor
//
{
ViewerPane viewerPane =
- new ViewerPane(getSite().getPage(), ConfigurationEditor.this) {
- @Override
- public Viewer createViewer(Composite composite) {
- return new TableViewer(composite);
- }
- @Override
- public void requestActivation() {
- super.requestActivation();
- setCurrentViewerPane(this);
- }
- };
+ new ViewerPane(getSite().getPage(), ConfigurationEditor.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();
@@ -1143,7 +1193,7 @@ public class ConfigurationEditor
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));
@@ -1156,20 +1206,21 @@ public class ConfigurationEditor
//
{
ViewerPane viewerPane =
- new ViewerPane(getSite().getPage(), ConfigurationEditor.this) {
- @Override
- public Viewer createViewer(Composite composite) {
- return new TreeViewer(composite);
- }
- @Override
- public void requestActivation() {
- super.requestActivation();
- setCurrentViewerPane(this);
- }
- };
+ new ViewerPane(getSite().getPage(), ConfigurationEditor.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());
@@ -1186,7 +1237,7 @@ public class ConfigurationEditor
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));
@@ -1196,35 +1247,36 @@ public class ConfigurationEditor
}
getSite().getShell().getDisplay().asyncExec
- (new Runnable() {
- public void run() {
- setActivePage(0);
- }
- });
+ (new Runnable() {
+ 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() {
+ public void run() {
+ updateProblemIndication();
+ }
+ });
}
/**
@@ -1232,13 +1284,14 @@ public class ConfigurationEditor
* 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);
}
@@ -1250,13 +1303,14 @@ public class ConfigurationEditor
* 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);
}
@@ -1267,6 +1321,7 @@ public class ConfigurationEditor
* This is used to track the active viewer.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -1282,6 +1337,7 @@ public class ConfigurationEditor
* This is how the framework determines which interfaces we implement.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@SuppressWarnings("rawtypes")
@@ -1305,6 +1361,7 @@ public class ConfigurationEditor
* This accesses a cached version of the content outliner.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public IContentOutlinePage getContentOutlinePage() {
@@ -1329,9 +1386,9 @@ public class ConfigurationEditor
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);
}
}
@@ -1353,13 +1410,13 @@ public class ConfigurationEditor
// 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.
+ //
+ public void selectionChanged(SelectionChangedEvent event) {
+ handleContentOutlineSelection(event.getSelection());
+ }
+ });
}
return contentOutlinePage;
@@ -1369,23 +1426,24 @@ public class ConfigurationEditor
* This accesses a cached version of the property sheet.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public IPropertySheetPage getPropertySheetPage() {
PropertySheetPage propertySheetPage =
- new ExtendedPropertySheetPage(editingDomain) {
- @Override
- public void setSelectionToViewer(List<?> selection) {
- ConfigurationEditor.this.setSelectionToViewer(selection);
- ConfigurationEditor.this.setFocus();
- }
+ new ExtendedPropertySheetPage(editingDomain) {
+ @Override
+ public void setSelectionToViewer(List<?> selection) {
+ ConfigurationEditor.this.setSelectionToViewer(selection);
+ ConfigurationEditor.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));
propertySheetPages.add(propertySheetPage);
@@ -1396,11 +1454,12 @@ public class ConfigurationEditor
* 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.
//
@@ -1435,17 +1494,19 @@ public class ConfigurationEditor
* 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
@@ -1459,31 +1520,31 @@ public class ConfigurationEditor
// 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 {
@@ -1493,10 +1554,9 @@ public class ConfigurationEditor
// 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.
//
ConfigurationEditorPlugin.INSTANCE.log(exception);
@@ -1510,6 +1570,7 @@ public class ConfigurationEditor
* 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) {
@@ -1520,8 +1581,7 @@ public class ConfigurationEditor
result = true;
stream.close();
}
- }
- catch (IOException e) {
+ } catch (IOException e) {
// Ignore
}
return result;
@@ -1531,6 +1591,7 @@ public class ConfigurationEditor
* This always returns true because it is not currently supported.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -1542,6 +1603,7 @@ public class ConfigurationEditor
* This also changes the editor's input.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -1560,6 +1622,7 @@ public class ConfigurationEditor
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected void doSaveAs(URI uri, IEditorInput editorInput) {
@@ -1567,15 +1630,16 @@ public class ConfigurationEditor
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
*/
public void gotoMarker(IMarker marker) {
@@ -1589,6 +1653,7 @@ public class ConfigurationEditor
* This is called during startup.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -1604,6 +1669,7 @@ public class ConfigurationEditor
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -1620,6 +1686,7 @@ public class ConfigurationEditor
* This implements {@link org.eclipse.jface.viewers.ISelectionProvider}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public void addSelectionChangedListener(ISelectionChangedListener listener) {
@@ -1630,6 +1697,7 @@ public class ConfigurationEditor
* This implements {@link org.eclipse.jface.viewers.ISelectionProvider}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public void removeSelectionChangedListener(ISelectionChangedListener listener) {
@@ -1640,6 +1708,7 @@ public class ConfigurationEditor
* 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() {
@@ -1651,6 +1720,7 @@ public class ConfigurationEditor
* Calling this result will notify the listeners.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public void setSelection(ISelection selection) {
@@ -1665,29 +1735,30 @@ public class ConfigurationEditor
/**
* <!-- 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 {
@@ -1700,6 +1771,7 @@ public class ConfigurationEditor
* 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) {
@@ -1710,34 +1782,38 @@ public class ConfigurationEditor
* 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 ConfigurationEditorPlugin.INSTANCE.getString(key, new Object [] { s1 });
+ return ConfigurationEditorPlugin.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() {
@@ -1747,6 +1823,7 @@ public class ConfigurationEditor
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public AdapterFactory getAdapterFactory() {
@@ -1756,6 +1833,7 @@ public class ConfigurationEditor
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -1787,6 +1865,7 @@ public class ConfigurationEditor
* 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/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.editor/src/org/eclipse/papyrus/infra/viewpoints/configuration/presentation/ConfigurationEditorPlugin.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.editor/src/org/eclipse/papyrus/infra/viewpoints/configuration/presentation/ConfigurationEditorPlugin.java
index 82162189f4d..0bf0db941ab 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.editor/src/org/eclipse/papyrus/infra/viewpoints/configuration/presentation/ConfigurationEditorPlugin.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.editor/src/org/eclipse/papyrus/infra/viewpoints/configuration/presentation/ConfigurationEditorPlugin.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,6 +27,7 @@ import org.eclipse.papyrus.infra.viewpoints.iso42010.provider.Iso42010EditPlugin
* This is the central singleton for the Configuration editor plugin.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public final class ConfigurationEditorPlugin extends EMFPlugin {
@@ -34,14 +35,16 @@ public final class ConfigurationEditorPlugin extends EMFPlugin {
* Keep track of the singleton.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public static final ConfigurationEditorPlugin INSTANCE = new ConfigurationEditorPlugin();
-
+
/**
* Keep track of the singleton.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private static Implementation plugin;
@@ -50,20 +53,21 @@ public final class ConfigurationEditorPlugin extends EMFPlugin {
* Create the instance.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public ConfigurationEditorPlugin() {
- super
- (new ResourceLocator [] {
+ super(new ResourceLocator[] {
EcoreEditPlugin.INSTANCE,
Iso42010EditPlugin.INSTANCE,
- });
+ });
}
/**
* Returns the singleton instance of the Eclipse plugin.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the singleton instance.
* @generated
*/
@@ -71,22 +75,24 @@ public final class ConfigurationEditorPlugin 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 {
@@ -94,11 +100,12 @@ public final class ConfigurationEditorPlugin 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/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.editor/src/org/eclipse/papyrus/infra/viewpoints/configuration/presentation/ConfigurationModelWizard.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.editor/src/org/eclipse/papyrus/infra/viewpoints/configuration/presentation/ConfigurationModelWizard.java
index f78e39f0708..fbf8838f1ab 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.editor/src/org/eclipse/papyrus/infra/viewpoints/configuration/presentation/ConfigurationModelWizard.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration.editor/src/org/eclipse/papyrus/infra/viewpoints/configuration/presentation/ConfigurationModelWizard.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
@@ -73,6 +73,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 ConfigurationModelWizard extends Wizard implements INewWizard {
@@ -80,24 +81,27 @@ public class ConfigurationModelWizard 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(ConfigurationEditorPlugin.INSTANCE.getString("_UI_ConfigurationEditorFilenameExtensions").split("\\s*,\\s*")));
+ Collections.unmodifiableList(Arrays.asList(ConfigurationEditorPlugin.INSTANCE.getString("_UI_ConfigurationEditorFilenameExtensions").split("\\s*,\\s*")));
/**
* A formatted list of supported file extensions, suitable for display.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public static final String FORMATTED_FILE_EXTENSIONS =
- ConfigurationEditorPlugin.INSTANCE.getString("_UI_ConfigurationEditorFilenameExtensions").replaceAll("\\s*,\\s*", ", ");
+ ConfigurationEditorPlugin.INSTANCE.getString("_UI_ConfigurationEditorFilenameExtensions").replaceAll("\\s*,\\s*", ", ");
/**
* This caches an instance of the model package.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected ConfigurationPackage configurationPackage = ConfigurationPackage.eINSTANCE;
@@ -106,6 +110,7 @@ public class ConfigurationModelWizard extends Wizard implements INewWizard {
* This caches an instance of the model factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected ConfigurationFactory configurationFactory = configurationPackage.getConfigurationFactory();
@@ -114,6 +119,7 @@ public class ConfigurationModelWizard extends Wizard implements INewWizard {
* This is the file creation page.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected ConfigurationModelWizardNewFileCreationPage newFileCreationPage;
@@ -122,6 +128,7 @@ public class ConfigurationModelWizard extends Wizard implements INewWizard {
* This is the initial object creation page.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected ConfigurationModelWizardInitialObjectCreationPage initialObjectCreationPage;
@@ -130,6 +137,7 @@ public class ConfigurationModelWizard extends Wizard implements INewWizard {
* Remember the selection during initialization for populating the default container.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected IStructuredSelection selection;
@@ -138,6 +146,7 @@ public class ConfigurationModelWizard extends Wizard implements INewWizard {
* Remember the workbench during initialization.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected IWorkbench workbench;
@@ -146,6 +155,7 @@ public class ConfigurationModelWizard 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;
@@ -154,6 +164,7 @@ public class ConfigurationModelWizard extends Wizard implements INewWizard {
* This just records the information.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public void init(IWorkbench workbench, IStructuredSelection selection) {
@@ -180,10 +191,11 @@ public class ConfigurationModelWizard extends Wizard implements INewWizard {
* Create a new model.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected EObject createInitialModel() {
- EClass eClass = (EClass)configurationPackage.getEClassifier(initialObjectCreationPage.getInitialObjectName());
+ EClass eClass = (EClass) configurationPackage.getEClassifier(initialObjectCreationPage.getInitialObjectName());
EObject rootObject = configurationFactory.create(eClass);
return rootObject;
}
@@ -192,6 +204,7 @@ public class ConfigurationModelWizard extends Wizard implements INewWizard {
* Do the work after everything is specified.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -204,43 +217,43 @@ public class ConfigurationModelWizard extends Wizard implements INewWizard {
// Do the work within an operation.
//
WorkspaceModifyOperation operation =
- new WorkspaceModifyOperation() {
- @Override
- protected void execute(IProgressMonitor progressMonitor) {
- try {
- // Create a resource set
- //
- ResourceSet resourceSet = new ResourceSetImpl();
-
- // Get the URI of the model file.
- //
- URI fileURI = URI.createPlatformResourceURI(modelFile.getFullPath().toString(), true);
-
- // Create a resource for this file.
- //
- Resource resource = resourceSet.createResource(fileURI);
-
- // Add the initial model object to the contents.
- //
- EObject rootObject = createInitialModel();
- if (rootObject != null) {
- resource.getContents().add(rootObject);
+ new WorkspaceModifyOperation() {
+ @Override
+ protected void execute(IProgressMonitor progressMonitor) {
+ try {
+ // Create a resource set
+ //
+ ResourceSet resourceSet = new ResourceSetImpl();
+
+ // Get the URI of the model file.
+ //
+ URI fileURI = URI.createPlatformResourceURI(modelFile.getFullPath().toString(), true);
+
+ // Create a resource for this file.
+ //
+ Resource resource = resourceSet.createResource(fileURI);
+
+ // Add the initial model object to the contents.
+ //
+ EObject rootObject = createInitialModel();
+ if (rootObject != null) {
+ resource.getContents().add(rootObject);
+ }
+
+ // Save the contents of the resource to the file system.
+ //
+ Map<Object, Object> options = new HashMap<Object, Object>();
+ options.put(XMLResource.OPTION_ENCODING, initialObjectCreationPage.getEncoding());
+ resource.save(options);
+ }
+ catch (Exception exception) {
+ ConfigurationEditorPlugin.INSTANCE.log(exception);
+ }
+ finally {
+ progressMonitor.done();
}
-
- // Save the contents of the resource to the file system.
- //
- Map<Object, Object> options = new HashMap<Object, Object>();
- options.put(XMLResource.OPTION_ENCODING, initialObjectCreationPage.getEncoding());
- resource.save(options);
- }
- catch (Exception exception) {
- ConfigurationEditorPlugin.INSTANCE.log(exception);
- }
- finally {
- progressMonitor.done();
}
- }
- };
+ };
getContainer().run(false, false, operation);
@@ -252,28 +265,26 @@ public class ConfigurationModelWizard extends Wizard implements INewWizard {
if (activePart instanceof ISetSelectionTarget) {
final ISelection targetSelection = new StructuredSelection(modelFile);
getShell().getDisplay().asyncExec
- (new Runnable() {
- public void run() {
- ((ISetSelectionTarget)activePart).selectReveal(targetSelection);
- }
- });
+ (new Runnable() {
+ public void run() {
+ ((ISetSelectionTarget) activePart).selectReveal(targetSelection);
+ }
+ });
}
// Open an editor on the new file.
//
try {
page.openEditor
- (new FileEditorInput(modelFile),
- workbench.getEditorRegistry().getDefaultEditor(modelFile.getFullPath().toString()).getId());
- }
- catch (PartInitException exception) {
+ (new FileEditorInput(modelFile),
+ workbench.getEditorRegistry().getDefaultEditor(modelFile.getFullPath().toString()).getId());
+ } catch (PartInitException exception) {
MessageDialog.openError(workbenchWindow.getShell(), ConfigurationEditorPlugin.INSTANCE.getString("_UI_OpenEditorError_label"), exception.getMessage());
return false;
}
return true;
- }
- catch (Exception exception) {
+ } catch (Exception exception) {
ConfigurationEditorPlugin.INSTANCE.log(exception);
return false;
}
@@ -283,6 +294,7 @@ public class ConfigurationModelWizard extends Wizard implements INewWizard {
* This is the one page of the wizard.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public class ConfigurationModelWizardNewFileCreationPage extends WizardNewFileCreationPage {
@@ -290,6 +302,7 @@ public class ConfigurationModelWizard extends Wizard implements INewWizard {
* Pass in the selection.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public ConfigurationModelWizardNewFileCreationPage(String pageId, IStructuredSelection selection) {
@@ -300,6 +313,7 @@ public class ConfigurationModelWizard extends Wizard implements INewWizard {
* The framework calls this to see if the file is correct.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -308,7 +322,7 @@ public class ConfigurationModelWizard extends Wizard implements INewWizard {
String extension = new Path(getFileName()).getFileExtension();
if (extension == null || !FILE_EXTENSIONS.contains(extension)) {
String key = FILE_EXTENSIONS.size() > 1 ? "_WARN_FilenameExtensions" : "_WARN_FilenameExtension";
- setErrorMessage(ConfigurationEditorPlugin.INSTANCE.getString(key, new Object [] { FORMATTED_FILE_EXTENSIONS }));
+ setErrorMessage(ConfigurationEditorPlugin.INSTANCE.getString(key, new Object[] { FORMATTED_FILE_EXTENSIONS }));
return false;
}
return true;
@@ -319,6 +333,7 @@ public class ConfigurationModelWizard extends Wizard implements INewWizard {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public IFile getModelFile() {
@@ -330,26 +345,29 @@ public class ConfigurationModelWizard 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 ConfigurationModelWizardInitialObjectCreationPage extends WizardPage {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected Combo initialObjectField;
/**
* @generated
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
*/
protected List<String> encodings;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected Combo encodingField;
@@ -358,6 +376,7 @@ public class ConfigurationModelWizard extends Wizard implements INewWizard {
* Pass in the selection.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public ConfigurationModelWizardInitialObjectCreationPage(String pageId) {
@@ -367,10 +386,12 @@ public class ConfigurationModelWizard extends Wizard implements INewWizard {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public void createControl(Composite parent) {
- Composite composite = new Composite(parent, SWT.NONE); {
+ Composite composite = new Composite(parent, SWT.NONE);
+ {
GridLayout layout = new GridLayout();
layout.numColumns = 1;
layout.verticalSpacing = 12;
@@ -439,18 +460,20 @@ public class ConfigurationModelWizard extends Wizard implements INewWizard {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected ModifyListener validator =
- new ModifyListener() {
- public void modifyText(ModifyEvent e) {
- setPageComplete(validatePage());
- }
- };
+ new ModifyListener() {
+ public void modifyText(ModifyEvent e) {
+ setPageComplete(validatePage());
+ }
+ };
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected boolean validatePage() {
@@ -460,6 +483,7 @@ public class ConfigurationModelWizard extends Wizard implements INewWizard {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -480,6 +504,7 @@ public class ConfigurationModelWizard extends Wizard implements INewWizard {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public String getInitialObjectName() {
@@ -496,6 +521,7 @@ public class ConfigurationModelWizard extends Wizard implements INewWizard {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public String getEncoding() {
@@ -506,13 +532,13 @@ public class ConfigurationModelWizard extends Wizard implements INewWizard {
* Returns the label for the specified type name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected String getLabel(String typeName) {
try {
return ConfigurationEditPlugin.INSTANCE.getString("_UI_" + typeName + "_type");
- }
- catch(MissingResourceException mre) {
+ } catch (MissingResourceException mre) {
ConfigurationEditorPlugin.INSTANCE.log(mre);
}
return typeName;
@@ -521,12 +547,13 @@ public class ConfigurationModelWizard extends Wizard implements INewWizard {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected Collection<String> getEncodings() {
if (encodings == null) {
encodings = new ArrayList<String>();
- for (StringTokenizer stringTokenizer = new StringTokenizer(ConfigurationEditorPlugin.INSTANCE.getString("_UI_XMLEncodingChoices")); stringTokenizer.hasMoreTokens(); ) {
+ for (StringTokenizer stringTokenizer = new StringTokenizer(ConfigurationEditorPlugin.INSTANCE.getString("_UI_XMLEncodingChoices")); stringTokenizer.hasMoreTokens();) {
encodings.add(stringTokenizer.nextToken());
}
}
@@ -538,9 +565,10 @@ public class ConfigurationModelWizard extends Wizard implements INewWizard {
* The framework calls this to create the contents of the wizard.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
- @Override
+ @Override
public void addPages() {
// Create a page, set the title, and the initial model file name.
//
@@ -559,7 +587,7 @@ public class ConfigurationModelWizard extends Wizard implements INewWizard {
if (selectedElement instanceof IResource) {
// Get the resource parent, if its a file.
//
- IResource selectedResource = (IResource)selectedElement;
+ IResource selectedResource = (IResource) selectedElement;
if (selectedResource.getType() == IResource.FILE) {
selectedResource = selectedResource.getParent();
}
@@ -576,7 +604,7 @@ public class ConfigurationModelWizard extends Wizard implements INewWizard {
String defaultModelBaseFilename = ConfigurationEditorPlugin.INSTANCE.getString("_UI_ConfigurationEditorFilenameDefaultBase");
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);
@@ -593,6 +621,7 @@ public class ConfigurationModelWizard extends Wizard implements INewWizard {
* Get the file from the page.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public IFile getModelFile() {
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/custom-src/org/eclipse/papyrus/infra/viewpoints/configuration/ComplexTypePropertyDescriptor.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/custom-src/org/eclipse/papyrus/infra/viewpoints/configuration/ComplexTypePropertyDescriptor.java
index 856d1e9b1f4..b2c21860e98 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/custom-src/org/eclipse/papyrus/infra/viewpoints/configuration/ComplexTypePropertyDescriptor.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/custom-src/org/eclipse/papyrus/infra/viewpoints/configuration/ComplexTypePropertyDescriptor.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
@@ -29,7 +29,7 @@ import org.eclipse.papyrus.infra.services.edit.internal.context.TypeContext;
/**
* Represents a descriptor for properties of type EClass
* This is used for the ModelAutoCreate.target property because we may want to create stereotyped elements
- *
+ *
* @author Laurent Wouters
*/
public class ComplexTypePropertyDescriptor extends SurrogateItemPropertyDescriptor {
@@ -55,8 +55,9 @@ public class ComplexTypePropertyDescriptor extends SurrogateItemPropertyDescript
@Override
public Collection<?> getChoiceOfValues(Object object) {
EObject current = (EObject) object;
- if (current == null)
+ if (current == null) {
return empty;
+ }
return result;
}
}
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/custom-src/org/eclipse/papyrus/infra/viewpoints/configuration/EClassPropertyDescriptor.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/custom-src/org/eclipse/papyrus/infra/viewpoints/configuration/EClassPropertyDescriptor.java
index 758a9de7d8b..77c4b103606 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/custom-src/org/eclipse/papyrus/infra/viewpoints/configuration/EClassPropertyDescriptor.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/custom-src/org/eclipse/papyrus/infra/viewpoints/configuration/EClassPropertyDescriptor.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
@@ -25,30 +25,36 @@ import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
/**
* Represents a descriptor for properties of type EClass
+ *
* @author Laurent Wouters
*/
public class EClassPropertyDescriptor extends SurrogateItemPropertyDescriptor {
private static final Collection<EObject> empty = new ArrayList<EObject>();
-
+
public EClassPropertyDescriptor(IItemPropertyDescriptor inner) {
super(inner);
}
-
+
@Override
public Collection<?> getChoiceOfValues(Object object) {
- EObject current = (EObject)object;
- while (current != null && !(current instanceof PapyrusConfiguration))
+ EObject current = (EObject) object;
+ while (current != null && !(current instanceof PapyrusConfiguration)) {
current = current.eContainer();
- if (current == null)
+ }
+ if (current == null) {
return empty;
- PapyrusConfiguration conf = (PapyrusConfiguration)current;
+ }
+ PapyrusConfiguration conf = (PapyrusConfiguration) current;
List<EClass> result = new ArrayList<EClass>();
EPackage p = conf.getMetamodel();
- if (p == null)
+ if (p == null) {
return result;
- for (EClassifier c : p.getEClassifiers())
- if (c instanceof EClass)
- result.add((EClass)c);
+ }
+ for (EClassifier c : p.getEClassifiers()) {
+ if (c instanceof EClass) {
+ result.add((EClass) c);
+ }
+ }
return result;
}
}
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/custom-src/org/eclipse/papyrus/infra/viewpoints/configuration/EPackagePropertyDescriptor.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/custom-src/org/eclipse/papyrus/infra/viewpoints/configuration/EPackagePropertyDescriptor.java
index 67a06a6fb09..51444de0e7b 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/custom-src/org/eclipse/papyrus/infra/viewpoints/configuration/EPackagePropertyDescriptor.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/custom-src/org/eclipse/papyrus/infra/viewpoints/configuration/EPackagePropertyDescriptor.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
@@ -23,13 +23,14 @@ import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
/**
* Represents a descriptor for properties of type EPackage.
* This class lists the currently loaded ECore metamodels.
+ *
* @author Laurent Wouters
*/
public class EPackagePropertyDescriptor extends SurrogateItemPropertyDescriptor {
public EPackagePropertyDescriptor(IItemPropertyDescriptor inner) {
super(inner);
}
-
+
@Override
public Collection<?> getChoiceOfValues(Object object) {
EPackage.Registry reg = EPackage.Registry.INSTANCE;
@@ -37,19 +38,23 @@ public class EPackagePropertyDescriptor extends SurrogateItemPropertyDescriptor
Collection<String> keys = new ArrayList<String>(reg.keySet());
for (String key : keys) {
EPackage pack = reg.getEPackage(key);
- if (!result.contains(pack))
+ if (!result.contains(pack)) {
result.add(reg.getEPackage(key));
+ }
}
return result;
}
-
+
@Override
public IItemLabelProvider getLabelProvider(Object object) {
return new IItemLabelProvider() {
public String getText(Object object) {
- return ((EPackage)object).getNsURI();
+ return ((EPackage) object).getNsURI();
+ }
+
+ public Object getImage(Object object) {
+ return null;
}
- public Object getImage(Object object) { return null; }
};
}
}
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/custom-src/org/eclipse/papyrus/infra/viewpoints/configuration/EReferencePropertyDescriptor.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/custom-src/org/eclipse/papyrus/infra/viewpoints/configuration/EReferencePropertyDescriptor.java
index 8ffc09bfff3..bb34790f6c5 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/custom-src/org/eclipse/papyrus/infra/viewpoints/configuration/EReferencePropertyDescriptor.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/custom-src/org/eclipse/papyrus/infra/viewpoints/configuration/EReferencePropertyDescriptor.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
@@ -22,28 +22,31 @@ import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
/**
* Represents a descriptor for properties of type EReference
+ *
* @author Laurent Wouters
*/
public class EReferencePropertyDescriptor extends SurrogateItemPropertyDescriptor {
private static final Collection<?> empty = new ArrayList<EReference>();
-
+
public EReferencePropertyDescriptor(IItemPropertyDescriptor inner) {
super(inner);
}
-
+
@Override
public Collection<?> getChoiceOfValues(Object object) {
if (object instanceof PathElement) {
PathElement pe = (PathElement) object;
EClass origin = pe.getOrigin();
- if (origin == null)
+ if (origin == null) {
return empty;
+ }
return origin.getEAllReferences();
} else if (object instanceof ModelAutoCreate) {
ModelAutoCreate pe = (ModelAutoCreate) object;
EClass origin = pe.getOrigin();
- if (origin == null)
+ if (origin == null) {
return empty;
+ }
return origin.getEAllReferences();
}
return empty;
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/custom-src/org/eclipse/papyrus/infra/viewpoints/configuration/ProfilePropertyDescriptor.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/custom-src/org/eclipse/papyrus/infra/viewpoints/configuration/ProfilePropertyDescriptor.java
index 785206b57e4..7b7303ec973 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/custom-src/org/eclipse/papyrus/infra/viewpoints/configuration/ProfilePropertyDescriptor.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/custom-src/org/eclipse/papyrus/infra/viewpoints/configuration/ProfilePropertyDescriptor.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
@@ -21,35 +21,42 @@ import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
/**
* Represents a descriptor for properties of type EList of EPackage
* This class lists the currently loaded ECore metamodels.
+ *
* @author Laurent Wouters
*/
public class ProfilePropertyDescriptor extends EPackagePropertyDescriptor {
public ProfilePropertyDescriptor(IItemPropertyDescriptor inner) {
super(inner);
}
-
+
@Override
public IItemLabelProvider getLabelProvider(Object object) {
return new IItemLabelProvider() {
public String getText(Object object) {
- if (object instanceof EPackage)
- return ((EPackage)object).getNsURI();
+ if (object instanceof EPackage) {
+ return ((EPackage) object).getNsURI();
+ }
if (object instanceof EList<?>) {
- EList<?> list = (EList<?>)object;
- if (list.isEmpty())
+ EList<?> list = (EList<?>) object;
+ if (list.isEmpty()) {
return "";
+ }
StringBuilder builder = new StringBuilder("{");
- for (int i=0; i!=list.size(); i++) {
- if (i != 0)
+ for (int i = 0; i != list.size(); i++) {
+ if (i != 0) {
builder.append(", ");
- builder.append(((EPackage)list.get(i)).getNsURI());
+ }
+ builder.append(((EPackage) list.get(i)).getNsURI());
}
builder.append("}");
return builder.toString();
}
return "";
}
- public Object getImage(Object object) { return null; }
+
+ public Object getImage(Object object) {
+ return null;
+ }
};
}
}
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/custom-src/org/eclipse/papyrus/infra/viewpoints/configuration/StereotypePropertyDescriptor.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/custom-src/org/eclipse/papyrus/infra/viewpoints/configuration/StereotypePropertyDescriptor.java
index c1defd00456..a556585e64b 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/custom-src/org/eclipse/papyrus/infra/viewpoints/configuration/StereotypePropertyDescriptor.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/custom-src/org/eclipse/papyrus/infra/viewpoints/configuration/StereotypePropertyDescriptor.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,56 +27,68 @@ import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
/**
* Represents a descriptor for stereotype properties
+ *
* @author Laurent Wouters
*/
public class StereotypePropertyDescriptor extends SurrogateItemPropertyDescriptor {
private static final Collection<EObject> empty = new ArrayList<EObject>();
-
+
public StereotypePropertyDescriptor(IItemPropertyDescriptor inner) {
super(inner);
}
-
+
@Override
public Collection<?> getChoiceOfValues(Object object) {
- EObject current = (EObject)object;
- while (current != null && !(current instanceof PapyrusView))
+ EObject current = (EObject) object;
+ while (current != null && !(current instanceof PapyrusView)) {
current = current.eContainer();
- if (current == null)
+ }
+ if (current == null) {
return empty;
- PapyrusView conf = (PapyrusView)current;
+ }
+ PapyrusView conf = (PapyrusView) current;
List<EClass> result = new ArrayList<EClass>();
- for (EPackage p : conf.getProfiles())
- for (EClassifier c : p.getEClassifiers())
- if (c instanceof EClass)
- result.add((EClass)c);
+ for (EPackage p : conf.getProfiles()) {
+ for (EClassifier c : p.getEClassifiers()) {
+ if (c instanceof EClass) {
+ result.add((EClass) c);
+ }
+ }
+ }
return result;
}
-
+
@Override
public IItemLabelProvider getLabelProvider(Object object) {
return new IItemLabelProvider() {
public String getText(Object object) {
- if (object instanceof EClass)
- return eClassToString((EClass)object);
+ if (object instanceof EClass) {
+ return eClassToString((EClass) object);
+ }
if (object instanceof EList<?>) {
- EList<?> list = (EList<?>)object;
- if (list.isEmpty())
+ EList<?> list = (EList<?>) object;
+ if (list.isEmpty()) {
return "";
+ }
StringBuilder builder = new StringBuilder("{");
- for (int i=0; i!=list.size(); i++) {
- if (i != 0)
+ for (int i = 0; i != list.size(); i++) {
+ if (i != 0) {
builder.append(", ");
- builder.append(eClassToString((EClass)list.get(i)));
+ }
+ builder.append(eClassToString((EClass) list.get(i)));
}
builder.append("}");
return builder.toString();
}
return "";
}
- public Object getImage(Object object) { return null; }
+
+ public Object getImage(Object object) {
+ return null;
+ }
};
}
-
+
private String eClassToString(EClass item) {
return item.getEPackage().getNsPrefix() + "#" + item.getName();
}
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/custom-src/org/eclipse/papyrus/infra/viewpoints/configuration/SurrogateItemPropertyDescriptor.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/custom-src/org/eclipse/papyrus/infra/viewpoints/configuration/SurrogateItemPropertyDescriptor.java
index 4e81ea6e858..90c51f723b2 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/custom-src/org/eclipse/papyrus/infra/viewpoints/configuration/SurrogateItemPropertyDescriptor.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/custom-src/org/eclipse/papyrus/infra/viewpoints/configuration/SurrogateItemPropertyDescriptor.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
@@ -20,50 +20,83 @@ import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
/**
* Represents a surrogate property descriptor delegating to an encapsulated descriptor
+ *
* @author Laurent Wouters
*/
public abstract class SurrogateItemPropertyDescriptor implements IItemPropertyDescriptor {
private IItemPropertyDescriptor inner;
-
+
public SurrogateItemPropertyDescriptor(IItemPropertyDescriptor inner) {
this.inner = inner;
}
-
- public Object getPropertyValue(Object object) { return inner.getPropertyValue(object); }
- public boolean isPropertySet(Object object) { return inner.isPropertySet(object); }
+ public Object getPropertyValue(Object object) {
+ return inner.getPropertyValue(object);
+ }
- public boolean canSetProperty(Object object) { return inner.canSetProperty(object); }
+ public boolean isPropertySet(Object object) {
+ return inner.isPropertySet(object);
+ }
- public void resetPropertyValue(Object object) { inner.resetPropertyValue(object); }
+ public boolean canSetProperty(Object object) {
+ return inner.canSetProperty(object);
+ }
- public void setPropertyValue(Object object, Object value) { inner.setPropertyValue(object, value); }
+ public void resetPropertyValue(Object object) {
+ inner.resetPropertyValue(object);
+ }
- public String getCategory(Object object) { return inner.getCategory(object); }
+ public void setPropertyValue(Object object, Object value) {
+ inner.setPropertyValue(object, value);
+ }
- public String getDescription(Object object) { return inner.getDescription(object); }
+ public String getCategory(Object object) {
+ return inner.getCategory(object);
+ }
- public String getDisplayName(Object object) { return inner.getDisplayName(object); }
+ public String getDescription(Object object) {
+ return inner.getDescription(object);
+ }
- public String[] getFilterFlags(Object object) { return inner.getFilterFlags(object); }
+ public String getDisplayName(Object object) {
+ return inner.getDisplayName(object);
+ }
- public Object getHelpContextIds(Object object) { return inner.getHelpContextIds(object); }
+ public String[] getFilterFlags(Object object) {
+ return inner.getFilterFlags(object);
+ }
- public String getId(Object object) { return inner.getId(object); }
+ public Object getHelpContextIds(Object object) {
+ return inner.getHelpContextIds(object);
+ }
+
+ public String getId(Object object) {
+ return inner.getId(object);
+ }
- public IItemLabelProvider getLabelProvider(Object object) { return inner.getLabelProvider(object); }
+ public IItemLabelProvider getLabelProvider(Object object) {
+ return inner.getLabelProvider(object);
+ }
public boolean isCompatibleWith(Object object, Object anotherObject, IItemPropertyDescriptor anotherPropertyDescriptor) {
return inner.isCompatibleWith(object, anotherObject, anotherPropertyDescriptor);
}
- public Object getFeature(Object object) { return inner.getFeature(object); }
+ public Object getFeature(Object object) {
+ return inner.getFeature(object);
+ }
- public boolean isMany(Object object) { return inner.isMany(object); }
+ public boolean isMany(Object object) {
+ return inner.isMany(object);
+ }
public abstract Collection<?> getChoiceOfValues(Object object);
- public boolean isMultiLine(Object object) { return inner.isMultiLine(object); }
+ public boolean isMultiLine(Object object) {
+ return inner.isMultiLine(object);
+ }
- public boolean isSortChoices(Object object) { return inner.isSortChoices(object); }
+ public boolean isSortChoices(Object object) {
+ return inner.isSortChoices(object);
+ }
}
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/custom-src/org/eclipse/papyrus/infra/viewpoints/configuration/ui/ConfigurationURLSelectionDialog.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/custom-src/org/eclipse/papyrus/infra/viewpoints/configuration/ui/ConfigurationURLSelectionDialog.java
index ed3720c1449..d4ac3903b9d 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/custom-src/org/eclipse/papyrus/infra/viewpoints/configuration/ui/ConfigurationURLSelectionDialog.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/custom-src/org/eclipse/papyrus/infra/viewpoints/configuration/ui/ConfigurationURLSelectionDialog.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
@@ -39,6 +39,7 @@ import org.eclipse.swt.widgets.Shell;
/**
* Dialog for the selection of a configuration model through URIs
+ *
* @author Laurent Wouters
*/
public class ConfigurationURLSelectionDialog extends Dialog {
@@ -46,72 +47,79 @@ public class ConfigurationURLSelectionDialog extends Dialog {
private static final int SIZE_WIDTH = 400;
private static final int SIZE_HEIGHT = 300;
private static final String MSG_TITLE = "Select the URI of the configuration model";
-
+
private static final Object TREE_ROOT = new Object();
-
+
private Resource selection;
-
+
/**
* Represents a provider of URIs
+ *
* @author Laurent Wouters
*/
private static class ModelContentProvider implements IStructuredContentProvider {
- public void dispose() { }
- public void inputChanged(Viewer viewer, Object oldInput, Object newInput) { }
+ public void dispose() {
+ }
+
+ public void inputChanged(Viewer viewer, Object oldInput, Object newInput) {
+ }
+
public Object[] getElements(Object inputElement) {
List<Resource> data = new ArrayList<Resource>();
-
+
return data.toArray();
}
}
-
+
public ConfigurationURLSelectionDialog(Shell parentShell, int style) {
super(parentShell);
}
-
+
@Override
protected Control createDialogArea(Composite parent) {
- // create composite
- Composite composite = (Composite) super.createDialogArea(parent);
- GridLayout gridLayout = new GridLayout();
- gridLayout.numColumns = 1;
- composite.setLayout(gridLayout);
-
- Composite inner = new Composite(composite, SWT.NONE);
- inner.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_FILL | GridData.GRAB_HORIZONTAL | GridData.FILL_VERTICAL));
- inner.setLayout(new FillLayout());
-
- ListViewer list = new ListViewer(inner, SWT.BORDER | SWT.H_SCROLL | SWT.V_SCROLL);
- list.setLabelProvider(getLabelProvider());
- list.setContentProvider(new ModelContentProvider());
- list.setInput(TREE_ROOT);
- list.addSelectionChangedListener(new ISelectionChangedListener() {
+ // create composite
+ Composite composite = (Composite) super.createDialogArea(parent);
+ GridLayout gridLayout = new GridLayout();
+ gridLayout.numColumns = 1;
+ composite.setLayout(gridLayout);
+
+ Composite inner = new Composite(composite, SWT.NONE);
+ inner.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_FILL | GridData.GRAB_HORIZONTAL | GridData.FILL_VERTICAL));
+ inner.setLayout(new FillLayout());
+
+ ListViewer list = new ListViewer(inner, SWT.BORDER | SWT.H_SCROLL | SWT.V_SCROLL);
+ list.setLabelProvider(getLabelProvider());
+ list.setContentProvider(new ModelContentProvider());
+ list.setInput(TREE_ROOT);
+ list.addSelectionChangedListener(new ISelectionChangedListener() {
public void selectionChanged(SelectionChangedEvent event) {
- IStructuredSelection s = (IStructuredSelection)event.getSelection();
+ IStructuredSelection s = (IStructuredSelection) event.getSelection();
Object first = s.getFirstElement();
- if (first == null)
+ if (first == null) {
onSelection(null);
- else if (first instanceof Resource)
- onSelection((Resource)first);
- else
+ } else if (first instanceof Resource) {
+ onSelection((Resource) first);
+ } else {
onSelection(null);
+ }
}
- });
-
- applyDialogFont(composite);
- return composite;
- }
-
+ });
+
+ applyDialogFont(composite);
+ return composite;
+ }
+
@Override
protected Control createButtonBar(Composite parent) {
Control composite = super.createButtonBar(parent);
- if (selection == null)
+ if (selection == null) {
getButton(IDialogConstants.OK_ID).setEnabled(false);
- else
+ } else {
getButton(IDialogConstants.OK_ID).setEnabled(true);
+ }
return composite;
}
-
+
private void onSelection(Resource element) {
selection = element;
if (selection == null) {
@@ -120,28 +128,38 @@ public class ConfigurationURLSelectionDialog extends Dialog {
getButton(IDialogConstants.OK_ID).setEnabled(true);
}
}
-
+
@Override
protected void configureShell(Shell shell) {
- super.configureShell(shell);
- shell.setSize(SIZE_WIDTH, SIZE_HEIGHT);
- Point size = shell.getParent().getShell().getSize();
- shell.setLocation((size.x - SIZE_WIDTH)/2, (size.y - SIZE_HEIGHT)/2);
- shell.setText(MSG_TITLE);
- }
-
+ super.configureShell(shell);
+ shell.setSize(SIZE_WIDTH, SIZE_HEIGHT);
+ Point size = shell.getParent().getShell().getSize();
+ shell.setLocation((size.x - SIZE_WIDTH) / 2, (size.y - SIZE_HEIGHT) / 2);
+ shell.setText(MSG_TITLE);
+ }
+
private ILabelProvider getLabelProvider() {
return new ILabelProvider() {
- public void addListener(ILabelProviderListener listener) { }
- public void dispose() { }
+ public void addListener(ILabelProviderListener listener) {
+ }
+
+ public void dispose() {
+ }
+
public boolean isLabelProperty(Object element, String property) {
// TODO Auto-generated method stub
return false;
}
- public void removeListener(ILabelProviderListener listener) { }
- public Image getImage(Object element) { return null; }
+
+ public void removeListener(ILabelProviderListener listener) {
+ }
+
+ public Image getImage(Object element) {
+ return null;
+ }
+
public String getText(Object element) {
- Resource res = (Resource)element;
+ Resource res = (Resource) element;
return res.getURI().toString();
}
};
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/custom-src/org/eclipse/papyrus/infra/viewpoints/configuration/ui/ECoreModelContentProvider.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/custom-src/org/eclipse/papyrus/infra/viewpoints/configuration/ui/ECoreModelContentProvider.java
index dafef1d30a8..e8296327484 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/custom-src/org/eclipse/papyrus/infra/viewpoints/configuration/ui/ECoreModelContentProvider.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/custom-src/org/eclipse/papyrus/infra/viewpoints/configuration/ui/ECoreModelContentProvider.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
@@ -19,6 +19,7 @@ import org.eclipse.jface.viewers.Viewer;
/**
* Represents a content provider for a hierarchy of Ecore objects
+ *
* @author Laurent Wouters
*/
public class ECoreModelContentProvider implements ITreeContentProvider {
@@ -26,43 +27,50 @@ public class ECoreModelContentProvider implements ITreeContentProvider {
* Represents the top object to be passed as input for to the viewer using this provider
*/
public static final Object ROOT = new Object();
-
+
private EObject root;
-
+
/**
* Initializes this provider with the given object as root
- * @param root The root object
+ *
+ * @param root
+ * The root object
*/
public ECoreModelContentProvider(EObject root) {
this.root = root;
}
-
- public void dispose() { }
- public void inputChanged(Viewer viewer, Object oldInput, Object newInput) { }
+ public void dispose() {
+ }
+
+ public void inputChanged(Viewer viewer, Object oldInput, Object newInput) {
+ }
public Object[] getElements(Object inputElement) {
return new Object[] { root };
}
public Object[] getChildren(Object parentElement) {
- if (parentElement == ROOT)
+ if (parentElement == ROOT) {
return new Object[] { root };
- EObject origin = (EObject)parentElement;
+ }
+ EObject origin = (EObject) parentElement;
return origin.eContents().toArray();
}
public Object getParent(Object element) {
- if (element == ROOT)
+ if (element == ROOT) {
return null;
- EObject child = (EObject)element;
+ }
+ EObject child = (EObject) element;
return child.eContainer();
}
public boolean hasChildren(Object element) {
- if (element == ROOT)
+ if (element == ROOT) {
return true;
- EObject origin = (EObject)element;
+ }
+ EObject origin = (EObject) element;
return !origin.eContents().isEmpty();
}
}
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/custom-src/org/eclipse/papyrus/infra/viewpoints/configuration/ui/IModelElementValidator.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/custom-src/org/eclipse/papyrus/infra/viewpoints/configuration/ui/IModelElementValidator.java
index 718e21e615f..be74e3e532f 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/custom-src/org/eclipse/papyrus/infra/viewpoints/configuration/ui/IModelElementValidator.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/custom-src/org/eclipse/papyrus/infra/viewpoints/configuration/ui/IModelElementValidator.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
@@ -17,12 +17,15 @@ import org.eclipse.emf.ecore.EObject;
/**
* Represents the validation for the selection of an object
+ *
* @author Laurent Wouters
*/
public interface IModelElementValidator {
/**
* Determines whether the given object pass the represented validation
- * @param element The element to evaluate
+ *
+ * @param element
+ * The element to evaluate
* @return <code>null</code> if the object passes the validation, or the notification to be displayed
*/
String isSelectable(EObject element);
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/custom-src/org/eclipse/papyrus/infra/viewpoints/configuration/ui/ModelElementSelectionDialog.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/custom-src/org/eclipse/papyrus/infra/viewpoints/configuration/ui/ModelElementSelectionDialog.java
index 85e407cb82c..691fccd5aa4 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/custom-src/org/eclipse/papyrus/infra/viewpoints/configuration/ui/ModelElementSelectionDialog.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/custom-src/org/eclipse/papyrus/infra/viewpoints/configuration/ui/ModelElementSelectionDialog.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
@@ -42,69 +42,84 @@ import org.eclipse.swt.widgets.Shell;
/**
* Represents a dialog for the selection of a model element
+ *
* @author Laurent Wouters
*/
public class ModelElementSelectionDialog extends Dialog {
private static final int SIZE_WIDTH = 400;
private static final int SIZE_HEIGHT = 300;
-
+
private static final String MSG_TITLE = "Model element selection";
private static final String MSG_EMPTYSELECTION = "Select an element";
-
+
private ServicesRegistry registry;
private EObject root;
private EObject selection;
private IModelElementValidator validator;
private Label notification;
private String message;
-
+
private static class AtomSelection implements IStructuredSelection {
private Object element;
+
public AtomSelection(Object element) {
this.element = element;
}
+
public boolean isEmpty() {
return (element == null);
}
+
public Object getFirstElement() {
return element;
}
+
public Iterator iterator() {
return new Iterator() {
private boolean done = false;
+
public boolean hasNext() {
return (!done);
}
+
public Object next() {
- if (done)
+ if (done) {
throw new NoSuchElementException();
+ }
done = true;
return element;
}
- public void remove() { }
+
+ public void remove() {
+ }
};
}
+
public int size() {
return ((element != null) ? 1 : 0);
}
+
public Object[] toArray() {
- if (element == null)
+ if (element == null) {
return new Object[0];
+ }
return new Object[] { element };
}
+
public List toList() {
List<Object> list = new ArrayList<Object>(1);
- if (element != null)
+ if (element != null) {
list.add(element);
+ }
return list;
}
}
-
-
+
+
public EObject getSelection() {
return selection;
}
-
+
public ModelElementSelectionDialog(Shell parentShell, ServicesRegistry registry, String message, EObject root, EObject current, IModelElementValidator validator) {
super(parentShell);
this.registry = registry;
@@ -113,99 +128,102 @@ public class ModelElementSelectionDialog extends Dialog {
this.validator = validator;
this.message = message;
}
-
+
@Override
protected Control createDialogArea(Composite parent) {
- // create composite
- Composite composite = (Composite) super.createDialogArea(parent);
- GridLayout gridLayout = new GridLayout();
- gridLayout.numColumns = 1;
- composite.setLayout(gridLayout);
-
- Label label = new Label(composite, SWT.WRAP | SWT.SINGLE);
- label.setText(message);
- label.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_FILL | GridData.GRAB_HORIZONTAL));
-
- Composite inner = new Composite(composite, SWT.NONE);
- inner.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_FILL | GridData.GRAB_HORIZONTAL | GridData.FILL_VERTICAL));
- inner.setLayout(new FillLayout());
-
- TreeViewer tree = new TreeViewer(inner, SWT.BORDER | SWT.H_SCROLL | SWT.V_SCROLL);
- tree.setLabelProvider(getLabelProvider());
- tree.setContentProvider(new ECoreModelContentProvider(root));
- tree.setInput(ECoreModelContentProvider.ROOT);
- if (selection != null) {
- tree.reveal(selection);
- tree.setSelection(new AtomSelection(selection));
- }
- tree.addSelectionChangedListener(new ISelectionChangedListener() {
+ // create composite
+ Composite composite = (Composite) super.createDialogArea(parent);
+ GridLayout gridLayout = new GridLayout();
+ gridLayout.numColumns = 1;
+ composite.setLayout(gridLayout);
+
+ Label label = new Label(composite, SWT.WRAP | SWT.SINGLE);
+ label.setText(message);
+ label.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_FILL | GridData.GRAB_HORIZONTAL));
+
+ Composite inner = new Composite(composite, SWT.NONE);
+ inner.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_FILL | GridData.GRAB_HORIZONTAL | GridData.FILL_VERTICAL));
+ inner.setLayout(new FillLayout());
+
+ TreeViewer tree = new TreeViewer(inner, SWT.BORDER | SWT.H_SCROLL | SWT.V_SCROLL);
+ tree.setLabelProvider(getLabelProvider());
+ tree.setContentProvider(new ECoreModelContentProvider(root));
+ tree.setInput(ECoreModelContentProvider.ROOT);
+ if (selection != null) {
+ tree.reveal(selection);
+ tree.setSelection(new AtomSelection(selection));
+ }
+ tree.addSelectionChangedListener(new ISelectionChangedListener() {
public void selectionChanged(SelectionChangedEvent event) {
- IStructuredSelection s = (IStructuredSelection)event.getSelection();
+ IStructuredSelection s = (IStructuredSelection) event.getSelection();
Object first = s.getFirstElement();
- if (first == null)
+ if (first == null) {
onSelection(null);
- else if (first instanceof EObject)
- onSelection((EObject)first);
- else
+ } else if (first instanceof EObject) {
+ onSelection((EObject) first);
+ } else {
onSelection(null);
+ }
+ }
+ });
+
+ notification = new Label(composite, SWT.WRAP | SWT.SINGLE);
+ notification.setForeground(new Color(composite.getDisplay(), 255, 0, 0));
+ notification.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_FILL | GridData.GRAB_HORIZONTAL));
+ if (selection == null) {
+ notification.setText(MSG_EMPTYSELECTION);
+ } else {
+ String msg = validator.isSelectable(selection);
+ if (msg == null) {
+ notification.setText("");
+ } else {
+ notification.setText(msg);
}
- });
-
- notification = new Label(composite, SWT.WRAP | SWT.SINGLE);
- notification.setForeground(new Color(composite.getDisplay(), 255, 0, 0));
- notification.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_FILL | GridData.GRAB_HORIZONTAL));
- if (selection == null)
- notification.setText(MSG_EMPTYSELECTION);
- else {
- String msg = validator.isSelectable(selection);
- if (msg == null)
- notification.setText("");
- else
- notification.setText(msg);
- }
-
- applyDialogFont(composite);
- return composite;
- }
-
+ }
+
+ applyDialogFont(composite);
+ return composite;
+ }
+
@Override
protected Control createButtonBar(Composite parent) {
Control composite = super.createButtonBar(parent);
- if (selection == null)
- getButton(IDialogConstants.OK_ID).setEnabled(false);
- else {
- String msg = validator.isSelectable(selection);
- if (msg == null)
- getButton(IDialogConstants.OK_ID).setEnabled(true);
- else
- getButton(IDialogConstants.OK_ID).setEnabled(false);
- }
+ if (selection == null) {
+ getButton(IDialogConstants.OK_ID).setEnabled(false);
+ } else {
+ String msg = validator.isSelectable(selection);
+ if (msg == null) {
+ getButton(IDialogConstants.OK_ID).setEnabled(true);
+ } else {
+ getButton(IDialogConstants.OK_ID).setEnabled(false);
+ }
+ }
return composite;
}
-
-
+
+
private void onSelection(EObject element) {
selection = element;
if (selection == null) {
- notification.setText(MSG_EMPTYSELECTION);
- getButton(IDialogConstants.OK_ID).setEnabled(false);
+ notification.setText(MSG_EMPTYSELECTION);
+ getButton(IDialogConstants.OK_ID).setEnabled(false);
} else {
- String msg = validator.isSelectable(selection);
- if (msg == null) {
- notification.setText("");
- getButton(IDialogConstants.OK_ID).setEnabled(true);
- } else {
- notification.setText(msg);
- getButton(IDialogConstants.OK_ID).setEnabled(false);
- }
- }
+ String msg = validator.isSelectable(selection);
+ if (msg == null) {
+ notification.setText("");
+ getButton(IDialogConstants.OK_ID).setEnabled(true);
+ } else {
+ notification.setText(msg);
+ getButton(IDialogConstants.OK_ID).setEnabled(false);
+ }
+ }
}
-
+
@Override
protected void configureShell(Shell shell) {
- super.configureShell(shell);
- shell.setSize(SIZE_WIDTH, SIZE_HEIGHT);
- shell.setText(MSG_TITLE);
+ super.configureShell(shell);
+ shell.setSize(SIZE_WIDTH, SIZE_HEIGHT);
+ shell.setText(MSG_TITLE);
if (shell.getParent() != null) {
Composite parent = shell.getParent();
Shell parentShell = parent.getShell();
@@ -214,15 +232,16 @@ public class ModelElementSelectionDialog extends Dialog {
shell.setLocation((size.x - SIZE_WIDTH) / 2, (size.y - SIZE_HEIGHT) / 2);
}
}
- }
-
+ }
+
private ILabelProvider getLabelProvider() {
try {
LabelProviderService service = registry.getService(LabelProviderService.class);
- if (service != null)
+ if (service != null) {
return service.getLabelProvider();
+ }
+ } catch (ServiceException e) {
}
- catch (ServiceException e) { }
return null;
}
}
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/Activator.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/Activator.java
index f99b732e85c..083ce44428f 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/Activator.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/Activator.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
@@ -26,6 +26,7 @@ public class Activator implements BundleActivator {
/*
* (non-Javadoc)
+ *
* @see org.osgi.framework.BundleActivator#start(org.osgi.framework.BundleContext)
*/
public void start(BundleContext bundleContext) throws Exception {
@@ -34,6 +35,7 @@ public class Activator implements BundleActivator {
/*
* (non-Javadoc)
+ *
* @see org.osgi.framework.BundleActivator#stop(org.osgi.framework.BundleContext)
*/
public void stop(BundleContext bundleContext) throws Exception {
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/Category.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/Category.java
index 58c04e1e2f5..659b907e335 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/Category.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/Category.java
@@ -1,15 +1,15 @@
/**
* 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
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- *
- *
+ *
+ *
*/
package org.eclipse.papyrus.infra.viewpoints.configuration;
@@ -23,7 +23,7 @@ import org.eclipse.emf.ecore.EObject;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.Category#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.Category#getName <em>Name</em>}</li>
* </ul>
* </p>
*
@@ -36,10 +36,10 @@ public interface Category extends EObject {
* 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.infra.viewpoints.configuration.ConfigurationPackage#getCategory_Name()
@@ -52,7 +52,9 @@ public interface Category extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.Category#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/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/ChildRule.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/ChildRule.java
index 685b7a93fc5..6c4a2795dfe 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/ChildRule.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/ChildRule.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
@@ -25,10 +25,10 @@ import org.eclipse.emf.ecore.EClass;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.ChildRule#getElement <em>Element</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.ChildRule#getStereotypes <em>Stereotypes</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.ChildRule#getOrigin <em>Origin</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.ChildRule#getInsertionPath <em>Insertion Path</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.ChildRule#getElement <em>Element</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.ChildRule#getStereotypes <em>Stereotypes</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.ChildRule#getOrigin <em>Origin</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.ChildRule#getInsertionPath <em>Insertion Path</em>}</li>
* </ul>
* </p>
*
@@ -41,10 +41,10 @@ public interface ChildRule extends Rule {
* Returns the value of the '<em><b>Element</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Element</em>' reference isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>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>Element</em>' reference.
* @see #setElement(EClass)
* @see org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage#getChildRule_Element()
@@ -57,7 +57,9 @@ public interface ChildRule extends Rule {
* Sets the value of the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.ChildRule#getElement <em>Element</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Element</em>' reference.
+ *
+ * @param value
+ * the new value of the '<em>Element</em>' reference.
* @see #getElement()
* @generated
*/
@@ -68,10 +70,10 @@ public interface ChildRule extends Rule {
* The list contents are of type {@link org.eclipse.emf.ecore.EClass}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Stereotypes</em>' reference list isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Stereotypes</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>Stereotypes</em>' reference list.
* @see org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage#getChildRule_Stereotypes()
* @model
@@ -83,10 +85,10 @@ public interface ChildRule extends Rule {
* Returns the value of the '<em><b>Origin</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Origin</em>' reference isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Origin</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Origin</em>' reference.
* @see #setOrigin(EClass)
* @see org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage#getChildRule_Origin()
@@ -99,7 +101,9 @@ public interface ChildRule extends Rule {
* Sets the value of the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.ChildRule#getOrigin <em>Origin</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Origin</em>' reference.
+ *
+ * @param value
+ * the new value of the '<em>Origin</em>' reference.
* @see #getOrigin()
* @generated
*/
@@ -110,10 +114,10 @@ public interface ChildRule extends Rule {
* The list contents are of type {@link org.eclipse.papyrus.infra.viewpoints.configuration.PathElement}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Insertion Path</em>' containment reference list isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Insertion Path</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>Insertion Path</em>' containment reference list.
* @see org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage#getChildRule_InsertionPath()
* @model containment="true"
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/ConfigurationFactory.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/ConfigurationFactory.java
index 5ffd4e9cbd3..22101c80dd6 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/ConfigurationFactory.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/ConfigurationFactory.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
@@ -20,6 +20,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.infra.viewpoints.configuration.ConfigurationPackage
* @generated
*/
@@ -28,6 +29,7 @@ public interface ConfigurationFactory extends EFactory {
* The singleton instance of the factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
ConfigurationFactory eINSTANCE = org.eclipse.papyrus.infra.viewpoints.configuration.impl.ConfigurationFactoryImpl.init();
@@ -36,6 +38,7 @@ public interface ConfigurationFactory extends EFactory {
* Returns a new object of class '<em>Papyrus Configuration</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Papyrus Configuration</em>'.
* @generated
*/
@@ -45,6 +48,7 @@ public interface ConfigurationFactory extends EFactory {
* Returns a new object of class '<em>Papyrus Viewpoint</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Papyrus Viewpoint</em>'.
* @generated
*/
@@ -54,6 +58,7 @@ public interface ConfigurationFactory extends EFactory {
* Returns a new object of class '<em>Papyrus View</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Papyrus View</em>'.
* @generated
*/
@@ -63,6 +68,7 @@ public interface ConfigurationFactory extends EFactory {
* Returns a new object of class '<em>Papyrus Diagram</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Papyrus Diagram</em>'.
* @generated
*/
@@ -72,6 +78,7 @@ public interface ConfigurationFactory extends EFactory {
* Returns a new object of class '<em>Papyrus Sync Table</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Papyrus Sync Table</em>'.
* @generated
*/
@@ -81,6 +88,7 @@ public interface ConfigurationFactory extends EFactory {
* Returns a new object of class '<em>Papyrus Table</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Papyrus Table</em>'.
* @generated
*/
@@ -90,6 +98,7 @@ public interface ConfigurationFactory extends EFactory {
* Returns a new object of class '<em>Model Rule</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Model Rule</em>'.
* @generated
*/
@@ -99,6 +108,7 @@ public interface ConfigurationFactory extends EFactory {
* Returns a new object of class '<em>Owning Rule</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Owning Rule</em>'.
* @generated
*/
@@ -108,6 +118,7 @@ public interface ConfigurationFactory extends EFactory {
* Returns a new object of class '<em>Child Rule</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Child Rule</em>'.
* @generated
*/
@@ -117,6 +128,7 @@ public interface ConfigurationFactory extends EFactory {
* Returns a new object of class '<em>Palette Rule</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Palette Rule</em>'.
* @generated
*/
@@ -126,6 +138,7 @@ public interface ConfigurationFactory extends EFactory {
* Returns a new object of class '<em>Path Element</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Path Element</em>'.
* @generated
*/
@@ -135,6 +148,7 @@ public interface ConfigurationFactory extends EFactory {
* Returns a new object of class '<em>Category</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Category</em>'.
* @generated
*/
@@ -144,6 +158,7 @@ public interface ConfigurationFactory extends EFactory {
* Returns a new object of class '<em>Model Auto Create</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Model Auto Create</em>'.
* @generated
*/
@@ -153,9 +168,10 @@ public interface ConfigurationFactory extends EFactory {
* Returns the package supported by this factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the package supported by this factory.
* @generated
*/
ConfigurationPackage getConfigurationPackage();
-} //ConfigurationFactory
+} // ConfigurationFactory
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/ConfigurationPackage.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/ConfigurationPackage.java
index 261153bcb8d..16327fb4b58 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/ConfigurationPackage.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/ConfigurationPackage.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
@@ -25,13 +25,14 @@ import org.eclipse.papyrus.infra.viewpoints.iso42010.Iso42010Package;
* 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 operation 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 operation of each class,</li>
+ * <li>each enum,</li>
+ * <li>and each data type</li>
* </ul>
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationFactory
* @model kind="package"
* @generated
@@ -41,6 +42,7 @@ public interface ConfigurationPackage extends EPackage {
* The package name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
String eNAME = "configuration";
@@ -49,6 +51,7 @@ public interface ConfigurationPackage extends EPackage {
* The package namespace URI.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
String eNS_URI = "http://www.eclipse.org/papyrus/infra/viewpoints/configuration";
@@ -57,6 +60,7 @@ public interface ConfigurationPackage extends EPackage {
* The package namespace name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
String eNS_PREFIX = "configuration";
@@ -65,6 +69,7 @@ public interface ConfigurationPackage extends EPackage {
* The singleton instance of the package.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
ConfigurationPackage eINSTANCE = org.eclipse.papyrus.infra.viewpoints.configuration.impl.ConfigurationPackageImpl.init();
@@ -73,6 +78,7 @@ public interface ConfigurationPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusConfigurationImpl <em>Papyrus Configuration</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusConfigurationImpl
* @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.ConfigurationPackageImpl#getPapyrusConfiguration()
* @generated
@@ -83,6 +89,7 @@ public interface ConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Stakeholders</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -92,6 +99,7 @@ public interface ConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Viewpoints</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -101,6 +109,7 @@ public interface ConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Rules</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -110,6 +119,7 @@ public interface ConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Concerns</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -119,6 +129,7 @@ public interface ConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Default Stakeholder</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -128,6 +139,7 @@ public interface ConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Metamodel</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -137,6 +149,7 @@ public interface ConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Categories</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -146,6 +159,7 @@ public interface ConfigurationPackage extends EPackage {
* The number of structural features of the '<em>Papyrus Configuration</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -155,6 +169,7 @@ public interface ConfigurationPackage extends EPackage {
* The number of operations of the '<em>Papyrus Configuration</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -164,6 +179,7 @@ public interface ConfigurationPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusViewpointImpl <em>Papyrus Viewpoint</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusViewpointImpl
* @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.ConfigurationPackageImpl#getPapyrusViewpoint()
* @generated
@@ -174,6 +190,7 @@ public interface ConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -183,6 +200,7 @@ public interface ConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Affected By</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -192,6 +210,7 @@ public interface ConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Model Kinds</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -201,6 +220,7 @@ public interface ConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Governs</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -210,6 +230,7 @@ public interface ConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Frames</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -219,6 +240,7 @@ public interface ConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Parent</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -228,6 +250,7 @@ public interface ConfigurationPackage extends EPackage {
* The number of structural features of the '<em>Papyrus Viewpoint</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -237,6 +260,7 @@ public interface ConfigurationPackage extends EPackage {
* The number of operations of the '<em>Papyrus Viewpoint</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -246,6 +270,7 @@ public interface ConfigurationPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusViewImpl <em>Papyrus View</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusViewImpl
* @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.ConfigurationPackageImpl#getPapyrusView()
* @generated
@@ -256,6 +281,7 @@ public interface ConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -265,6 +291,7 @@ public interface ConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Affected By</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -274,6 +301,7 @@ public interface ConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Governs</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -283,6 +311,7 @@ public interface ConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Viewpoint</b></em>' container reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -292,6 +321,7 @@ public interface ConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Icon</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -301,6 +331,7 @@ public interface ConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Parent</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -310,6 +341,7 @@ public interface ConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Profiles</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -319,6 +351,7 @@ public interface ConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Model Rules</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -328,6 +361,7 @@ public interface ConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Owning Rules</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -337,6 +371,7 @@ public interface ConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Implementation ID</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -346,6 +381,7 @@ public interface ConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Categories</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -355,6 +391,7 @@ public interface ConfigurationPackage extends EPackage {
* The number of structural features of the '<em>Papyrus View</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -364,6 +401,7 @@ public interface ConfigurationPackage extends EPackage {
* The number of operations of the '<em>Papyrus View</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -373,6 +411,7 @@ public interface ConfigurationPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusDiagramImpl <em>Papyrus Diagram</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusDiagramImpl
* @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.ConfigurationPackageImpl#getPapyrusDiagram()
* @generated
@@ -383,6 +422,7 @@ public interface ConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -392,6 +432,7 @@ public interface ConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Affected By</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -401,6 +442,7 @@ public interface ConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Governs</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -410,6 +452,7 @@ public interface ConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Viewpoint</b></em>' container reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -419,6 +462,7 @@ public interface ConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Icon</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -428,6 +472,7 @@ public interface ConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Parent</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -437,6 +482,7 @@ public interface ConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Profiles</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -446,6 +492,7 @@ public interface ConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Model Rules</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -455,6 +502,7 @@ public interface ConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Owning Rules</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -464,6 +512,7 @@ public interface ConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Implementation ID</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -473,6 +522,7 @@ public interface ConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Categories</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -482,6 +532,7 @@ public interface ConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Custom Palette</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -491,6 +542,7 @@ public interface ConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Custom Style</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -500,6 +552,7 @@ public interface ConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Child Rules</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -509,6 +562,7 @@ public interface ConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Palette Rules</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -518,6 +572,7 @@ public interface ConfigurationPackage extends EPackage {
* The number of structural features of the '<em>Papyrus Diagram</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -527,6 +582,7 @@ public interface ConfigurationPackage extends EPackage {
* The number of operations of the '<em>Papyrus Diagram</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -536,6 +592,7 @@ public interface ConfigurationPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusSyncTableImpl <em>Papyrus Sync Table</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusSyncTableImpl
* @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.ConfigurationPackageImpl#getPapyrusSyncTable()
* @generated
@@ -546,6 +603,7 @@ public interface ConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -555,6 +613,7 @@ public interface ConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Affected By</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -564,6 +623,7 @@ public interface ConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Governs</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -573,6 +633,7 @@ public interface ConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Viewpoint</b></em>' container reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -582,6 +643,7 @@ public interface ConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Icon</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -591,6 +653,7 @@ public interface ConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Parent</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -600,6 +663,7 @@ public interface ConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Profiles</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -609,6 +673,7 @@ public interface ConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Model Rules</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -618,6 +683,7 @@ public interface ConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Owning Rules</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -627,6 +693,7 @@ public interface ConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Implementation ID</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -636,6 +703,7 @@ public interface ConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Categories</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -645,6 +713,7 @@ public interface ConfigurationPackage extends EPackage {
* The number of structural features of the '<em>Papyrus Sync Table</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -654,6 +723,7 @@ public interface ConfigurationPackage extends EPackage {
* The number of operations of the '<em>Papyrus Sync Table</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -663,6 +733,7 @@ public interface ConfigurationPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusTableImpl <em>Papyrus Table</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusTableImpl
* @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.ConfigurationPackageImpl#getPapyrusTable()
* @generated
@@ -673,6 +744,7 @@ public interface ConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -682,6 +754,7 @@ public interface ConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Affected By</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -691,6 +764,7 @@ public interface ConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Governs</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -700,6 +774,7 @@ public interface ConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Viewpoint</b></em>' container reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -709,6 +784,7 @@ public interface ConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Icon</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -718,6 +794,7 @@ public interface ConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Parent</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -727,6 +804,7 @@ public interface ConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Profiles</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -736,6 +814,7 @@ public interface ConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Model Rules</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -745,6 +824,7 @@ public interface ConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Owning Rules</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -754,6 +834,7 @@ public interface ConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Implementation ID</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -763,6 +844,7 @@ public interface ConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Categories</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -772,6 +854,7 @@ public interface ConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Configuration</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -781,6 +864,7 @@ public interface ConfigurationPackage extends EPackage {
* The number of structural features of the '<em>Papyrus Table</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -790,6 +874,7 @@ public interface ConfigurationPackage extends EPackage {
* The number of operations of the '<em>Papyrus Table</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -799,6 +884,7 @@ public interface ConfigurationPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.RuleImpl <em>Rule</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.RuleImpl
* @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.ConfigurationPackageImpl#getRule()
* @generated
@@ -809,6 +895,7 @@ public interface ConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Permit</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -818,6 +905,7 @@ public interface ConfigurationPackage extends EPackage {
* The number of structural features of the '<em>Rule</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -827,6 +915,7 @@ public interface ConfigurationPackage extends EPackage {
* The number of operations of the '<em>Rule</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -836,6 +925,7 @@ public interface ConfigurationPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.ModelRuleImpl <em>Model Rule</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.ModelRuleImpl
* @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.ConfigurationPackageImpl#getModelRule()
* @generated
@@ -846,6 +936,7 @@ public interface ConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Permit</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -855,6 +946,7 @@ public interface ConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Constraints</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -864,6 +956,7 @@ public interface ConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Element Multiplicity</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -873,6 +966,7 @@ public interface ConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -882,6 +976,7 @@ public interface ConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Stereotypes</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -891,6 +986,7 @@ public interface ConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Multiplicity</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -900,6 +996,7 @@ public interface ConfigurationPackage extends EPackage {
* The number of structural features of the '<em>Model Rule</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -909,6 +1006,7 @@ public interface ConfigurationPackage extends EPackage {
* The number of operations of the '<em>Model Rule</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -918,6 +1016,7 @@ public interface ConfigurationPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.OwningRuleImpl <em>Owning Rule</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.OwningRuleImpl
* @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.ConfigurationPackageImpl#getOwningRule()
* @generated
@@ -928,6 +1027,7 @@ public interface ConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Permit</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -937,6 +1037,7 @@ public interface ConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -946,6 +1047,7 @@ public interface ConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Stereotypes</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -955,6 +1057,7 @@ public interface ConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Multiplicity</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -964,6 +1067,7 @@ public interface ConfigurationPackage extends EPackage {
* The feature id for the '<em><b>New Model Path</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -973,6 +1077,7 @@ public interface ConfigurationPackage extends EPackage {
* The number of structural features of the '<em>Owning Rule</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -982,6 +1087,7 @@ public interface ConfigurationPackage extends EPackage {
* The number of operations of the '<em>Owning Rule</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -991,6 +1097,7 @@ public interface ConfigurationPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.ChildRuleImpl <em>Child Rule</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.ChildRuleImpl
* @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.ConfigurationPackageImpl#getChildRule()
* @generated
@@ -1001,6 +1108,7 @@ public interface ConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Permit</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1010,6 +1118,7 @@ public interface ConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1019,6 +1128,7 @@ public interface ConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Stereotypes</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1028,6 +1138,7 @@ public interface ConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Origin</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1037,6 +1148,7 @@ public interface ConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Insertion Path</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1046,6 +1158,7 @@ public interface ConfigurationPackage extends EPackage {
* The number of structural features of the '<em>Child Rule</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1055,6 +1168,7 @@ public interface ConfigurationPackage extends EPackage {
* The number of operations of the '<em>Child Rule</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1064,6 +1178,7 @@ public interface ConfigurationPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PaletteRuleImpl <em>Palette Rule</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.PaletteRuleImpl
* @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.ConfigurationPackageImpl#getPaletteRule()
* @generated
@@ -1074,6 +1189,7 @@ public interface ConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Permit</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1083,6 +1199,7 @@ public interface ConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Element</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1092,6 +1209,7 @@ public interface ConfigurationPackage extends EPackage {
* The number of structural features of the '<em>Palette Rule</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1101,6 +1219,7 @@ public interface ConfigurationPackage extends EPackage {
* The number of operations of the '<em>Palette Rule</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1110,6 +1229,7 @@ public interface ConfigurationPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PathElementImpl <em>Path Element</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.PathElementImpl
* @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.ConfigurationPackageImpl#getPathElement()
* @generated
@@ -1120,6 +1240,7 @@ public interface ConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Feature</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1129,6 +1250,7 @@ public interface ConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Origin</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1138,6 +1260,7 @@ public interface ConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Target</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1147,6 +1270,7 @@ public interface ConfigurationPackage extends EPackage {
* The number of structural features of the '<em>Path Element</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1156,6 +1280,7 @@ public interface ConfigurationPackage extends EPackage {
* The number of operations of the '<em>Path Element</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1166,6 +1291,7 @@ public interface ConfigurationPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.CategoryImpl <em>Category</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.CategoryImpl
* @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.ConfigurationPackageImpl#getCategory()
* @generated
@@ -1176,6 +1302,7 @@ public interface ConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1185,6 +1312,7 @@ public interface ConfigurationPackage extends EPackage {
* The number of structural features of the '<em>Category</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1194,6 +1322,7 @@ public interface ConfigurationPackage extends EPackage {
* The number of operations of the '<em>Category</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1204,6 +1333,7 @@ public interface ConfigurationPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.ModelAutoCreateImpl <em>Model Auto Create</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.ModelAutoCreateImpl
* @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.ConfigurationPackageImpl#getModelAutoCreate()
* @generated
@@ -1214,6 +1344,7 @@ public interface ConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Feature</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1223,6 +1354,7 @@ public interface ConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Origin</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1232,6 +1364,7 @@ public interface ConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Creation Type</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1241,6 +1374,7 @@ public interface ConfigurationPackage extends EPackage {
* The number of structural features of the '<em>Model Auto Create</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1250,6 +1384,7 @@ public interface ConfigurationPackage extends EPackage {
* The number of operations of the '<em>Model Auto Create</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1259,6 +1394,7 @@ public interface ConfigurationPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusConfiguration <em>Papyrus Configuration</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Papyrus Configuration</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusConfiguration
* @generated
@@ -1269,6 +1405,7 @@ public interface ConfigurationPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusConfiguration#getDefaultStakeholder <em>Default Stakeholder</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference '<em>Default Stakeholder</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusConfiguration#getDefaultStakeholder()
* @see #getPapyrusConfiguration()
@@ -1280,6 +1417,7 @@ public interface ConfigurationPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusConfiguration#getMetamodel <em>Metamodel</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference '<em>Metamodel</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusConfiguration#getMetamodel()
* @see #getPapyrusConfiguration()
@@ -1291,6 +1429,7 @@ public interface ConfigurationPackage extends EPackage {
* Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusConfiguration#getCategories <em>Categories</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the containment reference list '<em>Categories</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusConfiguration#getCategories()
* @see #getPapyrusConfiguration()
@@ -1302,6 +1441,7 @@ public interface ConfigurationPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusViewpoint <em>Papyrus Viewpoint</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Papyrus Viewpoint</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusViewpoint
* @generated
@@ -1312,6 +1452,7 @@ public interface ConfigurationPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusViewpoint#getParent <em>Parent</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference '<em>Parent</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusViewpoint#getParent()
* @see #getPapyrusViewpoint()
@@ -1323,6 +1464,7 @@ public interface ConfigurationPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusView <em>Papyrus View</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Papyrus View</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusView
* @generated
@@ -1333,6 +1475,7 @@ public interface ConfigurationPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusView#getIcon <em>Icon</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the attribute '<em>Icon</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusView#getIcon()
* @see #getPapyrusView()
@@ -1344,6 +1487,7 @@ public interface ConfigurationPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusView#getParent <em>Parent</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference '<em>Parent</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusView#getParent()
* @see #getPapyrusView()
@@ -1355,6 +1499,7 @@ public interface ConfigurationPackage extends EPackage {
* Returns the meta object for the reference list '{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusView#getProfiles <em>Profiles</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference list '<em>Profiles</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusView#getProfiles()
* @see #getPapyrusView()
@@ -1366,6 +1511,7 @@ public interface ConfigurationPackage extends EPackage {
* Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusView#getModelRules <em>Model Rules</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the containment reference list '<em>Model Rules</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusView#getModelRules()
* @see #getPapyrusView()
@@ -1377,6 +1523,7 @@ public interface ConfigurationPackage extends EPackage {
* Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusView#getOwningRules <em>Owning Rules</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the containment reference list '<em>Owning Rules</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusView#getOwningRules()
* @see #getPapyrusView()
@@ -1388,6 +1535,7 @@ public interface ConfigurationPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusView#getImplementationID <em>Implementation ID</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the attribute '<em>Implementation ID</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusView#getImplementationID()
* @see #getPapyrusView()
@@ -1399,6 +1547,7 @@ public interface ConfigurationPackage extends EPackage {
* Returns the meta object for the reference list '{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusView#getCategories <em>Categories</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference list '<em>Categories</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusView#getCategories()
* @see #getPapyrusView()
@@ -1410,6 +1559,7 @@ public interface ConfigurationPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusDiagram <em>Papyrus Diagram</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Papyrus Diagram</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusDiagram
* @generated
@@ -1420,6 +1570,7 @@ public interface ConfigurationPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusDiagram#getCustomPalette <em>Custom Palette</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the attribute '<em>Custom Palette</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusDiagram#getCustomPalette()
* @see #getPapyrusDiagram()
@@ -1431,6 +1582,7 @@ public interface ConfigurationPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusDiagram#getCustomStyle <em>Custom Style</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the attribute '<em>Custom Style</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusDiagram#getCustomStyle()
* @see #getPapyrusDiagram()
@@ -1442,6 +1594,7 @@ public interface ConfigurationPackage extends EPackage {
* Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusDiagram#getChildRules <em>Child Rules</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the containment reference list '<em>Child Rules</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusDiagram#getChildRules()
* @see #getPapyrusDiagram()
@@ -1453,6 +1606,7 @@ public interface ConfigurationPackage extends EPackage {
* Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusDiagram#getPaletteRules <em>Palette Rules</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the containment reference list '<em>Palette Rules</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusDiagram#getPaletteRules()
* @see #getPapyrusDiagram()
@@ -1464,6 +1618,7 @@ public interface ConfigurationPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusSyncTable <em>Papyrus Sync Table</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Papyrus Sync Table</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusSyncTable
* @generated
@@ -1474,6 +1629,7 @@ public interface ConfigurationPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusTable <em>Papyrus Table</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Papyrus Table</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusTable
* @generated
@@ -1484,6 +1640,7 @@ public interface ConfigurationPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusTable#getConfiguration <em>Configuration</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the attribute '<em>Configuration</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusTable#getConfiguration()
* @see #getPapyrusTable()
@@ -1495,6 +1652,7 @@ public interface ConfigurationPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.infra.viewpoints.configuration.ModelRule <em>Model Rule</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Model Rule</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.configuration.ModelRule
* @generated
@@ -1505,6 +1663,7 @@ public interface ConfigurationPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.infra.viewpoints.configuration.ModelRule#getElement <em>Element</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference '<em>Element</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.configuration.ModelRule#getElement()
* @see #getModelRule()
@@ -1516,6 +1675,7 @@ public interface ConfigurationPackage extends EPackage {
* Returns the meta object for the reference list '{@link org.eclipse.papyrus.infra.viewpoints.configuration.ModelRule#getStereotypes <em>Stereotypes</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference list '<em>Stereotypes</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.configuration.ModelRule#getStereotypes()
* @see #getModelRule()
@@ -1527,6 +1687,7 @@ public interface ConfigurationPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.viewpoints.configuration.ModelRule#getMultiplicity <em>Multiplicity</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the attribute '<em>Multiplicity</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.configuration.ModelRule#getMultiplicity()
* @see #getModelRule()
@@ -1538,6 +1699,7 @@ public interface ConfigurationPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.infra.viewpoints.configuration.OwningRule <em>Owning Rule</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Owning Rule</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.configuration.OwningRule
* @generated
@@ -1548,6 +1710,7 @@ public interface ConfigurationPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.infra.viewpoints.configuration.OwningRule#getElement <em>Element</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference '<em>Element</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.configuration.OwningRule#getElement()
* @see #getOwningRule()
@@ -1559,6 +1722,7 @@ public interface ConfigurationPackage extends EPackage {
* Returns the meta object for the reference list '{@link org.eclipse.papyrus.infra.viewpoints.configuration.OwningRule#getStereotypes <em>Stereotypes</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference list '<em>Stereotypes</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.configuration.OwningRule#getStereotypes()
* @see #getOwningRule()
@@ -1570,6 +1734,7 @@ public interface ConfigurationPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.viewpoints.configuration.OwningRule#getMultiplicity <em>Multiplicity</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the attribute '<em>Multiplicity</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.configuration.OwningRule#getMultiplicity()
* @see #getOwningRule()
@@ -1581,6 +1746,7 @@ public interface ConfigurationPackage extends EPackage {
* Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.infra.viewpoints.configuration.OwningRule#getNewModelPath <em>New Model Path</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the containment reference list '<em>New Model Path</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.configuration.OwningRule#getNewModelPath()
* @see #getOwningRule()
@@ -1592,6 +1758,7 @@ public interface ConfigurationPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.infra.viewpoints.configuration.ChildRule <em>Child Rule</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Child Rule</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.configuration.ChildRule
* @generated
@@ -1602,6 +1769,7 @@ public interface ConfigurationPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.infra.viewpoints.configuration.ChildRule#getElement <em>Element</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference '<em>Element</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.configuration.ChildRule#getElement()
* @see #getChildRule()
@@ -1613,6 +1781,7 @@ public interface ConfigurationPackage extends EPackage {
* Returns the meta object for the reference list '{@link org.eclipse.papyrus.infra.viewpoints.configuration.ChildRule#getStereotypes <em>Stereotypes</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference list '<em>Stereotypes</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.configuration.ChildRule#getStereotypes()
* @see #getChildRule()
@@ -1624,6 +1793,7 @@ public interface ConfigurationPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.infra.viewpoints.configuration.ChildRule#getOrigin <em>Origin</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference '<em>Origin</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.configuration.ChildRule#getOrigin()
* @see #getChildRule()
@@ -1635,6 +1805,7 @@ public interface ConfigurationPackage extends EPackage {
* Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.infra.viewpoints.configuration.ChildRule#getInsertionPath <em>Insertion Path</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the containment reference list '<em>Insertion Path</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.configuration.ChildRule#getInsertionPath()
* @see #getChildRule()
@@ -1646,6 +1817,7 @@ public interface ConfigurationPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.infra.viewpoints.configuration.PaletteRule <em>Palette Rule</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Palette Rule</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.configuration.PaletteRule
* @generated
@@ -1656,6 +1828,7 @@ public interface ConfigurationPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.viewpoints.configuration.PaletteRule#getElement <em>Element</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the attribute '<em>Element</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.configuration.PaletteRule#getElement()
* @see #getPaletteRule()
@@ -1667,6 +1840,7 @@ public interface ConfigurationPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.infra.viewpoints.configuration.Rule <em>Rule</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Rule</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.configuration.Rule
* @generated
@@ -1677,6 +1851,7 @@ public interface ConfigurationPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.viewpoints.configuration.Rule#isPermit <em>Permit</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the attribute '<em>Permit</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.configuration.Rule#isPermit()
* @see #getRule()
@@ -1688,6 +1863,7 @@ public interface ConfigurationPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.infra.viewpoints.configuration.PathElement <em>Path Element</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Path Element</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.configuration.PathElement
* @generated
@@ -1698,6 +1874,7 @@ public interface ConfigurationPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.infra.viewpoints.configuration.PathElement#getFeature <em>Feature</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference '<em>Feature</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.configuration.PathElement#getFeature()
* @see #getPathElement()
@@ -1709,6 +1886,7 @@ public interface ConfigurationPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.infra.viewpoints.configuration.PathElement#getOrigin <em>Origin</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference '<em>Origin</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.configuration.PathElement#getOrigin()
* @see #getPathElement()
@@ -1720,6 +1898,7 @@ public interface ConfigurationPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.infra.viewpoints.configuration.PathElement#getTarget <em>Target</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference '<em>Target</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.configuration.PathElement#getTarget()
* @see #getPathElement()
@@ -1731,6 +1910,7 @@ public interface ConfigurationPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.infra.viewpoints.configuration.Category <em>Category</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Category</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.configuration.Category
* @generated
@@ -1741,6 +1921,7 @@ public interface ConfigurationPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.viewpoints.configuration.Category#getName <em>Name</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the attribute '<em>Name</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.configuration.Category#getName()
* @see #getCategory()
@@ -1752,6 +1933,7 @@ public interface ConfigurationPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.infra.viewpoints.configuration.ModelAutoCreate <em>Model Auto Create</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Model Auto Create</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.configuration.ModelAutoCreate
* @generated
@@ -1762,6 +1944,7 @@ public interface ConfigurationPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.infra.viewpoints.configuration.ModelAutoCreate#getFeature <em>Feature</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference '<em>Feature</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.configuration.ModelAutoCreate#getFeature()
* @see #getModelAutoCreate()
@@ -1773,6 +1956,7 @@ public interface ConfigurationPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.infra.viewpoints.configuration.ModelAutoCreate#getOrigin <em>Origin</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference '<em>Origin</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.configuration.ModelAutoCreate#getOrigin()
* @see #getModelAutoCreate()
@@ -1784,6 +1968,7 @@ public interface ConfigurationPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.viewpoints.configuration.ModelAutoCreate#getCreationType <em>Creation Type</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the attribute '<em>Creation Type</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.configuration.ModelAutoCreate#getCreationType()
* @see #getModelAutoCreate()
@@ -1795,6 +1980,7 @@ public interface ConfigurationPackage 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
*/
@@ -1804,13 +1990,14 @@ public interface ConfigurationPackage 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 operation 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 operation of each class,</li>
+ * <li>each enum,</li>
+ * <li>and each data type</li>
* </ul>
* <!-- end-user-doc -->
+ *
* @generated
*/
interface Literals {
@@ -1818,6 +2005,7 @@ public interface ConfigurationPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusConfigurationImpl <em>Papyrus Configuration</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusConfigurationImpl
* @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.ConfigurationPackageImpl#getPapyrusConfiguration()
* @generated
@@ -1828,6 +2016,7 @@ public interface ConfigurationPackage extends EPackage {
* The meta object literal for the '<em><b>Default Stakeholder</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference PAPYRUS_CONFIGURATION__DEFAULT_STAKEHOLDER = eINSTANCE.getPapyrusConfiguration_DefaultStakeholder();
@@ -1836,6 +2025,7 @@ public interface ConfigurationPackage extends EPackage {
* The meta object literal for the '<em><b>Metamodel</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference PAPYRUS_CONFIGURATION__METAMODEL = eINSTANCE.getPapyrusConfiguration_Metamodel();
@@ -1844,6 +2034,7 @@ public interface ConfigurationPackage extends EPackage {
* The meta object literal for the '<em><b>Categories</b></em>' containment reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference PAPYRUS_CONFIGURATION__CATEGORIES = eINSTANCE.getPapyrusConfiguration_Categories();
@@ -1852,6 +2043,7 @@ public interface ConfigurationPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusViewpointImpl <em>Papyrus Viewpoint</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusViewpointImpl
* @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.ConfigurationPackageImpl#getPapyrusViewpoint()
* @generated
@@ -1862,6 +2054,7 @@ public interface ConfigurationPackage extends EPackage {
* The meta object literal for the '<em><b>Parent</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference PAPYRUS_VIEWPOINT__PARENT = eINSTANCE.getPapyrusViewpoint_Parent();
@@ -1870,6 +2063,7 @@ public interface ConfigurationPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusViewImpl <em>Papyrus View</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusViewImpl
* @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.ConfigurationPackageImpl#getPapyrusView()
* @generated
@@ -1880,6 +2074,7 @@ public interface ConfigurationPackage extends EPackage {
* The meta object literal for the '<em><b>Icon</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EAttribute PAPYRUS_VIEW__ICON = eINSTANCE.getPapyrusView_Icon();
@@ -1888,6 +2083,7 @@ public interface ConfigurationPackage extends EPackage {
* The meta object literal for the '<em><b>Parent</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference PAPYRUS_VIEW__PARENT = eINSTANCE.getPapyrusView_Parent();
@@ -1896,6 +2092,7 @@ public interface ConfigurationPackage extends EPackage {
* The meta object literal for the '<em><b>Profiles</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference PAPYRUS_VIEW__PROFILES = eINSTANCE.getPapyrusView_Profiles();
@@ -1904,6 +2101,7 @@ public interface ConfigurationPackage extends EPackage {
* The meta object literal for the '<em><b>Model Rules</b></em>' containment reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference PAPYRUS_VIEW__MODEL_RULES = eINSTANCE.getPapyrusView_ModelRules();
@@ -1912,6 +2110,7 @@ public interface ConfigurationPackage extends EPackage {
* The meta object literal for the '<em><b>Owning Rules</b></em>' containment reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference PAPYRUS_VIEW__OWNING_RULES = eINSTANCE.getPapyrusView_OwningRules();
@@ -1920,6 +2119,7 @@ public interface ConfigurationPackage extends EPackage {
* The meta object literal for the '<em><b>Implementation ID</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EAttribute PAPYRUS_VIEW__IMPLEMENTATION_ID = eINSTANCE.getPapyrusView_ImplementationID();
@@ -1928,6 +2128,7 @@ public interface ConfigurationPackage extends EPackage {
* The meta object literal for the '<em><b>Categories</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference PAPYRUS_VIEW__CATEGORIES = eINSTANCE.getPapyrusView_Categories();
@@ -1936,6 +2137,7 @@ public interface ConfigurationPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusDiagramImpl <em>Papyrus Diagram</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusDiagramImpl
* @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.ConfigurationPackageImpl#getPapyrusDiagram()
* @generated
@@ -1946,6 +2148,7 @@ public interface ConfigurationPackage extends EPackage {
* The meta object literal for the '<em><b>Custom Palette</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EAttribute PAPYRUS_DIAGRAM__CUSTOM_PALETTE = eINSTANCE.getPapyrusDiagram_CustomPalette();
@@ -1954,6 +2157,7 @@ public interface ConfigurationPackage extends EPackage {
* The meta object literal for the '<em><b>Custom Style</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EAttribute PAPYRUS_DIAGRAM__CUSTOM_STYLE = eINSTANCE.getPapyrusDiagram_CustomStyle();
@@ -1962,6 +2166,7 @@ public interface ConfigurationPackage extends EPackage {
* The meta object literal for the '<em><b>Child Rules</b></em>' containment reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference PAPYRUS_DIAGRAM__CHILD_RULES = eINSTANCE.getPapyrusDiagram_ChildRules();
@@ -1970,6 +2175,7 @@ public interface ConfigurationPackage extends EPackage {
* The meta object literal for the '<em><b>Palette Rules</b></em>' containment reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference PAPYRUS_DIAGRAM__PALETTE_RULES = eINSTANCE.getPapyrusDiagram_PaletteRules();
@@ -1978,6 +2184,7 @@ public interface ConfigurationPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusSyncTableImpl <em>Papyrus Sync Table</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusSyncTableImpl
* @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.ConfigurationPackageImpl#getPapyrusSyncTable()
* @generated
@@ -1988,6 +2195,7 @@ public interface ConfigurationPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusTableImpl <em>Papyrus Table</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusTableImpl
* @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.ConfigurationPackageImpl#getPapyrusTable()
* @generated
@@ -1998,6 +2206,7 @@ public interface ConfigurationPackage extends EPackage {
* The meta object literal for the '<em><b>Configuration</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EAttribute PAPYRUS_TABLE__CONFIGURATION = eINSTANCE.getPapyrusTable_Configuration();
@@ -2006,6 +2215,7 @@ public interface ConfigurationPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.ModelRuleImpl <em>Model Rule</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.ModelRuleImpl
* @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.ConfigurationPackageImpl#getModelRule()
* @generated
@@ -2016,6 +2226,7 @@ public interface ConfigurationPackage extends EPackage {
* The meta object literal for the '<em><b>Element</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference MODEL_RULE__ELEMENT = eINSTANCE.getModelRule_Element();
@@ -2024,6 +2235,7 @@ public interface ConfigurationPackage extends EPackage {
* The meta object literal for the '<em><b>Stereotypes</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference MODEL_RULE__STEREOTYPES = eINSTANCE.getModelRule_Stereotypes();
@@ -2032,6 +2244,7 @@ public interface ConfigurationPackage extends EPackage {
* The meta object literal for the '<em><b>Multiplicity</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EAttribute MODEL_RULE__MULTIPLICITY = eINSTANCE.getModelRule_Multiplicity();
@@ -2040,6 +2253,7 @@ public interface ConfigurationPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.OwningRuleImpl <em>Owning Rule</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.OwningRuleImpl
* @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.ConfigurationPackageImpl#getOwningRule()
* @generated
@@ -2050,6 +2264,7 @@ public interface ConfigurationPackage extends EPackage {
* The meta object literal for the '<em><b>Element</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference OWNING_RULE__ELEMENT = eINSTANCE.getOwningRule_Element();
@@ -2058,6 +2273,7 @@ public interface ConfigurationPackage extends EPackage {
* The meta object literal for the '<em><b>Stereotypes</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference OWNING_RULE__STEREOTYPES = eINSTANCE.getOwningRule_Stereotypes();
@@ -2066,6 +2282,7 @@ public interface ConfigurationPackage extends EPackage {
* The meta object literal for the '<em><b>Multiplicity</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EAttribute OWNING_RULE__MULTIPLICITY = eINSTANCE.getOwningRule_Multiplicity();
@@ -2074,6 +2291,7 @@ public interface ConfigurationPackage extends EPackage {
* The meta object literal for the '<em><b>New Model Path</b></em>' containment reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference OWNING_RULE__NEW_MODEL_PATH = eINSTANCE.getOwningRule_NewModelPath();
@@ -2082,6 +2300,7 @@ public interface ConfigurationPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.ChildRuleImpl <em>Child Rule</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.ChildRuleImpl
* @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.ConfigurationPackageImpl#getChildRule()
* @generated
@@ -2092,6 +2311,7 @@ public interface ConfigurationPackage extends EPackage {
* The meta object literal for the '<em><b>Element</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference CHILD_RULE__ELEMENT = eINSTANCE.getChildRule_Element();
@@ -2100,6 +2320,7 @@ public interface ConfigurationPackage extends EPackage {
* The meta object literal for the '<em><b>Stereotypes</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference CHILD_RULE__STEREOTYPES = eINSTANCE.getChildRule_Stereotypes();
@@ -2108,6 +2329,7 @@ public interface ConfigurationPackage extends EPackage {
* The meta object literal for the '<em><b>Origin</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference CHILD_RULE__ORIGIN = eINSTANCE.getChildRule_Origin();
@@ -2116,6 +2338,7 @@ public interface ConfigurationPackage extends EPackage {
* The meta object literal for the '<em><b>Insertion Path</b></em>' containment reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference CHILD_RULE__INSERTION_PATH = eINSTANCE.getChildRule_InsertionPath();
@@ -2124,6 +2347,7 @@ public interface ConfigurationPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PaletteRuleImpl <em>Palette Rule</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.PaletteRuleImpl
* @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.ConfigurationPackageImpl#getPaletteRule()
* @generated
@@ -2134,6 +2358,7 @@ public interface ConfigurationPackage extends EPackage {
* The meta object literal for the '<em><b>Element</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EAttribute PALETTE_RULE__ELEMENT = eINSTANCE.getPaletteRule_Element();
@@ -2142,6 +2367,7 @@ public interface ConfigurationPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.RuleImpl <em>Rule</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.RuleImpl
* @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.ConfigurationPackageImpl#getRule()
* @generated
@@ -2152,6 +2378,7 @@ public interface ConfigurationPackage extends EPackage {
* The meta object literal for the '<em><b>Permit</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EAttribute RULE__PERMIT = eINSTANCE.getRule_Permit();
@@ -2160,6 +2387,7 @@ public interface ConfigurationPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PathElementImpl <em>Path Element</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.PathElementImpl
* @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.ConfigurationPackageImpl#getPathElement()
* @generated
@@ -2170,6 +2398,7 @@ public interface ConfigurationPackage extends EPackage {
* The meta object literal for the '<em><b>Feature</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference PATH_ELEMENT__FEATURE = eINSTANCE.getPathElement_Feature();
@@ -2178,6 +2407,7 @@ public interface ConfigurationPackage extends EPackage {
* The meta object literal for the '<em><b>Origin</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference PATH_ELEMENT__ORIGIN = eINSTANCE.getPathElement_Origin();
@@ -2186,6 +2416,7 @@ public interface ConfigurationPackage extends EPackage {
* The meta object literal for the '<em><b>Target</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference PATH_ELEMENT__TARGET = eINSTANCE.getPathElement_Target();
@@ -2194,6 +2425,7 @@ public interface ConfigurationPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.CategoryImpl <em>Category</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.CategoryImpl
* @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.ConfigurationPackageImpl#getCategory()
* @generated
@@ -2204,6 +2436,7 @@ public interface ConfigurationPackage extends EPackage {
* The meta object literal for the '<em><b>Name</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EAttribute CATEGORY__NAME = eINSTANCE.getCategory_Name();
@@ -2212,6 +2445,7 @@ public interface ConfigurationPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.ModelAutoCreateImpl <em>Model Auto Create</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.ModelAutoCreateImpl
* @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.ConfigurationPackageImpl#getModelAutoCreate()
* @generated
@@ -2222,6 +2456,7 @@ public interface ConfigurationPackage extends EPackage {
* The meta object literal for the '<em><b>Feature</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference MODEL_AUTO_CREATE__FEATURE = eINSTANCE.getModelAutoCreate_Feature();
@@ -2230,6 +2465,7 @@ public interface ConfigurationPackage extends EPackage {
* The meta object literal for the '<em><b>Origin</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference MODEL_AUTO_CREATE__ORIGIN = eINSTANCE.getModelAutoCreate_Origin();
@@ -2238,10 +2474,11 @@ public interface ConfigurationPackage extends EPackage {
* The meta object literal for the '<em><b>Creation Type</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EAttribute MODEL_AUTO_CREATE__CREATION_TYPE = eINSTANCE.getModelAutoCreate_CreationType();
}
-} //ConfigurationPackage
+} // ConfigurationPackage
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/ModelAutoCreate.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/ModelAutoCreate.java
index 5554224f4c9..1b257c18c3b 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/ModelAutoCreate.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/ModelAutoCreate.java
@@ -1,15 +1,15 @@
/**
* 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
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- *
- *
+ *
+ *
*/
package org.eclipse.papyrus.infra.viewpoints.configuration;
@@ -25,9 +25,9 @@ import org.eclipse.emf.ecore.EReference;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.ModelAutoCreate#getFeature <em>Feature</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.ModelAutoCreate#getOrigin <em>Origin</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.ModelAutoCreate#getCreationType <em>Creation Type</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.ModelAutoCreate#getFeature <em>Feature</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.ModelAutoCreate#getOrigin <em>Origin</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.ModelAutoCreate#getCreationType <em>Creation Type</em>}</li>
* </ul>
* </p>
*
@@ -40,10 +40,10 @@ public interface ModelAutoCreate extends EObject {
* Returns the value of the '<em><b>Feature</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Feature</em>' reference isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Feature</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Feature</em>' reference.
* @see #setFeature(EReference)
* @see org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage#getModelAutoCreate_Feature()
@@ -56,7 +56,9 @@ public interface ModelAutoCreate extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.ModelAutoCreate#getFeature <em>Feature</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Feature</em>' reference.
+ *
+ * @param value
+ * the new value of the '<em>Feature</em>' reference.
* @see #getFeature()
* @generated
*/
@@ -66,10 +68,10 @@ public interface ModelAutoCreate extends EObject {
* Returns the value of the '<em><b>Origin</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Origin</em>' reference isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Origin</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Origin</em>' reference.
* @see org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage#getModelAutoCreate_Origin()
* @model required="true" transient="true" changeable="false" volatile="true" derived="true"
@@ -81,10 +83,10 @@ public interface ModelAutoCreate extends EObject {
* Returns the value of the '<em><b>Creation Type</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Creation Type</em>' reference isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Creation 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>Creation Type</em>' attribute.
* @see #setCreationType(String)
* @see org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage#getModelAutoCreate_CreationType()
@@ -97,7 +99,9 @@ public interface ModelAutoCreate extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.ModelAutoCreate#getCreationType <em>Creation Type</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Creation Type</em>' attribute.
+ *
+ * @param value
+ * the new value of the '<em>Creation Type</em>' attribute.
* @see #getCreationType()
* @generated
*/
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/ModelRule.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/ModelRule.java
index 2df70007047..2bf9922ec87 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/ModelRule.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/ModelRule.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
@@ -25,9 +25,9 @@ import org.eclipse.papyrus.infra.constraints.DisplayUnit;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.ModelRule#getElement <em>Element</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.ModelRule#getStereotypes <em>Stereotypes</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.ModelRule#getMultiplicity <em>Multiplicity</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.ModelRule#getElement <em>Element</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.ModelRule#getStereotypes <em>Stereotypes</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.ModelRule#getMultiplicity <em>Multiplicity</em>}</li>
* </ul>
* </p>
*
@@ -40,10 +40,10 @@ public interface ModelRule extends Rule, DisplayUnit {
* Returns the value of the '<em><b>Element</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Element</em>' reference isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>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>Element</em>' reference.
* @see #setElement(EClass)
* @see org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage#getModelRule_Element()
@@ -56,7 +56,9 @@ public interface ModelRule extends Rule, DisplayUnit {
* Sets the value of the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.ModelRule#getElement <em>Element</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Element</em>' reference.
+ *
+ * @param value
+ * the new value of the '<em>Element</em>' reference.
* @see #getElement()
* @generated
*/
@@ -67,10 +69,10 @@ public interface ModelRule extends Rule, DisplayUnit {
* The list contents are of type {@link org.eclipse.emf.ecore.EClass}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Stereotypes</em>' reference list isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Stereotypes</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>Stereotypes</em>' reference list.
* @see org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage#getModelRule_Stereotypes()
* @model
@@ -83,10 +85,10 @@ public interface ModelRule extends Rule, DisplayUnit {
* The default value is <code>"-1"</code>.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Multiplicity</em>' attribute isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Multiplicity</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Multiplicity</em>' attribute.
* @see #setMultiplicity(int)
* @see org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage#getModelRule_Multiplicity()
@@ -99,7 +101,9 @@ public interface ModelRule extends Rule, DisplayUnit {
* Sets the value of the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.ModelRule#getMultiplicity <em>Multiplicity</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Multiplicity</em>' attribute.
+ *
+ * @param value
+ * the new value of the '<em>Multiplicity</em>' attribute.
* @see #getMultiplicity()
* @generated
*/
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/OwningRule.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/OwningRule.java
index d6ab0dc0f4d..60128701080 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/OwningRule.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/OwningRule.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
@@ -24,10 +24,10 @@ import org.eclipse.emf.ecore.EClass;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.OwningRule#getElement <em>Element</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.OwningRule#getStereotypes <em>Stereotypes</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.OwningRule#getMultiplicity <em>Multiplicity</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.OwningRule#getNewModelPath <em>New Model Path</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.OwningRule#getElement <em>Element</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.OwningRule#getStereotypes <em>Stereotypes</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.OwningRule#getMultiplicity <em>Multiplicity</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.OwningRule#getNewModelPath <em>New Model Path</em>}</li>
* </ul>
* </p>
*
@@ -40,10 +40,10 @@ public interface OwningRule extends Rule {
* Returns the value of the '<em><b>Element</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Element</em>' reference isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>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>Element</em>' reference.
* @see #setElement(EClass)
* @see org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage#getOwningRule_Element()
@@ -56,7 +56,9 @@ public interface OwningRule extends Rule {
* Sets the value of the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.OwningRule#getElement <em>Element</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Element</em>' reference.
+ *
+ * @param value
+ * the new value of the '<em>Element</em>' reference.
* @see #getElement()
* @generated
*/
@@ -67,10 +69,10 @@ public interface OwningRule extends Rule {
* The list contents are of type {@link org.eclipse.emf.ecore.EClass}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Stereotypes</em>' reference list isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Stereotypes</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>Stereotypes</em>' reference list.
* @see org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage#getOwningRule_Stereotypes()
* @model
@@ -83,10 +85,10 @@ public interface OwningRule extends Rule {
* The default value is <code>"-1"</code>.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Multiplicity</em>' attribute isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Multiplicity</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Multiplicity</em>' attribute.
* @see #setMultiplicity(int)
* @see org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage#getOwningRule_Multiplicity()
@@ -99,7 +101,9 @@ public interface OwningRule extends Rule {
* Sets the value of the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.OwningRule#getMultiplicity <em>Multiplicity</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Multiplicity</em>' attribute.
+ *
+ * @param value
+ * the new value of the '<em>Multiplicity</em>' attribute.
* @see #getMultiplicity()
* @generated
*/
@@ -110,10 +114,10 @@ public interface OwningRule extends Rule {
* The list contents are of type {@link org.eclipse.papyrus.infra.viewpoints.configuration.ModelAutoCreate}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>New Model Path</em>' reference list isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>New Model Path</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>New Model Path</em>' containment reference list.
* @see org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage#getOwningRule_NewModelPath()
* @model containment="true"
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/PaletteRule.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/PaletteRule.java
index 278c3cd5c95..1662972368a 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/PaletteRule.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/PaletteRule.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
@@ -22,7 +22,7 @@ package org.eclipse.papyrus.infra.viewpoints.configuration;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.PaletteRule#getElement <em>Element</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.PaletteRule#getElement <em>Element</em>}</li>
* </ul>
* </p>
*
@@ -35,10 +35,10 @@ public interface PaletteRule extends Rule {
* Returns the value of the '<em><b>Element</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Element</em>' attribute isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Element</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</em>' attribute.
* @see #setElement(String)
* @see org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage#getPaletteRule_Element()
@@ -51,7 +51,9 @@ public interface PaletteRule extends Rule {
* Sets the value of the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.PaletteRule#getElement <em>Element</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Element</em>' attribute.
+ *
+ * @param value
+ * the new value of the '<em>Element</em>' attribute.
* @see #getElement()
* @generated
*/
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/PapyrusConfiguration.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/PapyrusConfiguration.java
index 774115ca1d3..1889afda7da 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/PapyrusConfiguration.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/PapyrusConfiguration.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
@@ -26,9 +26,9 @@ import org.eclipse.papyrus.infra.viewpoints.iso42010.Stakeholder;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusConfiguration#getDefaultStakeholder <em>Default Stakeholder</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusConfiguration#getMetamodel <em>Metamodel</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusConfiguration#getCategories <em>Categories</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusConfiguration#getDefaultStakeholder <em>Default Stakeholder</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusConfiguration#getMetamodel <em>Metamodel</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusConfiguration#getCategories <em>Categories</em>}</li>
* </ul>
* </p>
*
@@ -41,10 +41,10 @@ public interface PapyrusConfiguration extends ArchitectureFramework {
* Returns the value of the '<em><b>Default Stakeholder</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Default Stakeholder</em>' reference isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Default Stakeholder</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Default Stakeholder</em>' reference.
* @see #setDefaultStakeholder(Stakeholder)
* @see org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage#getPapyrusConfiguration_DefaultStakeholder()
@@ -57,7 +57,9 @@ public interface PapyrusConfiguration extends ArchitectureFramework {
* Sets the value of the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusConfiguration#getDefaultStakeholder <em>Default Stakeholder</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Default Stakeholder</em>' reference.
+ *
+ * @param value
+ * the new value of the '<em>Default Stakeholder</em>' reference.
* @see #getDefaultStakeholder()
* @generated
*/
@@ -67,10 +69,10 @@ public interface PapyrusConfiguration extends ArchitectureFramework {
* Returns the value of the '<em><b>Metamodel</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Metamodel</em>' reference isn't clear,
- * there really should be more of a description here...
+ * 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.infra.viewpoints.configuration.ConfigurationPackage#getPapyrusConfiguration_Metamodel()
@@ -83,7 +85,9 @@ public interface PapyrusConfiguration extends ArchitectureFramework {
* Sets the value of the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusConfiguration#getMetamodel <em>Metamodel</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Metamodel</em>' reference.
+ *
+ * @param value
+ * the new value of the '<em>Metamodel</em>' reference.
* @see #getMetamodel()
* @generated
*/
@@ -94,10 +98,10 @@ public interface PapyrusConfiguration extends ArchitectureFramework {
* The list contents are of type {@link org.eclipse.papyrus.infra.viewpoints.configuration.Category}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Categories</em>' containment reference list isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Categories</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>Categories</em>' containment reference list.
* @see org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage#getPapyrusConfiguration_Categories()
* @model containment="true"
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/PapyrusDiagram.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/PapyrusDiagram.java
index 621d85a9572..8288dd4b053 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/PapyrusDiagram.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/PapyrusDiagram.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
@@ -23,10 +23,10 @@ import org.eclipse.emf.common.util.EList;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusDiagram#getCustomPalette <em>Custom Palette</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusDiagram#getCustomStyle <em>Custom Style</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusDiagram#getChildRules <em>Child Rules</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusDiagram#getPaletteRules <em>Palette Rules</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusDiagram#getCustomPalette <em>Custom Palette</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusDiagram#getCustomStyle <em>Custom Style</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusDiagram#getChildRules <em>Child Rules</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusDiagram#getPaletteRules <em>Palette Rules</em>}</li>
* </ul>
* </p>
*
@@ -39,10 +39,10 @@ public interface PapyrusDiagram extends PapyrusView {
* Returns the value of the '<em><b>Custom Palette</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Custom Palette</em>' attribute isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Custom Palette</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Custom Palette</em>' attribute.
* @see #setCustomPalette(String)
* @see org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage#getPapyrusDiagram_CustomPalette()
@@ -55,7 +55,9 @@ public interface PapyrusDiagram extends PapyrusView {
* Sets the value of the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusDiagram#getCustomPalette <em>Custom Palette</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Custom Palette</em>' attribute.
+ *
+ * @param value
+ * the new value of the '<em>Custom Palette</em>' attribute.
* @see #getCustomPalette()
* @generated
*/
@@ -65,10 +67,10 @@ public interface PapyrusDiagram extends PapyrusView {
* Returns the value of the '<em><b>Custom Style</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Custom Style</em>' attribute isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Custom Style</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Custom Style</em>' attribute.
* @see #setCustomStyle(String)
* @see org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage#getPapyrusDiagram_CustomStyle()
@@ -81,7 +83,9 @@ public interface PapyrusDiagram extends PapyrusView {
* Sets the value of the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusDiagram#getCustomStyle <em>Custom Style</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Custom Style</em>' attribute.
+ *
+ * @param value
+ * the new value of the '<em>Custom Style</em>' attribute.
* @see #getCustomStyle()
* @generated
*/
@@ -95,6 +99,7 @@ public interface PapyrusDiagram extends PapyrusView {
* <!-- begin-model-doc -->
* These rules determine which model elements can be added as child of the origin through this diagram
* <!-- end-model-doc -->
+ *
* @return the value of the '<em>Child Rules</em>' containment reference list.
* @see org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage#getPapyrusDiagram_ChildRules()
* @model containment="true"
@@ -110,6 +115,7 @@ public interface PapyrusDiagram extends PapyrusView {
* <!-- begin-model-doc -->
* These rules determine which palette elements should be available for this diagram
* <!-- end-model-doc -->
+ *
* @return the value of the '<em>Palette Rules</em>' containment reference list.
* @see org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage#getPapyrusDiagram_PaletteRules()
* @model containment="true"
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/PapyrusSyncTable.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/PapyrusSyncTable.java
index d799cb60aec..1ee08a8fc6b 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/PapyrusSyncTable.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/PapyrusSyncTable.java
@@ -1,15 +1,15 @@
/**
* 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
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- *
- *
+ *
+ *
*/
package org.eclipse.papyrus.infra.viewpoints.configuration;
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/PapyrusTable.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/PapyrusTable.java
index 13b8722f09d..4b16d174b51 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/PapyrusTable.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/PapyrusTable.java
@@ -1,15 +1,15 @@
/**
* 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
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- *
- *
+ *
+ *
*/
package org.eclipse.papyrus.infra.viewpoints.configuration;
@@ -22,7 +22,7 @@ package org.eclipse.papyrus.infra.viewpoints.configuration;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusTable#getConfiguration <em>Configuration</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusTable#getConfiguration <em>Configuration</em>}</li>
* </ul>
* </p>
*
@@ -35,10 +35,10 @@ public interface PapyrusTable extends PapyrusView {
* Returns the value of the '<em><b>Configuration</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Configuration</em>' attribute isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Configuration</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Configuration</em>' attribute.
* @see #setConfiguration(String)
* @see org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage#getPapyrusTable_Configuration()
@@ -51,7 +51,9 @@ public interface PapyrusTable extends PapyrusView {
* Sets the value of the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusTable#getConfiguration <em>Configuration</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Configuration</em>' attribute.
+ *
+ * @param value
+ * the new value of the '<em>Configuration</em>' attribute.
* @see #getConfiguration()
* @generated
*/
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/PapyrusView.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/PapyrusView.java
index ee7904d05dc..f0344907ef5 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/PapyrusView.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/PapyrusView.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
@@ -25,13 +25,13 @@ import org.eclipse.papyrus.infra.viewpoints.iso42010.ModelKind;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusView#getIcon <em>Icon</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusView#getParent <em>Parent</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusView#getProfiles <em>Profiles</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusView#getModelRules <em>Model Rules</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusView#getOwningRules <em>Owning Rules</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusView#getImplementationID <em>Implementation ID</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusView#getCategories <em>Categories</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusView#getIcon <em>Icon</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusView#getParent <em>Parent</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusView#getProfiles <em>Profiles</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusView#getModelRules <em>Model Rules</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusView#getOwningRules <em>Owning Rules</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusView#getImplementationID <em>Implementation ID</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusView#getCategories <em>Categories</em>}</li>
* </ul>
* </p>
*
@@ -45,10 +45,10 @@ public interface PapyrusView extends ModelKind {
* Returns the value of the '<em><b>Icon</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Icon</em>' attribute isn't clear,
- * there really should be more of a description here...
+ * 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.infra.viewpoints.configuration.ConfigurationPackage#getPapyrusView_Icon()
@@ -61,7 +61,9 @@ public interface PapyrusView extends ModelKind {
* Sets the value of the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusView#getIcon <em>Icon</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Icon</em>' attribute.
+ *
+ * @param value
+ * the new value of the '<em>Icon</em>' attribute.
* @see #getIcon()
* @generated
*/
@@ -71,10 +73,10 @@ public interface PapyrusView extends ModelKind {
* Returns the value of the '<em><b>Parent</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Parent</em>' reference isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Parent</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Parent</em>' reference.
* @see #setParent(PapyrusView)
* @see org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage#getPapyrusView_Parent()
@@ -87,7 +89,9 @@ public interface PapyrusView extends ModelKind {
* Sets the value of the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusView#getParent <em>Parent</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Parent</em>' reference.
+ *
+ * @param value
+ * the new value of the '<em>Parent</em>' reference.
* @see #getParent()
* @generated
*/
@@ -98,10 +102,10 @@ public interface PapyrusView extends ModelKind {
* The list contents are of type {@link org.eclipse.emf.ecore.EPackage}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Profiles</em>' reference list isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Profiles</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>Profiles</em>' reference list.
* @see org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage#getPapyrusView_Profiles()
* @model
@@ -117,6 +121,7 @@ public interface PapyrusView extends ModelKind {
* <!-- begin-model-doc -->
* These rules determine which model elements can be the semantic element behind this diagram
* <!-- end-model-doc -->
+ *
* @return the value of the '<em>Model Rules</em>' containment reference list.
* @see org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage#getPapyrusView_ModelRules()
* @model containment="true" required="true"
@@ -132,6 +137,7 @@ public interface PapyrusView extends ModelKind {
* <!-- begin-model-doc -->
* These rules determine which elements can be the syntactic owner of this diagram
* <!-- end-model-doc -->
+ *
* @return the value of the '<em>Owning Rules</em>' containment reference list.
* @see org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage#getPapyrusView_OwningRules()
* @model containment="true" required="true"
@@ -143,10 +149,10 @@ public interface PapyrusView extends ModelKind {
* Returns the value of the '<em><b>Implementation ID</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Implementation ID</em>' attribute isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Implementation 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>Implementation ID</em>' attribute.
* @see #setImplementationID(String)
* @see org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage#getPapyrusView_ImplementationID()
@@ -159,7 +165,9 @@ public interface PapyrusView extends ModelKind {
* Sets the value of the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusView#getImplementationID <em>Implementation ID</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Implementation ID</em>' attribute.
+ *
+ * @param value
+ * the new value of the '<em>Implementation ID</em>' attribute.
* @see #getImplementationID()
* @generated
*/
@@ -170,10 +178,10 @@ public interface PapyrusView extends ModelKind {
* The list contents are of type {@link org.eclipse.papyrus.infra.viewpoints.configuration.Category}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Categories</em>' reference list isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Categories</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>Categories</em>' reference list.
* @see org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage#getPapyrusView_Categories()
* @model
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/PapyrusViewpoint.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/PapyrusViewpoint.java
index 5a55ec4d6fe..81985436747 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/PapyrusViewpoint.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/PapyrusViewpoint.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
@@ -23,7 +23,7 @@ import org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureViewpoint;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusViewpoint#getParent <em>Parent</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusViewpoint#getParent <em>Parent</em>}</li>
* </ul>
* </p>
*
@@ -36,10 +36,10 @@ public interface PapyrusViewpoint extends ArchitectureViewpoint {
* Returns the value of the '<em><b>Parent</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Parent</em>' reference isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Parent</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Parent</em>' reference.
* @see #setParent(PapyrusViewpoint)
* @see org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage#getPapyrusViewpoint_Parent()
@@ -52,7 +52,9 @@ public interface PapyrusViewpoint extends ArchitectureViewpoint {
* Sets the value of the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusViewpoint#getParent <em>Parent</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Parent</em>' reference.
+ *
+ * @param value
+ * the new value of the '<em>Parent</em>' reference.
* @see #getParent()
* @generated
*/
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/PathElement.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/PathElement.java
index 39e28ac30ba..1789f900fc6 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/PathElement.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/PathElement.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
@@ -25,9 +25,9 @@ import org.eclipse.emf.ecore.EReference;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.PathElement#getFeature <em>Feature</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.PathElement#getOrigin <em>Origin</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.PathElement#getTarget <em>Target</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.PathElement#getFeature <em>Feature</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.PathElement#getOrigin <em>Origin</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.PathElement#getTarget <em>Target</em>}</li>
* </ul>
* </p>
*
@@ -40,10 +40,10 @@ public interface PathElement extends EObject {
* Returns the value of the '<em><b>Feature</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Feature</em>' reference isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Feature</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Feature</em>' reference.
* @see #setFeature(EReference)
* @see org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage#getPathElement_Feature()
@@ -56,7 +56,9 @@ public interface PathElement extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.PathElement#getFeature <em>Feature</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Feature</em>' reference.
+ *
+ * @param value
+ * the new value of the '<em>Feature</em>' reference.
* @see #getFeature()
* @generated
*/
@@ -66,10 +68,10 @@ public interface PathElement extends EObject {
* Returns the value of the '<em><b>Origin</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Origin</em>' reference isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Origin</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Origin</em>' reference.
* @see org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage#getPathElement_Origin()
* @model required="true" transient="true" changeable="false" volatile="true" derived="true"
@@ -81,10 +83,10 @@ public interface PathElement extends EObject {
* Returns the value of the '<em><b>Target</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Target</em>' reference isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Target</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Target</em>' reference.
* @see org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage#getPathElement_Target()
* @model required="true" transient="true" changeable="false" volatile="true" derived="true"
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/Rule.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/Rule.java
index a276a04557a..cfec7f994be 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/Rule.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/Rule.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
@@ -23,7 +23,7 @@ import org.eclipse.emf.ecore.EObject;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.Rule#isPermit <em>Permit</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.Rule#isPermit <em>Permit</em>}</li>
* </ul>
* </p>
*
@@ -37,10 +37,10 @@ public interface Rule extends EObject {
* The default value is <code>"true"</code>.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Permit</em>' attribute isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Permit</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Permit</em>' attribute.
* @see #setPermit(boolean)
* @see org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage#getRule_Permit()
@@ -53,7 +53,9 @@ public interface Rule extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.Rule#isPermit <em>Permit</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Permit</em>' attribute.
+ *
+ * @param value
+ * the new value of the '<em>Permit</em>' attribute.
* @see #isPermit()
* @generated
*/
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/impl/CategoryImpl.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/impl/CategoryImpl.java
index d0d03140389..9b60ed8b247 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/impl/CategoryImpl.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/impl/CategoryImpl.java
@@ -1,15 +1,15 @@
/**
* 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
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- *
- *
+ *
+ *
*/
package org.eclipse.papyrus.infra.viewpoints.configuration.impl;
@@ -30,7 +30,7 @@ import org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.CategoryImpl#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.CategoryImpl#getName <em>Name</em>}</li>
* </ul>
* </p>
*
@@ -41,6 +41,7 @@ public class CategoryImpl extends MinimalEObjectImpl.Container implements Catego
* The default value of the '{@link #getName() <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getName()
* @generated
* @ordered
@@ -51,6 +52,7 @@ public class CategoryImpl extends MinimalEObjectImpl.Container implements Catego
* The cached value of the '{@link #getName() <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getName()
* @generated
* @ordered
@@ -60,6 +62,7 @@ public class CategoryImpl extends MinimalEObjectImpl.Container implements Catego
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected CategoryImpl() {
@@ -69,6 +72,7 @@ public class CategoryImpl extends MinimalEObjectImpl.Container implements Catego
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -79,6 +83,7 @@ public class CategoryImpl extends MinimalEObjectImpl.Container implements Catego
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public String getName() {
@@ -88,25 +93,28 @@ public class CategoryImpl extends MinimalEObjectImpl.Container implements Catego
/**
* <!-- 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, ConfigurationPackage.CATEGORY__NAME, oldName, name));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case ConfigurationPackage.CATEGORY__NAME:
- return getName();
+ case ConfigurationPackage.CATEGORY__NAME:
+ return getName();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -114,14 +122,15 @@ public class CategoryImpl extends MinimalEObjectImpl.Container implements Catego
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case ConfigurationPackage.CATEGORY__NAME:
- setName((String)newValue);
- return;
+ case ConfigurationPackage.CATEGORY__NAME:
+ setName((String) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -129,14 +138,15 @@ public class CategoryImpl extends MinimalEObjectImpl.Container implements Catego
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case ConfigurationPackage.CATEGORY__NAME:
- setName(NAME_EDEFAULT);
- return;
+ case ConfigurationPackage.CATEGORY__NAME:
+ setName(NAME_EDEFAULT);
+ return;
}
super.eUnset(featureID);
}
@@ -144,13 +154,14 @@ public class CategoryImpl extends MinimalEObjectImpl.Container implements Catego
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case ConfigurationPackage.CATEGORY__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
+ case ConfigurationPackage.CATEGORY__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
}
return super.eIsSet(featureID);
}
@@ -158,11 +169,14 @@ public class CategoryImpl extends MinimalEObjectImpl.Container implements Catego
/**
* <!-- 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: ");
@@ -171,4 +185,4 @@ public class CategoryImpl extends MinimalEObjectImpl.Container implements Catego
return result.toString();
}
-} //CategoryImpl
+} // CategoryImpl
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/impl/ChildRuleImpl.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/impl/ChildRuleImpl.java
index 4db7fc0d8e9..de42c504145 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/impl/ChildRuleImpl.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/impl/ChildRuleImpl.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
@@ -40,10 +40,10 @@ import org.eclipse.papyrus.infra.viewpoints.configuration.PathElement;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.ChildRuleImpl#getElement <em>Element</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.ChildRuleImpl#getStereotypes <em>Stereotypes</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.ChildRuleImpl#getOrigin <em>Origin</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.ChildRuleImpl#getInsertionPath <em>Insertion Path</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.ChildRuleImpl#getElement <em>Element</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.ChildRuleImpl#getStereotypes <em>Stereotypes</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.ChildRuleImpl#getOrigin <em>Origin</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.ChildRuleImpl#getInsertionPath <em>Insertion Path</em>}</li>
* </ul>
* </p>
*
@@ -54,6 +54,7 @@ public class ChildRuleImpl extends RuleImpl implements ChildRule {
* The cached value of the '{@link #getElement() <em>Element</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getElement()
* @generated
* @ordered
@@ -64,6 +65,7 @@ public class ChildRuleImpl extends RuleImpl implements ChildRule {
* The cached value of the '{@link #getStereotypes() <em>Stereotypes</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getStereotypes()
* @generated
* @ordered
@@ -74,6 +76,7 @@ public class ChildRuleImpl extends RuleImpl implements ChildRule {
* The cached value of the '{@link #getOrigin() <em>Origin</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getOrigin()
* @generated
* @ordered
@@ -84,6 +87,7 @@ public class ChildRuleImpl extends RuleImpl implements ChildRule {
* The cached value of the '{@link #getInsertionPath() <em>Insertion Path</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getInsertionPath()
* @generated
* @ordered
@@ -93,6 +97,7 @@ public class ChildRuleImpl extends RuleImpl implements ChildRule {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected ChildRuleImpl() {
@@ -102,6 +107,7 @@ public class ChildRuleImpl extends RuleImpl implements ChildRule {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -112,15 +118,17 @@ public class ChildRuleImpl extends RuleImpl implements ChildRule {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EClass getElement() {
if (element != null && element.eIsProxy()) {
- InternalEObject oldElement = (InternalEObject)element;
- element = (EClass)eResolveProxy(oldElement);
+ InternalEObject oldElement = (InternalEObject) element;
+ element = (EClass) eResolveProxy(oldElement);
if (element != oldElement) {
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, ConfigurationPackage.CHILD_RULE__ELEMENT, oldElement, element));
+ }
}
}
return element;
@@ -129,6 +137,7 @@ public class ChildRuleImpl extends RuleImpl implements ChildRule {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EClass basicGetElement() {
@@ -138,18 +147,21 @@ public class ChildRuleImpl extends RuleImpl implements ChildRule {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public void setElement(EClass newElement) {
EClass oldElement = element;
element = newElement;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, ConfigurationPackage.CHILD_RULE__ELEMENT, oldElement, element));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EList<EClass> getStereotypes() {
@@ -162,15 +174,17 @@ public class ChildRuleImpl extends RuleImpl implements ChildRule {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EClass getOrigin() {
if (origin != null && origin.eIsProxy()) {
- InternalEObject oldOrigin = (InternalEObject)origin;
- origin = (EClass)eResolveProxy(oldOrigin);
+ InternalEObject oldOrigin = (InternalEObject) origin;
+ origin = (EClass) eResolveProxy(oldOrigin);
if (origin != oldOrigin) {
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, ConfigurationPackage.CHILD_RULE__ORIGIN, oldOrigin, origin));
+ }
}
}
return origin;
@@ -179,6 +193,7 @@ public class ChildRuleImpl extends RuleImpl implements ChildRule {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EClass basicGetOrigin() {
@@ -188,18 +203,21 @@ public class ChildRuleImpl extends RuleImpl implements ChildRule {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public void setOrigin(EClass newOrigin) {
EClass oldOrigin = origin;
origin = newOrigin;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, ConfigurationPackage.CHILD_RULE__ORIGIN, oldOrigin, origin));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EList<PathElement> getInsertionPath() {
@@ -212,13 +230,14 @@ public class ChildRuleImpl extends RuleImpl implements ChildRule {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
- case ConfigurationPackage.CHILD_RULE__INSERTION_PATH:
- return ((InternalEList<?>)getInsertionPath()).basicRemove(otherEnd, msgs);
+ case ConfigurationPackage.CHILD_RULE__INSERTION_PATH:
+ return ((InternalEList<?>) getInsertionPath()).basicRemove(otherEnd, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
@@ -226,21 +245,26 @@ public class ChildRuleImpl extends RuleImpl implements ChildRule {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case ConfigurationPackage.CHILD_RULE__ELEMENT:
- if (resolve) return getElement();
- return basicGetElement();
- case ConfigurationPackage.CHILD_RULE__STEREOTYPES:
- return getStereotypes();
- case ConfigurationPackage.CHILD_RULE__ORIGIN:
- if (resolve) return getOrigin();
- return basicGetOrigin();
- case ConfigurationPackage.CHILD_RULE__INSERTION_PATH:
- return getInsertionPath();
+ case ConfigurationPackage.CHILD_RULE__ELEMENT:
+ if (resolve) {
+ return getElement();
+ }
+ return basicGetElement();
+ case ConfigurationPackage.CHILD_RULE__STEREOTYPES:
+ return getStereotypes();
+ case ConfigurationPackage.CHILD_RULE__ORIGIN:
+ if (resolve) {
+ return getOrigin();
+ }
+ return basicGetOrigin();
+ case ConfigurationPackage.CHILD_RULE__INSERTION_PATH:
+ return getInsertionPath();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -248,26 +272,27 @@ public class ChildRuleImpl extends RuleImpl implements ChildRule {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case ConfigurationPackage.CHILD_RULE__ELEMENT:
- setElement((EClass)newValue);
- return;
- case ConfigurationPackage.CHILD_RULE__STEREOTYPES:
- getStereotypes().clear();
- getStereotypes().addAll((Collection<? extends EClass>)newValue);
- return;
- case ConfigurationPackage.CHILD_RULE__ORIGIN:
- setOrigin((EClass)newValue);
- return;
- case ConfigurationPackage.CHILD_RULE__INSERTION_PATH:
- getInsertionPath().clear();
- getInsertionPath().addAll((Collection<? extends PathElement>)newValue);
- return;
+ case ConfigurationPackage.CHILD_RULE__ELEMENT:
+ setElement((EClass) newValue);
+ return;
+ case ConfigurationPackage.CHILD_RULE__STEREOTYPES:
+ getStereotypes().clear();
+ getStereotypes().addAll((Collection<? extends EClass>) newValue);
+ return;
+ case ConfigurationPackage.CHILD_RULE__ORIGIN:
+ setOrigin((EClass) newValue);
+ return;
+ case ConfigurationPackage.CHILD_RULE__INSERTION_PATH:
+ getInsertionPath().clear();
+ getInsertionPath().addAll((Collection<? extends PathElement>) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -275,23 +300,24 @@ public class ChildRuleImpl extends RuleImpl implements ChildRule {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case ConfigurationPackage.CHILD_RULE__ELEMENT:
- setElement((EClass)null);
- return;
- case ConfigurationPackage.CHILD_RULE__STEREOTYPES:
- getStereotypes().clear();
- return;
- case ConfigurationPackage.CHILD_RULE__ORIGIN:
- setOrigin((EClass)null);
- return;
- case ConfigurationPackage.CHILD_RULE__INSERTION_PATH:
- getInsertionPath().clear();
- return;
+ case ConfigurationPackage.CHILD_RULE__ELEMENT:
+ setElement((EClass) null);
+ return;
+ case ConfigurationPackage.CHILD_RULE__STEREOTYPES:
+ getStereotypes().clear();
+ return;
+ case ConfigurationPackage.CHILD_RULE__ORIGIN:
+ setOrigin((EClass) null);
+ return;
+ case ConfigurationPackage.CHILD_RULE__INSERTION_PATH:
+ getInsertionPath().clear();
+ return;
}
super.eUnset(featureID);
}
@@ -299,21 +325,22 @@ public class ChildRuleImpl extends RuleImpl implements ChildRule {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case ConfigurationPackage.CHILD_RULE__ELEMENT:
- return element != null;
- case ConfigurationPackage.CHILD_RULE__STEREOTYPES:
- return stereotypes != null && !stereotypes.isEmpty();
- case ConfigurationPackage.CHILD_RULE__ORIGIN:
- return origin != null;
- case ConfigurationPackage.CHILD_RULE__INSERTION_PATH:
- return insertionPath != null && !insertionPath.isEmpty();
+ case ConfigurationPackage.CHILD_RULE__ELEMENT:
+ return element != null;
+ case ConfigurationPackage.CHILD_RULE__STEREOTYPES:
+ return stereotypes != null && !stereotypes.isEmpty();
+ case ConfigurationPackage.CHILD_RULE__ORIGIN:
+ return origin != null;
+ case ConfigurationPackage.CHILD_RULE__INSERTION_PATH:
+ return insertionPath != null && !insertionPath.isEmpty();
}
return super.eIsSet(featureID);
}
-} //ChildRuleImpl
+} // ChildRuleImpl
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/impl/ConfigurationFactoryImpl.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/impl/ConfigurationFactoryImpl.java
index eff070456ae..8b40c68ac56 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/impl/ConfigurationFactoryImpl.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/impl/ConfigurationFactoryImpl.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,6 +27,7 @@ import org.eclipse.papyrus.infra.viewpoints.configuration.*;
* <!-- begin-user-doc -->
* An implementation of the model <b>Factory</b>.
* <!-- end-user-doc -->
+ *
* @generated
*/
public class ConfigurationFactoryImpl extends EFactoryImpl implements ConfigurationFactory {
@@ -34,16 +35,16 @@ public class ConfigurationFactoryImpl extends EFactoryImpl implements Configurat
* Creates the default factory implementation.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public static ConfigurationFactory init() {
try {
- ConfigurationFactory theConfigurationFactory = (ConfigurationFactory)EPackage.Registry.INSTANCE.getEFactory(ConfigurationPackage.eNS_URI);
+ ConfigurationFactory theConfigurationFactory = (ConfigurationFactory) EPackage.Registry.INSTANCE.getEFactory(ConfigurationPackage.eNS_URI);
if (theConfigurationFactory != null) {
return theConfigurationFactory;
}
- }
- catch (Exception exception) {
+ } catch (Exception exception) {
EcorePlugin.INSTANCE.log(exception);
}
return new ConfigurationFactoryImpl();
@@ -53,6 +54,7 @@ public class ConfigurationFactoryImpl extends EFactoryImpl implements Configurat
* Creates an instance of the factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public ConfigurationFactoryImpl() {
@@ -62,32 +64,47 @@ public class ConfigurationFactoryImpl extends EFactoryImpl implements Configurat
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public EObject create(EClass eClass) {
switch (eClass.getClassifierID()) {
- case ConfigurationPackage.PAPYRUS_CONFIGURATION: return createPapyrusConfiguration();
- case ConfigurationPackage.PAPYRUS_VIEWPOINT: return createPapyrusViewpoint();
- case ConfigurationPackage.PAPYRUS_VIEW: return createPapyrusView();
- case ConfigurationPackage.PAPYRUS_DIAGRAM: return createPapyrusDiagram();
- case ConfigurationPackage.PAPYRUS_SYNC_TABLE: return createPapyrusSyncTable();
- case ConfigurationPackage.PAPYRUS_TABLE: return createPapyrusTable();
- case ConfigurationPackage.MODEL_RULE: return createModelRule();
- case ConfigurationPackage.OWNING_RULE: return createOwningRule();
- case ConfigurationPackage.CHILD_RULE: return createChildRule();
- case ConfigurationPackage.PALETTE_RULE: return createPaletteRule();
- case ConfigurationPackage.PATH_ELEMENT: return createPathElement();
- case ConfigurationPackage.CATEGORY: return createCategory();
- case ConfigurationPackage.MODEL_AUTO_CREATE: return createModelAutoCreate();
- default:
- throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
+ case ConfigurationPackage.PAPYRUS_CONFIGURATION:
+ return createPapyrusConfiguration();
+ case ConfigurationPackage.PAPYRUS_VIEWPOINT:
+ return createPapyrusViewpoint();
+ case ConfigurationPackage.PAPYRUS_VIEW:
+ return createPapyrusView();
+ case ConfigurationPackage.PAPYRUS_DIAGRAM:
+ return createPapyrusDiagram();
+ case ConfigurationPackage.PAPYRUS_SYNC_TABLE:
+ return createPapyrusSyncTable();
+ case ConfigurationPackage.PAPYRUS_TABLE:
+ return createPapyrusTable();
+ case ConfigurationPackage.MODEL_RULE:
+ return createModelRule();
+ case ConfigurationPackage.OWNING_RULE:
+ return createOwningRule();
+ case ConfigurationPackage.CHILD_RULE:
+ return createChildRule();
+ case ConfigurationPackage.PALETTE_RULE:
+ return createPaletteRule();
+ case ConfigurationPackage.PATH_ELEMENT:
+ return createPathElement();
+ case ConfigurationPackage.CATEGORY:
+ return createCategory();
+ case ConfigurationPackage.MODEL_AUTO_CREATE:
+ return createModelAutoCreate();
+ default:
+ throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
}
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public PapyrusConfiguration createPapyrusConfiguration() {
@@ -98,6 +115,7 @@ public class ConfigurationFactoryImpl extends EFactoryImpl implements Configurat
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public PapyrusViewpoint createPapyrusViewpoint() {
@@ -108,6 +126,7 @@ public class ConfigurationFactoryImpl extends EFactoryImpl implements Configurat
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public PapyrusView createPapyrusView() {
@@ -118,6 +137,7 @@ public class ConfigurationFactoryImpl extends EFactoryImpl implements Configurat
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public PapyrusDiagram createPapyrusDiagram() {
@@ -128,6 +148,7 @@ public class ConfigurationFactoryImpl extends EFactoryImpl implements Configurat
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public PapyrusSyncTable createPapyrusSyncTable() {
@@ -138,6 +159,7 @@ public class ConfigurationFactoryImpl extends EFactoryImpl implements Configurat
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public PapyrusTable createPapyrusTable() {
@@ -148,6 +170,7 @@ public class ConfigurationFactoryImpl extends EFactoryImpl implements Configurat
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public ModelRule createModelRule() {
@@ -158,6 +181,7 @@ public class ConfigurationFactoryImpl extends EFactoryImpl implements Configurat
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public OwningRule createOwningRule() {
@@ -168,6 +192,7 @@ public class ConfigurationFactoryImpl extends EFactoryImpl implements Configurat
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public ChildRule createChildRule() {
@@ -178,6 +203,7 @@ public class ConfigurationFactoryImpl extends EFactoryImpl implements Configurat
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public PaletteRule createPaletteRule() {
@@ -188,6 +214,7 @@ public class ConfigurationFactoryImpl extends EFactoryImpl implements Configurat
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public PathElement createPathElement() {
@@ -198,6 +225,7 @@ public class ConfigurationFactoryImpl extends EFactoryImpl implements Configurat
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public Category createCategory() {
@@ -208,6 +236,7 @@ public class ConfigurationFactoryImpl extends EFactoryImpl implements Configurat
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public ModelAutoCreate createModelAutoCreate() {
@@ -218,15 +247,17 @@ public class ConfigurationFactoryImpl extends EFactoryImpl implements Configurat
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public ConfigurationPackage getConfigurationPackage() {
- return (ConfigurationPackage)getEPackage();
+ return (ConfigurationPackage) getEPackage();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @deprecated
* @generated
*/
@@ -235,4 +266,4 @@ public class ConfigurationFactoryImpl extends EFactoryImpl implements Configurat
return ConfigurationPackage.eINSTANCE;
}
-} //ConfigurationFactoryImpl
+} // ConfigurationFactoryImpl
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/impl/ConfigurationPackageImpl.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/impl/ConfigurationPackageImpl.java
index 33cb9f80628..4eacd0d2597 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/impl/ConfigurationPackageImpl.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/impl/ConfigurationPackageImpl.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
@@ -41,12 +41,14 @@ import org.eclipse.papyrus.infra.viewpoints.iso42010.Iso42010Package;
* <!-- begin-user-doc -->
* An implementation of the model <b>Package</b>.
* <!-- end-user-doc -->
+ *
* @generated
*/
public class ConfigurationPackageImpl extends EPackageImpl implements ConfigurationPackage {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass papyrusConfigurationEClass = null;
@@ -54,6 +56,7 @@ public class ConfigurationPackageImpl extends EPackageImpl implements Configurat
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass papyrusViewpointEClass = null;
@@ -61,6 +64,7 @@ public class ConfigurationPackageImpl extends EPackageImpl implements Configurat
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass papyrusViewEClass = null;
@@ -68,6 +72,7 @@ public class ConfigurationPackageImpl extends EPackageImpl implements Configurat
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass papyrusDiagramEClass = null;
@@ -75,6 +80,7 @@ public class ConfigurationPackageImpl extends EPackageImpl implements Configurat
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass papyrusSyncTableEClass = null;
@@ -82,6 +88,7 @@ public class ConfigurationPackageImpl extends EPackageImpl implements Configurat
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass papyrusTableEClass = null;
@@ -89,6 +96,7 @@ public class ConfigurationPackageImpl extends EPackageImpl implements Configurat
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass modelRuleEClass = null;
@@ -96,6 +104,7 @@ public class ConfigurationPackageImpl extends EPackageImpl implements Configurat
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass owningRuleEClass = null;
@@ -103,6 +112,7 @@ public class ConfigurationPackageImpl extends EPackageImpl implements Configurat
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass childRuleEClass = null;
@@ -110,6 +120,7 @@ public class ConfigurationPackageImpl extends EPackageImpl implements Configurat
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass paletteRuleEClass = null;
@@ -117,6 +128,7 @@ public class ConfigurationPackageImpl extends EPackageImpl implements Configurat
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass ruleEClass = null;
@@ -124,6 +136,7 @@ public class ConfigurationPackageImpl extends EPackageImpl implements Configurat
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass pathElementEClass = null;
@@ -131,6 +144,7 @@ public class ConfigurationPackageImpl extends EPackageImpl implements Configurat
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass categoryEClass = null;
@@ -138,20 +152,17 @@ public class ConfigurationPackageImpl extends EPackageImpl implements Configurat
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass modelAutoCreateEClass = 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.infra.viewpoints.configuration.ConfigurationPackage#eNS_URI
* @see #init()
@@ -164,27 +175,30 @@ public class ConfigurationPackageImpl extends EPackageImpl implements Configurat
/**
* <!-- 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 ConfigurationPackage#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 ConfigurationPackage#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 ConfigurationPackage init() {
- if (isInited) return (ConfigurationPackage)EPackage.Registry.INSTANCE.getEPackage(ConfigurationPackage.eNS_URI);
+ if (isInited) {
+ return (ConfigurationPackage) EPackage.Registry.INSTANCE.getEPackage(ConfigurationPackage.eNS_URI);
+ }
// Obtain or create and register package
- ConfigurationPackageImpl theConfigurationPackage = (ConfigurationPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof ConfigurationPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new ConfigurationPackageImpl());
+ ConfigurationPackageImpl theConfigurationPackage = (ConfigurationPackageImpl) (EPackage.Registry.INSTANCE.get(eNS_URI) instanceof ConfigurationPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new ConfigurationPackageImpl());
isInited = true;
@@ -201,7 +215,7 @@ public class ConfigurationPackageImpl extends EPackageImpl implements Configurat
// Mark meta-data to indicate it can't be changed
theConfigurationPackage.freeze();
-
+
// Update the registry and return the package
EPackage.Registry.INSTANCE.put(ConfigurationPackage.eNS_URI, theConfigurationPackage);
return theConfigurationPackage;
@@ -210,6 +224,7 @@ public class ConfigurationPackageImpl extends EPackageImpl implements Configurat
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EClass getPapyrusConfiguration() {
@@ -219,33 +234,37 @@ public class ConfigurationPackageImpl extends EPackageImpl implements Configurat
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getPapyrusConfiguration_DefaultStakeholder() {
- return (EReference)papyrusConfigurationEClass.getEStructuralFeatures().get(0);
+ return (EReference) papyrusConfigurationEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getPapyrusConfiguration_Metamodel() {
- return (EReference)papyrusConfigurationEClass.getEStructuralFeatures().get(1);
+ return (EReference) papyrusConfigurationEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getPapyrusConfiguration_Categories() {
- return (EReference)papyrusConfigurationEClass.getEStructuralFeatures().get(2);
+ return (EReference) papyrusConfigurationEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EClass getPapyrusViewpoint() {
@@ -255,15 +274,17 @@ public class ConfigurationPackageImpl extends EPackageImpl implements Configurat
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getPapyrusViewpoint_Parent() {
- return (EReference)papyrusViewpointEClass.getEStructuralFeatures().get(0);
+ return (EReference) papyrusViewpointEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EClass getPapyrusView() {
@@ -273,69 +294,77 @@ public class ConfigurationPackageImpl extends EPackageImpl implements Configurat
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EAttribute getPapyrusView_Icon() {
- return (EAttribute)papyrusViewEClass.getEStructuralFeatures().get(0);
+ return (EAttribute) papyrusViewEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getPapyrusView_Parent() {
- return (EReference)papyrusViewEClass.getEStructuralFeatures().get(1);
+ return (EReference) papyrusViewEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getPapyrusView_Profiles() {
- return (EReference)papyrusViewEClass.getEStructuralFeatures().get(2);
+ return (EReference) papyrusViewEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getPapyrusView_ModelRules() {
- return (EReference)papyrusViewEClass.getEStructuralFeatures().get(3);
+ return (EReference) papyrusViewEClass.getEStructuralFeatures().get(3);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getPapyrusView_OwningRules() {
- return (EReference)papyrusViewEClass.getEStructuralFeatures().get(4);
+ return (EReference) papyrusViewEClass.getEStructuralFeatures().get(4);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EAttribute getPapyrusView_ImplementationID() {
- return (EAttribute)papyrusViewEClass.getEStructuralFeatures().get(5);
+ return (EAttribute) papyrusViewEClass.getEStructuralFeatures().get(5);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getPapyrusView_Categories() {
- return (EReference)papyrusViewEClass.getEStructuralFeatures().get(6);
+ return (EReference) papyrusViewEClass.getEStructuralFeatures().get(6);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EClass getPapyrusDiagram() {
@@ -345,42 +374,47 @@ public class ConfigurationPackageImpl extends EPackageImpl implements Configurat
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EAttribute getPapyrusDiagram_CustomPalette() {
- return (EAttribute)papyrusDiagramEClass.getEStructuralFeatures().get(0);
+ return (EAttribute) papyrusDiagramEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EAttribute getPapyrusDiagram_CustomStyle() {
- return (EAttribute)papyrusDiagramEClass.getEStructuralFeatures().get(1);
+ return (EAttribute) papyrusDiagramEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getPapyrusDiagram_ChildRules() {
- return (EReference)papyrusDiagramEClass.getEStructuralFeatures().get(2);
+ return (EReference) papyrusDiagramEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getPapyrusDiagram_PaletteRules() {
- return (EReference)papyrusDiagramEClass.getEStructuralFeatures().get(3);
+ return (EReference) papyrusDiagramEClass.getEStructuralFeatures().get(3);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EClass getPapyrusSyncTable() {
@@ -390,6 +424,7 @@ public class ConfigurationPackageImpl extends EPackageImpl implements Configurat
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EClass getPapyrusTable() {
@@ -399,15 +434,17 @@ public class ConfigurationPackageImpl extends EPackageImpl implements Configurat
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EAttribute getPapyrusTable_Configuration() {
- return (EAttribute)papyrusTableEClass.getEStructuralFeatures().get(0);
+ return (EAttribute) papyrusTableEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EClass getModelRule() {
@@ -417,33 +454,37 @@ public class ConfigurationPackageImpl extends EPackageImpl implements Configurat
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getModelRule_Element() {
- return (EReference)modelRuleEClass.getEStructuralFeatures().get(0);
+ return (EReference) modelRuleEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getModelRule_Stereotypes() {
- return (EReference)modelRuleEClass.getEStructuralFeatures().get(1);
+ return (EReference) modelRuleEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EAttribute getModelRule_Multiplicity() {
- return (EAttribute)modelRuleEClass.getEStructuralFeatures().get(2);
+ return (EAttribute) modelRuleEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EClass getOwningRule() {
@@ -453,42 +494,47 @@ public class ConfigurationPackageImpl extends EPackageImpl implements Configurat
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getOwningRule_Element() {
- return (EReference)owningRuleEClass.getEStructuralFeatures().get(0);
+ return (EReference) owningRuleEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getOwningRule_Stereotypes() {
- return (EReference)owningRuleEClass.getEStructuralFeatures().get(1);
+ return (EReference) owningRuleEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EAttribute getOwningRule_Multiplicity() {
- return (EAttribute)owningRuleEClass.getEStructuralFeatures().get(2);
+ return (EAttribute) owningRuleEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getOwningRule_NewModelPath() {
- return (EReference)owningRuleEClass.getEStructuralFeatures().get(3);
+ return (EReference) owningRuleEClass.getEStructuralFeatures().get(3);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EClass getChildRule() {
@@ -498,42 +544,47 @@ public class ConfigurationPackageImpl extends EPackageImpl implements Configurat
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getChildRule_Element() {
- return (EReference)childRuleEClass.getEStructuralFeatures().get(0);
+ return (EReference) childRuleEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getChildRule_Stereotypes() {
- return (EReference)childRuleEClass.getEStructuralFeatures().get(1);
+ return (EReference) childRuleEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getChildRule_Origin() {
- return (EReference)childRuleEClass.getEStructuralFeatures().get(2);
+ return (EReference) childRuleEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getChildRule_InsertionPath() {
- return (EReference)childRuleEClass.getEStructuralFeatures().get(3);
+ return (EReference) childRuleEClass.getEStructuralFeatures().get(3);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EClass getPaletteRule() {
@@ -543,15 +594,17 @@ public class ConfigurationPackageImpl extends EPackageImpl implements Configurat
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EAttribute getPaletteRule_Element() {
- return (EAttribute)paletteRuleEClass.getEStructuralFeatures().get(0);
+ return (EAttribute) paletteRuleEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EClass getRule() {
@@ -561,15 +614,17 @@ public class ConfigurationPackageImpl extends EPackageImpl implements Configurat
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EAttribute getRule_Permit() {
- return (EAttribute)ruleEClass.getEStructuralFeatures().get(0);
+ return (EAttribute) ruleEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EClass getPathElement() {
@@ -579,33 +634,37 @@ public class ConfigurationPackageImpl extends EPackageImpl implements Configurat
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getPathElement_Feature() {
- return (EReference)pathElementEClass.getEStructuralFeatures().get(0);
+ return (EReference) pathElementEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getPathElement_Origin() {
- return (EReference)pathElementEClass.getEStructuralFeatures().get(1);
+ return (EReference) pathElementEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getPathElement_Target() {
- return (EReference)pathElementEClass.getEStructuralFeatures().get(2);
+ return (EReference) pathElementEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EClass getCategory() {
@@ -615,15 +674,17 @@ public class ConfigurationPackageImpl extends EPackageImpl implements Configurat
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EAttribute getCategory_Name() {
- return (EAttribute)categoryEClass.getEStructuralFeatures().get(0);
+ return (EAttribute) categoryEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EClass getModelAutoCreate() {
@@ -633,55 +694,63 @@ public class ConfigurationPackageImpl extends EPackageImpl implements Configurat
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getModelAutoCreate_Feature() {
- return (EReference)modelAutoCreateEClass.getEStructuralFeatures().get(0);
+ return (EReference) modelAutoCreateEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getModelAutoCreate_Origin() {
- return (EReference)modelAutoCreateEClass.getEStructuralFeatures().get(1);
+ return (EReference) modelAutoCreateEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EAttribute getModelAutoCreate_CreationType() {
- return (EAttribute)modelAutoCreateEClass.getEStructuralFeatures().get(2);
+ return (EAttribute) modelAutoCreateEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public ConfigurationFactory getConfigurationFactory() {
- return (ConfigurationFactory)getEFactoryInstance();
+ return (ConfigurationFactory) 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
@@ -753,19 +822,23 @@ public class ConfigurationPackageImpl extends EPackageImpl implements Configurat
/**
* <!-- 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
@@ -774,8 +847,8 @@ public class ConfigurationPackageImpl extends EPackageImpl implements Configurat
setNsURI(eNS_URI);
// Obtain other dependent packages
- Iso42010Package theIso42010Package = (Iso42010Package)EPackage.Registry.INSTANCE.getEPackage(Iso42010Package.eNS_URI);
- ConstraintsPackage theConstraintsPackage = (ConstraintsPackage)EPackage.Registry.INSTANCE.getEPackage(ConstraintsPackage.eNS_URI);
+ Iso42010Package theIso42010Package = (Iso42010Package) EPackage.Registry.INSTANCE.getEPackage(Iso42010Package.eNS_URI);
+ ConstraintsPackage theConstraintsPackage = (ConstraintsPackage) EPackage.Registry.INSTANCE.getEPackage(ConstraintsPackage.eNS_URI);
// Create type parameters
@@ -796,12 +869,16 @@ public class ConfigurationPackageImpl extends EPackageImpl implements Configurat
// Initialize classes, features, and operations; add parameters
initEClass(papyrusConfigurationEClass, PapyrusConfiguration.class, "PapyrusConfiguration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getPapyrusConfiguration_DefaultStakeholder(), theIso42010Package.getStakeholder(), null, "defaultStakeholder", null, 1, 1, PapyrusConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getPapyrusConfiguration_Metamodel(), ecorePackage.getEPackage(), null, "metamodel", null, 1, 1, PapyrusConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getPapyrusConfiguration_Categories(), this.getCategory(), null, "categories", null, 0, -1, PapyrusConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getPapyrusConfiguration_DefaultStakeholder(), theIso42010Package.getStakeholder(), null, "defaultStakeholder", null, 1, 1, PapyrusConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,
+ !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getPapyrusConfiguration_Metamodel(), ecorePackage.getEPackage(), null, "metamodel", null, 1, 1, PapyrusConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEReference(getPapyrusConfiguration_Categories(), this.getCategory(), null, "categories", null, 0, -1, PapyrusConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
initEClass(papyrusViewpointEClass, PapyrusViewpoint.class, "PapyrusViewpoint", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getPapyrusViewpoint_Parent(), this.getPapyrusViewpoint(), null, "parent", null, 0, 1, PapyrusViewpoint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getPapyrusViewpoint_Parent(), this.getPapyrusViewpoint(), null, "parent", null, 0, 1, PapyrusViewpoint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
+ IS_ORDERED);
initEClass(papyrusViewEClass, PapyrusView.class, "PapyrusView", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getPapyrusView_Icon(), ecorePackage.getEString(), "icon", null, 0, 1, PapyrusView.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
@@ -815,8 +892,10 @@ public class ConfigurationPackageImpl extends EPackageImpl implements Configurat
initEClass(papyrusDiagramEClass, PapyrusDiagram.class, "PapyrusDiagram", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getPapyrusDiagram_CustomPalette(), ecorePackage.getEString(), "customPalette", null, 0, 1, PapyrusDiagram.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getPapyrusDiagram_CustomStyle(), ecorePackage.getEString(), "customStyle", null, 0, 1, PapyrusDiagram.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getPapyrusDiagram_ChildRules(), this.getChildRule(), null, "childRules", null, 0, -1, PapyrusDiagram.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getPapyrusDiagram_PaletteRules(), this.getPaletteRule(), null, "paletteRules", null, 0, -1, PapyrusDiagram.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getPapyrusDiagram_ChildRules(), this.getChildRule(), null, "childRules", null, 0, -1, PapyrusDiagram.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
+ IS_ORDERED);
+ initEReference(getPapyrusDiagram_PaletteRules(), this.getPaletteRule(), null, "paletteRules", null, 0, -1, PapyrusDiagram.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
+ IS_ORDERED);
initEClass(papyrusSyncTableEClass, PapyrusSyncTable.class, "PapyrusSyncTable", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
@@ -835,7 +914,8 @@ public class ConfigurationPackageImpl extends EPackageImpl implements Configurat
initEReference(getOwningRule_Element(), ecorePackage.getEClass(), null, "element", null, 0, 1, OwningRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getOwningRule_Stereotypes(), ecorePackage.getEClass(), null, "stereotypes", null, 0, -1, OwningRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getOwningRule_Multiplicity(), ecorePackage.getEInt(), "multiplicity", "-1", 1, 1, OwningRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getOwningRule_NewModelPath(), this.getModelAutoCreate(), null, "newModelPath", null, 0, -1, OwningRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getOwningRule_NewModelPath(), this.getModelAutoCreate(), null, "newModelPath", null, 0, -1, OwningRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
+ IS_ORDERED);
initEClass(childRuleEClass, ChildRule.class, "ChildRule", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEReference(getChildRule_Element(), ecorePackage.getEClass(), null, "element", null, 0, 1, ChildRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
@@ -855,7 +935,8 @@ public class ConfigurationPackageImpl extends EPackageImpl implements Configurat
initEAttribute(getCategory_Name(), ecorePackage.getEString(), "name", null, 1, 1, Category.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(modelAutoCreateEClass, ModelAutoCreate.class, "ModelAutoCreate", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getModelAutoCreate_Feature(), ecorePackage.getEReference(), null, "feature", null, 1, 1, ModelAutoCreate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getModelAutoCreate_Feature(), ecorePackage.getEReference(), null, "feature", null, 1, 1, ModelAutoCreate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
+ IS_ORDERED);
initEReference(getModelAutoCreate_Origin(), ecorePackage.getEClass(), null, "origin", null, 1, 1, ModelAutoCreate.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
initEAttribute(getModelAutoCreate_CreationType(), ecorePackage.getEString(), "creationType", null, 1, 1, ModelAutoCreate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
@@ -863,4 +944,4 @@ public class ConfigurationPackageImpl extends EPackageImpl implements Configurat
createResource(eNS_URI);
}
-} //ConfigurationPackageImpl
+} // ConfigurationPackageImpl
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/impl/ModelAutoCreateImpl.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/impl/ModelAutoCreateImpl.java
index d3c4ab5f01f..a0a31f273d1 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/impl/ModelAutoCreateImpl.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/impl/ModelAutoCreateImpl.java
@@ -1,15 +1,15 @@
/**
* 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
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- *
- *
+ *
+ *
*/
package org.eclipse.papyrus.infra.viewpoints.configuration.impl;
@@ -33,9 +33,9 @@ import org.eclipse.papyrus.infra.viewpoints.configuration.OwningRule;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.ModelAutoCreateImpl#getFeature <em>Feature</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.ModelAutoCreateImpl#getOrigin <em>Origin</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.ModelAutoCreateImpl#getCreationType <em>Creation Type</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.ModelAutoCreateImpl#getFeature <em>Feature</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.ModelAutoCreateImpl#getOrigin <em>Origin</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.ModelAutoCreateImpl#getCreationType <em>Creation Type</em>}</li>
* </ul>
* </p>
*
@@ -46,6 +46,7 @@ public class ModelAutoCreateImpl extends MinimalEObjectImpl.Container implements
* The cached value of the '{@link #getFeature() <em>Feature</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getFeature()
* @generated
* @ordered
@@ -56,6 +57,7 @@ public class ModelAutoCreateImpl extends MinimalEObjectImpl.Container implements
* The default value of the '{@link #getCreationType() <em>Creation Type</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getCreationType()
* @generated
* @ordered
@@ -66,6 +68,7 @@ public class ModelAutoCreateImpl extends MinimalEObjectImpl.Container implements
* The cached value of the '{@link #getCreationType() <em>Creation Type</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getCreationType()
* @generated
* @ordered
@@ -75,6 +78,7 @@ public class ModelAutoCreateImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected ModelAutoCreateImpl() {
@@ -84,6 +88,7 @@ public class ModelAutoCreateImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -94,15 +99,17 @@ public class ModelAutoCreateImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getFeature() {
if (feature != null && feature.eIsProxy()) {
- InternalEObject oldFeature = (InternalEObject)feature;
- feature = (EReference)eResolveProxy(oldFeature);
+ InternalEObject oldFeature = (InternalEObject) feature;
+ feature = (EReference) eResolveProxy(oldFeature);
if (feature != oldFeature) {
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, ConfigurationPackage.MODEL_AUTO_CREATE__FEATURE, oldFeature, feature));
+ }
}
}
return feature;
@@ -111,6 +118,7 @@ public class ModelAutoCreateImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EReference basicGetFeature() {
@@ -120,23 +128,26 @@ public class ModelAutoCreateImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public void setFeature(EReference newFeature) {
EReference oldFeature = feature;
feature = newFeature;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, ConfigurationPackage.MODEL_AUTO_CREATE__FEATURE, oldFeature, feature));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EClass getOrigin() {
EClass origin = basicGetOrigin();
- return origin != null && origin.eIsProxy() ? (EClass)eResolveProxy((InternalEObject)origin) : origin;
+ return origin != null && origin.eIsProxy() ? (EClass) eResolveProxy((InternalEObject) origin) : origin;
}
/**
@@ -147,18 +158,21 @@ public class ModelAutoCreateImpl extends MinimalEObjectImpl.Container implements
OwningRule rule = (OwningRule) this.eContainer();
EList<ModelAutoCreate> list = rule.getNewModelPath();
int index = list.indexOf(this);
- if (index == 0)
+ if (index == 0) {
return rule.getElement();
+ }
String id = list.get(index - 1).getCreationType();
IElementType etype = ElementTypeRegistry.getInstance().getType(id);
- if (etype == null)
+ if (etype == null) {
return null;
+ }
return etype.getEClass();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public String getCreationType() {
@@ -168,31 +182,38 @@ public class ModelAutoCreateImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public void setCreationType(String newCreationType) {
String oldCreationType = creationType;
creationType = newCreationType;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, ConfigurationPackage.MODEL_AUTO_CREATE__CREATION_TYPE, oldCreationType, creationType));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case ConfigurationPackage.MODEL_AUTO_CREATE__FEATURE:
- if (resolve) return getFeature();
- return basicGetFeature();
- case ConfigurationPackage.MODEL_AUTO_CREATE__ORIGIN:
- if (resolve) return getOrigin();
- return basicGetOrigin();
- case ConfigurationPackage.MODEL_AUTO_CREATE__CREATION_TYPE:
- return getCreationType();
+ case ConfigurationPackage.MODEL_AUTO_CREATE__FEATURE:
+ if (resolve) {
+ return getFeature();
+ }
+ return basicGetFeature();
+ case ConfigurationPackage.MODEL_AUTO_CREATE__ORIGIN:
+ if (resolve) {
+ return getOrigin();
+ }
+ return basicGetOrigin();
+ case ConfigurationPackage.MODEL_AUTO_CREATE__CREATION_TYPE:
+ return getCreationType();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -200,17 +221,18 @@ public class ModelAutoCreateImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case ConfigurationPackage.MODEL_AUTO_CREATE__FEATURE:
- setFeature((EReference)newValue);
- return;
- case ConfigurationPackage.MODEL_AUTO_CREATE__CREATION_TYPE:
- setCreationType((String)newValue);
- return;
+ case ConfigurationPackage.MODEL_AUTO_CREATE__FEATURE:
+ setFeature((EReference) newValue);
+ return;
+ case ConfigurationPackage.MODEL_AUTO_CREATE__CREATION_TYPE:
+ setCreationType((String) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -218,17 +240,18 @@ public class ModelAutoCreateImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case ConfigurationPackage.MODEL_AUTO_CREATE__FEATURE:
- setFeature((EReference)null);
- return;
- case ConfigurationPackage.MODEL_AUTO_CREATE__CREATION_TYPE:
- setCreationType(CREATION_TYPE_EDEFAULT);
- return;
+ case ConfigurationPackage.MODEL_AUTO_CREATE__FEATURE:
+ setFeature((EReference) null);
+ return;
+ case ConfigurationPackage.MODEL_AUTO_CREATE__CREATION_TYPE:
+ setCreationType(CREATION_TYPE_EDEFAULT);
+ return;
}
super.eUnset(featureID);
}
@@ -236,17 +259,18 @@ public class ModelAutoCreateImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case ConfigurationPackage.MODEL_AUTO_CREATE__FEATURE:
- return feature != null;
- case ConfigurationPackage.MODEL_AUTO_CREATE__ORIGIN:
- return basicGetOrigin() != null;
- case ConfigurationPackage.MODEL_AUTO_CREATE__CREATION_TYPE:
- return CREATION_TYPE_EDEFAULT == null ? creationType != null : !CREATION_TYPE_EDEFAULT.equals(creationType);
+ case ConfigurationPackage.MODEL_AUTO_CREATE__FEATURE:
+ return feature != null;
+ case ConfigurationPackage.MODEL_AUTO_CREATE__ORIGIN:
+ return basicGetOrigin() != null;
+ case ConfigurationPackage.MODEL_AUTO_CREATE__CREATION_TYPE:
+ return CREATION_TYPE_EDEFAULT == null ? creationType != null : !CREATION_TYPE_EDEFAULT.equals(creationType);
}
return super.eIsSet(featureID);
}
@@ -254,11 +278,14 @@ public class ModelAutoCreateImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- 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(" (creationType: ");
@@ -267,4 +294,4 @@ public class ModelAutoCreateImpl extends MinimalEObjectImpl.Container implements
return result.toString();
}
-} //ModelAutoCreateImpl
+} // ModelAutoCreateImpl
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/impl/ModelRuleImpl.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/impl/ModelRuleImpl.java
index 9217c73b1b3..b67ac22fba0 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/impl/ModelRuleImpl.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/impl/ModelRuleImpl.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,11 +36,11 @@ import org.eclipse.papyrus.infra.viewpoints.configuration.ModelRule;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.ModelRuleImpl#getConstraints <em>Constraints</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.ModelRuleImpl#getElementMultiplicity <em>Element Multiplicity</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.ModelRuleImpl#getElement <em>Element</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.ModelRuleImpl#getStereotypes <em>Stereotypes</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.ModelRuleImpl#getMultiplicity <em>Multiplicity</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.ModelRuleImpl#getConstraints <em>Constraints</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.ModelRuleImpl#getElementMultiplicity <em>Element Multiplicity</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.ModelRuleImpl#getElement <em>Element</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.ModelRuleImpl#getStereotypes <em>Stereotypes</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.ModelRuleImpl#getMultiplicity <em>Multiplicity</em>}</li>
* </ul>
* </p>
*
@@ -51,6 +51,7 @@ public class ModelRuleImpl extends RuleImpl implements ModelRule {
* The cached value of the '{@link #getConstraints() <em>Constraints</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getConstraints()
* @generated
* @ordered
@@ -61,6 +62,7 @@ public class ModelRuleImpl extends RuleImpl implements ModelRule {
* The default value of the '{@link #getElementMultiplicity() <em>Element Multiplicity</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getElementMultiplicity()
* @generated
* @ordered
@@ -71,6 +73,7 @@ public class ModelRuleImpl extends RuleImpl implements ModelRule {
* The cached value of the '{@link #getElementMultiplicity() <em>Element Multiplicity</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getElementMultiplicity()
* @generated
* @ordered
@@ -81,6 +84,7 @@ public class ModelRuleImpl extends RuleImpl implements ModelRule {
* The cached value of the '{@link #getElement() <em>Element</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getElement()
* @generated
* @ordered
@@ -91,6 +95,7 @@ public class ModelRuleImpl extends RuleImpl implements ModelRule {
* The cached value of the '{@link #getStereotypes() <em>Stereotypes</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getStereotypes()
* @generated
* @ordered
@@ -101,6 +106,7 @@ public class ModelRuleImpl extends RuleImpl implements ModelRule {
* The default value of the '{@link #getMultiplicity() <em>Multiplicity</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getMultiplicity()
* @generated
* @ordered
@@ -111,6 +117,7 @@ public class ModelRuleImpl extends RuleImpl implements ModelRule {
* The cached value of the '{@link #getMultiplicity() <em>Multiplicity</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getMultiplicity()
* @generated
* @ordered
@@ -120,6 +127,7 @@ public class ModelRuleImpl extends RuleImpl implements ModelRule {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected ModelRuleImpl() {
@@ -129,6 +137,7 @@ public class ModelRuleImpl extends RuleImpl implements ModelRule {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -139,6 +148,7 @@ public class ModelRuleImpl extends RuleImpl implements ModelRule {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EList<ConstraintDescriptor> getConstraints() {
@@ -151,6 +161,7 @@ public class ModelRuleImpl extends RuleImpl implements ModelRule {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public int getElementMultiplicity() {
@@ -160,27 +171,31 @@ public class ModelRuleImpl extends RuleImpl implements ModelRule {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public void setElementMultiplicity(int newElementMultiplicity) {
int oldElementMultiplicity = elementMultiplicity;
elementMultiplicity = newElementMultiplicity;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, ConfigurationPackage.MODEL_RULE__ELEMENT_MULTIPLICITY, oldElementMultiplicity, elementMultiplicity));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EClass getElement() {
if (element != null && element.eIsProxy()) {
- InternalEObject oldElement = (InternalEObject)element;
- element = (EClass)eResolveProxy(oldElement);
+ InternalEObject oldElement = (InternalEObject) element;
+ element = (EClass) eResolveProxy(oldElement);
if (element != oldElement) {
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, ConfigurationPackage.MODEL_RULE__ELEMENT, oldElement, element));
+ }
}
}
return element;
@@ -189,6 +204,7 @@ public class ModelRuleImpl extends RuleImpl implements ModelRule {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EClass basicGetElement() {
@@ -198,18 +214,21 @@ public class ModelRuleImpl extends RuleImpl implements ModelRule {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public void setElement(EClass newElement) {
EClass oldElement = element;
element = newElement;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, ConfigurationPackage.MODEL_RULE__ELEMENT, oldElement, element));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EList<EClass> getStereotypes() {
@@ -222,6 +241,7 @@ public class ModelRuleImpl extends RuleImpl implements ModelRule {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public int getMultiplicity() {
@@ -231,26 +251,29 @@ public class ModelRuleImpl extends RuleImpl implements ModelRule {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public void setMultiplicity(int newMultiplicity) {
int oldMultiplicity = multiplicity;
multiplicity = newMultiplicity;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, ConfigurationPackage.MODEL_RULE__MULTIPLICITY, oldMultiplicity, multiplicity));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
- case ConfigurationPackage.MODEL_RULE__CONSTRAINTS:
- return ((InternalEList<InternalEObject>)(InternalEList<?>)getConstraints()).basicAdd(otherEnd, msgs);
+ case ConfigurationPackage.MODEL_RULE__CONSTRAINTS:
+ return ((InternalEList<InternalEObject>) (InternalEList<?>) getConstraints()).basicAdd(otherEnd, msgs);
}
return super.eInverseAdd(otherEnd, featureID, msgs);
}
@@ -258,13 +281,14 @@ public class ModelRuleImpl extends RuleImpl implements ModelRule {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
- case ConfigurationPackage.MODEL_RULE__CONSTRAINTS:
- return ((InternalEList<?>)getConstraints()).basicRemove(otherEnd, msgs);
+ case ConfigurationPackage.MODEL_RULE__CONSTRAINTS:
+ return ((InternalEList<?>) getConstraints()).basicRemove(otherEnd, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
@@ -272,22 +296,25 @@ public class ModelRuleImpl extends RuleImpl implements ModelRule {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case ConfigurationPackage.MODEL_RULE__CONSTRAINTS:
- return getConstraints();
- case ConfigurationPackage.MODEL_RULE__ELEMENT_MULTIPLICITY:
- return getElementMultiplicity();
- case ConfigurationPackage.MODEL_RULE__ELEMENT:
- if (resolve) return getElement();
- return basicGetElement();
- case ConfigurationPackage.MODEL_RULE__STEREOTYPES:
- return getStereotypes();
- case ConfigurationPackage.MODEL_RULE__MULTIPLICITY:
- return getMultiplicity();
+ case ConfigurationPackage.MODEL_RULE__CONSTRAINTS:
+ return getConstraints();
+ case ConfigurationPackage.MODEL_RULE__ELEMENT_MULTIPLICITY:
+ return getElementMultiplicity();
+ case ConfigurationPackage.MODEL_RULE__ELEMENT:
+ if (resolve) {
+ return getElement();
+ }
+ return basicGetElement();
+ case ConfigurationPackage.MODEL_RULE__STEREOTYPES:
+ return getStereotypes();
+ case ConfigurationPackage.MODEL_RULE__MULTIPLICITY:
+ return getMultiplicity();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -295,29 +322,30 @@ public class ModelRuleImpl extends RuleImpl implements ModelRule {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case ConfigurationPackage.MODEL_RULE__CONSTRAINTS:
- getConstraints().clear();
- getConstraints().addAll((Collection<? extends ConstraintDescriptor>)newValue);
- return;
- case ConfigurationPackage.MODEL_RULE__ELEMENT_MULTIPLICITY:
- setElementMultiplicity((Integer)newValue);
- return;
- case ConfigurationPackage.MODEL_RULE__ELEMENT:
- setElement((EClass)newValue);
- return;
- case ConfigurationPackage.MODEL_RULE__STEREOTYPES:
- getStereotypes().clear();
- getStereotypes().addAll((Collection<? extends EClass>)newValue);
- return;
- case ConfigurationPackage.MODEL_RULE__MULTIPLICITY:
- setMultiplicity((Integer)newValue);
- return;
+ case ConfigurationPackage.MODEL_RULE__CONSTRAINTS:
+ getConstraints().clear();
+ getConstraints().addAll((Collection<? extends ConstraintDescriptor>) newValue);
+ return;
+ case ConfigurationPackage.MODEL_RULE__ELEMENT_MULTIPLICITY:
+ setElementMultiplicity((Integer) newValue);
+ return;
+ case ConfigurationPackage.MODEL_RULE__ELEMENT:
+ setElement((EClass) newValue);
+ return;
+ case ConfigurationPackage.MODEL_RULE__STEREOTYPES:
+ getStereotypes().clear();
+ getStereotypes().addAll((Collection<? extends EClass>) newValue);
+ return;
+ case ConfigurationPackage.MODEL_RULE__MULTIPLICITY:
+ setMultiplicity((Integer) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -325,26 +353,27 @@ public class ModelRuleImpl extends RuleImpl implements ModelRule {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case ConfigurationPackage.MODEL_RULE__CONSTRAINTS:
- getConstraints().clear();
- return;
- case ConfigurationPackage.MODEL_RULE__ELEMENT_MULTIPLICITY:
- setElementMultiplicity(ELEMENT_MULTIPLICITY_EDEFAULT);
- return;
- case ConfigurationPackage.MODEL_RULE__ELEMENT:
- setElement((EClass)null);
- return;
- case ConfigurationPackage.MODEL_RULE__STEREOTYPES:
- getStereotypes().clear();
- return;
- case ConfigurationPackage.MODEL_RULE__MULTIPLICITY:
- setMultiplicity(MULTIPLICITY_EDEFAULT);
- return;
+ case ConfigurationPackage.MODEL_RULE__CONSTRAINTS:
+ getConstraints().clear();
+ return;
+ case ConfigurationPackage.MODEL_RULE__ELEMENT_MULTIPLICITY:
+ setElementMultiplicity(ELEMENT_MULTIPLICITY_EDEFAULT);
+ return;
+ case ConfigurationPackage.MODEL_RULE__ELEMENT:
+ setElement((EClass) null);
+ return;
+ case ConfigurationPackage.MODEL_RULE__STEREOTYPES:
+ getStereotypes().clear();
+ return;
+ case ConfigurationPackage.MODEL_RULE__MULTIPLICITY:
+ setMultiplicity(MULTIPLICITY_EDEFAULT);
+ return;
}
super.eUnset(featureID);
}
@@ -352,21 +381,22 @@ public class ModelRuleImpl extends RuleImpl implements ModelRule {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case ConfigurationPackage.MODEL_RULE__CONSTRAINTS:
- return constraints != null && !constraints.isEmpty();
- case ConfigurationPackage.MODEL_RULE__ELEMENT_MULTIPLICITY:
- return elementMultiplicity != ELEMENT_MULTIPLICITY_EDEFAULT;
- case ConfigurationPackage.MODEL_RULE__ELEMENT:
- return element != null;
- case ConfigurationPackage.MODEL_RULE__STEREOTYPES:
- return stereotypes != null && !stereotypes.isEmpty();
- case ConfigurationPackage.MODEL_RULE__MULTIPLICITY:
- return multiplicity != MULTIPLICITY_EDEFAULT;
+ case ConfigurationPackage.MODEL_RULE__CONSTRAINTS:
+ return constraints != null && !constraints.isEmpty();
+ case ConfigurationPackage.MODEL_RULE__ELEMENT_MULTIPLICITY:
+ return elementMultiplicity != ELEMENT_MULTIPLICITY_EDEFAULT;
+ case ConfigurationPackage.MODEL_RULE__ELEMENT:
+ return element != null;
+ case ConfigurationPackage.MODEL_RULE__STEREOTYPES:
+ return stereotypes != null && !stereotypes.isEmpty();
+ case ConfigurationPackage.MODEL_RULE__MULTIPLICITY:
+ return multiplicity != MULTIPLICITY_EDEFAULT;
}
return super.eIsSet(featureID);
}
@@ -374,15 +404,19 @@ public class ModelRuleImpl extends RuleImpl implements ModelRule {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass) {
if (baseClass == DisplayUnit.class) {
switch (derivedFeatureID) {
- case ConfigurationPackage.MODEL_RULE__CONSTRAINTS: return ConstraintsPackage.DISPLAY_UNIT__CONSTRAINTS;
- case ConfigurationPackage.MODEL_RULE__ELEMENT_MULTIPLICITY: return ConstraintsPackage.DISPLAY_UNIT__ELEMENT_MULTIPLICITY;
- default: return -1;
+ case ConfigurationPackage.MODEL_RULE__CONSTRAINTS:
+ return ConstraintsPackage.DISPLAY_UNIT__CONSTRAINTS;
+ case ConfigurationPackage.MODEL_RULE__ELEMENT_MULTIPLICITY:
+ return ConstraintsPackage.DISPLAY_UNIT__ELEMENT_MULTIPLICITY;
+ default:
+ return -1;
}
}
return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass);
@@ -391,15 +425,19 @@ public class ModelRuleImpl extends RuleImpl implements ModelRule {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public int eDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass) {
if (baseClass == DisplayUnit.class) {
switch (baseFeatureID) {
- case ConstraintsPackage.DISPLAY_UNIT__CONSTRAINTS: return ConfigurationPackage.MODEL_RULE__CONSTRAINTS;
- case ConstraintsPackage.DISPLAY_UNIT__ELEMENT_MULTIPLICITY: return ConfigurationPackage.MODEL_RULE__ELEMENT_MULTIPLICITY;
- default: return -1;
+ case ConstraintsPackage.DISPLAY_UNIT__CONSTRAINTS:
+ return ConfigurationPackage.MODEL_RULE__CONSTRAINTS;
+ case ConstraintsPackage.DISPLAY_UNIT__ELEMENT_MULTIPLICITY:
+ return ConfigurationPackage.MODEL_RULE__ELEMENT_MULTIPLICITY;
+ default:
+ return -1;
}
}
return super.eDerivedStructuralFeatureID(baseFeatureID, baseClass);
@@ -408,11 +446,14 @@ public class ModelRuleImpl extends RuleImpl implements ModelRule {
/**
* <!-- 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(" (elementMultiplicity: ");
@@ -423,4 +464,4 @@ public class ModelRuleImpl extends RuleImpl implements ModelRule {
return result.toString();
}
-} //ModelRuleImpl
+} // ModelRuleImpl
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/impl/OwningRuleImpl.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/impl/OwningRuleImpl.java
index 4cb3c9bff4f..b9f4794702c 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/impl/OwningRuleImpl.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/impl/OwningRuleImpl.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
@@ -37,10 +37,10 @@ import org.eclipse.papyrus.infra.viewpoints.configuration.OwningRule;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.OwningRuleImpl#getElement <em>Element</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.OwningRuleImpl#getStereotypes <em>Stereotypes</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.OwningRuleImpl#getMultiplicity <em>Multiplicity</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.OwningRuleImpl#getNewModelPath <em>New Model Path</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.OwningRuleImpl#getElement <em>Element</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.OwningRuleImpl#getStereotypes <em>Stereotypes</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.OwningRuleImpl#getMultiplicity <em>Multiplicity</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.OwningRuleImpl#getNewModelPath <em>New Model Path</em>}</li>
* </ul>
* </p>
*
@@ -51,6 +51,7 @@ public class OwningRuleImpl extends RuleImpl implements OwningRule {
* The cached value of the '{@link #getElement() <em>Element</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getElement()
* @generated
* @ordered
@@ -61,6 +62,7 @@ public class OwningRuleImpl extends RuleImpl implements OwningRule {
* The cached value of the '{@link #getStereotypes() <em>Stereotypes</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getStereotypes()
* @generated
* @ordered
@@ -71,6 +73,7 @@ public class OwningRuleImpl extends RuleImpl implements OwningRule {
* The default value of the '{@link #getMultiplicity() <em>Multiplicity</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getMultiplicity()
* @generated
* @ordered
@@ -81,6 +84,7 @@ public class OwningRuleImpl extends RuleImpl implements OwningRule {
* The cached value of the '{@link #getMultiplicity() <em>Multiplicity</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getMultiplicity()
* @generated
* @ordered
@@ -91,6 +95,7 @@ public class OwningRuleImpl extends RuleImpl implements OwningRule {
* The cached value of the '{@link #getNewModelPath() <em>New Model Path</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getNewModelPath()
* @generated
* @ordered
@@ -100,6 +105,7 @@ public class OwningRuleImpl extends RuleImpl implements OwningRule {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected OwningRuleImpl() {
@@ -109,6 +115,7 @@ public class OwningRuleImpl extends RuleImpl implements OwningRule {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -119,15 +126,17 @@ public class OwningRuleImpl extends RuleImpl implements OwningRule {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EClass getElement() {
if (element != null && element.eIsProxy()) {
- InternalEObject oldElement = (InternalEObject)element;
- element = (EClass)eResolveProxy(oldElement);
+ InternalEObject oldElement = (InternalEObject) element;
+ element = (EClass) eResolveProxy(oldElement);
if (element != oldElement) {
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, ConfigurationPackage.OWNING_RULE__ELEMENT, oldElement, element));
+ }
}
}
return element;
@@ -136,6 +145,7 @@ public class OwningRuleImpl extends RuleImpl implements OwningRule {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EClass basicGetElement() {
@@ -145,18 +155,21 @@ public class OwningRuleImpl extends RuleImpl implements OwningRule {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public void setElement(EClass newElement) {
EClass oldElement = element;
element = newElement;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, ConfigurationPackage.OWNING_RULE__ELEMENT, oldElement, element));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EList<EClass> getStereotypes() {
@@ -169,6 +182,7 @@ public class OwningRuleImpl extends RuleImpl implements OwningRule {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public int getMultiplicity() {
@@ -178,18 +192,21 @@ public class OwningRuleImpl extends RuleImpl implements OwningRule {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public void setMultiplicity(int newMultiplicity) {
int oldMultiplicity = multiplicity;
multiplicity = newMultiplicity;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, ConfigurationPackage.OWNING_RULE__MULTIPLICITY, oldMultiplicity, multiplicity));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EList<ModelAutoCreate> getNewModelPath() {
@@ -202,13 +219,14 @@ public class OwningRuleImpl extends RuleImpl implements OwningRule {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
- case ConfigurationPackage.OWNING_RULE__NEW_MODEL_PATH:
- return ((InternalEList<?>)getNewModelPath()).basicRemove(otherEnd, msgs);
+ case ConfigurationPackage.OWNING_RULE__NEW_MODEL_PATH:
+ return ((InternalEList<?>) getNewModelPath()).basicRemove(otherEnd, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
@@ -216,20 +234,23 @@ public class OwningRuleImpl extends RuleImpl implements OwningRule {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case ConfigurationPackage.OWNING_RULE__ELEMENT:
- if (resolve) return getElement();
- return basicGetElement();
- case ConfigurationPackage.OWNING_RULE__STEREOTYPES:
- return getStereotypes();
- case ConfigurationPackage.OWNING_RULE__MULTIPLICITY:
- return getMultiplicity();
- case ConfigurationPackage.OWNING_RULE__NEW_MODEL_PATH:
- return getNewModelPath();
+ case ConfigurationPackage.OWNING_RULE__ELEMENT:
+ if (resolve) {
+ return getElement();
+ }
+ return basicGetElement();
+ case ConfigurationPackage.OWNING_RULE__STEREOTYPES:
+ return getStereotypes();
+ case ConfigurationPackage.OWNING_RULE__MULTIPLICITY:
+ return getMultiplicity();
+ case ConfigurationPackage.OWNING_RULE__NEW_MODEL_PATH:
+ return getNewModelPath();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -237,26 +258,27 @@ public class OwningRuleImpl extends RuleImpl implements OwningRule {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case ConfigurationPackage.OWNING_RULE__ELEMENT:
- setElement((EClass)newValue);
- return;
- case ConfigurationPackage.OWNING_RULE__STEREOTYPES:
- getStereotypes().clear();
- getStereotypes().addAll((Collection<? extends EClass>)newValue);
- return;
- case ConfigurationPackage.OWNING_RULE__MULTIPLICITY:
- setMultiplicity((Integer)newValue);
- return;
- case ConfigurationPackage.OWNING_RULE__NEW_MODEL_PATH:
- getNewModelPath().clear();
- getNewModelPath().addAll((Collection<? extends ModelAutoCreate>)newValue);
- return;
+ case ConfigurationPackage.OWNING_RULE__ELEMENT:
+ setElement((EClass) newValue);
+ return;
+ case ConfigurationPackage.OWNING_RULE__STEREOTYPES:
+ getStereotypes().clear();
+ getStereotypes().addAll((Collection<? extends EClass>) newValue);
+ return;
+ case ConfigurationPackage.OWNING_RULE__MULTIPLICITY:
+ setMultiplicity((Integer) newValue);
+ return;
+ case ConfigurationPackage.OWNING_RULE__NEW_MODEL_PATH:
+ getNewModelPath().clear();
+ getNewModelPath().addAll((Collection<? extends ModelAutoCreate>) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -264,23 +286,24 @@ public class OwningRuleImpl extends RuleImpl implements OwningRule {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case ConfigurationPackage.OWNING_RULE__ELEMENT:
- setElement((EClass)null);
- return;
- case ConfigurationPackage.OWNING_RULE__STEREOTYPES:
- getStereotypes().clear();
- return;
- case ConfigurationPackage.OWNING_RULE__MULTIPLICITY:
- setMultiplicity(MULTIPLICITY_EDEFAULT);
- return;
- case ConfigurationPackage.OWNING_RULE__NEW_MODEL_PATH:
- getNewModelPath().clear();
- return;
+ case ConfigurationPackage.OWNING_RULE__ELEMENT:
+ setElement((EClass) null);
+ return;
+ case ConfigurationPackage.OWNING_RULE__STEREOTYPES:
+ getStereotypes().clear();
+ return;
+ case ConfigurationPackage.OWNING_RULE__MULTIPLICITY:
+ setMultiplicity(MULTIPLICITY_EDEFAULT);
+ return;
+ case ConfigurationPackage.OWNING_RULE__NEW_MODEL_PATH:
+ getNewModelPath().clear();
+ return;
}
super.eUnset(featureID);
}
@@ -288,19 +311,20 @@ public class OwningRuleImpl extends RuleImpl implements OwningRule {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case ConfigurationPackage.OWNING_RULE__ELEMENT:
- return element != null;
- case ConfigurationPackage.OWNING_RULE__STEREOTYPES:
- return stereotypes != null && !stereotypes.isEmpty();
- case ConfigurationPackage.OWNING_RULE__MULTIPLICITY:
- return multiplicity != MULTIPLICITY_EDEFAULT;
- case ConfigurationPackage.OWNING_RULE__NEW_MODEL_PATH:
- return newModelPath != null && !newModelPath.isEmpty();
+ case ConfigurationPackage.OWNING_RULE__ELEMENT:
+ return element != null;
+ case ConfigurationPackage.OWNING_RULE__STEREOTYPES:
+ return stereotypes != null && !stereotypes.isEmpty();
+ case ConfigurationPackage.OWNING_RULE__MULTIPLICITY:
+ return multiplicity != MULTIPLICITY_EDEFAULT;
+ case ConfigurationPackage.OWNING_RULE__NEW_MODEL_PATH:
+ return newModelPath != null && !newModelPath.isEmpty();
}
return super.eIsSet(featureID);
}
@@ -308,11 +332,14 @@ public class OwningRuleImpl extends RuleImpl implements OwningRule {
/**
* <!-- 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(" (multiplicity: ");
@@ -321,4 +348,4 @@ public class OwningRuleImpl extends RuleImpl implements OwningRule {
return result.toString();
}
-} //OwningRuleImpl
+} // OwningRuleImpl
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/impl/PaletteRuleImpl.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/impl/PaletteRuleImpl.java
index 335799cd43a..e7f79b073b9 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/impl/PaletteRuleImpl.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/impl/PaletteRuleImpl.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
@@ -29,7 +29,7 @@ import org.eclipse.papyrus.infra.viewpoints.configuration.PaletteRule;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PaletteRuleImpl#getElement <em>Element</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PaletteRuleImpl#getElement <em>Element</em>}</li>
* </ul>
* </p>
*
@@ -40,6 +40,7 @@ public class PaletteRuleImpl extends RuleImpl implements PaletteRule {
* The default value of the '{@link #getElement() <em>Element</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getElement()
* @generated
* @ordered
@@ -50,6 +51,7 @@ public class PaletteRuleImpl extends RuleImpl implements PaletteRule {
* The cached value of the '{@link #getElement() <em>Element</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getElement()
* @generated
* @ordered
@@ -59,6 +61,7 @@ public class PaletteRuleImpl extends RuleImpl implements PaletteRule {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected PaletteRuleImpl() {
@@ -68,6 +71,7 @@ public class PaletteRuleImpl extends RuleImpl implements PaletteRule {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -78,6 +82,7 @@ public class PaletteRuleImpl extends RuleImpl implements PaletteRule {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public String getElement() {
@@ -87,25 +92,28 @@ public class PaletteRuleImpl extends RuleImpl implements PaletteRule {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public void setElement(String newElement) {
String oldElement = element;
element = newElement;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, ConfigurationPackage.PALETTE_RULE__ELEMENT, oldElement, element));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case ConfigurationPackage.PALETTE_RULE__ELEMENT:
- return getElement();
+ case ConfigurationPackage.PALETTE_RULE__ELEMENT:
+ return getElement();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -113,14 +121,15 @@ public class PaletteRuleImpl extends RuleImpl implements PaletteRule {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case ConfigurationPackage.PALETTE_RULE__ELEMENT:
- setElement((String)newValue);
- return;
+ case ConfigurationPackage.PALETTE_RULE__ELEMENT:
+ setElement((String) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -128,14 +137,15 @@ public class PaletteRuleImpl extends RuleImpl implements PaletteRule {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case ConfigurationPackage.PALETTE_RULE__ELEMENT:
- setElement(ELEMENT_EDEFAULT);
- return;
+ case ConfigurationPackage.PALETTE_RULE__ELEMENT:
+ setElement(ELEMENT_EDEFAULT);
+ return;
}
super.eUnset(featureID);
}
@@ -143,13 +153,14 @@ public class PaletteRuleImpl extends RuleImpl implements PaletteRule {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case ConfigurationPackage.PALETTE_RULE__ELEMENT:
- return ELEMENT_EDEFAULT == null ? element != null : !ELEMENT_EDEFAULT.equals(element);
+ case ConfigurationPackage.PALETTE_RULE__ELEMENT:
+ return ELEMENT_EDEFAULT == null ? element != null : !ELEMENT_EDEFAULT.equals(element);
}
return super.eIsSet(featureID);
}
@@ -157,11 +168,14 @@ public class PaletteRuleImpl extends RuleImpl implements PaletteRule {
/**
* <!-- 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(" (element: ");
@@ -170,4 +184,4 @@ public class PaletteRuleImpl extends RuleImpl implements PaletteRule {
return result.toString();
}
-} //PaletteRuleImpl
+} // PaletteRuleImpl
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/impl/PapyrusConfigurationImpl.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/impl/PapyrusConfigurationImpl.java
index e7f29683ff3..c9dbb926486 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/impl/PapyrusConfigurationImpl.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/impl/PapyrusConfigurationImpl.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,9 +36,9 @@ import org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureFrameworkI
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusConfigurationImpl#getDefaultStakeholder <em>Default Stakeholder</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusConfigurationImpl#getMetamodel <em>Metamodel</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusConfigurationImpl#getCategories <em>Categories</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusConfigurationImpl#getDefaultStakeholder <em>Default Stakeholder</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusConfigurationImpl#getMetamodel <em>Metamodel</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusConfigurationImpl#getCategories <em>Categories</em>}</li>
* </ul>
* </p>
*
@@ -49,6 +49,7 @@ public class PapyrusConfigurationImpl extends ArchitectureFrameworkImpl implemen
* The cached value of the '{@link #getDefaultStakeholder() <em>Default Stakeholder</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getDefaultStakeholder()
* @generated
* @ordered
@@ -59,6 +60,7 @@ public class PapyrusConfigurationImpl extends ArchitectureFrameworkImpl implemen
* The cached value of the '{@link #getMetamodel() <em>Metamodel</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getMetamodel()
* @generated
* @ordered
@@ -69,6 +71,7 @@ public class PapyrusConfigurationImpl extends ArchitectureFrameworkImpl implemen
* The cached value of the '{@link #getCategories() <em>Categories</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getCategories()
* @generated
* @ordered
@@ -78,6 +81,7 @@ public class PapyrusConfigurationImpl extends ArchitectureFrameworkImpl implemen
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected PapyrusConfigurationImpl() {
@@ -87,6 +91,7 @@ public class PapyrusConfigurationImpl extends ArchitectureFrameworkImpl implemen
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -97,15 +102,17 @@ public class PapyrusConfigurationImpl extends ArchitectureFrameworkImpl implemen
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public Stakeholder getDefaultStakeholder() {
if (defaultStakeholder != null && defaultStakeholder.eIsProxy()) {
- InternalEObject oldDefaultStakeholder = (InternalEObject)defaultStakeholder;
- defaultStakeholder = (Stakeholder)eResolveProxy(oldDefaultStakeholder);
+ InternalEObject oldDefaultStakeholder = (InternalEObject) defaultStakeholder;
+ defaultStakeholder = (Stakeholder) eResolveProxy(oldDefaultStakeholder);
if (defaultStakeholder != oldDefaultStakeholder) {
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, ConfigurationPackage.PAPYRUS_CONFIGURATION__DEFAULT_STAKEHOLDER, oldDefaultStakeholder, defaultStakeholder));
+ }
}
}
return defaultStakeholder;
@@ -114,6 +121,7 @@ public class PapyrusConfigurationImpl extends ArchitectureFrameworkImpl implemen
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public Stakeholder basicGetDefaultStakeholder() {
@@ -123,27 +131,31 @@ public class PapyrusConfigurationImpl extends ArchitectureFrameworkImpl implemen
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public void setDefaultStakeholder(Stakeholder newDefaultStakeholder) {
Stakeholder oldDefaultStakeholder = defaultStakeholder;
defaultStakeholder = newDefaultStakeholder;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, ConfigurationPackage.PAPYRUS_CONFIGURATION__DEFAULT_STAKEHOLDER, oldDefaultStakeholder, defaultStakeholder));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EPackage getMetamodel() {
if (metamodel != null && metamodel.eIsProxy()) {
- InternalEObject oldMetamodel = (InternalEObject)metamodel;
- metamodel = (EPackage)eResolveProxy(oldMetamodel);
+ InternalEObject oldMetamodel = (InternalEObject) metamodel;
+ metamodel = (EPackage) eResolveProxy(oldMetamodel);
if (metamodel != oldMetamodel) {
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, ConfigurationPackage.PAPYRUS_CONFIGURATION__METAMODEL, oldMetamodel, metamodel));
+ }
}
}
return metamodel;
@@ -152,6 +164,7 @@ public class PapyrusConfigurationImpl extends ArchitectureFrameworkImpl implemen
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EPackage basicGetMetamodel() {
@@ -161,18 +174,21 @@ public class PapyrusConfigurationImpl extends ArchitectureFrameworkImpl implemen
/**
* <!-- 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, ConfigurationPackage.PAPYRUS_CONFIGURATION__METAMODEL, oldMetamodel, metamodel));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EList<Category> getCategories() {
@@ -185,13 +201,14 @@ public class PapyrusConfigurationImpl extends ArchitectureFrameworkImpl implemen
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
- case ConfigurationPackage.PAPYRUS_CONFIGURATION__CATEGORIES:
- return ((InternalEList<?>)getCategories()).basicRemove(otherEnd, msgs);
+ case ConfigurationPackage.PAPYRUS_CONFIGURATION__CATEGORIES:
+ return ((InternalEList<?>) getCategories()).basicRemove(otherEnd, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
@@ -199,19 +216,24 @@ public class PapyrusConfigurationImpl extends ArchitectureFrameworkImpl implemen
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case ConfigurationPackage.PAPYRUS_CONFIGURATION__DEFAULT_STAKEHOLDER:
- if (resolve) return getDefaultStakeholder();
- return basicGetDefaultStakeholder();
- case ConfigurationPackage.PAPYRUS_CONFIGURATION__METAMODEL:
- if (resolve) return getMetamodel();
- return basicGetMetamodel();
- case ConfigurationPackage.PAPYRUS_CONFIGURATION__CATEGORIES:
- return getCategories();
+ case ConfigurationPackage.PAPYRUS_CONFIGURATION__DEFAULT_STAKEHOLDER:
+ if (resolve) {
+ return getDefaultStakeholder();
+ }
+ return basicGetDefaultStakeholder();
+ case ConfigurationPackage.PAPYRUS_CONFIGURATION__METAMODEL:
+ if (resolve) {
+ return getMetamodel();
+ }
+ return basicGetMetamodel();
+ case ConfigurationPackage.PAPYRUS_CONFIGURATION__CATEGORIES:
+ return getCategories();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -219,22 +241,23 @@ public class PapyrusConfigurationImpl extends ArchitectureFrameworkImpl implemen
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case ConfigurationPackage.PAPYRUS_CONFIGURATION__DEFAULT_STAKEHOLDER:
- setDefaultStakeholder((Stakeholder)newValue);
- return;
- case ConfigurationPackage.PAPYRUS_CONFIGURATION__METAMODEL:
- setMetamodel((EPackage)newValue);
- return;
- case ConfigurationPackage.PAPYRUS_CONFIGURATION__CATEGORIES:
- getCategories().clear();
- getCategories().addAll((Collection<? extends Category>)newValue);
- return;
+ case ConfigurationPackage.PAPYRUS_CONFIGURATION__DEFAULT_STAKEHOLDER:
+ setDefaultStakeholder((Stakeholder) newValue);
+ return;
+ case ConfigurationPackage.PAPYRUS_CONFIGURATION__METAMODEL:
+ setMetamodel((EPackage) newValue);
+ return;
+ case ConfigurationPackage.PAPYRUS_CONFIGURATION__CATEGORIES:
+ getCategories().clear();
+ getCategories().addAll((Collection<? extends Category>) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -242,20 +265,21 @@ public class PapyrusConfigurationImpl extends ArchitectureFrameworkImpl implemen
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case ConfigurationPackage.PAPYRUS_CONFIGURATION__DEFAULT_STAKEHOLDER:
- setDefaultStakeholder((Stakeholder)null);
- return;
- case ConfigurationPackage.PAPYRUS_CONFIGURATION__METAMODEL:
- setMetamodel((EPackage)null);
- return;
- case ConfigurationPackage.PAPYRUS_CONFIGURATION__CATEGORIES:
- getCategories().clear();
- return;
+ case ConfigurationPackage.PAPYRUS_CONFIGURATION__DEFAULT_STAKEHOLDER:
+ setDefaultStakeholder((Stakeholder) null);
+ return;
+ case ConfigurationPackage.PAPYRUS_CONFIGURATION__METAMODEL:
+ setMetamodel((EPackage) null);
+ return;
+ case ConfigurationPackage.PAPYRUS_CONFIGURATION__CATEGORIES:
+ getCategories().clear();
+ return;
}
super.eUnset(featureID);
}
@@ -263,19 +287,20 @@ public class PapyrusConfigurationImpl extends ArchitectureFrameworkImpl implemen
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case ConfigurationPackage.PAPYRUS_CONFIGURATION__DEFAULT_STAKEHOLDER:
- return defaultStakeholder != null;
- case ConfigurationPackage.PAPYRUS_CONFIGURATION__METAMODEL:
- return metamodel != null;
- case ConfigurationPackage.PAPYRUS_CONFIGURATION__CATEGORIES:
- return categories != null && !categories.isEmpty();
+ case ConfigurationPackage.PAPYRUS_CONFIGURATION__DEFAULT_STAKEHOLDER:
+ return defaultStakeholder != null;
+ case ConfigurationPackage.PAPYRUS_CONFIGURATION__METAMODEL:
+ return metamodel != null;
+ case ConfigurationPackage.PAPYRUS_CONFIGURATION__CATEGORIES:
+ return categories != null && !categories.isEmpty();
}
return super.eIsSet(featureID);
}
-} //PapyrusConfigurationImpl
+} // PapyrusConfigurationImpl
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/impl/PapyrusDiagramImpl.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/impl/PapyrusDiagramImpl.java
index e2dac6f2c9a..4c1b6cbe380 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/impl/PapyrusDiagramImpl.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/impl/PapyrusDiagramImpl.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
@@ -34,10 +34,10 @@ import org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusDiagram;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusDiagramImpl#getCustomPalette <em>Custom Palette</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusDiagramImpl#getCustomStyle <em>Custom Style</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusDiagramImpl#getChildRules <em>Child Rules</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusDiagramImpl#getPaletteRules <em>Palette Rules</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusDiagramImpl#getCustomPalette <em>Custom Palette</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusDiagramImpl#getCustomStyle <em>Custom Style</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusDiagramImpl#getChildRules <em>Child Rules</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusDiagramImpl#getPaletteRules <em>Palette Rules</em>}</li>
* </ul>
* </p>
*
@@ -48,6 +48,7 @@ public class PapyrusDiagramImpl extends PapyrusViewImpl implements PapyrusDiagra
* The default value of the '{@link #getCustomPalette() <em>Custom Palette</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getCustomPalette()
* @generated
* @ordered
@@ -58,6 +59,7 @@ public class PapyrusDiagramImpl extends PapyrusViewImpl implements PapyrusDiagra
* The cached value of the '{@link #getCustomPalette() <em>Custom Palette</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getCustomPalette()
* @generated
* @ordered
@@ -68,6 +70,7 @@ public class PapyrusDiagramImpl extends PapyrusViewImpl implements PapyrusDiagra
* The default value of the '{@link #getCustomStyle() <em>Custom Style</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getCustomStyle()
* @generated
* @ordered
@@ -78,6 +81,7 @@ public class PapyrusDiagramImpl extends PapyrusViewImpl implements PapyrusDiagra
* The cached value of the '{@link #getCustomStyle() <em>Custom Style</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getCustomStyle()
* @generated
* @ordered
@@ -88,6 +92,7 @@ public class PapyrusDiagramImpl extends PapyrusViewImpl implements PapyrusDiagra
* The cached value of the '{@link #getChildRules() <em>Child Rules</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getChildRules()
* @generated
* @ordered
@@ -98,6 +103,7 @@ public class PapyrusDiagramImpl extends PapyrusViewImpl implements PapyrusDiagra
* The cached value of the '{@link #getPaletteRules() <em>Palette Rules</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getPaletteRules()
* @generated
* @ordered
@@ -107,6 +113,7 @@ public class PapyrusDiagramImpl extends PapyrusViewImpl implements PapyrusDiagra
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected PapyrusDiagramImpl() {
@@ -116,6 +123,7 @@ public class PapyrusDiagramImpl extends PapyrusViewImpl implements PapyrusDiagra
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -126,6 +134,7 @@ public class PapyrusDiagramImpl extends PapyrusViewImpl implements PapyrusDiagra
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public String getCustomPalette() {
@@ -135,18 +144,21 @@ public class PapyrusDiagramImpl extends PapyrusViewImpl implements PapyrusDiagra
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public void setCustomPalette(String newCustomPalette) {
String oldCustomPalette = customPalette;
customPalette = newCustomPalette;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, ConfigurationPackage.PAPYRUS_DIAGRAM__CUSTOM_PALETTE, oldCustomPalette, customPalette));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public String getCustomStyle() {
@@ -156,18 +168,21 @@ public class PapyrusDiagramImpl extends PapyrusViewImpl implements PapyrusDiagra
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public void setCustomStyle(String newCustomStyle) {
String oldCustomStyle = customStyle;
customStyle = newCustomStyle;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, ConfigurationPackage.PAPYRUS_DIAGRAM__CUSTOM_STYLE, oldCustomStyle, customStyle));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EList<ChildRule> getChildRules() {
@@ -180,6 +195,7 @@ public class PapyrusDiagramImpl extends PapyrusViewImpl implements PapyrusDiagra
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EList<PaletteRule> getPaletteRules() {
@@ -192,15 +208,16 @@ public class PapyrusDiagramImpl extends PapyrusViewImpl implements PapyrusDiagra
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
- case ConfigurationPackage.PAPYRUS_DIAGRAM__CHILD_RULES:
- return ((InternalEList<?>)getChildRules()).basicRemove(otherEnd, msgs);
- case ConfigurationPackage.PAPYRUS_DIAGRAM__PALETTE_RULES:
- return ((InternalEList<?>)getPaletteRules()).basicRemove(otherEnd, msgs);
+ case ConfigurationPackage.PAPYRUS_DIAGRAM__CHILD_RULES:
+ return ((InternalEList<?>) getChildRules()).basicRemove(otherEnd, msgs);
+ case ConfigurationPackage.PAPYRUS_DIAGRAM__PALETTE_RULES:
+ return ((InternalEList<?>) getPaletteRules()).basicRemove(otherEnd, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
@@ -208,19 +225,20 @@ public class PapyrusDiagramImpl extends PapyrusViewImpl implements PapyrusDiagra
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case ConfigurationPackage.PAPYRUS_DIAGRAM__CUSTOM_PALETTE:
- return getCustomPalette();
- case ConfigurationPackage.PAPYRUS_DIAGRAM__CUSTOM_STYLE:
- return getCustomStyle();
- case ConfigurationPackage.PAPYRUS_DIAGRAM__CHILD_RULES:
- return getChildRules();
- case ConfigurationPackage.PAPYRUS_DIAGRAM__PALETTE_RULES:
- return getPaletteRules();
+ case ConfigurationPackage.PAPYRUS_DIAGRAM__CUSTOM_PALETTE:
+ return getCustomPalette();
+ case ConfigurationPackage.PAPYRUS_DIAGRAM__CUSTOM_STYLE:
+ return getCustomStyle();
+ case ConfigurationPackage.PAPYRUS_DIAGRAM__CHILD_RULES:
+ return getChildRules();
+ case ConfigurationPackage.PAPYRUS_DIAGRAM__PALETTE_RULES:
+ return getPaletteRules();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -228,26 +246,27 @@ public class PapyrusDiagramImpl extends PapyrusViewImpl implements PapyrusDiagra
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case ConfigurationPackage.PAPYRUS_DIAGRAM__CUSTOM_PALETTE:
- setCustomPalette((String)newValue);
- return;
- case ConfigurationPackage.PAPYRUS_DIAGRAM__CUSTOM_STYLE:
- setCustomStyle((String)newValue);
- return;
- case ConfigurationPackage.PAPYRUS_DIAGRAM__CHILD_RULES:
- getChildRules().clear();
- getChildRules().addAll((Collection<? extends ChildRule>)newValue);
- return;
- case ConfigurationPackage.PAPYRUS_DIAGRAM__PALETTE_RULES:
- getPaletteRules().clear();
- getPaletteRules().addAll((Collection<? extends PaletteRule>)newValue);
- return;
+ case ConfigurationPackage.PAPYRUS_DIAGRAM__CUSTOM_PALETTE:
+ setCustomPalette((String) newValue);
+ return;
+ case ConfigurationPackage.PAPYRUS_DIAGRAM__CUSTOM_STYLE:
+ setCustomStyle((String) newValue);
+ return;
+ case ConfigurationPackage.PAPYRUS_DIAGRAM__CHILD_RULES:
+ getChildRules().clear();
+ getChildRules().addAll((Collection<? extends ChildRule>) newValue);
+ return;
+ case ConfigurationPackage.PAPYRUS_DIAGRAM__PALETTE_RULES:
+ getPaletteRules().clear();
+ getPaletteRules().addAll((Collection<? extends PaletteRule>) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -255,23 +274,24 @@ public class PapyrusDiagramImpl extends PapyrusViewImpl implements PapyrusDiagra
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case ConfigurationPackage.PAPYRUS_DIAGRAM__CUSTOM_PALETTE:
- setCustomPalette(CUSTOM_PALETTE_EDEFAULT);
- return;
- case ConfigurationPackage.PAPYRUS_DIAGRAM__CUSTOM_STYLE:
- setCustomStyle(CUSTOM_STYLE_EDEFAULT);
- return;
- case ConfigurationPackage.PAPYRUS_DIAGRAM__CHILD_RULES:
- getChildRules().clear();
- return;
- case ConfigurationPackage.PAPYRUS_DIAGRAM__PALETTE_RULES:
- getPaletteRules().clear();
- return;
+ case ConfigurationPackage.PAPYRUS_DIAGRAM__CUSTOM_PALETTE:
+ setCustomPalette(CUSTOM_PALETTE_EDEFAULT);
+ return;
+ case ConfigurationPackage.PAPYRUS_DIAGRAM__CUSTOM_STYLE:
+ setCustomStyle(CUSTOM_STYLE_EDEFAULT);
+ return;
+ case ConfigurationPackage.PAPYRUS_DIAGRAM__CHILD_RULES:
+ getChildRules().clear();
+ return;
+ case ConfigurationPackage.PAPYRUS_DIAGRAM__PALETTE_RULES:
+ getPaletteRules().clear();
+ return;
}
super.eUnset(featureID);
}
@@ -279,19 +299,20 @@ public class PapyrusDiagramImpl extends PapyrusViewImpl implements PapyrusDiagra
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case ConfigurationPackage.PAPYRUS_DIAGRAM__CUSTOM_PALETTE:
- return CUSTOM_PALETTE_EDEFAULT == null ? customPalette != null : !CUSTOM_PALETTE_EDEFAULT.equals(customPalette);
- case ConfigurationPackage.PAPYRUS_DIAGRAM__CUSTOM_STYLE:
- return CUSTOM_STYLE_EDEFAULT == null ? customStyle != null : !CUSTOM_STYLE_EDEFAULT.equals(customStyle);
- case ConfigurationPackage.PAPYRUS_DIAGRAM__CHILD_RULES:
- return childRules != null && !childRules.isEmpty();
- case ConfigurationPackage.PAPYRUS_DIAGRAM__PALETTE_RULES:
- return paletteRules != null && !paletteRules.isEmpty();
+ case ConfigurationPackage.PAPYRUS_DIAGRAM__CUSTOM_PALETTE:
+ return CUSTOM_PALETTE_EDEFAULT == null ? customPalette != null : !CUSTOM_PALETTE_EDEFAULT.equals(customPalette);
+ case ConfigurationPackage.PAPYRUS_DIAGRAM__CUSTOM_STYLE:
+ return CUSTOM_STYLE_EDEFAULT == null ? customStyle != null : !CUSTOM_STYLE_EDEFAULT.equals(customStyle);
+ case ConfigurationPackage.PAPYRUS_DIAGRAM__CHILD_RULES:
+ return childRules != null && !childRules.isEmpty();
+ case ConfigurationPackage.PAPYRUS_DIAGRAM__PALETTE_RULES:
+ return paletteRules != null && !paletteRules.isEmpty();
}
return super.eIsSet(featureID);
}
@@ -299,11 +320,14 @@ public class PapyrusDiagramImpl extends PapyrusViewImpl implements PapyrusDiagra
/**
* <!-- 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(" (customPalette: ");
@@ -314,4 +338,4 @@ public class PapyrusDiagramImpl extends PapyrusViewImpl implements PapyrusDiagra
return result.toString();
}
-} //PapyrusDiagramImpl
+} // PapyrusDiagramImpl
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/impl/PapyrusSyncTableImpl.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/impl/PapyrusSyncTableImpl.java
index d6ff1bbd4b6..cf9eac2d79f 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/impl/PapyrusSyncTableImpl.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/impl/PapyrusSyncTableImpl.java
@@ -1,15 +1,15 @@
/**
* 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
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- *
- *
+ *
+ *
*/
package org.eclipse.papyrus.infra.viewpoints.configuration.impl;
@@ -31,6 +31,7 @@ public class PapyrusSyncTableImpl extends PapyrusViewImpl implements PapyrusSync
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected PapyrusSyncTableImpl() {
@@ -40,6 +41,7 @@ public class PapyrusSyncTableImpl extends PapyrusViewImpl implements PapyrusSync
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -47,4 +49,4 @@ public class PapyrusSyncTableImpl extends PapyrusViewImpl implements PapyrusSync
return ConfigurationPackage.Literals.PAPYRUS_SYNC_TABLE;
}
-} //PapyrusSyncTableImpl
+} // PapyrusSyncTableImpl
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/impl/PapyrusTableImpl.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/impl/PapyrusTableImpl.java
index 5c8b68a7c4a..f87ee0f6902 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/impl/PapyrusTableImpl.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/impl/PapyrusTableImpl.java
@@ -1,15 +1,15 @@
/**
* 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
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- *
- *
+ *
+ *
*/
package org.eclipse.papyrus.infra.viewpoints.configuration.impl;
@@ -29,7 +29,7 @@ import org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusTable;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusTableImpl#getConfiguration <em>Configuration</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusTableImpl#getConfiguration <em>Configuration</em>}</li>
* </ul>
* </p>
*
@@ -40,6 +40,7 @@ public class PapyrusTableImpl extends PapyrusViewImpl implements PapyrusTable {
* The default value of the '{@link #getConfiguration() <em>Configuration</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getConfiguration()
* @generated
* @ordered
@@ -50,6 +51,7 @@ public class PapyrusTableImpl extends PapyrusViewImpl implements PapyrusTable {
* The cached value of the '{@link #getConfiguration() <em>Configuration</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getConfiguration()
* @generated
* @ordered
@@ -59,6 +61,7 @@ public class PapyrusTableImpl extends PapyrusViewImpl implements PapyrusTable {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected PapyrusTableImpl() {
@@ -68,6 +71,7 @@ public class PapyrusTableImpl extends PapyrusViewImpl implements PapyrusTable {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -78,6 +82,7 @@ public class PapyrusTableImpl extends PapyrusViewImpl implements PapyrusTable {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public String getConfiguration() {
@@ -87,25 +92,28 @@ public class PapyrusTableImpl extends PapyrusViewImpl implements PapyrusTable {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public void setConfiguration(String newConfiguration) {
String oldConfiguration = configuration;
configuration = newConfiguration;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, ConfigurationPackage.PAPYRUS_TABLE__CONFIGURATION, oldConfiguration, configuration));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case ConfigurationPackage.PAPYRUS_TABLE__CONFIGURATION:
- return getConfiguration();
+ case ConfigurationPackage.PAPYRUS_TABLE__CONFIGURATION:
+ return getConfiguration();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -113,14 +121,15 @@ public class PapyrusTableImpl extends PapyrusViewImpl implements PapyrusTable {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case ConfigurationPackage.PAPYRUS_TABLE__CONFIGURATION:
- setConfiguration((String)newValue);
- return;
+ case ConfigurationPackage.PAPYRUS_TABLE__CONFIGURATION:
+ setConfiguration((String) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -128,14 +137,15 @@ public class PapyrusTableImpl extends PapyrusViewImpl implements PapyrusTable {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case ConfigurationPackage.PAPYRUS_TABLE__CONFIGURATION:
- setConfiguration(CONFIGURATION_EDEFAULT);
- return;
+ case ConfigurationPackage.PAPYRUS_TABLE__CONFIGURATION:
+ setConfiguration(CONFIGURATION_EDEFAULT);
+ return;
}
super.eUnset(featureID);
}
@@ -143,13 +153,14 @@ public class PapyrusTableImpl extends PapyrusViewImpl implements PapyrusTable {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case ConfigurationPackage.PAPYRUS_TABLE__CONFIGURATION:
- return CONFIGURATION_EDEFAULT == null ? configuration != null : !CONFIGURATION_EDEFAULT.equals(configuration);
+ case ConfigurationPackage.PAPYRUS_TABLE__CONFIGURATION:
+ return CONFIGURATION_EDEFAULT == null ? configuration != null : !CONFIGURATION_EDEFAULT.equals(configuration);
}
return super.eIsSet(featureID);
}
@@ -157,11 +168,14 @@ public class PapyrusTableImpl extends PapyrusViewImpl implements PapyrusTable {
/**
* <!-- 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(" (configuration: ");
@@ -170,4 +184,4 @@ public class PapyrusTableImpl extends PapyrusViewImpl implements PapyrusTable {
return result.toString();
}
-} //PapyrusTableImpl
+} // PapyrusTableImpl
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/impl/PapyrusViewImpl.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/impl/PapyrusViewImpl.java
index 39b6dd9261d..97fbc9e4abb 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/impl/PapyrusViewImpl.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/impl/PapyrusViewImpl.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
@@ -38,13 +38,13 @@ import org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ModelKindImpl;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusViewImpl#getIcon <em>Icon</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusViewImpl#getParent <em>Parent</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusViewImpl#getProfiles <em>Profiles</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusViewImpl#getModelRules <em>Model Rules</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusViewImpl#getOwningRules <em>Owning Rules</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusViewImpl#getImplementationID <em>Implementation ID</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusViewImpl#getCategories <em>Categories</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusViewImpl#getIcon <em>Icon</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusViewImpl#getParent <em>Parent</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusViewImpl#getProfiles <em>Profiles</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusViewImpl#getModelRules <em>Model Rules</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusViewImpl#getOwningRules <em>Owning Rules</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusViewImpl#getImplementationID <em>Implementation ID</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusViewImpl#getCategories <em>Categories</em>}</li>
* </ul>
* </p>
*
@@ -55,6 +55,7 @@ public class PapyrusViewImpl extends ModelKindImpl implements PapyrusView {
* The default value of the '{@link #getIcon() <em>Icon</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getIcon()
* @generated
* @ordered
@@ -64,6 +65,7 @@ public class PapyrusViewImpl extends ModelKindImpl implements PapyrusView {
* The cached value of the '{@link #getIcon() <em>Icon</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getIcon()
* @generated
* @ordered
@@ -73,6 +75,7 @@ public class PapyrusViewImpl extends ModelKindImpl implements PapyrusView {
* The cached value of the '{@link #getParent() <em>Parent</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getParent()
* @generated
* @ordered
@@ -82,6 +85,7 @@ public class PapyrusViewImpl extends ModelKindImpl implements PapyrusView {
* The cached value of the '{@link #getProfiles() <em>Profiles</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getProfiles()
* @generated
* @ordered
@@ -91,6 +95,7 @@ public class PapyrusViewImpl extends ModelKindImpl implements PapyrusView {
* The cached value of the '{@link #getModelRules() <em>Model Rules</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getModelRules()
* @generated
* @ordered
@@ -100,6 +105,7 @@ public class PapyrusViewImpl extends ModelKindImpl implements PapyrusView {
* The cached value of the '{@link #getOwningRules() <em>Owning Rules</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getOwningRules()
* @generated
* @ordered
@@ -110,6 +116,7 @@ public class PapyrusViewImpl extends ModelKindImpl implements PapyrusView {
* The default value of the '{@link #getImplementationID() <em>Implementation ID</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getImplementationID()
* @generated
* @ordered
@@ -119,6 +126,7 @@ public class PapyrusViewImpl extends ModelKindImpl implements PapyrusView {
* The cached value of the '{@link #getImplementationID() <em>Implementation ID</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getImplementationID()
* @generated
* @ordered
@@ -129,14 +137,17 @@ public class PapyrusViewImpl extends ModelKindImpl implements PapyrusView {
* The cached value of the '{@link #getCategories() <em>Categories</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getCategories()
* @generated
* @ordered
*/
protected EList<Category> categories;
+
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected PapyrusViewImpl() {
@@ -146,6 +157,7 @@ public class PapyrusViewImpl extends ModelKindImpl implements PapyrusView {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -156,6 +168,7 @@ public class PapyrusViewImpl extends ModelKindImpl implements PapyrusView {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public String getIcon() {
@@ -165,27 +178,31 @@ public class PapyrusViewImpl extends ModelKindImpl implements PapyrusView {
/**
* <!-- 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, ConfigurationPackage.PAPYRUS_VIEW__ICON, oldIcon, icon));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public PapyrusView getParent() {
if (parent != null && parent.eIsProxy()) {
- InternalEObject oldParent = (InternalEObject)parent;
- parent = (PapyrusView)eResolveProxy(oldParent);
+ InternalEObject oldParent = (InternalEObject) parent;
+ parent = (PapyrusView) eResolveProxy(oldParent);
if (parent != oldParent) {
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, ConfigurationPackage.PAPYRUS_VIEW__PARENT, oldParent, parent));
+ }
}
}
return parent;
@@ -194,6 +211,7 @@ public class PapyrusViewImpl extends ModelKindImpl implements PapyrusView {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public PapyrusView basicGetParent() {
@@ -203,18 +221,21 @@ public class PapyrusViewImpl extends ModelKindImpl implements PapyrusView {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public void setParent(PapyrusView newParent) {
PapyrusView oldParent = parent;
parent = newParent;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, ConfigurationPackage.PAPYRUS_VIEW__PARENT, oldParent, parent));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EList<EPackage> getProfiles() {
@@ -227,6 +248,7 @@ public class PapyrusViewImpl extends ModelKindImpl implements PapyrusView {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EList<ModelRule> getModelRules() {
@@ -239,6 +261,7 @@ public class PapyrusViewImpl extends ModelKindImpl implements PapyrusView {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EList<OwningRule> getOwningRules() {
@@ -251,6 +274,7 @@ public class PapyrusViewImpl extends ModelKindImpl implements PapyrusView {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public String getImplementationID() {
@@ -260,18 +284,21 @@ public class PapyrusViewImpl extends ModelKindImpl implements PapyrusView {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public void setImplementationID(String newImplementationID) {
String oldImplementationID = implementationID;
implementationID = newImplementationID;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, ConfigurationPackage.PAPYRUS_VIEW__IMPLEMENTATION_ID, oldImplementationID, implementationID));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EList<Category> getCategories() {
@@ -284,15 +311,16 @@ public class PapyrusViewImpl extends ModelKindImpl implements PapyrusView {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
- case ConfigurationPackage.PAPYRUS_VIEW__MODEL_RULES:
- return ((InternalEList<?>)getModelRules()).basicRemove(otherEnd, msgs);
- case ConfigurationPackage.PAPYRUS_VIEW__OWNING_RULES:
- return ((InternalEList<?>)getOwningRules()).basicRemove(otherEnd, msgs);
+ case ConfigurationPackage.PAPYRUS_VIEW__MODEL_RULES:
+ return ((InternalEList<?>) getModelRules()).basicRemove(otherEnd, msgs);
+ case ConfigurationPackage.PAPYRUS_VIEW__OWNING_RULES:
+ return ((InternalEList<?>) getOwningRules()).basicRemove(otherEnd, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
@@ -300,26 +328,29 @@ public class PapyrusViewImpl extends ModelKindImpl implements PapyrusView {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case ConfigurationPackage.PAPYRUS_VIEW__ICON:
- return getIcon();
- case ConfigurationPackage.PAPYRUS_VIEW__PARENT:
- if (resolve) return getParent();
- return basicGetParent();
- case ConfigurationPackage.PAPYRUS_VIEW__PROFILES:
- return getProfiles();
- case ConfigurationPackage.PAPYRUS_VIEW__MODEL_RULES:
- return getModelRules();
- case ConfigurationPackage.PAPYRUS_VIEW__OWNING_RULES:
- return getOwningRules();
- case ConfigurationPackage.PAPYRUS_VIEW__IMPLEMENTATION_ID:
- return getImplementationID();
- case ConfigurationPackage.PAPYRUS_VIEW__CATEGORIES:
- return getCategories();
+ case ConfigurationPackage.PAPYRUS_VIEW__ICON:
+ return getIcon();
+ case ConfigurationPackage.PAPYRUS_VIEW__PARENT:
+ if (resolve) {
+ return getParent();
+ }
+ return basicGetParent();
+ case ConfigurationPackage.PAPYRUS_VIEW__PROFILES:
+ return getProfiles();
+ case ConfigurationPackage.PAPYRUS_VIEW__MODEL_RULES:
+ return getModelRules();
+ case ConfigurationPackage.PAPYRUS_VIEW__OWNING_RULES:
+ return getOwningRules();
+ case ConfigurationPackage.PAPYRUS_VIEW__IMPLEMENTATION_ID:
+ return getImplementationID();
+ case ConfigurationPackage.PAPYRUS_VIEW__CATEGORIES:
+ return getCategories();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -327,37 +358,38 @@ public class PapyrusViewImpl extends ModelKindImpl implements PapyrusView {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case ConfigurationPackage.PAPYRUS_VIEW__ICON:
- setIcon((String)newValue);
- return;
- case ConfigurationPackage.PAPYRUS_VIEW__PARENT:
- setParent((PapyrusView)newValue);
- return;
- case ConfigurationPackage.PAPYRUS_VIEW__PROFILES:
- getProfiles().clear();
- getProfiles().addAll((Collection<? extends EPackage>)newValue);
- return;
- case ConfigurationPackage.PAPYRUS_VIEW__MODEL_RULES:
- getModelRules().clear();
- getModelRules().addAll((Collection<? extends ModelRule>)newValue);
- return;
- case ConfigurationPackage.PAPYRUS_VIEW__OWNING_RULES:
- getOwningRules().clear();
- getOwningRules().addAll((Collection<? extends OwningRule>)newValue);
- return;
- case ConfigurationPackage.PAPYRUS_VIEW__IMPLEMENTATION_ID:
- setImplementationID((String)newValue);
- return;
- case ConfigurationPackage.PAPYRUS_VIEW__CATEGORIES:
- getCategories().clear();
- getCategories().addAll((Collection<? extends Category>)newValue);
- return;
+ case ConfigurationPackage.PAPYRUS_VIEW__ICON:
+ setIcon((String) newValue);
+ return;
+ case ConfigurationPackage.PAPYRUS_VIEW__PARENT:
+ setParent((PapyrusView) newValue);
+ return;
+ case ConfigurationPackage.PAPYRUS_VIEW__PROFILES:
+ getProfiles().clear();
+ getProfiles().addAll((Collection<? extends EPackage>) newValue);
+ return;
+ case ConfigurationPackage.PAPYRUS_VIEW__MODEL_RULES:
+ getModelRules().clear();
+ getModelRules().addAll((Collection<? extends ModelRule>) newValue);
+ return;
+ case ConfigurationPackage.PAPYRUS_VIEW__OWNING_RULES:
+ getOwningRules().clear();
+ getOwningRules().addAll((Collection<? extends OwningRule>) newValue);
+ return;
+ case ConfigurationPackage.PAPYRUS_VIEW__IMPLEMENTATION_ID:
+ setImplementationID((String) newValue);
+ return;
+ case ConfigurationPackage.PAPYRUS_VIEW__CATEGORIES:
+ getCategories().clear();
+ getCategories().addAll((Collection<? extends Category>) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -365,32 +397,33 @@ public class PapyrusViewImpl extends ModelKindImpl implements PapyrusView {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case ConfigurationPackage.PAPYRUS_VIEW__ICON:
- setIcon(ICON_EDEFAULT);
- return;
- case ConfigurationPackage.PAPYRUS_VIEW__PARENT:
- setParent((PapyrusView)null);
- return;
- case ConfigurationPackage.PAPYRUS_VIEW__PROFILES:
- getProfiles().clear();
- return;
- case ConfigurationPackage.PAPYRUS_VIEW__MODEL_RULES:
- getModelRules().clear();
- return;
- case ConfigurationPackage.PAPYRUS_VIEW__OWNING_RULES:
- getOwningRules().clear();
- return;
- case ConfigurationPackage.PAPYRUS_VIEW__IMPLEMENTATION_ID:
- setImplementationID(IMPLEMENTATION_ID_EDEFAULT);
- return;
- case ConfigurationPackage.PAPYRUS_VIEW__CATEGORIES:
- getCategories().clear();
- return;
+ case ConfigurationPackage.PAPYRUS_VIEW__ICON:
+ setIcon(ICON_EDEFAULT);
+ return;
+ case ConfigurationPackage.PAPYRUS_VIEW__PARENT:
+ setParent((PapyrusView) null);
+ return;
+ case ConfigurationPackage.PAPYRUS_VIEW__PROFILES:
+ getProfiles().clear();
+ return;
+ case ConfigurationPackage.PAPYRUS_VIEW__MODEL_RULES:
+ getModelRules().clear();
+ return;
+ case ConfigurationPackage.PAPYRUS_VIEW__OWNING_RULES:
+ getOwningRules().clear();
+ return;
+ case ConfigurationPackage.PAPYRUS_VIEW__IMPLEMENTATION_ID:
+ setImplementationID(IMPLEMENTATION_ID_EDEFAULT);
+ return;
+ case ConfigurationPackage.PAPYRUS_VIEW__CATEGORIES:
+ getCategories().clear();
+ return;
}
super.eUnset(featureID);
}
@@ -398,25 +431,26 @@ public class PapyrusViewImpl extends ModelKindImpl implements PapyrusView {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case ConfigurationPackage.PAPYRUS_VIEW__ICON:
- return ICON_EDEFAULT == null ? icon != null : !ICON_EDEFAULT.equals(icon);
- case ConfigurationPackage.PAPYRUS_VIEW__PARENT:
- return parent != null;
- case ConfigurationPackage.PAPYRUS_VIEW__PROFILES:
- return profiles != null && !profiles.isEmpty();
- case ConfigurationPackage.PAPYRUS_VIEW__MODEL_RULES:
- return modelRules != null && !modelRules.isEmpty();
- case ConfigurationPackage.PAPYRUS_VIEW__OWNING_RULES:
- return owningRules != null && !owningRules.isEmpty();
- case ConfigurationPackage.PAPYRUS_VIEW__IMPLEMENTATION_ID:
- return IMPLEMENTATION_ID_EDEFAULT == null ? implementationID != null : !IMPLEMENTATION_ID_EDEFAULT.equals(implementationID);
- case ConfigurationPackage.PAPYRUS_VIEW__CATEGORIES:
- return categories != null && !categories.isEmpty();
+ case ConfigurationPackage.PAPYRUS_VIEW__ICON:
+ return ICON_EDEFAULT == null ? icon != null : !ICON_EDEFAULT.equals(icon);
+ case ConfigurationPackage.PAPYRUS_VIEW__PARENT:
+ return parent != null;
+ case ConfigurationPackage.PAPYRUS_VIEW__PROFILES:
+ return profiles != null && !profiles.isEmpty();
+ case ConfigurationPackage.PAPYRUS_VIEW__MODEL_RULES:
+ return modelRules != null && !modelRules.isEmpty();
+ case ConfigurationPackage.PAPYRUS_VIEW__OWNING_RULES:
+ return owningRules != null && !owningRules.isEmpty();
+ case ConfigurationPackage.PAPYRUS_VIEW__IMPLEMENTATION_ID:
+ return IMPLEMENTATION_ID_EDEFAULT == null ? implementationID != null : !IMPLEMENTATION_ID_EDEFAULT.equals(implementationID);
+ case ConfigurationPackage.PAPYRUS_VIEW__CATEGORIES:
+ return categories != null && !categories.isEmpty();
}
return super.eIsSet(featureID);
}
@@ -424,11 +458,14 @@ public class PapyrusViewImpl extends ModelKindImpl implements PapyrusView {
/**
* <!-- 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(" (icon: ");
@@ -439,4 +476,4 @@ public class PapyrusViewImpl extends ModelKindImpl implements PapyrusView {
return result.toString();
}
-} //PapyrusViewImpl
+} // PapyrusViewImpl
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/impl/PapyrusViewpointImpl.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/impl/PapyrusViewpointImpl.java
index dcdbe97229e..348e7afc522 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/impl/PapyrusViewpointImpl.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/impl/PapyrusViewpointImpl.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
@@ -32,7 +32,7 @@ import org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureViewpointI
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusViewpointImpl#getParent <em>Parent</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusViewpointImpl#getParent <em>Parent</em>}</li>
* </ul>
* </p>
*
@@ -43,6 +43,7 @@ public class PapyrusViewpointImpl extends ArchitectureViewpointImpl implements P
* The cached value of the '{@link #getParent() <em>Parent</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getParent()
* @generated
* @ordered
@@ -52,6 +53,7 @@ public class PapyrusViewpointImpl extends ArchitectureViewpointImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected PapyrusViewpointImpl() {
@@ -61,6 +63,7 @@ public class PapyrusViewpointImpl extends ArchitectureViewpointImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -71,15 +74,17 @@ public class PapyrusViewpointImpl extends ArchitectureViewpointImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public PapyrusViewpoint getParent() {
if (parent != null && parent.eIsProxy()) {
- InternalEObject oldParent = (InternalEObject)parent;
- parent = (PapyrusViewpoint)eResolveProxy(oldParent);
+ InternalEObject oldParent = (InternalEObject) parent;
+ parent = (PapyrusViewpoint) eResolveProxy(oldParent);
if (parent != oldParent) {
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, ConfigurationPackage.PAPYRUS_VIEWPOINT__PARENT, oldParent, parent));
+ }
}
}
return parent;
@@ -88,6 +93,7 @@ public class PapyrusViewpointImpl extends ArchitectureViewpointImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public PapyrusViewpoint basicGetParent() {
@@ -97,26 +103,31 @@ public class PapyrusViewpointImpl extends ArchitectureViewpointImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public void setParent(PapyrusViewpoint newParent) {
PapyrusViewpoint oldParent = parent;
parent = newParent;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, ConfigurationPackage.PAPYRUS_VIEWPOINT__PARENT, oldParent, parent));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case ConfigurationPackage.PAPYRUS_VIEWPOINT__PARENT:
- if (resolve) return getParent();
- return basicGetParent();
+ case ConfigurationPackage.PAPYRUS_VIEWPOINT__PARENT:
+ if (resolve) {
+ return getParent();
+ }
+ return basicGetParent();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -124,14 +135,15 @@ public class PapyrusViewpointImpl extends ArchitectureViewpointImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case ConfigurationPackage.PAPYRUS_VIEWPOINT__PARENT:
- setParent((PapyrusViewpoint)newValue);
- return;
+ case ConfigurationPackage.PAPYRUS_VIEWPOINT__PARENT:
+ setParent((PapyrusViewpoint) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -139,14 +151,15 @@ public class PapyrusViewpointImpl extends ArchitectureViewpointImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case ConfigurationPackage.PAPYRUS_VIEWPOINT__PARENT:
- setParent((PapyrusViewpoint)null);
- return;
+ case ConfigurationPackage.PAPYRUS_VIEWPOINT__PARENT:
+ setParent((PapyrusViewpoint) null);
+ return;
}
super.eUnset(featureID);
}
@@ -154,15 +167,16 @@ public class PapyrusViewpointImpl extends ArchitectureViewpointImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case ConfigurationPackage.PAPYRUS_VIEWPOINT__PARENT:
- return parent != null;
+ case ConfigurationPackage.PAPYRUS_VIEWPOINT__PARENT:
+ return parent != null;
}
return super.eIsSet(featureID);
}
-} //PapyrusViewpointImpl
+} // PapyrusViewpointImpl
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/impl/PathElementImpl.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/impl/PathElementImpl.java
index aef427bf7d6..5b197d5ee07 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/impl/PathElementImpl.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/impl/PathElementImpl.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
@@ -31,9 +31,9 @@ import org.eclipse.papyrus.infra.viewpoints.configuration.PathElement;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PathElementImpl#getFeature <em>Feature</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PathElementImpl#getOrigin <em>Origin</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PathElementImpl#getTarget <em>Target</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PathElementImpl#getFeature <em>Feature</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PathElementImpl#getOrigin <em>Origin</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PathElementImpl#getTarget <em>Target</em>}</li>
* </ul>
* </p>
*
@@ -44,6 +44,7 @@ public class PathElementImpl extends MinimalEObjectImpl.Container implements Pat
* The cached value of the '{@link #getFeature() <em>Feature</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getFeature()
* @generated
* @ordered
@@ -53,6 +54,7 @@ public class PathElementImpl extends MinimalEObjectImpl.Container implements Pat
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected PathElementImpl() {
@@ -62,6 +64,7 @@ public class PathElementImpl extends MinimalEObjectImpl.Container implements Pat
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -72,15 +75,17 @@ public class PathElementImpl extends MinimalEObjectImpl.Container implements Pat
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getFeature() {
if (feature != null && feature.eIsProxy()) {
- InternalEObject oldFeature = (InternalEObject)feature;
- feature = (EReference)eResolveProxy(oldFeature);
+ InternalEObject oldFeature = (InternalEObject) feature;
+ feature = (EReference) eResolveProxy(oldFeature);
if (feature != oldFeature) {
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, ConfigurationPackage.PATH_ELEMENT__FEATURE, oldFeature, feature));
+ }
}
}
return feature;
@@ -89,6 +94,7 @@ public class PathElementImpl extends MinimalEObjectImpl.Container implements Pat
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EReference basicGetFeature() {
@@ -98,23 +104,26 @@ public class PathElementImpl extends MinimalEObjectImpl.Container implements Pat
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public void setFeature(EReference newFeature) {
EReference oldFeature = feature;
feature = newFeature;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, ConfigurationPackage.PATH_ELEMENT__FEATURE, oldFeature, feature));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EClass getOrigin() {
EClass origin = basicGetOrigin();
- return origin != null && origin.eIsProxy() ? (EClass)eResolveProxy((InternalEObject)origin) : origin;
+ return origin != null && origin.eIsProxy() ? (EClass) eResolveProxy((InternalEObject) origin) : origin;
}
/**
@@ -131,8 +140,9 @@ public class PathElementImpl extends MinimalEObjectImpl.Container implements Pat
int index = 0;
while ((current != null) && list.get(index) != this) {
EReference feature = list.get(index).getFeature();
- if (!current.getEAllReferences().contains(feature))
+ if (!current.getEAllReferences().contains(feature)) {
return null;
+ }
current = feature.getEReferenceType();
index++;
}
@@ -142,11 +152,12 @@ public class PathElementImpl extends MinimalEObjectImpl.Container implements Pat
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EClass getTarget() {
EClass target = basicGetTarget();
- return target != null && target.eIsProxy() ? (EClass)eResolveProxy((InternalEObject)target) : target;
+ return target != null && target.eIsProxy() ? (EClass) eResolveProxy((InternalEObject) target) : target;
}
/**
@@ -155,33 +166,43 @@ public class PathElementImpl extends MinimalEObjectImpl.Container implements Pat
*/
public EClass basicGetTarget() {
EReference feature = this.getFeature();
- if (feature == null)
+ if (feature == null) {
return null;
+ }
EClass origin = basicGetOrigin();
- if (origin == null)
+ if (origin == null) {
return null;
- if (!origin.getEAllReferences().contains(feature))
+ }
+ if (!origin.getEAllReferences().contains(feature)) {
return null;
+ }
return feature.getEReferenceType();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case ConfigurationPackage.PATH_ELEMENT__FEATURE:
- if (resolve) return getFeature();
- return basicGetFeature();
- case ConfigurationPackage.PATH_ELEMENT__ORIGIN:
- if (resolve) return getOrigin();
- return basicGetOrigin();
- case ConfigurationPackage.PATH_ELEMENT__TARGET:
- if (resolve) return getTarget();
- return basicGetTarget();
+ case ConfigurationPackage.PATH_ELEMENT__FEATURE:
+ if (resolve) {
+ return getFeature();
+ }
+ return basicGetFeature();
+ case ConfigurationPackage.PATH_ELEMENT__ORIGIN:
+ if (resolve) {
+ return getOrigin();
+ }
+ return basicGetOrigin();
+ case ConfigurationPackage.PATH_ELEMENT__TARGET:
+ if (resolve) {
+ return getTarget();
+ }
+ return basicGetTarget();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -189,14 +210,15 @@ public class PathElementImpl extends MinimalEObjectImpl.Container implements Pat
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case ConfigurationPackage.PATH_ELEMENT__FEATURE:
- setFeature((EReference)newValue);
- return;
+ case ConfigurationPackage.PATH_ELEMENT__FEATURE:
+ setFeature((EReference) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -204,14 +226,15 @@ public class PathElementImpl extends MinimalEObjectImpl.Container implements Pat
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case ConfigurationPackage.PATH_ELEMENT__FEATURE:
- setFeature((EReference)null);
- return;
+ case ConfigurationPackage.PATH_ELEMENT__FEATURE:
+ setFeature((EReference) null);
+ return;
}
super.eUnset(featureID);
}
@@ -219,19 +242,20 @@ public class PathElementImpl extends MinimalEObjectImpl.Container implements Pat
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case ConfigurationPackage.PATH_ELEMENT__FEATURE:
- return feature != null;
- case ConfigurationPackage.PATH_ELEMENT__ORIGIN:
- return basicGetOrigin() != null;
- case ConfigurationPackage.PATH_ELEMENT__TARGET:
- return basicGetTarget() != null;
+ case ConfigurationPackage.PATH_ELEMENT__FEATURE:
+ return feature != null;
+ case ConfigurationPackage.PATH_ELEMENT__ORIGIN:
+ return basicGetOrigin() != null;
+ case ConfigurationPackage.PATH_ELEMENT__TARGET:
+ return basicGetTarget() != null;
}
return super.eIsSet(featureID);
}
-} //PathElementImpl
+} // PathElementImpl
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/impl/RuleImpl.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/impl/RuleImpl.java
index f0e50106366..b9bc3b869a9 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/impl/RuleImpl.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/impl/RuleImpl.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
@@ -30,7 +30,7 @@ import org.eclipse.papyrus.infra.viewpoints.configuration.Rule;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.RuleImpl#isPermit <em>Permit</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.RuleImpl#isPermit <em>Permit</em>}</li>
* </ul>
* </p>
*
@@ -41,6 +41,7 @@ public abstract class RuleImpl extends MinimalEObjectImpl.Container implements R
* The default value of the '{@link #isPermit() <em>Permit</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #isPermit()
* @generated
* @ordered
@@ -51,6 +52,7 @@ public abstract class RuleImpl extends MinimalEObjectImpl.Container implements R
* The cached value of the '{@link #isPermit() <em>Permit</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #isPermit()
* @generated
* @ordered
@@ -60,6 +62,7 @@ public abstract class RuleImpl extends MinimalEObjectImpl.Container implements R
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected RuleImpl() {
@@ -69,6 +72,7 @@ public abstract class RuleImpl extends MinimalEObjectImpl.Container implements R
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -79,6 +83,7 @@ public abstract class RuleImpl extends MinimalEObjectImpl.Container implements R
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public boolean isPermit() {
@@ -88,25 +93,28 @@ public abstract class RuleImpl extends MinimalEObjectImpl.Container implements R
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public void setPermit(boolean newPermit) {
boolean oldPermit = permit;
permit = newPermit;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, ConfigurationPackage.RULE__PERMIT, oldPermit, permit));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case ConfigurationPackage.RULE__PERMIT:
- return isPermit();
+ case ConfigurationPackage.RULE__PERMIT:
+ return isPermit();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -114,14 +122,15 @@ public abstract class RuleImpl extends MinimalEObjectImpl.Container implements R
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case ConfigurationPackage.RULE__PERMIT:
- setPermit((Boolean)newValue);
- return;
+ case ConfigurationPackage.RULE__PERMIT:
+ setPermit((Boolean) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -129,14 +138,15 @@ public abstract class RuleImpl extends MinimalEObjectImpl.Container implements R
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case ConfigurationPackage.RULE__PERMIT:
- setPermit(PERMIT_EDEFAULT);
- return;
+ case ConfigurationPackage.RULE__PERMIT:
+ setPermit(PERMIT_EDEFAULT);
+ return;
}
super.eUnset(featureID);
}
@@ -144,13 +154,14 @@ public abstract class RuleImpl extends MinimalEObjectImpl.Container implements R
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case ConfigurationPackage.RULE__PERMIT:
- return permit != PERMIT_EDEFAULT;
+ case ConfigurationPackage.RULE__PERMIT:
+ return permit != PERMIT_EDEFAULT;
}
return super.eIsSet(featureID);
}
@@ -158,11 +169,14 @@ public abstract class RuleImpl extends MinimalEObjectImpl.Container implements R
/**
* <!-- 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(" (permit: ");
@@ -171,4 +185,4 @@ public abstract class RuleImpl extends MinimalEObjectImpl.Container implements R
return result.toString();
}
-} //RuleImpl
+} // RuleImpl
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/util/ConfigurationAdapterFactory.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/util/ConfigurationAdapterFactory.java
index 655dda68f65..d43b1f74b47 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/util/ConfigurationAdapterFactory.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/util/ConfigurationAdapterFactory.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
@@ -29,6 +29,7 @@ import org.eclipse.papyrus.infra.viewpoints.iso42010.ModelKind;
* 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.infra.viewpoints.configuration.ConfigurationPackage
* @generated
*/
@@ -37,6 +38,7 @@ public class ConfigurationAdapterFactory extends AdapterFactoryImpl {
* The cached model package.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected static ConfigurationPackage modelPackage;
@@ -45,6 +47,7 @@ public class ConfigurationAdapterFactory extends AdapterFactoryImpl {
* Creates an instance of the adapter factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public ConfigurationAdapterFactory() {
@@ -58,6 +61,7 @@ public class ConfigurationAdapterFactory 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
*/
@@ -67,7 +71,7 @@ public class ConfigurationAdapterFactory extends AdapterFactoryImpl {
return true;
}
if (object instanceof EObject) {
- return ((EObject)object).eClass().getEPackage() == modelPackage;
+ return ((EObject) object).eClass().getEPackage() == modelPackage;
}
return false;
}
@@ -76,103 +80,125 @@ public class ConfigurationAdapterFactory extends AdapterFactoryImpl {
* The switch that delegates to the <code>createXXX</code> methods.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected ConfigurationSwitch<Adapter> modelSwitch =
- new ConfigurationSwitch<Adapter>() {
- @Override
- public Adapter casePapyrusConfiguration(PapyrusConfiguration object) {
- return createPapyrusConfigurationAdapter();
- }
- @Override
- public Adapter casePapyrusViewpoint(PapyrusViewpoint object) {
- return createPapyrusViewpointAdapter();
- }
- @Override
- public Adapter casePapyrusView(PapyrusView object) {
- return createPapyrusViewAdapter();
- }
- @Override
- public Adapter casePapyrusDiagram(PapyrusDiagram object) {
- return createPapyrusDiagramAdapter();
- }
- @Override
- public Adapter casePapyrusSyncTable(PapyrusSyncTable object) {
- return createPapyrusSyncTableAdapter();
- }
- @Override
- public Adapter casePapyrusTable(PapyrusTable object) {
- return createPapyrusTableAdapter();
- }
- @Override
- public Adapter caseRule(Rule object) {
- return createRuleAdapter();
- }
- @Override
- public Adapter caseModelRule(ModelRule object) {
- return createModelRuleAdapter();
- }
- @Override
- public Adapter caseOwningRule(OwningRule object) {
- return createOwningRuleAdapter();
- }
- @Override
- public Adapter caseChildRule(ChildRule object) {
- return createChildRuleAdapter();
- }
- @Override
- public Adapter casePaletteRule(PaletteRule object) {
- return createPaletteRuleAdapter();
- }
- @Override
- public Adapter casePathElement(PathElement object) {
- return createPathElementAdapter();
- }
- @Override
- public Adapter caseCategory(Category object) {
- return createCategoryAdapter();
- }
- @Override
- public Adapter caseModelAutoCreate(ModelAutoCreate object) {
- return createModelAutoCreateAdapter();
- }
- @Override
- public Adapter caseArchitectureFramework(ArchitectureFramework object) {
- return createArchitectureFrameworkAdapter();
- }
- @Override
- public Adapter caseADElement(ADElement object) {
- return createADElementAdapter();
- }
- @Override
- public Adapter caseArchitectureViewpoint(ArchitectureViewpoint object) {
- return createArchitectureViewpointAdapter();
- }
- @Override
- public Adapter caseModelKind(ModelKind object) {
- return createModelKindAdapter();
- }
- @Override
- public Adapter caseDisplayUnit(DisplayUnit object) {
- return createDisplayUnitAdapter();
- }
- @Override
- public Adapter defaultCase(EObject object) {
- return createEObjectAdapter();
- }
- };
+ new ConfigurationSwitch<Adapter>() {
+ @Override
+ public Adapter casePapyrusConfiguration(PapyrusConfiguration object) {
+ return createPapyrusConfigurationAdapter();
+ }
+
+ @Override
+ public Adapter casePapyrusViewpoint(PapyrusViewpoint object) {
+ return createPapyrusViewpointAdapter();
+ }
+
+ @Override
+ public Adapter casePapyrusView(PapyrusView object) {
+ return createPapyrusViewAdapter();
+ }
+
+ @Override
+ public Adapter casePapyrusDiagram(PapyrusDiagram object) {
+ return createPapyrusDiagramAdapter();
+ }
+
+ @Override
+ public Adapter casePapyrusSyncTable(PapyrusSyncTable object) {
+ return createPapyrusSyncTableAdapter();
+ }
+
+ @Override
+ public Adapter casePapyrusTable(PapyrusTable object) {
+ return createPapyrusTableAdapter();
+ }
+
+ @Override
+ public Adapter caseRule(Rule object) {
+ return createRuleAdapter();
+ }
+
+ @Override
+ public Adapter caseModelRule(ModelRule object) {
+ return createModelRuleAdapter();
+ }
+
+ @Override
+ public Adapter caseOwningRule(OwningRule object) {
+ return createOwningRuleAdapter();
+ }
+
+ @Override
+ public Adapter caseChildRule(ChildRule object) {
+ return createChildRuleAdapter();
+ }
+
+ @Override
+ public Adapter casePaletteRule(PaletteRule object) {
+ return createPaletteRuleAdapter();
+ }
+
+ @Override
+ public Adapter casePathElement(PathElement object) {
+ return createPathElementAdapter();
+ }
+
+ @Override
+ public Adapter caseCategory(Category object) {
+ return createCategoryAdapter();
+ }
+
+ @Override
+ public Adapter caseModelAutoCreate(ModelAutoCreate object) {
+ return createModelAutoCreateAdapter();
+ }
+
+ @Override
+ public Adapter caseArchitectureFramework(ArchitectureFramework object) {
+ return createArchitectureFrameworkAdapter();
+ }
+
+ @Override
+ public Adapter caseADElement(ADElement object) {
+ return createADElementAdapter();
+ }
+
+ @Override
+ public Adapter caseArchitectureViewpoint(ArchitectureViewpoint object) {
+ return createArchitectureViewpointAdapter();
+ }
+
+ @Override
+ public Adapter caseModelKind(ModelKind object) {
+ return createModelKindAdapter();
+ }
+
+ @Override
+ public Adapter caseDisplayUnit(DisplayUnit object) {
+ return createDisplayUnitAdapter();
+ }
+
+ @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);
}
@@ -182,6 +208,7 @@ public class ConfigurationAdapterFactory 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.infra.viewpoints.configuration.PapyrusConfiguration
* @generated
@@ -196,6 +223,7 @@ public class ConfigurationAdapterFactory 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.infra.viewpoints.configuration.PapyrusViewpoint
* @generated
@@ -210,6 +238,7 @@ public class ConfigurationAdapterFactory 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.infra.viewpoints.configuration.PapyrusView
* @generated
@@ -224,6 +253,7 @@ public class ConfigurationAdapterFactory 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.infra.viewpoints.configuration.PapyrusDiagram
* @generated
@@ -238,6 +268,7 @@ public class ConfigurationAdapterFactory 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.infra.viewpoints.configuration.PapyrusSyncTable
* @generated
@@ -252,6 +283,7 @@ public class ConfigurationAdapterFactory 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.infra.viewpoints.configuration.PapyrusTable
* @generated
@@ -266,6 +298,7 @@ public class ConfigurationAdapterFactory 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.infra.viewpoints.configuration.ModelRule
* @generated
@@ -280,6 +313,7 @@ public class ConfigurationAdapterFactory 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.infra.viewpoints.configuration.OwningRule
* @generated
@@ -294,6 +328,7 @@ public class ConfigurationAdapterFactory 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.infra.viewpoints.configuration.ChildRule
* @generated
@@ -308,6 +343,7 @@ public class ConfigurationAdapterFactory 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.infra.viewpoints.configuration.PaletteRule
* @generated
@@ -322,6 +358,7 @@ public class ConfigurationAdapterFactory 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.infra.viewpoints.configuration.Rule
* @generated
@@ -336,6 +373,7 @@ public class ConfigurationAdapterFactory 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.infra.viewpoints.configuration.PathElement
* @generated
@@ -350,6 +388,7 @@ public class ConfigurationAdapterFactory 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.infra.viewpoints.configuration.Category
* @generated
@@ -364,6 +403,7 @@ public class ConfigurationAdapterFactory 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.infra.viewpoints.configuration.ModelAutoCreate
* @generated
@@ -378,6 +418,7 @@ public class ConfigurationAdapterFactory 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.infra.viewpoints.iso42010.ArchitectureFramework
* @generated
@@ -392,6 +433,7 @@ public class ConfigurationAdapterFactory 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.infra.viewpoints.iso42010.ADElement
* @generated
@@ -406,6 +448,7 @@ public class ConfigurationAdapterFactory 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.infra.viewpoints.iso42010.ArchitectureViewpoint
* @generated
@@ -420,6 +463,7 @@ public class ConfigurationAdapterFactory 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.infra.viewpoints.iso42010.ModelKind
* @generated
@@ -434,6 +478,7 @@ public class ConfigurationAdapterFactory 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.infra.constraints.DisplayUnit
* @generated
@@ -447,6 +492,7 @@ public class ConfigurationAdapterFactory extends AdapterFactoryImpl {
* <!-- begin-user-doc -->
* This default implementation returns null.
* <!-- end-user-doc -->
+ *
* @return the new adapter.
* @generated
*/
@@ -454,4 +500,4 @@ public class ConfigurationAdapterFactory extends AdapterFactoryImpl {
return null;
}
-} //ConfigurationAdapterFactory
+} // ConfigurationAdapterFactory
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/util/ConfigurationResourceFactoryImpl.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/util/ConfigurationResourceFactoryImpl.java
index e5961c5c142..20a8b516e00 100644
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/util/ConfigurationResourceFactoryImpl.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/util/ConfigurationResourceFactoryImpl.java
@@ -1,15 +1,15 @@
/**
* 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
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- *
- *
+ *
+ *
*/
package org.eclipse.papyrus.infra.viewpoints.configuration.util;
@@ -23,6 +23,7 @@ import org.eclipse.emf.ecore.resource.impl.ResourceFactoryImpl;
* <!-- begin-user-doc -->
* The <b>Resource Factory</b> associated with the package.
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.viewpoints.configuration.util.ConfigurationResourceImpl
* @generated
*/
@@ -31,6 +32,7 @@ public class ConfigurationResourceFactoryImpl extends ResourceFactoryImpl {
* Creates an instance of the resource factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public ConfigurationResourceFactoryImpl() {
@@ -41,6 +43,7 @@ public class ConfigurationResourceFactoryImpl extends ResourceFactoryImpl {
* Creates an instance of the resource.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -49,4 +52,4 @@ public class ConfigurationResourceFactoryImpl extends ResourceFactoryImpl {
return result;
}
-} //ConfigurationResourceFactoryImpl
+} // ConfigurationResourceFactoryImpl
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/util/ConfigurationResourceImpl.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/util/ConfigurationResourceImpl.java
index 5890319457d..c55edcf1539 100644
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/util/ConfigurationResourceImpl.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/util/ConfigurationResourceImpl.java
@@ -1,15 +1,15 @@
/**
* 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
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- *
- *
+ *
+ *
*/
package org.eclipse.papyrus.infra.viewpoints.configuration.util;
@@ -21,6 +21,7 @@ import org.eclipse.emf.ecore.xmi.impl.XMIResourceImpl;
* <!-- begin-user-doc -->
* The <b>Resource </b> associated with the package.
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.viewpoints.configuration.util.ConfigurationResourceFactoryImpl
* @generated
*/
@@ -29,13 +30,15 @@ public class ConfigurationResourceImpl extends XMIResourceImpl {
* Creates an instance of the resource.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param uri the URI of the new resource.
+ *
+ * @param uri
+ * the URI of the new resource.
* @generated
*/
public ConfigurationResourceImpl(URI uri) {
super(uri);
}
-
+
/**
* @generated NOT - use UUIDs instead of positions
*/
@@ -44,4 +47,4 @@ public class ConfigurationResourceImpl extends XMIResourceImpl {
return true;
}
-} //ConfigurationResourceImpl
+} // ConfigurationResourceImpl
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/util/ConfigurationSwitch.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/util/ConfigurationSwitch.java
index b4d1ebed3f2..3e023d7ff41 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/util/ConfigurationSwitch.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/util/ConfigurationSwitch.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
@@ -26,13 +26,13 @@ import org.eclipse.papyrus.infra.viewpoints.iso42010.ModelKind;
/**
* <!-- 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.infra.viewpoints.configuration.ConfigurationPackage
* @generated
*/
@@ -41,6 +41,7 @@ public class ConfigurationSwitch<T> extends Switch<T> {
* The cached model package
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected static ConfigurationPackage modelPackage;
@@ -49,6 +50,7 @@ public class ConfigurationSwitch<T> extends Switch<T> {
* Creates an instance of the switch.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public ConfigurationSwitch() {
@@ -61,6 +63,7 @@ public class ConfigurationSwitch<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
@@ -74,116 +77,184 @@ public class ConfigurationSwitch<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 ConfigurationPackage.PAPYRUS_CONFIGURATION: {
- PapyrusConfiguration papyrusConfiguration = (PapyrusConfiguration)theEObject;
- T result = casePapyrusConfiguration(papyrusConfiguration);
- if (result == null) result = caseArchitectureFramework(papyrusConfiguration);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case ConfigurationPackage.PAPYRUS_VIEWPOINT: {
- PapyrusViewpoint papyrusViewpoint = (PapyrusViewpoint)theEObject;
- T result = casePapyrusViewpoint(papyrusViewpoint);
- if (result == null) result = caseArchitectureViewpoint(papyrusViewpoint);
- if (result == null) result = caseADElement(papyrusViewpoint);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case ConfigurationPackage.PAPYRUS_VIEW: {
- PapyrusView papyrusView = (PapyrusView)theEObject;
- T result = casePapyrusView(papyrusView);
- if (result == null) result = caseModelKind(papyrusView);
- if (result == null) result = caseADElement(papyrusView);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case ConfigurationPackage.PAPYRUS_DIAGRAM: {
- PapyrusDiagram papyrusDiagram = (PapyrusDiagram)theEObject;
- T result = casePapyrusDiagram(papyrusDiagram);
- if (result == null) result = casePapyrusView(papyrusDiagram);
- if (result == null) result = caseModelKind(papyrusDiagram);
- if (result == null) result = caseADElement(papyrusDiagram);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case ConfigurationPackage.PAPYRUS_SYNC_TABLE: {
- PapyrusSyncTable papyrusSyncTable = (PapyrusSyncTable)theEObject;
- T result = casePapyrusSyncTable(papyrusSyncTable);
- if (result == null) result = casePapyrusView(papyrusSyncTable);
- if (result == null) result = caseModelKind(papyrusSyncTable);
- if (result == null) result = caseADElement(papyrusSyncTable);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case ConfigurationPackage.PAPYRUS_TABLE: {
- PapyrusTable papyrusTable = (PapyrusTable)theEObject;
- T result = casePapyrusTable(papyrusTable);
- if (result == null) result = casePapyrusView(papyrusTable);
- if (result == null) result = caseModelKind(papyrusTable);
- if (result == null) result = caseADElement(papyrusTable);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case ConfigurationPackage.RULE: {
- Rule rule = (Rule)theEObject;
- T result = caseRule(rule);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case ConfigurationPackage.MODEL_RULE: {
- ModelRule modelRule = (ModelRule)theEObject;
- T result = caseModelRule(modelRule);
- if (result == null) result = caseRule(modelRule);
- if (result == null) result = caseDisplayUnit(modelRule);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case ConfigurationPackage.OWNING_RULE: {
- OwningRule owningRule = (OwningRule)theEObject;
- T result = caseOwningRule(owningRule);
- if (result == null) result = caseRule(owningRule);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case ConfigurationPackage.CHILD_RULE: {
- ChildRule childRule = (ChildRule)theEObject;
- T result = caseChildRule(childRule);
- if (result == null) result = caseRule(childRule);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case ConfigurationPackage.PALETTE_RULE: {
- PaletteRule paletteRule = (PaletteRule)theEObject;
- T result = casePaletteRule(paletteRule);
- if (result == null) result = caseRule(paletteRule);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case ConfigurationPackage.PATH_ELEMENT: {
- PathElement pathElement = (PathElement)theEObject;
- T result = casePathElement(pathElement);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case ConfigurationPackage.CATEGORY: {
- Category category = (Category)theEObject;
- T result = caseCategory(category);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case ConfigurationPackage.MODEL_AUTO_CREATE: {
- ModelAutoCreate modelAutoCreate = (ModelAutoCreate)theEObject;
- T result = caseModelAutoCreate(modelAutoCreate);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- default: return defaultCase(theEObject);
+ case ConfigurationPackage.PAPYRUS_CONFIGURATION: {
+ PapyrusConfiguration papyrusConfiguration = (PapyrusConfiguration) theEObject;
+ T result = casePapyrusConfiguration(papyrusConfiguration);
+ if (result == null) {
+ result = caseArchitectureFramework(papyrusConfiguration);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case ConfigurationPackage.PAPYRUS_VIEWPOINT: {
+ PapyrusViewpoint papyrusViewpoint = (PapyrusViewpoint) theEObject;
+ T result = casePapyrusViewpoint(papyrusViewpoint);
+ if (result == null) {
+ result = caseArchitectureViewpoint(papyrusViewpoint);
+ }
+ if (result == null) {
+ result = caseADElement(papyrusViewpoint);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case ConfigurationPackage.PAPYRUS_VIEW: {
+ PapyrusView papyrusView = (PapyrusView) theEObject;
+ T result = casePapyrusView(papyrusView);
+ if (result == null) {
+ result = caseModelKind(papyrusView);
+ }
+ if (result == null) {
+ result = caseADElement(papyrusView);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case ConfigurationPackage.PAPYRUS_DIAGRAM: {
+ PapyrusDiagram papyrusDiagram = (PapyrusDiagram) theEObject;
+ T result = casePapyrusDiagram(papyrusDiagram);
+ if (result == null) {
+ result = casePapyrusView(papyrusDiagram);
+ }
+ if (result == null) {
+ result = caseModelKind(papyrusDiagram);
+ }
+ if (result == null) {
+ result = caseADElement(papyrusDiagram);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case ConfigurationPackage.PAPYRUS_SYNC_TABLE: {
+ PapyrusSyncTable papyrusSyncTable = (PapyrusSyncTable) theEObject;
+ T result = casePapyrusSyncTable(papyrusSyncTable);
+ if (result == null) {
+ result = casePapyrusView(papyrusSyncTable);
+ }
+ if (result == null) {
+ result = caseModelKind(papyrusSyncTable);
+ }
+ if (result == null) {
+ result = caseADElement(papyrusSyncTable);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case ConfigurationPackage.PAPYRUS_TABLE: {
+ PapyrusTable papyrusTable = (PapyrusTable) theEObject;
+ T result = casePapyrusTable(papyrusTable);
+ if (result == null) {
+ result = casePapyrusView(papyrusTable);
+ }
+ if (result == null) {
+ result = caseModelKind(papyrusTable);
+ }
+ if (result == null) {
+ result = caseADElement(papyrusTable);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case ConfigurationPackage.RULE: {
+ Rule rule = (Rule) theEObject;
+ T result = caseRule(rule);
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case ConfigurationPackage.MODEL_RULE: {
+ ModelRule modelRule = (ModelRule) theEObject;
+ T result = caseModelRule(modelRule);
+ if (result == null) {
+ result = caseRule(modelRule);
+ }
+ if (result == null) {
+ result = caseDisplayUnit(modelRule);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case ConfigurationPackage.OWNING_RULE: {
+ OwningRule owningRule = (OwningRule) theEObject;
+ T result = caseOwningRule(owningRule);
+ if (result == null) {
+ result = caseRule(owningRule);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case ConfigurationPackage.CHILD_RULE: {
+ ChildRule childRule = (ChildRule) theEObject;
+ T result = caseChildRule(childRule);
+ if (result == null) {
+ result = caseRule(childRule);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case ConfigurationPackage.PALETTE_RULE: {
+ PaletteRule paletteRule = (PaletteRule) theEObject;
+ T result = casePaletteRule(paletteRule);
+ if (result == null) {
+ result = caseRule(paletteRule);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case ConfigurationPackage.PATH_ELEMENT: {
+ PathElement pathElement = (PathElement) theEObject;
+ T result = casePathElement(pathElement);
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case ConfigurationPackage.CATEGORY: {
+ Category category = (Category) theEObject;
+ T result = caseCategory(category);
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case ConfigurationPackage.MODEL_AUTO_CREATE: {
+ ModelAutoCreate modelAutoCreate = (ModelAutoCreate) theEObject;
+ T result = caseModelAutoCreate(modelAutoCreate);
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ default:
+ return defaultCase(theEObject);
}
}
@@ -193,7 +264,9 @@ public class ConfigurationSwitch<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 Configuration</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -208,7 +281,9 @@ public class ConfigurationSwitch<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 Viewpoint</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -223,7 +298,9 @@ public class ConfigurationSwitch<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 View</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -238,7 +315,9 @@ public class ConfigurationSwitch<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 Diagram</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -253,7 +332,9 @@ public class ConfigurationSwitch<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 Sync Table</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -268,7 +349,9 @@ public class ConfigurationSwitch<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 Table</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -283,7 +366,9 @@ public class ConfigurationSwitch<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>Model Rule</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -298,7 +383,9 @@ public class ConfigurationSwitch<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>Owning Rule</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -313,7 +400,9 @@ public class ConfigurationSwitch<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>Child Rule</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -328,7 +417,9 @@ public class ConfigurationSwitch<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>Palette Rule</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -343,7 +434,9 @@ public class ConfigurationSwitch<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>Rule</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -358,7 +451,9 @@ public class ConfigurationSwitch<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>Path Element</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -373,7 +468,9 @@ public class ConfigurationSwitch<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>Category</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -388,7 +485,9 @@ public class ConfigurationSwitch<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>Model Auto Create</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -403,7 +502,9 @@ public class ConfigurationSwitch<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>Architecture Framework</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -418,7 +519,9 @@ public class ConfigurationSwitch<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>AD Element</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -433,7 +536,9 @@ public class ConfigurationSwitch<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>Architecture Viewpoint</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -448,7 +553,9 @@ public class ConfigurationSwitch<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>Model Kind</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -463,7 +570,9 @@ public class ConfigurationSwitch<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>Display Unit</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -478,7 +587,9 @@ public class ConfigurationSwitch<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
@@ -488,4 +599,4 @@ public class ConfigurationSwitch<T> extends Switch<T> {
return null;
}
-} //ConfigurationSwitch
+} // ConfigurationSwitch
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010.edit/src/org/eclipse/papyrus/infra/viewpoints/iso42010/provider/ADElementItemProvider.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010.edit/src/org/eclipse/papyrus/infra/viewpoints/iso42010/provider/ADElementItemProvider.java
index 87050ac755b..3f0f94d6041 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010.edit/src/org/eclipse/papyrus/infra/viewpoints/iso42010/provider/ADElementItemProvider.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010.edit/src/org/eclipse/papyrus/infra/viewpoints/iso42010/provider/ADElementItemProvider.java
@@ -1,15 +1,15 @@
/**
* 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
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- *
- *
+ *
+ *
*/
package org.eclipse.papyrus.infra.viewpoints.iso42010.provider;
@@ -40,11 +40,12 @@ import org.eclipse.papyrus.infra.viewpoints.iso42010.Iso42010Package;
* This is the item provider adapter for a {@link org.eclipse.papyrus.infra.viewpoints.iso42010.ADElement} object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public class ADElementItemProvider
- extends ItemProviderAdapter
- implements
+ extends ItemProviderAdapter
+ implements
IEditingDomainItemProvider,
IStructuredItemContentProvider,
ITreeItemContentProvider,
@@ -54,6 +55,7 @@ public class ADElementItemProvider
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public ADElementItemProvider(AdapterFactory adapterFactory) {
@@ -64,6 +66,7 @@ public class ADElementItemProvider
* This returns the property descriptors for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -81,58 +84,61 @@ public class ADElementItemProvider
* 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_ADElement_name_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_ADElement_name_feature", "_UI_ADElement_type"),
- Iso42010Package.Literals.AD_ELEMENT__NAME,
- true,
- false,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null));
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_ADElement_name_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_ADElement_name_feature", "_UI_ADElement_type"),
+ Iso42010Package.Literals.AD_ELEMENT__NAME,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
}
/**
* This adds a property descriptor for the Affected By feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected void addAffectedByPropertyDescriptor(Object object) {
itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_ADElement_affectedBy_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_ADElement_affectedBy_feature", "_UI_ADElement_type"),
- Iso42010Package.Literals.AD_ELEMENT__AFFECTED_BY,
- true,
- false,
- true,
- null,
- null,
- null));
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_ADElement_affectedBy_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_ADElement_affectedBy_feature", "_UI_ADElement_type"),
+ Iso42010Package.Literals.AD_ELEMENT__AFFECTED_BY,
+ true,
+ false,
+ true,
+ null,
+ 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 = ((ADElement)object).getName();
+ String label = ((ADElement) object).getName();
return label == null || label.length() == 0 ?
- getString("_UI_ADElement_type") :
- getString("_UI_ADElement_type") + " " + label;
+ getString("_UI_ADElement_type") :
+ getString("_UI_ADElement_type") + " " + label;
}
/**
@@ -140,6 +146,7 @@ public class ADElementItemProvider
* children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -147,9 +154,9 @@ public class ADElementItemProvider
updateChildren(notification);
switch (notification.getFeatureID(ADElement.class)) {
- case Iso42010Package.AD_ELEMENT__NAME:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
- return;
+ case Iso42010Package.AD_ELEMENT__NAME:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+ return;
}
super.notifyChanged(notification);
}
@@ -159,6 +166,7 @@ public class ADElementItemProvider
* that can be created under this object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -170,6 +178,7 @@ public class ADElementItemProvider
* Return the resource locator for this item provider's resources.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010.edit/src/org/eclipse/papyrus/infra/viewpoints/iso42010/provider/ArchitectureDecisionItemProvider.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010.edit/src/org/eclipse/papyrus/infra/viewpoints/iso42010/provider/ArchitectureDecisionItemProvider.java
index ddcc6e95c73..1d8964a63e0 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010.edit/src/org/eclipse/papyrus/infra/viewpoints/iso42010/provider/ArchitectureDecisionItemProvider.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010.edit/src/org/eclipse/papyrus/infra/viewpoints/iso42010/provider/ArchitectureDecisionItemProvider.java
@@ -1,15 +1,15 @@
/**
* 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
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- *
- *
+ *
+ *
*/
package org.eclipse.papyrus.infra.viewpoints.iso42010.provider;
@@ -35,11 +35,12 @@ import org.eclipse.papyrus.infra.viewpoints.iso42010.Iso42010Package;
* This is the item provider adapter for a {@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureDecision} object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public class ArchitectureDecisionItemProvider
- extends ADElementItemProvider
- implements
+ extends ADElementItemProvider
+ implements
IEditingDomainItemProvider,
IStructuredItemContentProvider,
ITreeItemContentProvider,
@@ -49,6 +50,7 @@ public class ArchitectureDecisionItemProvider
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public ArchitectureDecisionItemProvider(AdapterFactory adapterFactory) {
@@ -59,6 +61,7 @@ public class ArchitectureDecisionItemProvider
* This returns the property descriptors for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -80,138 +83,145 @@ public class ArchitectureDecisionItemProvider
* This adds a property descriptor for the Justified By feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected void addJustifiedByPropertyDescriptor(Object object) {
itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_ArchitectureDecision_justifiedBy_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_ArchitectureDecision_justifiedBy_feature", "_UI_ArchitectureDecision_type"),
- Iso42010Package.Literals.ARCHITECTURE_DECISION__JUSTIFIED_BY,
- true,
- false,
- true,
- null,
- null,
- null));
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_ArchitectureDecision_justifiedBy_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_ArchitectureDecision_justifiedBy_feature", "_UI_ArchitectureDecision_type"),
+ Iso42010Package.Literals.ARCHITECTURE_DECISION__JUSTIFIED_BY,
+ true,
+ false,
+ true,
+ null,
+ null,
+ null));
}
/**
* This adds a property descriptor for the Depends Upon feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected void addDependsUponPropertyDescriptor(Object object) {
itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_ArchitectureDecision_dependsUpon_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_ArchitectureDecision_dependsUpon_feature", "_UI_ArchitectureDecision_type"),
- Iso42010Package.Literals.ARCHITECTURE_DECISION__DEPENDS_UPON,
- true,
- false,
- true,
- null,
- null,
- null));
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_ArchitectureDecision_dependsUpon_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_ArchitectureDecision_dependsUpon_feature", "_UI_ArchitectureDecision_type"),
+ Iso42010Package.Literals.ARCHITECTURE_DECISION__DEPENDS_UPON,
+ true,
+ false,
+ true,
+ null,
+ null,
+ null));
}
/**
* This adds a property descriptor for the Dependents feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected void addDependentsPropertyDescriptor(Object object) {
itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_ArchitectureDecision_dependents_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_ArchitectureDecision_dependents_feature", "_UI_ArchitectureDecision_type"),
- Iso42010Package.Literals.ARCHITECTURE_DECISION__DEPENDENTS,
- true,
- false,
- true,
- null,
- null,
- null));
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_ArchitectureDecision_dependents_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_ArchitectureDecision_dependents_feature", "_UI_ArchitectureDecision_type"),
+ Iso42010Package.Literals.ARCHITECTURE_DECISION__DEPENDENTS,
+ true,
+ false,
+ true,
+ null,
+ null,
+ null));
}
/**
* This adds a property descriptor for the Raises feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected void addRaisesPropertyDescriptor(Object object) {
itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_ArchitectureDecision_raises_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_ArchitectureDecision_raises_feature", "_UI_ArchitectureDecision_type"),
- Iso42010Package.Literals.ARCHITECTURE_DECISION__RAISES,
- true,
- false,
- true,
- null,
- null,
- null));
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_ArchitectureDecision_raises_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_ArchitectureDecision_raises_feature", "_UI_ArchitectureDecision_type"),
+ Iso42010Package.Literals.ARCHITECTURE_DECISION__RAISES,
+ true,
+ false,
+ true,
+ null,
+ null,
+ null));
}
/**
* This adds a property descriptor for the Pertains To feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected void addPertainsToPropertyDescriptor(Object object) {
itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_ArchitectureDecision_pertainsTo_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_ArchitectureDecision_pertainsTo_feature", "_UI_ArchitectureDecision_type"),
- Iso42010Package.Literals.ARCHITECTURE_DECISION__PERTAINS_TO,
- true,
- false,
- true,
- null,
- null,
- null));
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_ArchitectureDecision_pertainsTo_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_ArchitectureDecision_pertainsTo_feature", "_UI_ArchitectureDecision_type"),
+ Iso42010Package.Literals.ARCHITECTURE_DECISION__PERTAINS_TO,
+ true,
+ false,
+ true,
+ null,
+ null,
+ null));
}
/**
* This adds a property descriptor for the Affects feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected void addAffectsPropertyDescriptor(Object object) {
itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_ArchitectureDecision_affects_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_ArchitectureDecision_affects_feature", "_UI_ArchitectureDecision_type"),
- Iso42010Package.Literals.ARCHITECTURE_DECISION__AFFECTS,
- true,
- false,
- true,
- null,
- null,
- null));
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_ArchitectureDecision_affects_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_ArchitectureDecision_affects_feature", "_UI_ArchitectureDecision_type"),
+ Iso42010Package.Literals.ARCHITECTURE_DECISION__AFFECTS,
+ true,
+ false,
+ true,
+ null,
+ null,
+ null));
}
/**
* This returns ArchitectureDecision.gif.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -223,14 +233,15 @@ public class ArchitectureDecisionItemProvider
* This returns the label text for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public String getText(Object object) {
- String label = ((ArchitectureDecision)object).getName();
+ String label = ((ArchitectureDecision) object).getName();
return label == null || label.length() == 0 ?
- getString("_UI_ArchitectureDecision_type") :
- getString("_UI_ArchitectureDecision_type") + " " + label;
+ getString("_UI_ArchitectureDecision_type") :
+ getString("_UI_ArchitectureDecision_type") + " " + label;
}
/**
@@ -238,6 +249,7 @@ public class ArchitectureDecisionItemProvider
* children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -251,6 +263,7 @@ public class ArchitectureDecisionItemProvider
* that can be created under this object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010.edit/src/org/eclipse/papyrus/infra/viewpoints/iso42010/provider/ArchitectureDescriptionItemProvider.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010.edit/src/org/eclipse/papyrus/infra/viewpoints/iso42010/provider/ArchitectureDescriptionItemProvider.java
index 659ba79aeae..813a0f9c3f3 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010.edit/src/org/eclipse/papyrus/infra/viewpoints/iso42010/provider/ArchitectureDescriptionItemProvider.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010.edit/src/org/eclipse/papyrus/infra/viewpoints/iso42010/provider/ArchitectureDescriptionItemProvider.java
@@ -1,15 +1,15 @@
/**
* 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
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- *
- *
+ *
+ *
*/
package org.eclipse.papyrus.infra.viewpoints.iso42010.provider;
@@ -41,11 +41,12 @@ import org.eclipse.papyrus.infra.viewpoints.iso42010.Iso42010Package;
* This is the item provider adapter for a {@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureDescription} object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public class ArchitectureDescriptionItemProvider
- extends ItemProviderAdapter
- implements
+ extends ItemProviderAdapter
+ implements
IEditingDomainItemProvider,
IStructuredItemContentProvider,
ITreeItemContentProvider,
@@ -55,6 +56,7 @@ public class ArchitectureDescriptionItemProvider
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public ArchitectureDescriptionItemProvider(AdapterFactory adapterFactory) {
@@ -65,6 +67,7 @@ public class ArchitectureDescriptionItemProvider
* This returns the property descriptors for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -77,11 +80,11 @@ public class ArchitectureDescriptionItemProvider
}
/**
- * 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
@@ -105,6 +108,7 @@ public class ArchitectureDescriptionItemProvider
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -119,6 +123,7 @@ public class ArchitectureDescriptionItemProvider
* This returns ArchitectureDescription.gif.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -130,6 +135,7 @@ public class ArchitectureDescriptionItemProvider
* This returns the label text for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -142,6 +148,7 @@ public class ArchitectureDescriptionItemProvider
* children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -149,18 +156,18 @@ public class ArchitectureDescriptionItemProvider
updateChildren(notification);
switch (notification.getFeatureID(ArchitectureDescription.class)) {
- case Iso42010Package.ARCHITECTURE_DESCRIPTION__STAKEHOLDERS:
- case Iso42010Package.ARCHITECTURE_DESCRIPTION__CONCERNS:
- case Iso42010Package.ARCHITECTURE_DESCRIPTION__VIEWPOINTS:
- case Iso42010Package.ARCHITECTURE_DESCRIPTION__VIEWS:
- case Iso42010Package.ARCHITECTURE_DESCRIPTION__SYSTEM:
- case Iso42010Package.ARCHITECTURE_DESCRIPTION__EXPRESSES:
- case Iso42010Package.ARCHITECTURE_DESCRIPTION__RATIONALES:
- case Iso42010Package.ARCHITECTURE_DESCRIPTION__CORRESPONDENCES:
- case Iso42010Package.ARCHITECTURE_DESCRIPTION__RULES:
- case Iso42010Package.ARCHITECTURE_DESCRIPTION__DECISIONS:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
- return;
+ case Iso42010Package.ARCHITECTURE_DESCRIPTION__STAKEHOLDERS:
+ case Iso42010Package.ARCHITECTURE_DESCRIPTION__CONCERNS:
+ case Iso42010Package.ARCHITECTURE_DESCRIPTION__VIEWPOINTS:
+ case Iso42010Package.ARCHITECTURE_DESCRIPTION__VIEWS:
+ case Iso42010Package.ARCHITECTURE_DESCRIPTION__SYSTEM:
+ case Iso42010Package.ARCHITECTURE_DESCRIPTION__EXPRESSES:
+ case Iso42010Package.ARCHITECTURE_DESCRIPTION__RATIONALES:
+ case Iso42010Package.ARCHITECTURE_DESCRIPTION__CORRESPONDENCES:
+ case Iso42010Package.ARCHITECTURE_DESCRIPTION__RULES:
+ case Iso42010Package.ARCHITECTURE_DESCRIPTION__DECISIONS:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
+ return;
}
super.notifyChanged(notification);
}
@@ -170,6 +177,7 @@ public class ArchitectureDescriptionItemProvider
* that can be created under this object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -177,60 +185,61 @@ public class ArchitectureDescriptionItemProvider
super.collectNewChildDescriptors(newChildDescriptors, object);
newChildDescriptors.add
- (createChildParameter
+ (createChildParameter
(Iso42010Package.Literals.ARCHITECTURE_DESCRIPTION__STAKEHOLDERS,
- Iso42010Factory.eINSTANCE.createStakeholder()));
+ Iso42010Factory.eINSTANCE.createStakeholder()));
newChildDescriptors.add
- (createChildParameter
+ (createChildParameter
(Iso42010Package.Literals.ARCHITECTURE_DESCRIPTION__CONCERNS,
- Iso42010Factory.eINSTANCE.createConcern()));
+ Iso42010Factory.eINSTANCE.createConcern()));
newChildDescriptors.add
- (createChildParameter
+ (createChildParameter
(Iso42010Package.Literals.ARCHITECTURE_DESCRIPTION__VIEWPOINTS,
- Iso42010Factory.eINSTANCE.createArchitectureViewpoint()));
+ Iso42010Factory.eINSTANCE.createArchitectureViewpoint()));
newChildDescriptors.add
- (createChildParameter
+ (createChildParameter
(Iso42010Package.Literals.ARCHITECTURE_DESCRIPTION__VIEWS,
- Iso42010Factory.eINSTANCE.createArchitectureView()));
+ Iso42010Factory.eINSTANCE.createArchitectureView()));
newChildDescriptors.add
- (createChildParameter
+ (createChildParameter
(Iso42010Package.Literals.ARCHITECTURE_DESCRIPTION__SYSTEM,
- Iso42010Factory.eINSTANCE.createSystem()));
+ Iso42010Factory.eINSTANCE.createSystem()));
newChildDescriptors.add
- (createChildParameter
+ (createChildParameter
(Iso42010Package.Literals.ARCHITECTURE_DESCRIPTION__EXPRESSES,
- Iso42010Factory.eINSTANCE.createArchitecture()));
+ Iso42010Factory.eINSTANCE.createArchitecture()));
newChildDescriptors.add
- (createChildParameter
+ (createChildParameter
(Iso42010Package.Literals.ARCHITECTURE_DESCRIPTION__RATIONALES,
- Iso42010Factory.eINSTANCE.createArchitectureRationale()));
+ Iso42010Factory.eINSTANCE.createArchitectureRationale()));
newChildDescriptors.add
- (createChildParameter
+ (createChildParameter
(Iso42010Package.Literals.ARCHITECTURE_DESCRIPTION__CORRESPONDENCES,
- Iso42010Factory.eINSTANCE.createCorrespondence()));
+ Iso42010Factory.eINSTANCE.createCorrespondence()));
newChildDescriptors.add
- (createChildParameter
+ (createChildParameter
(Iso42010Package.Literals.ARCHITECTURE_DESCRIPTION__RULES,
- Iso42010Factory.eINSTANCE.createCorrespondenceRule()));
+ Iso42010Factory.eINSTANCE.createCorrespondenceRule()));
newChildDescriptors.add
- (createChildParameter
+ (createChildParameter
(Iso42010Package.Literals.ARCHITECTURE_DESCRIPTION__DECISIONS,
- Iso42010Factory.eINSTANCE.createArchitectureDecision()));
+ Iso42010Factory.eINSTANCE.createArchitectureDecision()));
}
/**
* Return the resource locator for this item provider's resources.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010.edit/src/org/eclipse/papyrus/infra/viewpoints/iso42010/provider/ArchitectureFrameworkItemProvider.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010.edit/src/org/eclipse/papyrus/infra/viewpoints/iso42010/provider/ArchitectureFrameworkItemProvider.java
index d32f549e3e7..5a1afa4034b 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010.edit/src/org/eclipse/papyrus/infra/viewpoints/iso42010/provider/ArchitectureFrameworkItemProvider.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010.edit/src/org/eclipse/papyrus/infra/viewpoints/iso42010/provider/ArchitectureFrameworkItemProvider.java
@@ -1,15 +1,15 @@
/**
* 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
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- *
- *
+ *
+ *
*/
package org.eclipse.papyrus.infra.viewpoints.iso42010.provider;
@@ -41,11 +41,12 @@ import org.eclipse.papyrus.infra.viewpoints.iso42010.Iso42010Package;
* This is the item provider adapter for a {@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureFramework} object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public class ArchitectureFrameworkItemProvider
- extends ItemProviderAdapter
- implements
+ extends ItemProviderAdapter
+ implements
IEditingDomainItemProvider,
IStructuredItemContentProvider,
ITreeItemContentProvider,
@@ -55,6 +56,7 @@ public class ArchitectureFrameworkItemProvider
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public ArchitectureFrameworkItemProvider(AdapterFactory adapterFactory) {
@@ -65,6 +67,7 @@ public class ArchitectureFrameworkItemProvider
* This returns the property descriptors for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -77,11 +80,11 @@ public class ArchitectureFrameworkItemProvider
}
/**
- * 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
@@ -99,6 +102,7 @@ public class ArchitectureFrameworkItemProvider
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -113,6 +117,7 @@ public class ArchitectureFrameworkItemProvider
* This returns ArchitectureFramework.gif.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -124,6 +129,7 @@ public class ArchitectureFrameworkItemProvider
* This returns the label text for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -136,6 +142,7 @@ public class ArchitectureFrameworkItemProvider
* children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -143,12 +150,12 @@ public class ArchitectureFrameworkItemProvider
updateChildren(notification);
switch (notification.getFeatureID(ArchitectureFramework.class)) {
- case Iso42010Package.ARCHITECTURE_FRAMEWORK__STAKEHOLDERS:
- case Iso42010Package.ARCHITECTURE_FRAMEWORK__VIEWPOINTS:
- case Iso42010Package.ARCHITECTURE_FRAMEWORK__RULES:
- case Iso42010Package.ARCHITECTURE_FRAMEWORK__CONCERNS:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
- return;
+ case Iso42010Package.ARCHITECTURE_FRAMEWORK__STAKEHOLDERS:
+ case Iso42010Package.ARCHITECTURE_FRAMEWORK__VIEWPOINTS:
+ case Iso42010Package.ARCHITECTURE_FRAMEWORK__RULES:
+ case Iso42010Package.ARCHITECTURE_FRAMEWORK__CONCERNS:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
+ return;
}
super.notifyChanged(notification);
}
@@ -158,6 +165,7 @@ public class ArchitectureFrameworkItemProvider
* that can be created under this object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -165,30 +173,31 @@ public class ArchitectureFrameworkItemProvider
super.collectNewChildDescriptors(newChildDescriptors, object);
newChildDescriptors.add
- (createChildParameter
+ (createChildParameter
(Iso42010Package.Literals.ARCHITECTURE_FRAMEWORK__STAKEHOLDERS,
- Iso42010Factory.eINSTANCE.createStakeholder()));
+ Iso42010Factory.eINSTANCE.createStakeholder()));
newChildDescriptors.add
- (createChildParameter
+ (createChildParameter
(Iso42010Package.Literals.ARCHITECTURE_FRAMEWORK__VIEWPOINTS,
- Iso42010Factory.eINSTANCE.createArchitectureViewpoint()));
+ Iso42010Factory.eINSTANCE.createArchitectureViewpoint()));
newChildDescriptors.add
- (createChildParameter
+ (createChildParameter
(Iso42010Package.Literals.ARCHITECTURE_FRAMEWORK__RULES,
- Iso42010Factory.eINSTANCE.createCorrespondenceRule()));
+ Iso42010Factory.eINSTANCE.createCorrespondenceRule()));
newChildDescriptors.add
- (createChildParameter
+ (createChildParameter
(Iso42010Package.Literals.ARCHITECTURE_FRAMEWORK__CONCERNS,
- Iso42010Factory.eINSTANCE.createConcern()));
+ Iso42010Factory.eINSTANCE.createConcern()));
}
/**
* Return the resource locator for this item provider's resources.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010.edit/src/org/eclipse/papyrus/infra/viewpoints/iso42010/provider/ArchitectureItemProvider.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010.edit/src/org/eclipse/papyrus/infra/viewpoints/iso42010/provider/ArchitectureItemProvider.java
index 24e89c3dc7e..89ff5329d9a 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010.edit/src/org/eclipse/papyrus/infra/viewpoints/iso42010/provider/ArchitectureItemProvider.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010.edit/src/org/eclipse/papyrus/infra/viewpoints/iso42010/provider/ArchitectureItemProvider.java
@@ -1,15 +1,15 @@
/**
* 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
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- *
- *
+ *
+ *
*/
package org.eclipse.papyrus.infra.viewpoints.iso42010.provider;
@@ -37,11 +37,12 @@ import org.eclipse.papyrus.infra.viewpoints.iso42010.Iso42010Package;
* This is the item provider adapter for a {@link org.eclipse.papyrus.infra.viewpoints.iso42010.Architecture} object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public class ArchitectureItemProvider
- extends ItemProviderAdapter
- implements
+ extends ItemProviderAdapter
+ implements
IEditingDomainItemProvider,
IStructuredItemContentProvider,
ITreeItemContentProvider,
@@ -51,6 +52,7 @@ public class ArchitectureItemProvider
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public ArchitectureItemProvider(AdapterFactory adapterFactory) {
@@ -61,6 +63,7 @@ public class ArchitectureItemProvider
* This returns the property descriptors for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -77,28 +80,30 @@ public class ArchitectureItemProvider
* This adds a property descriptor for the Exhibited In feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected void addExhibitedInPropertyDescriptor(Object object) {
itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_Architecture_exhibitedIn_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_Architecture_exhibitedIn_feature", "_UI_Architecture_type"),
- Iso42010Package.Literals.ARCHITECTURE__EXHIBITED_IN,
- true,
- false,
- true,
- null,
- null,
- null));
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_Architecture_exhibitedIn_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_Architecture_exhibitedIn_feature", "_UI_Architecture_type"),
+ Iso42010Package.Literals.ARCHITECTURE__EXHIBITED_IN,
+ true,
+ false,
+ true,
+ null,
+ null,
+ null));
}
/**
* This returns Architecture.gif.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -110,6 +115,7 @@ public class ArchitectureItemProvider
* This returns the label text for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -122,6 +128,7 @@ public class ArchitectureItemProvider
* children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -135,6 +142,7 @@ public class ArchitectureItemProvider
* that can be created under this object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -146,6 +154,7 @@ public class ArchitectureItemProvider
* Return the resource locator for this item provider's resources.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010.edit/src/org/eclipse/papyrus/infra/viewpoints/iso42010/provider/ArchitectureModelItemProvider.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010.edit/src/org/eclipse/papyrus/infra/viewpoints/iso42010/provider/ArchitectureModelItemProvider.java
index a546dfcd8a6..9529b1e10d3 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010.edit/src/org/eclipse/papyrus/infra/viewpoints/iso42010/provider/ArchitectureModelItemProvider.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010.edit/src/org/eclipse/papyrus/infra/viewpoints/iso42010/provider/ArchitectureModelItemProvider.java
@@ -1,15 +1,15 @@
/**
* 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
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- *
- *
+ *
+ *
*/
package org.eclipse.papyrus.infra.viewpoints.iso42010.provider;
@@ -35,11 +35,12 @@ import org.eclipse.papyrus.infra.viewpoints.iso42010.Iso42010Package;
* This is the item provider adapter for a {@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureModel} object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public class ArchitectureModelItemProvider
- extends ADElementItemProvider
- implements
+ extends ADElementItemProvider
+ implements
IEditingDomainItemProvider,
IStructuredItemContentProvider,
ITreeItemContentProvider,
@@ -49,6 +50,7 @@ public class ArchitectureModelItemProvider
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public ArchitectureModelItemProvider(AdapterFactory adapterFactory) {
@@ -59,6 +61,7 @@ public class ArchitectureModelItemProvider
* This returns the property descriptors for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -75,28 +78,30 @@ public class ArchitectureModelItemProvider
* This adds a property descriptor for the Governed By feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected void addGovernedByPropertyDescriptor(Object object) {
itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_ArchitectureModel_governedBy_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_ArchitectureModel_governedBy_feature", "_UI_ArchitectureModel_type"),
- Iso42010Package.Literals.ARCHITECTURE_MODEL__GOVERNED_BY,
- true,
- false,
- true,
- null,
- null,
- null));
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_ArchitectureModel_governedBy_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_ArchitectureModel_governedBy_feature", "_UI_ArchitectureModel_type"),
+ Iso42010Package.Literals.ARCHITECTURE_MODEL__GOVERNED_BY,
+ true,
+ false,
+ true,
+ null,
+ null,
+ null));
}
/**
* This returns ArchitectureModel.gif.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -108,14 +113,15 @@ public class ArchitectureModelItemProvider
* This returns the label text for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public String getText(Object object) {
- String label = ((ArchitectureModel)object).getName();
+ String label = ((ArchitectureModel) object).getName();
return label == null || label.length() == 0 ?
- getString("_UI_ArchitectureModel_type") :
- getString("_UI_ArchitectureModel_type") + " " + label;
+ getString("_UI_ArchitectureModel_type") :
+ getString("_UI_ArchitectureModel_type") + " " + label;
}
/**
@@ -123,6 +129,7 @@ public class ArchitectureModelItemProvider
* children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -136,6 +143,7 @@ public class ArchitectureModelItemProvider
* that can be created under this object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010.edit/src/org/eclipse/papyrus/infra/viewpoints/iso42010/provider/ArchitectureRationaleItemProvider.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010.edit/src/org/eclipse/papyrus/infra/viewpoints/iso42010/provider/ArchitectureRationaleItemProvider.java
index 237f502d187..883bf69d672 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010.edit/src/org/eclipse/papyrus/infra/viewpoints/iso42010/provider/ArchitectureRationaleItemProvider.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010.edit/src/org/eclipse/papyrus/infra/viewpoints/iso42010/provider/ArchitectureRationaleItemProvider.java
@@ -1,15 +1,15 @@
/**
* 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
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- *
- *
+ *
+ *
*/
package org.eclipse.papyrus.infra.viewpoints.iso42010.provider;
@@ -35,11 +35,12 @@ import org.eclipse.papyrus.infra.viewpoints.iso42010.Iso42010Package;
* This is the item provider adapter for a {@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureRationale} object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public class ArchitectureRationaleItemProvider
- extends ADElementItemProvider
- implements
+ extends ADElementItemProvider
+ implements
IEditingDomainItemProvider,
IStructuredItemContentProvider,
ITreeItemContentProvider,
@@ -49,6 +50,7 @@ public class ArchitectureRationaleItemProvider
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public ArchitectureRationaleItemProvider(AdapterFactory adapterFactory) {
@@ -59,6 +61,7 @@ public class ArchitectureRationaleItemProvider
* This returns the property descriptors for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -75,28 +78,30 @@ public class ArchitectureRationaleItemProvider
* This adds a property descriptor for the Justifies feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected void addJustifiesPropertyDescriptor(Object object) {
itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_ArchitectureRationale_justifies_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_ArchitectureRationale_justifies_feature", "_UI_ArchitectureRationale_type"),
- Iso42010Package.Literals.ARCHITECTURE_RATIONALE__JUSTIFIES,
- true,
- false,
- true,
- null,
- null,
- null));
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_ArchitectureRationale_justifies_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_ArchitectureRationale_justifies_feature", "_UI_ArchitectureRationale_type"),
+ Iso42010Package.Literals.ARCHITECTURE_RATIONALE__JUSTIFIES,
+ true,
+ false,
+ true,
+ null,
+ null,
+ null));
}
/**
* This returns ArchitectureRationale.gif.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -108,14 +113,15 @@ public class ArchitectureRationaleItemProvider
* This returns the label text for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public String getText(Object object) {
- String label = ((ArchitectureRationale)object).getName();
+ String label = ((ArchitectureRationale) object).getName();
return label == null || label.length() == 0 ?
- getString("_UI_ArchitectureRationale_type") :
- getString("_UI_ArchitectureRationale_type") + " " + label;
+ getString("_UI_ArchitectureRationale_type") :
+ getString("_UI_ArchitectureRationale_type") + " " + label;
}
/**
@@ -123,6 +129,7 @@ public class ArchitectureRationaleItemProvider
* children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -136,6 +143,7 @@ public class ArchitectureRationaleItemProvider
* that can be created under this object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010.edit/src/org/eclipse/papyrus/infra/viewpoints/iso42010/provider/ArchitectureViewItemProvider.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010.edit/src/org/eclipse/papyrus/infra/viewpoints/iso42010/provider/ArchitectureViewItemProvider.java
index 3cd97ab6577..52e5fc37caa 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010.edit/src/org/eclipse/papyrus/infra/viewpoints/iso42010/provider/ArchitectureViewItemProvider.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010.edit/src/org/eclipse/papyrus/infra/viewpoints/iso42010/provider/ArchitectureViewItemProvider.java
@@ -1,15 +1,15 @@
/**
* 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
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- *
- *
+ *
+ *
*/
package org.eclipse.papyrus.infra.viewpoints.iso42010.provider;
@@ -39,11 +39,12 @@ import org.eclipse.papyrus.infra.viewpoints.iso42010.Iso42010Package;
* This is the item provider adapter for a {@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureView} object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public class ArchitectureViewItemProvider
- extends ADElementItemProvider
- implements
+ extends ADElementItemProvider
+ implements
IEditingDomainItemProvider,
IStructuredItemContentProvider,
ITreeItemContentProvider,
@@ -53,6 +54,7 @@ public class ArchitectureViewItemProvider
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public ArchitectureViewItemProvider(AdapterFactory adapterFactory) {
@@ -63,6 +65,7 @@ public class ArchitectureViewItemProvider
* This returns the property descriptors for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -80,52 +83,54 @@ public class ArchitectureViewItemProvider
* This adds a property descriptor for the Governed By feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected void addGovernedByPropertyDescriptor(Object object) {
itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_ArchitectureView_governedBy_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_ArchitectureView_governedBy_feature", "_UI_ArchitectureView_type"),
- Iso42010Package.Literals.ARCHITECTURE_VIEW__GOVERNED_BY,
- true,
- false,
- true,
- null,
- null,
- null));
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_ArchitectureView_governedBy_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_ArchitectureView_governedBy_feature", "_UI_ArchitectureView_type"),
+ Iso42010Package.Literals.ARCHITECTURE_VIEW__GOVERNED_BY,
+ true,
+ false,
+ true,
+ null,
+ null,
+ null));
}
/**
* This adds a property descriptor for the Addresses feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected void addAddressesPropertyDescriptor(Object object) {
itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_ArchitectureView_addresses_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_ArchitectureView_addresses_feature", "_UI_ArchitectureView_type"),
- Iso42010Package.Literals.ARCHITECTURE_VIEW__ADDRESSES,
- true,
- false,
- true,
- null,
- null,
- null));
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_ArchitectureView_addresses_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_ArchitectureView_addresses_feature", "_UI_ArchitectureView_type"),
+ Iso42010Package.Literals.ARCHITECTURE_VIEW__ADDRESSES,
+ true,
+ false,
+ true,
+ null,
+ 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
@@ -140,6 +145,7 @@ public class ArchitectureViewItemProvider
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -154,6 +160,7 @@ public class ArchitectureViewItemProvider
* This returns ArchitectureView.gif.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -165,14 +172,15 @@ public class ArchitectureViewItemProvider
* This returns the label text for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public String getText(Object object) {
- String label = ((ArchitectureView)object).getName();
+ String label = ((ArchitectureView) object).getName();
return label == null || label.length() == 0 ?
- getString("_UI_ArchitectureView_type") :
- getString("_UI_ArchitectureView_type") + " " + label;
+ getString("_UI_ArchitectureView_type") :
+ getString("_UI_ArchitectureView_type") + " " + label;
}
/**
@@ -180,6 +188,7 @@ public class ArchitectureViewItemProvider
* children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -187,9 +196,9 @@ public class ArchitectureViewItemProvider
updateChildren(notification);
switch (notification.getFeatureID(ArchitectureView.class)) {
- case Iso42010Package.ARCHITECTURE_VIEW__MODELS:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
- return;
+ case Iso42010Package.ARCHITECTURE_VIEW__MODELS:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
+ return;
}
super.notifyChanged(notification);
}
@@ -199,6 +208,7 @@ public class ArchitectureViewItemProvider
* that can be created under this object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -206,9 +216,9 @@ public class ArchitectureViewItemProvider
super.collectNewChildDescriptors(newChildDescriptors, object);
newChildDescriptors.add
- (createChildParameter
+ (createChildParameter
(Iso42010Package.Literals.ARCHITECTURE_VIEW__MODELS,
- Iso42010Factory.eINSTANCE.createArchitectureModel()));
+ Iso42010Factory.eINSTANCE.createArchitectureModel()));
}
}
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010.edit/src/org/eclipse/papyrus/infra/viewpoints/iso42010/provider/ArchitectureViewpointItemProvider.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010.edit/src/org/eclipse/papyrus/infra/viewpoints/iso42010/provider/ArchitectureViewpointItemProvider.java
index f02e5275752..06ca7fceef2 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010.edit/src/org/eclipse/papyrus/infra/viewpoints/iso42010/provider/ArchitectureViewpointItemProvider.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010.edit/src/org/eclipse/papyrus/infra/viewpoints/iso42010/provider/ArchitectureViewpointItemProvider.java
@@ -1,15 +1,15 @@
/**
* 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
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- *
- *
+ *
+ *
*/
package org.eclipse.papyrus.infra.viewpoints.iso42010.provider;
@@ -39,11 +39,12 @@ import org.eclipse.papyrus.infra.viewpoints.iso42010.Iso42010Package;
* This is the item provider adapter for a {@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureViewpoint} object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public class ArchitectureViewpointItemProvider
- extends ADElementItemProvider
- implements
+ extends ADElementItemProvider
+ implements
IEditingDomainItemProvider,
IStructuredItemContentProvider,
ITreeItemContentProvider,
@@ -53,6 +54,7 @@ public class ArchitectureViewpointItemProvider
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public ArchitectureViewpointItemProvider(AdapterFactory adapterFactory) {
@@ -63,6 +65,7 @@ public class ArchitectureViewpointItemProvider
* This returns the property descriptors for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -80,52 +83,54 @@ public class ArchitectureViewpointItemProvider
* This adds a property descriptor for the Governs feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected void addGovernsPropertyDescriptor(Object object) {
itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_ArchitectureViewpoint_governs_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_ArchitectureViewpoint_governs_feature", "_UI_ArchitectureViewpoint_type"),
- Iso42010Package.Literals.ARCHITECTURE_VIEWPOINT__GOVERNS,
- true,
- false,
- true,
- null,
- null,
- null));
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_ArchitectureViewpoint_governs_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_ArchitectureViewpoint_governs_feature", "_UI_ArchitectureViewpoint_type"),
+ Iso42010Package.Literals.ARCHITECTURE_VIEWPOINT__GOVERNS,
+ true,
+ false,
+ true,
+ null,
+ null,
+ null));
}
/**
* This adds a property descriptor for the Frames feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected void addFramesPropertyDescriptor(Object object) {
itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_ArchitectureViewpoint_frames_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_ArchitectureViewpoint_frames_feature", "_UI_ArchitectureViewpoint_type"),
- Iso42010Package.Literals.ARCHITECTURE_VIEWPOINT__FRAMES,
- true,
- false,
- true,
- null,
- null,
- null));
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_ArchitectureViewpoint_frames_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_ArchitectureViewpoint_frames_feature", "_UI_ArchitectureViewpoint_type"),
+ Iso42010Package.Literals.ARCHITECTURE_VIEWPOINT__FRAMES,
+ true,
+ false,
+ true,
+ null,
+ 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
@@ -140,6 +145,7 @@ public class ArchitectureViewpointItemProvider
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -154,6 +160,7 @@ public class ArchitectureViewpointItemProvider
* This returns ArchitectureViewpoint.gif.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -165,14 +172,15 @@ public class ArchitectureViewpointItemProvider
* This returns the label text for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public String getText(Object object) {
- String label = ((ArchitectureViewpoint)object).getName();
+ String label = ((ArchitectureViewpoint) object).getName();
return label == null || label.length() == 0 ?
- getString("_UI_ArchitectureViewpoint_type") :
- getString("_UI_ArchitectureViewpoint_type") + " " + label;
+ getString("_UI_ArchitectureViewpoint_type") :
+ getString("_UI_ArchitectureViewpoint_type") + " " + label;
}
/**
@@ -180,6 +188,7 @@ public class ArchitectureViewpointItemProvider
* children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -187,9 +196,9 @@ public class ArchitectureViewpointItemProvider
updateChildren(notification);
switch (notification.getFeatureID(ArchitectureViewpoint.class)) {
- case Iso42010Package.ARCHITECTURE_VIEWPOINT__MODEL_KINDS:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
- return;
+ case Iso42010Package.ARCHITECTURE_VIEWPOINT__MODEL_KINDS:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
+ return;
}
super.notifyChanged(notification);
}
@@ -199,6 +208,7 @@ public class ArchitectureViewpointItemProvider
* that can be created under this object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -206,9 +216,9 @@ public class ArchitectureViewpointItemProvider
super.collectNewChildDescriptors(newChildDescriptors, object);
newChildDescriptors.add
- (createChildParameter
+ (createChildParameter
(Iso42010Package.Literals.ARCHITECTURE_VIEWPOINT__MODEL_KINDS,
- Iso42010Factory.eINSTANCE.createModelKind()));
+ Iso42010Factory.eINSTANCE.createModelKind()));
}
}
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010.edit/src/org/eclipse/papyrus/infra/viewpoints/iso42010/provider/ConcernItemProvider.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010.edit/src/org/eclipse/papyrus/infra/viewpoints/iso42010/provider/ConcernItemProvider.java
index f7ce5594340..15ba8291a36 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010.edit/src/org/eclipse/papyrus/infra/viewpoints/iso42010/provider/ConcernItemProvider.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010.edit/src/org/eclipse/papyrus/infra/viewpoints/iso42010/provider/ConcernItemProvider.java
@@ -1,15 +1,15 @@
/**
* 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
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- *
- *
+ *
+ *
*/
package org.eclipse.papyrus.infra.viewpoints.iso42010.provider;
@@ -35,11 +35,12 @@ import org.eclipse.papyrus.infra.viewpoints.iso42010.Iso42010Package;
* This is the item provider adapter for a {@link org.eclipse.papyrus.infra.viewpoints.iso42010.Concern} object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public class ConcernItemProvider
- extends ADElementItemProvider
- implements
+ extends ADElementItemProvider
+ implements
IEditingDomainItemProvider,
IStructuredItemContentProvider,
ITreeItemContentProvider,
@@ -49,6 +50,7 @@ public class ConcernItemProvider
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public ConcernItemProvider(AdapterFactory adapterFactory) {
@@ -59,6 +61,7 @@ public class ConcernItemProvider
* This returns the property descriptors for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -79,116 +82,122 @@ public class ConcernItemProvider
* This adds a property descriptor for the Framed By feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected void addFramedByPropertyDescriptor(Object object) {
itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_Concern_framedBy_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_Concern_framedBy_feature", "_UI_Concern_type"),
- Iso42010Package.Literals.CONCERN__FRAMED_BY,
- true,
- false,
- true,
- null,
- null,
- null));
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_Concern_framedBy_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_Concern_framedBy_feature", "_UI_Concern_type"),
+ Iso42010Package.Literals.CONCERN__FRAMED_BY,
+ true,
+ false,
+ true,
+ null,
+ null,
+ null));
}
/**
* This adds a property descriptor for the Addressed By feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected void addAddressedByPropertyDescriptor(Object object) {
itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_Concern_addressedBy_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_Concern_addressedBy_feature", "_UI_Concern_type"),
- Iso42010Package.Literals.CONCERN__ADDRESSED_BY,
- true,
- false,
- true,
- null,
- null,
- null));
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_Concern_addressedBy_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_Concern_addressedBy_feature", "_UI_Concern_type"),
+ Iso42010Package.Literals.CONCERN__ADDRESSED_BY,
+ true,
+ false,
+ true,
+ null,
+ null,
+ null));
}
/**
* This adds a property descriptor for the Stakeholders feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected void addStakeholdersPropertyDescriptor(Object object) {
itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_Concern_stakeholders_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_Concern_stakeholders_feature", "_UI_Concern_type"),
- Iso42010Package.Literals.CONCERN__STAKEHOLDERS,
- true,
- false,
- true,
- null,
- null,
- null));
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_Concern_stakeholders_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_Concern_stakeholders_feature", "_UI_Concern_type"),
+ Iso42010Package.Literals.CONCERN__STAKEHOLDERS,
+ true,
+ false,
+ true,
+ null,
+ null,
+ null));
}
/**
* This adds a property descriptor for the Raised By feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected void addRaisedByPropertyDescriptor(Object object) {
itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_Concern_raisedBy_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_Concern_raisedBy_feature", "_UI_Concern_type"),
- Iso42010Package.Literals.CONCERN__RAISED_BY,
- true,
- false,
- true,
- null,
- null,
- null));
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_Concern_raisedBy_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_Concern_raisedBy_feature", "_UI_Concern_type"),
+ Iso42010Package.Literals.CONCERN__RAISED_BY,
+ true,
+ false,
+ true,
+ null,
+ null,
+ null));
}
/**
* This adds a property descriptor for the Decisions feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected void addDecisionsPropertyDescriptor(Object object) {
itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_Concern_decisions_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_Concern_decisions_feature", "_UI_Concern_type"),
- Iso42010Package.Literals.CONCERN__DECISIONS,
- true,
- false,
- true,
- null,
- null,
- null));
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_Concern_decisions_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_Concern_decisions_feature", "_UI_Concern_type"),
+ Iso42010Package.Literals.CONCERN__DECISIONS,
+ true,
+ false,
+ true,
+ null,
+ null,
+ null));
}
/**
* This returns Concern.gif.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -200,14 +209,15 @@ public class ConcernItemProvider
* This returns the label text for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public String getText(Object object) {
- String label = ((Concern)object).getName();
+ String label = ((Concern) object).getName();
return label == null || label.length() == 0 ?
- getString("_UI_Concern_type") :
- getString("_UI_Concern_type") + " " + label;
+ getString("_UI_Concern_type") :
+ getString("_UI_Concern_type") + " " + label;
}
/**
@@ -215,6 +225,7 @@ public class ConcernItemProvider
* children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -228,6 +239,7 @@ public class ConcernItemProvider
* that can be created under this object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010.edit/src/org/eclipse/papyrus/infra/viewpoints/iso42010/provider/CorrespondenceItemProvider.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010.edit/src/org/eclipse/papyrus/infra/viewpoints/iso42010/provider/CorrespondenceItemProvider.java
index 7f9c7c3398f..87f2e0c3b66 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010.edit/src/org/eclipse/papyrus/infra/viewpoints/iso42010/provider/CorrespondenceItemProvider.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010.edit/src/org/eclipse/papyrus/infra/viewpoints/iso42010/provider/CorrespondenceItemProvider.java
@@ -1,15 +1,15 @@
/**
* 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
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- *
- *
+ *
+ *
*/
package org.eclipse.papyrus.infra.viewpoints.iso42010.provider;
@@ -37,11 +37,12 @@ import org.eclipse.papyrus.infra.viewpoints.iso42010.Iso42010Package;
* This is the item provider adapter for a {@link org.eclipse.papyrus.infra.viewpoints.iso42010.Correspondence} object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public class CorrespondenceItemProvider
- extends ItemProviderAdapter
- implements
+ extends ItemProviderAdapter
+ implements
IEditingDomainItemProvider,
IStructuredItemContentProvider,
ITreeItemContentProvider,
@@ -51,6 +52,7 @@ public class CorrespondenceItemProvider
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public CorrespondenceItemProvider(AdapterFactory adapterFactory) {
@@ -61,6 +63,7 @@ public class CorrespondenceItemProvider
* This returns the property descriptors for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -78,50 +81,53 @@ public class CorrespondenceItemProvider
* This adds a property descriptor for the Governed By feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected void addGovernedByPropertyDescriptor(Object object) {
itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_Correspondence_governedBy_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_Correspondence_governedBy_feature", "_UI_Correspondence_type"),
- Iso42010Package.Literals.CORRESPONDENCE__GOVERNED_BY,
- true,
- false,
- true,
- null,
- null,
- null));
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_Correspondence_governedBy_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_Correspondence_governedBy_feature", "_UI_Correspondence_type"),
+ Iso42010Package.Literals.CORRESPONDENCE__GOVERNED_BY,
+ true,
+ false,
+ true,
+ null,
+ null,
+ null));
}
/**
* This adds a property descriptor for the Relates feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected void addRelatesPropertyDescriptor(Object object) {
itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_Correspondence_relates_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_Correspondence_relates_feature", "_UI_Correspondence_type"),
- Iso42010Package.Literals.CORRESPONDENCE__RELATES,
- true,
- false,
- true,
- null,
- null,
- null));
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_Correspondence_relates_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_Correspondence_relates_feature", "_UI_Correspondence_type"),
+ Iso42010Package.Literals.CORRESPONDENCE__RELATES,
+ true,
+ false,
+ true,
+ null,
+ null,
+ null));
}
/**
* This returns Correspondence.gif.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -133,6 +139,7 @@ public class CorrespondenceItemProvider
* This returns the label text for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -145,6 +152,7 @@ public class CorrespondenceItemProvider
* children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -158,6 +166,7 @@ public class CorrespondenceItemProvider
* that can be created under this object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -169,6 +178,7 @@ public class CorrespondenceItemProvider
* Return the resource locator for this item provider's resources.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010.edit/src/org/eclipse/papyrus/infra/viewpoints/iso42010/provider/CorrespondenceRuleItemProvider.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010.edit/src/org/eclipse/papyrus/infra/viewpoints/iso42010/provider/CorrespondenceRuleItemProvider.java
index 03c71723f9b..672b9105a56 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010.edit/src/org/eclipse/papyrus/infra/viewpoints/iso42010/provider/CorrespondenceRuleItemProvider.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010.edit/src/org/eclipse/papyrus/infra/viewpoints/iso42010/provider/CorrespondenceRuleItemProvider.java
@@ -1,15 +1,15 @@
/**
* 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
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- *
- *
+ *
+ *
*/
package org.eclipse.papyrus.infra.viewpoints.iso42010.provider;
@@ -37,11 +37,12 @@ import org.eclipse.papyrus.infra.viewpoints.iso42010.Iso42010Package;
* This is the item provider adapter for a {@link org.eclipse.papyrus.infra.viewpoints.iso42010.CorrespondenceRule} object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public class CorrespondenceRuleItemProvider
- extends ItemProviderAdapter
- implements
+ extends ItemProviderAdapter
+ implements
IEditingDomainItemProvider,
IStructuredItemContentProvider,
ITreeItemContentProvider,
@@ -51,6 +52,7 @@ public class CorrespondenceRuleItemProvider
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public CorrespondenceRuleItemProvider(AdapterFactory adapterFactory) {
@@ -61,6 +63,7 @@ public class CorrespondenceRuleItemProvider
* This returns the property descriptors for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -77,28 +80,30 @@ public class CorrespondenceRuleItemProvider
* This adds a property descriptor for the Governs feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected void addGovernsPropertyDescriptor(Object object) {
itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_CorrespondenceRule_governs_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_CorrespondenceRule_governs_feature", "_UI_CorrespondenceRule_type"),
- Iso42010Package.Literals.CORRESPONDENCE_RULE__GOVERNS,
- true,
- false,
- true,
- null,
- null,
- null));
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_CorrespondenceRule_governs_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_CorrespondenceRule_governs_feature", "_UI_CorrespondenceRule_type"),
+ Iso42010Package.Literals.CORRESPONDENCE_RULE__GOVERNS,
+ true,
+ false,
+ true,
+ null,
+ null,
+ null));
}
/**
* This returns CorrespondenceRule.gif.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -110,6 +115,7 @@ public class CorrespondenceRuleItemProvider
* This returns the label text for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -122,6 +128,7 @@ public class CorrespondenceRuleItemProvider
* children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -135,6 +142,7 @@ public class CorrespondenceRuleItemProvider
* that can be created under this object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -146,6 +154,7 @@ public class CorrespondenceRuleItemProvider
* Return the resource locator for this item provider's resources.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010.edit/src/org/eclipse/papyrus/infra/viewpoints/iso42010/provider/Iso42010EditPlugin.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010.edit/src/org/eclipse/papyrus/infra/viewpoints/iso42010/provider/Iso42010EditPlugin.java
index 762451dfa73..4bcce5e001f 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010.edit/src/org/eclipse/papyrus/infra/viewpoints/iso42010/provider/Iso42010EditPlugin.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010.edit/src/org/eclipse/papyrus/infra/viewpoints/iso42010/provider/Iso42010EditPlugin.java
@@ -1,15 +1,15 @@
/**
* 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
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- *
- *
+ *
+ *
*/
package org.eclipse.papyrus.infra.viewpoints.iso42010.provider;
@@ -21,6 +21,7 @@ import org.eclipse.emf.common.util.ResourceLocator;
* This is the central singleton for the Iso42010 edit plugin.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public final class Iso42010EditPlugin extends EMFPlugin {
@@ -28,6 +29,7 @@ public final class Iso42010EditPlugin extends EMFPlugin {
* Keep track of the singleton.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public static final Iso42010EditPlugin INSTANCE = new Iso42010EditPlugin();
@@ -36,6 +38,7 @@ public final class Iso42010EditPlugin extends EMFPlugin {
* Keep track of the singleton.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private static Implementation plugin;
@@ -44,18 +47,19 @@ public final class Iso42010EditPlugin extends EMFPlugin {
* Create the instance.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public Iso42010EditPlugin() {
- super
- (new ResourceLocator [] {
- });
+ super(new ResourceLocator[] {
+ });
}
/**
* Returns the singleton instance of the Eclipse plugin.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the singleton instance.
* @generated
*/
@@ -68,6 +72,7 @@ public final class Iso42010EditPlugin extends EMFPlugin {
* Returns the singleton instance of the Eclipse plugin.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the singleton instance.
* @generated
*/
@@ -79,6 +84,7 @@ public final class Iso42010EditPlugin 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,6 +92,7 @@ public final class Iso42010EditPlugin extends EMFPlugin {
* Creates an instance.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public Implementation() {
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010.edit/src/org/eclipse/papyrus/infra/viewpoints/iso42010/provider/Iso42010ItemProviderAdapterFactory.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010.edit/src/org/eclipse/papyrus/infra/viewpoints/iso42010/provider/Iso42010ItemProviderAdapterFactory.java
index 09a5e7127ac..380b4d9542f 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010.edit/src/org/eclipse/papyrus/infra/viewpoints/iso42010/provider/Iso42010ItemProviderAdapterFactory.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010.edit/src/org/eclipse/papyrus/infra/viewpoints/iso42010/provider/Iso42010ItemProviderAdapterFactory.java
@@ -1,15 +1,15 @@
/**
* 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
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- *
- *
+ *
+ *
*/
package org.eclipse.papyrus.infra.viewpoints.iso42010.provider;
@@ -41,6 +41,7 @@ import org.eclipse.papyrus.infra.viewpoints.iso42010.util.Iso42010AdapterFactory
* Note that most of the adapters are shared among multiple instances.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public class Iso42010ItemProviderAdapterFactory extends Iso42010AdapterFactory implements ComposeableAdapterFactory, IChangeNotifier, IDisposable {
@@ -48,6 +49,7 @@ public class Iso42010ItemProviderAdapterFactory extends Iso42010AdapterFactory i
* This keeps track of the root adapter factory that delegates to this adapter factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected ComposedAdapterFactory parentAdapterFactory;
@@ -56,6 +58,7 @@ public class Iso42010ItemProviderAdapterFactory extends Iso42010AdapterFactory i
* This is used to implement {@link org.eclipse.emf.edit.provider.IChangeNotifier}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected IChangeNotifier changeNotifier = new ChangeNotifier();
@@ -64,6 +67,7 @@ public class Iso42010ItemProviderAdapterFactory extends Iso42010AdapterFactory i
* 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>();
@@ -72,6 +76,7 @@ public class Iso42010ItemProviderAdapterFactory extends Iso42010AdapterFactory i
* This constructs an instance.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public Iso42010ItemProviderAdapterFactory() {
@@ -86,6 +91,7 @@ public class Iso42010ItemProviderAdapterFactory extends Iso42010AdapterFactory i
* This keeps track of the one adapter used for all {@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureDescription} instances.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected ArchitectureDescriptionItemProvider architectureDescriptionItemProvider;
@@ -94,6 +100,7 @@ public class Iso42010ItemProviderAdapterFactory extends Iso42010AdapterFactory i
* This creates an adapter for a {@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureDescription}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -109,6 +116,7 @@ public class Iso42010ItemProviderAdapterFactory extends Iso42010AdapterFactory i
* This keeps track of the one adapter used for all {@link org.eclipse.papyrus.infra.viewpoints.iso42010.Stakeholder} instances.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected StakeholderItemProvider stakeholderItemProvider;
@@ -117,6 +125,7 @@ public class Iso42010ItemProviderAdapterFactory extends Iso42010AdapterFactory i
* This creates an adapter for a {@link org.eclipse.papyrus.infra.viewpoints.iso42010.Stakeholder}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -132,6 +141,7 @@ public class Iso42010ItemProviderAdapterFactory extends Iso42010AdapterFactory i
* This keeps track of the one adapter used for all {@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureViewpoint} instances.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected ArchitectureViewpointItemProvider architectureViewpointItemProvider;
@@ -140,6 +150,7 @@ public class Iso42010ItemProviderAdapterFactory extends Iso42010AdapterFactory i
* This creates an adapter for a {@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureViewpoint}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -155,6 +166,7 @@ public class Iso42010ItemProviderAdapterFactory extends Iso42010AdapterFactory i
* This keeps track of the one adapter used for all {@link org.eclipse.papyrus.infra.viewpoints.iso42010.ModelKind} instances.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected ModelKindItemProvider modelKindItemProvider;
@@ -163,6 +175,7 @@ public class Iso42010ItemProviderAdapterFactory extends Iso42010AdapterFactory i
* This creates an adapter for a {@link org.eclipse.papyrus.infra.viewpoints.iso42010.ModelKind}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -178,6 +191,7 @@ public class Iso42010ItemProviderAdapterFactory extends Iso42010AdapterFactory i
* This keeps track of the one adapter used for all {@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureModel} instances.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected ArchitectureModelItemProvider architectureModelItemProvider;
@@ -186,6 +200,7 @@ public class Iso42010ItemProviderAdapterFactory extends Iso42010AdapterFactory i
* This creates an adapter for a {@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureModel}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -201,6 +216,7 @@ public class Iso42010ItemProviderAdapterFactory extends Iso42010AdapterFactory i
* This keeps track of the one adapter used for all {@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureView} instances.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected ArchitectureViewItemProvider architectureViewItemProvider;
@@ -209,6 +225,7 @@ public class Iso42010ItemProviderAdapterFactory extends Iso42010AdapterFactory i
* This creates an adapter for a {@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureView}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -224,6 +241,7 @@ public class Iso42010ItemProviderAdapterFactory extends Iso42010AdapterFactory i
* This keeps track of the one adapter used for all {@link org.eclipse.papyrus.infra.viewpoints.iso42010.Concern} instances.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected ConcernItemProvider concernItemProvider;
@@ -232,6 +250,7 @@ public class Iso42010ItemProviderAdapterFactory extends Iso42010AdapterFactory i
* This creates an adapter for a {@link org.eclipse.papyrus.infra.viewpoints.iso42010.Concern}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -247,6 +266,7 @@ public class Iso42010ItemProviderAdapterFactory extends Iso42010AdapterFactory i
* This keeps track of the one adapter used for all {@link org.eclipse.papyrus.infra.viewpoints.iso42010.System} instances.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected SystemItemProvider systemItemProvider;
@@ -255,6 +275,7 @@ public class Iso42010ItemProviderAdapterFactory extends Iso42010AdapterFactory i
* This creates an adapter for a {@link org.eclipse.papyrus.infra.viewpoints.iso42010.System}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -270,6 +291,7 @@ public class Iso42010ItemProviderAdapterFactory extends Iso42010AdapterFactory i
* This keeps track of the one adapter used for all {@link org.eclipse.papyrus.infra.viewpoints.iso42010.Architecture} instances.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected ArchitectureItemProvider architectureItemProvider;
@@ -278,6 +300,7 @@ public class Iso42010ItemProviderAdapterFactory extends Iso42010AdapterFactory i
* This creates an adapter for a {@link org.eclipse.papyrus.infra.viewpoints.iso42010.Architecture}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -293,6 +316,7 @@ public class Iso42010ItemProviderAdapterFactory extends Iso42010AdapterFactory i
* This keeps track of the one adapter used for all {@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureRationale} instances.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected ArchitectureRationaleItemProvider architectureRationaleItemProvider;
@@ -301,6 +325,7 @@ public class Iso42010ItemProviderAdapterFactory extends Iso42010AdapterFactory i
* This creates an adapter for a {@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureRationale}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -316,6 +341,7 @@ public class Iso42010ItemProviderAdapterFactory extends Iso42010AdapterFactory i
* This keeps track of the one adapter used for all {@link org.eclipse.papyrus.infra.viewpoints.iso42010.Correspondence} instances.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected CorrespondenceItemProvider correspondenceItemProvider;
@@ -324,6 +350,7 @@ public class Iso42010ItemProviderAdapterFactory extends Iso42010AdapterFactory i
* This creates an adapter for a {@link org.eclipse.papyrus.infra.viewpoints.iso42010.Correspondence}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -339,6 +366,7 @@ public class Iso42010ItemProviderAdapterFactory extends Iso42010AdapterFactory i
* This keeps track of the one adapter used for all {@link org.eclipse.papyrus.infra.viewpoints.iso42010.CorrespondenceRule} instances.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected CorrespondenceRuleItemProvider correspondenceRuleItemProvider;
@@ -347,6 +375,7 @@ public class Iso42010ItemProviderAdapterFactory extends Iso42010AdapterFactory i
* This creates an adapter for a {@link org.eclipse.papyrus.infra.viewpoints.iso42010.CorrespondenceRule}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -362,6 +391,7 @@ public class Iso42010ItemProviderAdapterFactory extends Iso42010AdapterFactory i
* This keeps track of the one adapter used for all {@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureDecision} instances.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected ArchitectureDecisionItemProvider architectureDecisionItemProvider;
@@ -370,6 +400,7 @@ public class Iso42010ItemProviderAdapterFactory extends Iso42010AdapterFactory i
* This creates an adapter for a {@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureDecision}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -385,6 +416,7 @@ public class Iso42010ItemProviderAdapterFactory extends Iso42010AdapterFactory i
* This keeps track of the one adapter used for all {@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureFramework} instances.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected ArchitectureFrameworkItemProvider architectureFrameworkItemProvider;
@@ -393,6 +425,7 @@ public class Iso42010ItemProviderAdapterFactory extends Iso42010AdapterFactory i
* This creates an adapter for a {@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureFramework}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -408,6 +441,7 @@ public class Iso42010ItemProviderAdapterFactory extends Iso42010AdapterFactory i
* This returns the root adapter factory that contains this factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public ComposeableAdapterFactory getRootAdapterFactory() {
@@ -418,6 +452,7 @@ public class Iso42010ItemProviderAdapterFactory extends Iso42010AdapterFactory i
* This sets the composed adapter factory that contains this factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public void setParentAdapterFactory(ComposedAdapterFactory parentAdapterFactory) {
@@ -427,6 +462,7 @@ public class Iso42010ItemProviderAdapterFactory extends Iso42010AdapterFactory i
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -438,6 +474,7 @@ public class Iso42010ItemProviderAdapterFactory extends Iso42010AdapterFactory i
* This implementation substitutes the factory itself as the key for the adapter.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -448,13 +485,14 @@ public class Iso42010ItemProviderAdapterFactory extends Iso42010AdapterFactory i
/**
* <!-- 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;
}
}
@@ -466,6 +504,7 @@ public class Iso42010ItemProviderAdapterFactory extends Iso42010AdapterFactory i
* This adds a listener.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public void addListener(INotifyChangedListener notifyChangedListener) {
@@ -476,6 +515,7 @@ public class Iso42010ItemProviderAdapterFactory extends Iso42010AdapterFactory i
* This removes a listener.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public void removeListener(INotifyChangedListener notifyChangedListener) {
@@ -486,6 +526,7 @@ public class Iso42010ItemProviderAdapterFactory extends Iso42010AdapterFactory i
* This delegates to {@link #changeNotifier} and to {@link #parentAdapterFactory}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public void fireNotifyChanged(Notification notification) {
@@ -497,26 +538,55 @@ public class Iso42010ItemProviderAdapterFactory extends Iso42010AdapterFactory i
}
/**
- * 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
*/
public void dispose() {
- if (architectureDescriptionItemProvider != null) architectureDescriptionItemProvider.dispose();
- if (stakeholderItemProvider != null) stakeholderItemProvider.dispose();
- if (architectureViewpointItemProvider != null) architectureViewpointItemProvider.dispose();
- if (modelKindItemProvider != null) modelKindItemProvider.dispose();
- if (architectureModelItemProvider != null) architectureModelItemProvider.dispose();
- if (architectureViewItemProvider != null) architectureViewItemProvider.dispose();
- if (concernItemProvider != null) concernItemProvider.dispose();
- if (systemItemProvider != null) systemItemProvider.dispose();
- if (architectureItemProvider != null) architectureItemProvider.dispose();
- if (architectureRationaleItemProvider != null) architectureRationaleItemProvider.dispose();
- if (correspondenceItemProvider != null) correspondenceItemProvider.dispose();
- if (correspondenceRuleItemProvider != null) correspondenceRuleItemProvider.dispose();
- if (architectureDecisionItemProvider != null) architectureDecisionItemProvider.dispose();
- if (architectureFrameworkItemProvider != null) architectureFrameworkItemProvider.dispose();
+ if (architectureDescriptionItemProvider != null) {
+ architectureDescriptionItemProvider.dispose();
+ }
+ if (stakeholderItemProvider != null) {
+ stakeholderItemProvider.dispose();
+ }
+ if (architectureViewpointItemProvider != null) {
+ architectureViewpointItemProvider.dispose();
+ }
+ if (modelKindItemProvider != null) {
+ modelKindItemProvider.dispose();
+ }
+ if (architectureModelItemProvider != null) {
+ architectureModelItemProvider.dispose();
+ }
+ if (architectureViewItemProvider != null) {
+ architectureViewItemProvider.dispose();
+ }
+ if (concernItemProvider != null) {
+ concernItemProvider.dispose();
+ }
+ if (systemItemProvider != null) {
+ systemItemProvider.dispose();
+ }
+ if (architectureItemProvider != null) {
+ architectureItemProvider.dispose();
+ }
+ if (architectureRationaleItemProvider != null) {
+ architectureRationaleItemProvider.dispose();
+ }
+ if (correspondenceItemProvider != null) {
+ correspondenceItemProvider.dispose();
+ }
+ if (correspondenceRuleItemProvider != null) {
+ correspondenceRuleItemProvider.dispose();
+ }
+ if (architectureDecisionItemProvider != null) {
+ architectureDecisionItemProvider.dispose();
+ }
+ if (architectureFrameworkItemProvider != null) {
+ architectureFrameworkItemProvider.dispose();
+ }
}
}
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010.edit/src/org/eclipse/papyrus/infra/viewpoints/iso42010/provider/ModelKindItemProvider.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010.edit/src/org/eclipse/papyrus/infra/viewpoints/iso42010/provider/ModelKindItemProvider.java
index 7941e7b4e35..7826d1c23c3 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010.edit/src/org/eclipse/papyrus/infra/viewpoints/iso42010/provider/ModelKindItemProvider.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010.edit/src/org/eclipse/papyrus/infra/viewpoints/iso42010/provider/ModelKindItemProvider.java
@@ -1,15 +1,15 @@
/**
* 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
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- *
- *
+ *
+ *
*/
package org.eclipse.papyrus.infra.viewpoints.iso42010.provider;
@@ -35,11 +35,12 @@ import org.eclipse.papyrus.infra.viewpoints.iso42010.ModelKind;
* This is the item provider adapter for a {@link org.eclipse.papyrus.infra.viewpoints.iso42010.ModelKind} object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public class ModelKindItemProvider
- extends ADElementItemProvider
- implements
+ extends ADElementItemProvider
+ implements
IEditingDomainItemProvider,
IStructuredItemContentProvider,
ITreeItemContentProvider,
@@ -49,6 +50,7 @@ public class ModelKindItemProvider
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public ModelKindItemProvider(AdapterFactory adapterFactory) {
@@ -59,6 +61,7 @@ public class ModelKindItemProvider
* This returns the property descriptors for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -75,28 +78,30 @@ public class ModelKindItemProvider
* This adds a property descriptor for the Governs feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected void addGovernsPropertyDescriptor(Object object) {
itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_ModelKind_governs_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_ModelKind_governs_feature", "_UI_ModelKind_type"),
- Iso42010Package.Literals.MODEL_KIND__GOVERNS,
- true,
- false,
- true,
- null,
- null,
- null));
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_ModelKind_governs_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_ModelKind_governs_feature", "_UI_ModelKind_type"),
+ Iso42010Package.Literals.MODEL_KIND__GOVERNS,
+ true,
+ false,
+ true,
+ null,
+ null,
+ null));
}
/**
* This returns ModelKind.gif.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -108,14 +113,15 @@ public class ModelKindItemProvider
* This returns the label text for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public String getText(Object object) {
- String label = ((ModelKind)object).getName();
+ String label = ((ModelKind) object).getName();
return label == null || label.length() == 0 ?
- getString("_UI_ModelKind_type") :
- getString("_UI_ModelKind_type") + " " + label;
+ getString("_UI_ModelKind_type") :
+ getString("_UI_ModelKind_type") + " " + label;
}
/**
@@ -123,6 +129,7 @@ public class ModelKindItemProvider
* children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -136,6 +143,7 @@ public class ModelKindItemProvider
* that can be created under this object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010.edit/src/org/eclipse/papyrus/infra/viewpoints/iso42010/provider/StakeholderItemProvider.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010.edit/src/org/eclipse/papyrus/infra/viewpoints/iso42010/provider/StakeholderItemProvider.java
index fb65a27f40e..792f5cedb24 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010.edit/src/org/eclipse/papyrus/infra/viewpoints/iso42010/provider/StakeholderItemProvider.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010.edit/src/org/eclipse/papyrus/infra/viewpoints/iso42010/provider/StakeholderItemProvider.java
@@ -1,15 +1,15 @@
/**
* 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
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- *
- *
+ *
+ *
*/
package org.eclipse.papyrus.infra.viewpoints.iso42010.provider;
@@ -33,11 +33,12 @@ import org.eclipse.papyrus.infra.viewpoints.iso42010.Stakeholder;
* This is the item provider adapter for a {@link org.eclipse.papyrus.infra.viewpoints.iso42010.Stakeholder} object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public class StakeholderItemProvider
- extends ADElementItemProvider
- implements
+ extends ADElementItemProvider
+ implements
IEditingDomainItemProvider,
IStructuredItemContentProvider,
ITreeItemContentProvider,
@@ -47,6 +48,7 @@ public class StakeholderItemProvider
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public StakeholderItemProvider(AdapterFactory adapterFactory) {
@@ -57,6 +59,7 @@ public class StakeholderItemProvider
* This returns the property descriptors for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -75,72 +78,76 @@ public class StakeholderItemProvider
* This adds a property descriptor for the Concerns feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected void addConcernsPropertyDescriptor(Object object) {
itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_Stakeholder_concerns_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_Stakeholder_concerns_feature", "_UI_Stakeholder_type"),
- Iso42010Package.Literals.STAKEHOLDER__CONCERNS,
- true,
- false,
- true,
- null,
- null,
- null));
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_Stakeholder_concerns_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_Stakeholder_concerns_feature", "_UI_Stakeholder_type"),
+ Iso42010Package.Literals.STAKEHOLDER__CONCERNS,
+ true,
+ false,
+ true,
+ null,
+ null,
+ null));
}
/**
* This adds a property descriptor for the Viewpoints feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected void addViewpointsPropertyDescriptor(Object object) {
itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_Stakeholder_viewpoints_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_Stakeholder_viewpoints_feature", "_UI_Stakeholder_type"),
- Iso42010Package.Literals.STAKEHOLDER__VIEWPOINTS,
- true,
- false,
- true,
- null,
- null,
- null));
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_Stakeholder_viewpoints_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_Stakeholder_viewpoints_feature", "_UI_Stakeholder_type"),
+ Iso42010Package.Literals.STAKEHOLDER__VIEWPOINTS,
+ true,
+ false,
+ true,
+ null,
+ null,
+ null));
}
/**
* This adds a property descriptor for the Has Interest In feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected void addHasInterestInPropertyDescriptor(Object object) {
itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_Stakeholder_hasInterestIn_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_Stakeholder_hasInterestIn_feature", "_UI_Stakeholder_type"),
- Iso42010Package.Literals.STAKEHOLDER__HAS_INTEREST_IN,
- true,
- false,
- true,
- null,
- null,
- null));
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_Stakeholder_hasInterestIn_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_Stakeholder_hasInterestIn_feature", "_UI_Stakeholder_type"),
+ Iso42010Package.Literals.STAKEHOLDER__HAS_INTEREST_IN,
+ true,
+ false,
+ true,
+ null,
+ null,
+ null));
}
/**
* This returns Stakeholder.gif.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -155,7 +162,7 @@ public class StakeholderItemProvider
*/
@Override
public String getText(Object object) {
- String label = ((Stakeholder)object).getName();
+ String label = ((Stakeholder) object).getName();
return label == null || label.length() == 0 ? getString("_UI_Stakeholder_type") : label;
}
@@ -164,6 +171,7 @@ public class StakeholderItemProvider
* children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -177,6 +185,7 @@ public class StakeholderItemProvider
* that can be created under this object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010.edit/src/org/eclipse/papyrus/infra/viewpoints/iso42010/provider/SystemItemProvider.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010.edit/src/org/eclipse/papyrus/infra/viewpoints/iso42010/provider/SystemItemProvider.java
index d708360c2df..a1145c74822 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010.edit/src/org/eclipse/papyrus/infra/viewpoints/iso42010/provider/SystemItemProvider.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010.edit/src/org/eclipse/papyrus/infra/viewpoints/iso42010/provider/SystemItemProvider.java
@@ -1,15 +1,15 @@
/**
* 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
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- *
- *
+ *
+ *
*/
package org.eclipse.papyrus.infra.viewpoints.iso42010.provider;
@@ -39,11 +39,12 @@ import org.eclipse.papyrus.infra.viewpoints.iso42010.Iso42010Package;
* This is the item provider adapter for a {@link org.eclipse.papyrus.infra.viewpoints.iso42010.System} object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public class SystemItemProvider
- extends ItemProviderAdapter
- implements
+ extends ItemProviderAdapter
+ implements
IEditingDomainItemProvider,
IStructuredItemContentProvider,
ITreeItemContentProvider,
@@ -53,6 +54,7 @@ public class SystemItemProvider
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public SystemItemProvider(AdapterFactory adapterFactory) {
@@ -63,6 +65,7 @@ public class SystemItemProvider
* This returns the property descriptors for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -81,72 +84,76 @@ public class SystemItemProvider
* 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_System_name_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_System_name_feature", "_UI_System_type"),
- Iso42010Package.Literals.SYSTEM__NAME,
- true,
- false,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null));
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_System_name_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_System_name_feature", "_UI_System_type"),
+ Iso42010Package.Literals.SYSTEM__NAME,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
}
/**
* This adds a property descriptor for the Stakeholders feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected void addStakeholdersPropertyDescriptor(Object object) {
itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_System_stakeholders_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_System_stakeholders_feature", "_UI_System_type"),
- Iso42010Package.Literals.SYSTEM__STAKEHOLDERS,
- true,
- false,
- true,
- null,
- null,
- null));
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_System_stakeholders_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_System_stakeholders_feature", "_UI_System_type"),
+ Iso42010Package.Literals.SYSTEM__STAKEHOLDERS,
+ true,
+ false,
+ true,
+ null,
+ null,
+ null));
}
/**
* This adds a property descriptor for the Exhibits feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected void addExhibitsPropertyDescriptor(Object object) {
itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_System_exhibits_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_System_exhibits_feature", "_UI_System_type"),
- Iso42010Package.Literals.SYSTEM__EXHIBITS,
- true,
- false,
- true,
- null,
- null,
- null));
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_System_exhibits_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_System_exhibits_feature", "_UI_System_type"),
+ Iso42010Package.Literals.SYSTEM__EXHIBITS,
+ true,
+ false,
+ true,
+ null,
+ null,
+ null));
}
/**
* This returns System.gif.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -158,14 +165,15 @@ public class SystemItemProvider
* This returns the label text for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public String getText(Object object) {
- String label = ((org.eclipse.papyrus.infra.viewpoints.iso42010.System)object).getName();
+ String label = ((org.eclipse.papyrus.infra.viewpoints.iso42010.System) object).getName();
return label == null || label.length() == 0 ?
- getString("_UI_System_type") :
- getString("_UI_System_type") + " " + label;
+ getString("_UI_System_type") :
+ getString("_UI_System_type") + " " + label;
}
/**
@@ -173,6 +181,7 @@ public class SystemItemProvider
* children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -180,9 +189,9 @@ public class SystemItemProvider
updateChildren(notification);
switch (notification.getFeatureID(org.eclipse.papyrus.infra.viewpoints.iso42010.System.class)) {
- case Iso42010Package.SYSTEM__NAME:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
- return;
+ case Iso42010Package.SYSTEM__NAME:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+ return;
}
super.notifyChanged(notification);
}
@@ -192,6 +201,7 @@ public class SystemItemProvider
* that can be created under this object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -203,6 +213,7 @@ public class SystemItemProvider
* Return the resource locator for this item provider's resources.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/ADElement.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/ADElement.java
index 2aa09b8ebe2..bbd748c472a 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/ADElement.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/ADElement.java
@@ -1,15 +1,15 @@
/**
* 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
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- *
- *
+ *
+ *
*/
package org.eclipse.papyrus.infra.viewpoints.iso42010;
@@ -25,8 +25,8 @@ import org.eclipse.emf.ecore.EObject;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ADElement#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ADElement#getAffectedBy <em>Affected By</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ADElement#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ADElement#getAffectedBy <em>Affected By</em>}</li>
* </ul>
* </p>
*
@@ -39,10 +39,10 @@ public interface ADElement extends EObject {
* 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.infra.viewpoints.iso42010.Iso42010Package#getADElement_Name()
@@ -55,7 +55,9 @@ public interface ADElement extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ADElement#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 ADElement extends EObject {
* It is bidirectional and its opposite is '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureDecision#getAffects <em>Affects</em>}'.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Affected By</em>' reference list isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Affected By</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>Affected By</em>' reference list.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.Iso42010Package#getADElement_AffectedBy()
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureDecision#getAffects
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/Activator.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/Activator.java
index 30776510ccd..421f523e544 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/Activator.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/Activator.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
@@ -26,6 +26,7 @@ public class Activator implements BundleActivator {
/*
* (non-Javadoc)
+ *
* @see org.osgi.framework.BundleActivator#start(org.osgi.framework.BundleContext)
*/
public void start(BundleContext bundleContext) throws Exception {
@@ -34,6 +35,7 @@ public class Activator implements BundleActivator {
/*
* (non-Javadoc)
+ *
* @see org.osgi.framework.BundleActivator#stop(org.osgi.framework.BundleContext)
*/
public void stop(BundleContext bundleContext) throws Exception {
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/Architecture.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/Architecture.java
index d5bd04e12e6..026a407ecd0 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/Architecture.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/Architecture.java
@@ -1,15 +1,15 @@
/**
* 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
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- *
- *
+ *
+ *
*/
package org.eclipse.papyrus.infra.viewpoints.iso42010;
@@ -23,7 +23,7 @@ import org.eclipse.emf.ecore.EObject;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.Architecture#getExhibitedIn <em>Exhibited In</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.Architecture#getExhibitedIn <em>Exhibited In</em>}</li>
* </ul>
* </p>
*
@@ -37,10 +37,10 @@ public interface Architecture extends EObject {
* It is bidirectional and its opposite is '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.System#getExhibits <em>Exhibits</em>}'.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Exhibited In</em>' reference isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Exhibited In</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Exhibited In</em>' reference.
* @see #setExhibitedIn(org.eclipse.papyrus.infra.viewpoints.iso42010.System)
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.Iso42010Package#getArchitecture_ExhibitedIn()
@@ -54,7 +54,9 @@ public interface Architecture extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.Architecture#getExhibitedIn <em>Exhibited In</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Exhibited In</em>' reference.
+ *
+ * @param value
+ * the new value of the '<em>Exhibited In</em>' reference.
* @see #getExhibitedIn()
* @generated
*/
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/ArchitectureDecision.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/ArchitectureDecision.java
index b5522541282..2b344585902 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/ArchitectureDecision.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/ArchitectureDecision.java
@@ -1,15 +1,15 @@
/**
* 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
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- *
- *
+ *
+ *
*/
package org.eclipse.papyrus.infra.viewpoints.iso42010;
@@ -23,12 +23,12 @@ import org.eclipse.emf.common.util.EList;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureDecision#getJustifiedBy <em>Justified By</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureDecision#getDependsUpon <em>Depends Upon</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureDecision#getDependents <em>Dependents</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureDecision#getRaises <em>Raises</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureDecision#getPertainsTo <em>Pertains To</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureDecision#getAffects <em>Affects</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureDecision#getJustifiedBy <em>Justified By</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureDecision#getDependsUpon <em>Depends Upon</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureDecision#getDependents <em>Dependents</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureDecision#getRaises <em>Raises</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureDecision#getPertainsTo <em>Pertains To</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureDecision#getAffects <em>Affects</em>}</li>
* </ul>
* </p>
*
@@ -43,10 +43,10 @@ public interface ArchitectureDecision extends ADElement {
* It is bidirectional and its opposite is '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureRationale#getJustifies <em>Justifies</em>}'.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Justified By</em>' reference list isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Justified By</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>Justified By</em>' reference list.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.Iso42010Package#getArchitectureDecision_JustifiedBy()
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureRationale#getJustifies
@@ -61,10 +61,10 @@ public interface ArchitectureDecision extends ADElement {
* It is bidirectional and its opposite is '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureDecision#getDependents <em>Dependents</em>}'.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Depends Upon</em>' reference list isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Depends Upon</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>Depends Upon</em>' reference list.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.Iso42010Package#getArchitectureDecision_DependsUpon()
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureDecision#getDependents
@@ -79,10 +79,10 @@ public interface ArchitectureDecision extends ADElement {
* It is bidirectional and its opposite is '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureDecision#getDependsUpon <em>Depends Upon</em>}'.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Dependents</em>' reference list isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Dependents</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>Dependents</em>' reference list.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.Iso42010Package#getArchitectureDecision_Dependents()
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureDecision#getDependsUpon
@@ -97,10 +97,10 @@ public interface ArchitectureDecision extends ADElement {
* It is bidirectional and its opposite is '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.Concern#getRaisedBy <em>Raised By</em>}'.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Raises</em>' reference list isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Raises</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>Raises</em>' reference list.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.Iso42010Package#getArchitectureDecision_Raises()
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.Concern#getRaisedBy
@@ -115,10 +115,10 @@ public interface ArchitectureDecision extends ADElement {
* It is bidirectional and its opposite is '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.Concern#getDecisions <em>Decisions</em>}'.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Pertains To</em>' reference list isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Pertains To</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>Pertains To</em>' reference list.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.Iso42010Package#getArchitectureDecision_PertainsTo()
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.Concern#getDecisions
@@ -133,10 +133,10 @@ public interface ArchitectureDecision extends ADElement {
* It is bidirectional and its opposite is '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ADElement#getAffectedBy <em>Affected By</em>}'.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Affects</em>' reference list isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Affects</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>Affects</em>' reference list.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.Iso42010Package#getArchitectureDecision_Affects()
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.ADElement#getAffectedBy
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/ArchitectureDescription.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/ArchitectureDescription.java
index bae2547375f..685f53ba3dc 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/ArchitectureDescription.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/ArchitectureDescription.java
@@ -1,15 +1,15 @@
/**
* 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
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- *
- *
+ *
+ *
*/
package org.eclipse.papyrus.infra.viewpoints.iso42010;
@@ -25,16 +25,16 @@ import org.eclipse.emf.ecore.EObject;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureDescription#getStakeholders <em>Stakeholders</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureDescription#getConcerns <em>Concerns</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureDescription#getViewpoints <em>Viewpoints</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureDescription#getViews <em>Views</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureDescription#getSystem <em>System</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureDescription#getExpresses <em>Expresses</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureDescription#getRationales <em>Rationales</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureDescription#getCorrespondences <em>Correspondences</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureDescription#getRules <em>Rules</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureDescription#getDecisions <em>Decisions</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureDescription#getStakeholders <em>Stakeholders</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureDescription#getConcerns <em>Concerns</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureDescription#getViewpoints <em>Viewpoints</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureDescription#getViews <em>Views</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureDescription#getSystem <em>System</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureDescription#getExpresses <em>Expresses</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureDescription#getRationales <em>Rationales</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureDescription#getCorrespondences <em>Correspondences</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureDescription#getRules <em>Rules</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureDescription#getDecisions <em>Decisions</em>}</li>
* </ul>
* </p>
*
@@ -48,10 +48,10 @@ public interface ArchitectureDescription extends EObject {
* The list contents are of type {@link org.eclipse.papyrus.infra.viewpoints.iso42010.Stakeholder}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Stakeholders</em>' containment reference list isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Stakeholders</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>Stakeholders</em>' containment reference list.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.Iso42010Package#getArchitectureDescription_Stakeholders()
* @model containment="true" required="true"
@@ -64,10 +64,10 @@ public interface ArchitectureDescription extends EObject {
* The list contents are of type {@link org.eclipse.papyrus.infra.viewpoints.iso42010.Concern}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Concerns</em>' containment reference list isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Concerns</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>Concerns</em>' containment reference list.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.Iso42010Package#getArchitectureDescription_Concerns()
* @model containment="true" required="true"
@@ -80,10 +80,10 @@ public interface ArchitectureDescription extends EObject {
* The list contents are of type {@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureViewpoint}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Viewpoints</em>' containment reference list isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Viewpoints</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>Viewpoints</em>' containment reference list.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.Iso42010Package#getArchitectureDescription_Viewpoints()
* @model containment="true" required="true"
@@ -96,10 +96,10 @@ public interface ArchitectureDescription extends EObject {
* The list contents are of type {@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureView}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Views</em>' containment reference list isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Views</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>Views</em>' containment reference list.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.Iso42010Package#getArchitectureDescription_Views()
* @model containment="true" required="true"
@@ -111,10 +111,10 @@ public interface ArchitectureDescription extends EObject {
* Returns the value of the '<em><b>System</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>System</em>' containment reference isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>System</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>System</em>' containment reference.
* @see #setSystem(org.eclipse.papyrus.infra.viewpoints.iso42010.System)
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.Iso42010Package#getArchitectureDescription_System()
@@ -127,7 +127,9 @@ public interface ArchitectureDescription extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureDescription#getSystem <em>System</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>System</em>' containment reference.
+ *
+ * @param value
+ * the new value of the '<em>System</em>' containment reference.
* @see #getSystem()
* @generated
*/
@@ -137,10 +139,10 @@ public interface ArchitectureDescription extends EObject {
* Returns the value of the '<em><b>Expresses</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Expresses</em>' containment reference isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Expresses</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>Expresses</em>' containment reference.
* @see #setExpresses(Architecture)
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.Iso42010Package#getArchitectureDescription_Expresses()
@@ -153,7 +155,9 @@ public interface ArchitectureDescription extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureDescription#getExpresses <em>Expresses</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Expresses</em>' containment reference.
+ *
+ * @param value
+ * the new value of the '<em>Expresses</em>' containment reference.
* @see #getExpresses()
* @generated
*/
@@ -164,10 +168,10 @@ public interface ArchitectureDescription extends EObject {
* The list contents are of type {@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureRationale}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Rationales</em>' containment reference list isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Rationales</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>Rationales</em>' containment reference list.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.Iso42010Package#getArchitectureDescription_Rationales()
* @model containment="true" required="true"
@@ -180,10 +184,10 @@ public interface ArchitectureDescription extends EObject {
* The list contents are of type {@link org.eclipse.papyrus.infra.viewpoints.iso42010.Correspondence}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Correspondences</em>' containment reference list isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Correspondences</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>Correspondences</em>' containment reference list.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.Iso42010Package#getArchitectureDescription_Correspondences()
* @model containment="true"
@@ -196,10 +200,10 @@ public interface ArchitectureDescription extends EObject {
* The list contents are of type {@link org.eclipse.papyrus.infra.viewpoints.iso42010.CorrespondenceRule}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Rules</em>' containment reference list isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Rules</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>Rules</em>' containment reference list.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.Iso42010Package#getArchitectureDescription_Rules()
* @model containment="true"
@@ -212,10 +216,10 @@ public interface ArchitectureDescription extends EObject {
* The list contents are of type {@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureDecision}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Decisions</em>' containment reference list isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Decisions</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>Decisions</em>' containment reference list.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.Iso42010Package#getArchitectureDescription_Decisions()
* @model containment="true"
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/ArchitectureFramework.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/ArchitectureFramework.java
index 18493073e01..4f2b571fb93 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/ArchitectureFramework.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/ArchitectureFramework.java
@@ -1,15 +1,15 @@
/**
* 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
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- *
- *
+ *
+ *
*/
package org.eclipse.papyrus.infra.viewpoints.iso42010;
@@ -25,10 +25,10 @@ import org.eclipse.emf.ecore.EObject;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureFramework#getStakeholders <em>Stakeholders</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureFramework#getViewpoints <em>Viewpoints</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureFramework#getRules <em>Rules</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureFramework#getConcerns <em>Concerns</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureFramework#getStakeholders <em>Stakeholders</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureFramework#getViewpoints <em>Viewpoints</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureFramework#getRules <em>Rules</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureFramework#getConcerns <em>Concerns</em>}</li>
* </ul>
* </p>
*
@@ -42,10 +42,10 @@ public interface ArchitectureFramework extends EObject {
* The list contents are of type {@link org.eclipse.papyrus.infra.viewpoints.iso42010.Stakeholder}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Stakeholders</em>' containment reference list isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Stakeholders</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>Stakeholders</em>' containment reference list.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.Iso42010Package#getArchitectureFramework_Stakeholders()
* @model containment="true" required="true"
@@ -58,10 +58,10 @@ public interface ArchitectureFramework extends EObject {
* The list contents are of type {@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureViewpoint}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Viewpoints</em>' containment reference list isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Viewpoints</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>Viewpoints</em>' containment reference list.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.Iso42010Package#getArchitectureFramework_Viewpoints()
* @model containment="true" required="true"
@@ -74,10 +74,10 @@ public interface ArchitectureFramework extends EObject {
* The list contents are of type {@link org.eclipse.papyrus.infra.viewpoints.iso42010.CorrespondenceRule}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Rules</em>' containment reference list isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Rules</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>Rules</em>' containment reference list.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.Iso42010Package#getArchitectureFramework_Rules()
* @model containment="true"
@@ -90,10 +90,10 @@ public interface ArchitectureFramework extends EObject {
* The list contents are of type {@link org.eclipse.papyrus.infra.viewpoints.iso42010.Concern}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Concerns</em>' containment reference list isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Concerns</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>Concerns</em>' containment reference list.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.Iso42010Package#getArchitectureFramework_Concerns()
* @model containment="true" required="true"
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/ArchitectureModel.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/ArchitectureModel.java
index 177fca1dcb4..cf5f06c576b 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/ArchitectureModel.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/ArchitectureModel.java
@@ -1,15 +1,15 @@
/**
* 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
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- *
- *
+ *
+ *
*/
package org.eclipse.papyrus.infra.viewpoints.iso42010;
@@ -22,8 +22,8 @@ package org.eclipse.papyrus.infra.viewpoints.iso42010;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureModel#getGovernedBy <em>Governed By</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureModel#getView <em>View</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureModel#getGovernedBy <em>Governed By</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureModel#getView <em>View</em>}</li>
* </ul>
* </p>
*
@@ -37,10 +37,10 @@ public interface ArchitectureModel extends ADElement {
* It is bidirectional and its opposite is '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ModelKind#getGoverns <em>Governs</em>}'.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Governed By</em>' reference isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Governed By</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Governed By</em>' reference.
* @see #setGovernedBy(ModelKind)
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.Iso42010Package#getArchitectureModel_GovernedBy()
@@ -54,7 +54,9 @@ public interface ArchitectureModel extends ADElement {
* Sets the value of the '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureModel#getGovernedBy <em>Governed By</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Governed By</em>' reference.
+ *
+ * @param value
+ * the new value of the '<em>Governed By</em>' reference.
* @see #getGovernedBy()
* @generated
*/
@@ -65,10 +67,10 @@ public interface ArchitectureModel extends ADElement {
* It is bidirectional and its opposite is '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureView#getModels <em>Models</em>}'.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>View</em>' container reference isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>View</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>View</em>' container reference.
* @see #setView(ArchitectureView)
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.Iso42010Package#getArchitectureModel_View()
@@ -82,7 +84,9 @@ public interface ArchitectureModel extends ADElement {
* Sets the value of the '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureModel#getView <em>View</em>}' container reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>View</em>' container reference.
+ *
+ * @param value
+ * the new value of the '<em>View</em>' container reference.
* @see #getView()
* @generated
*/
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/ArchitectureRationale.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/ArchitectureRationale.java
index 051ccbfea51..fa26fe835cf 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/ArchitectureRationale.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/ArchitectureRationale.java
@@ -1,15 +1,15 @@
/**
* 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
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- *
- *
+ *
+ *
*/
package org.eclipse.papyrus.infra.viewpoints.iso42010;
@@ -23,7 +23,7 @@ import org.eclipse.emf.common.util.EList;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureRationale#getJustifies <em>Justifies</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureRationale#getJustifies <em>Justifies</em>}</li>
* </ul>
* </p>
*
@@ -38,10 +38,10 @@ public interface ArchitectureRationale extends ADElement {
* It is bidirectional and its opposite is '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureDecision#getJustifiedBy <em>Justified By</em>}'.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Justifies</em>' reference list isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Justifies</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>Justifies</em>' reference list.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.Iso42010Package#getArchitectureRationale_Justifies()
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureDecision#getJustifiedBy
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/ArchitectureView.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/ArchitectureView.java
index ce676c69bf5..ece8aa57abf 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/ArchitectureView.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/ArchitectureView.java
@@ -1,15 +1,15 @@
/**
* 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
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- *
- *
+ *
+ *
*/
package org.eclipse.papyrus.infra.viewpoints.iso42010;
@@ -23,9 +23,9 @@ import org.eclipse.emf.common.util.EList;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureView#getGovernedBy <em>Governed By</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureView#getModels <em>Models</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureView#getAddresses <em>Addresses</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureView#getGovernedBy <em>Governed By</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureView#getModels <em>Models</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureView#getAddresses <em>Addresses</em>}</li>
* </ul>
* </p>
*
@@ -39,10 +39,10 @@ public interface ArchitectureView extends ADElement {
* It is bidirectional and its opposite is '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureViewpoint#getGoverns <em>Governs</em>}'.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Governed By</em>' reference isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Governed By</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Governed By</em>' reference.
* @see #setGovernedBy(ArchitectureViewpoint)
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.Iso42010Package#getArchitectureView_GovernedBy()
@@ -56,7 +56,9 @@ public interface ArchitectureView extends ADElement {
* Sets the value of the '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureView#getGovernedBy <em>Governed By</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Governed By</em>' reference.
+ *
+ * @param value
+ * the new value of the '<em>Governed By</em>' reference.
* @see #getGovernedBy()
* @generated
*/
@@ -68,10 +70,10 @@ public interface ArchitectureView extends ADElement {
* It is bidirectional and its opposite is '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureModel#getView <em>View</em>}'.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Models</em>' containment reference list isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Models</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>Models</em>' containment reference list.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.Iso42010Package#getArchitectureView_Models()
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureModel#getView
@@ -86,10 +88,10 @@ public interface ArchitectureView extends ADElement {
* It is bidirectional and its opposite is '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.Concern#getAddressedBy <em>Addressed By</em>}'.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Addresses</em>' reference list isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Addresses</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>Addresses</em>' reference list.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.Iso42010Package#getArchitectureView_Addresses()
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.Concern#getAddressedBy
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/ArchitectureViewpoint.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/ArchitectureViewpoint.java
index 6f66a7d6af0..905618ef120 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/ArchitectureViewpoint.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/ArchitectureViewpoint.java
@@ -1,15 +1,15 @@
/**
* 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
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- *
- *
+ *
+ *
*/
package org.eclipse.papyrus.infra.viewpoints.iso42010;
@@ -23,9 +23,9 @@ import org.eclipse.emf.common.util.EList;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureViewpoint#getModelKinds <em>Model Kinds</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureViewpoint#getGoverns <em>Governs</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureViewpoint#getFrames <em>Frames</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureViewpoint#getModelKinds <em>Model Kinds</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureViewpoint#getGoverns <em>Governs</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureViewpoint#getFrames <em>Frames</em>}</li>
* </ul>
* </p>
*
@@ -40,10 +40,10 @@ public interface ArchitectureViewpoint extends ADElement {
* It is bidirectional and its opposite is '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ModelKind#getViewpoint <em>Viewpoint</em>}'.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Model Kinds</em>' containment reference list isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Model Kinds</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>Model Kinds</em>' containment reference list.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.Iso42010Package#getArchitectureViewpoint_ModelKinds()
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.ModelKind#getViewpoint
@@ -57,10 +57,10 @@ public interface ArchitectureViewpoint extends ADElement {
* It is bidirectional and its opposite is '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureView#getGovernedBy <em>Governed By</em>}'.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Governs</em>' reference isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Governs</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Governs</em>' reference.
* @see #setGoverns(ArchitectureView)
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.Iso42010Package#getArchitectureViewpoint_Governs()
@@ -74,7 +74,9 @@ public interface ArchitectureViewpoint extends ADElement {
* Sets the value of the '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureViewpoint#getGoverns <em>Governs</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Governs</em>' reference.
+ *
+ * @param value
+ * the new value of the '<em>Governs</em>' reference.
* @see #getGoverns()
* @generated
*/
@@ -86,10 +88,10 @@ public interface ArchitectureViewpoint extends ADElement {
* It is bidirectional and its opposite is '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.Concern#getFramedBy <em>Framed By</em>}'.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Frames</em>' reference list isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Frames</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>Frames</em>' reference list.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.Iso42010Package#getArchitectureViewpoint_Frames()
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.Concern#getFramedBy
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/Concern.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/Concern.java
index a06d56d343f..285faa5dc40 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/Concern.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/Concern.java
@@ -1,15 +1,15 @@
/**
* 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
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- *
- *
+ *
+ *
*/
package org.eclipse.papyrus.infra.viewpoints.iso42010;
@@ -23,11 +23,11 @@ import org.eclipse.emf.common.util.EList;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.Concern#getFramedBy <em>Framed By</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.Concern#getAddressedBy <em>Addressed By</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.Concern#getStakeholders <em>Stakeholders</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.Concern#getRaisedBy <em>Raised By</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.Concern#getDecisions <em>Decisions</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.Concern#getFramedBy <em>Framed By</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.Concern#getAddressedBy <em>Addressed By</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.Concern#getStakeholders <em>Stakeholders</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.Concern#getRaisedBy <em>Raised By</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.Concern#getDecisions <em>Decisions</em>}</li>
* </ul>
* </p>
*
@@ -42,10 +42,10 @@ public interface Concern extends ADElement {
* It is bidirectional and its opposite is '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureViewpoint#getFrames <em>Frames</em>}'.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Framed By</em>' reference list isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Framed By</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>Framed By</em>' reference list.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.Iso42010Package#getConcern_FramedBy()
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureViewpoint#getFrames
@@ -60,10 +60,10 @@ public interface Concern extends ADElement {
* It is bidirectional and its opposite is '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureView#getAddresses <em>Addresses</em>}'.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Addressed By</em>' reference list isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Addressed By</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>Addressed By</em>' reference list.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.Iso42010Package#getConcern_AddressedBy()
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureView#getAddresses
@@ -78,10 +78,10 @@ public interface Concern extends ADElement {
* It is bidirectional and its opposite is '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.Stakeholder#getConcerns <em>Concerns</em>}'.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Stakeholders</em>' reference list isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Stakeholders</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>Stakeholders</em>' reference list.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.Iso42010Package#getConcern_Stakeholders()
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.Stakeholder#getConcerns
@@ -96,10 +96,10 @@ public interface Concern extends ADElement {
* It is bidirectional and its opposite is '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureDecision#getRaises <em>Raises</em>}'.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Raised By</em>' reference list isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Raised By</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>Raised By</em>' reference list.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.Iso42010Package#getConcern_RaisedBy()
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureDecision#getRaises
@@ -114,10 +114,10 @@ public interface Concern extends ADElement {
* It is bidirectional and its opposite is '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureDecision#getPertainsTo <em>Pertains To</em>}'.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Decisions</em>' reference list isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Decisions</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>Decisions</em>' reference list.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.Iso42010Package#getConcern_Decisions()
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureDecision#getPertainsTo
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/Correspondence.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/Correspondence.java
index a3944440af9..abcf52c26c0 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/Correspondence.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/Correspondence.java
@@ -1,15 +1,15 @@
/**
* 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
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- *
- *
+ *
+ *
*/
package org.eclipse.papyrus.infra.viewpoints.iso42010;
@@ -25,8 +25,8 @@ import org.eclipse.emf.ecore.EObject;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.Correspondence#getGovernedBy <em>Governed By</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.Correspondence#getRelates <em>Relates</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.Correspondence#getGovernedBy <em>Governed By</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.Correspondence#getRelates <em>Relates</em>}</li>
* </ul>
* </p>
*
@@ -41,10 +41,10 @@ public interface Correspondence extends EObject {
* It is bidirectional and its opposite is '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.CorrespondenceRule#getGoverns <em>Governs</em>}'.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Governed By</em>' reference list isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Governed By</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>Governed By</em>' reference list.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.Iso42010Package#getCorrespondence_GovernedBy()
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.CorrespondenceRule#getGoverns
@@ -58,10 +58,10 @@ public interface Correspondence extends EObject {
* The list contents are of type {@link org.eclipse.papyrus.infra.viewpoints.iso42010.ADElement}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Relates</em>' reference list isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Relates</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>Relates</em>' reference list.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.Iso42010Package#getCorrespondence_Relates()
* @model lower="2"
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/CorrespondenceRule.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/CorrespondenceRule.java
index 0c4827d5b85..fbc17cbb749 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/CorrespondenceRule.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/CorrespondenceRule.java
@@ -1,15 +1,15 @@
/**
* 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
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- *
- *
+ *
+ *
*/
package org.eclipse.papyrus.infra.viewpoints.iso42010;
@@ -25,7 +25,7 @@ import org.eclipse.emf.ecore.EObject;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.CorrespondenceRule#getGoverns <em>Governs</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.CorrespondenceRule#getGoverns <em>Governs</em>}</li>
* </ul>
* </p>
*
@@ -40,10 +40,10 @@ public interface CorrespondenceRule extends EObject {
* It is bidirectional and its opposite is '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.Correspondence#getGovernedBy <em>Governed By</em>}'.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Governs</em>' reference list isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Governs</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>Governs</em>' reference list.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.Iso42010Package#getCorrespondenceRule_Governs()
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.Correspondence#getGovernedBy
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/Iso42010Factory.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/Iso42010Factory.java
index 6dae5008f9e..410ae196c7b 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/Iso42010Factory.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/Iso42010Factory.java
@@ -1,15 +1,15 @@
/**
* 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
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- *
- *
+ *
+ *
*/
package org.eclipse.papyrus.infra.viewpoints.iso42010;
@@ -20,6 +20,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.infra.viewpoints.iso42010.Iso42010Package
* @generated
*/
@@ -28,6 +29,7 @@ public interface Iso42010Factory extends EFactory {
* The singleton instance of the factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
Iso42010Factory eINSTANCE = org.eclipse.papyrus.infra.viewpoints.iso42010.impl.Iso42010FactoryImpl.init();
@@ -36,6 +38,7 @@ public interface Iso42010Factory extends EFactory {
* Returns a new object of class '<em>Architecture Description</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Architecture Description</em>'.
* @generated
*/
@@ -45,6 +48,7 @@ public interface Iso42010Factory extends EFactory {
* Returns a new object of class '<em>Stakeholder</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Stakeholder</em>'.
* @generated
*/
@@ -54,6 +58,7 @@ public interface Iso42010Factory extends EFactory {
* Returns a new object of class '<em>Architecture Viewpoint</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Architecture Viewpoint</em>'.
* @generated
*/
@@ -63,6 +68,7 @@ public interface Iso42010Factory extends EFactory {
* Returns a new object of class '<em>Model Kind</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Model Kind</em>'.
* @generated
*/
@@ -72,6 +78,7 @@ public interface Iso42010Factory extends EFactory {
* Returns a new object of class '<em>Architecture Model</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Architecture Model</em>'.
* @generated
*/
@@ -81,6 +88,7 @@ public interface Iso42010Factory extends EFactory {
* Returns a new object of class '<em>Architecture View</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Architecture View</em>'.
* @generated
*/
@@ -90,6 +98,7 @@ public interface Iso42010Factory extends EFactory {
* Returns a new object of class '<em>Concern</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Concern</em>'.
* @generated
*/
@@ -99,6 +108,7 @@ public interface Iso42010Factory extends EFactory {
* Returns a new object of class '<em>System</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>System</em>'.
* @generated
*/
@@ -108,6 +118,7 @@ public interface Iso42010Factory extends EFactory {
* Returns a new object of class '<em>Architecture</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Architecture</em>'.
* @generated
*/
@@ -117,6 +128,7 @@ public interface Iso42010Factory extends EFactory {
* Returns a new object of class '<em>Architecture Rationale</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Architecture Rationale</em>'.
* @generated
*/
@@ -126,6 +138,7 @@ public interface Iso42010Factory extends EFactory {
* Returns a new object of class '<em>Correspondence</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Correspondence</em>'.
* @generated
*/
@@ -135,6 +148,7 @@ public interface Iso42010Factory extends EFactory {
* Returns a new object of class '<em>Correspondence Rule</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Correspondence Rule</em>'.
* @generated
*/
@@ -144,6 +158,7 @@ public interface Iso42010Factory extends EFactory {
* Returns a new object of class '<em>Architecture Decision</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Architecture Decision</em>'.
* @generated
*/
@@ -153,6 +168,7 @@ public interface Iso42010Factory extends EFactory {
* Returns a new object of class '<em>Architecture Framework</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Architecture Framework</em>'.
* @generated
*/
@@ -162,9 +178,10 @@ public interface Iso42010Factory extends EFactory {
* Returns the package supported by this factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the package supported by this factory.
* @generated
*/
Iso42010Package getIso42010Package();
-} //Iso42010Factory
+} // Iso42010Factory
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/Iso42010Package.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/Iso42010Package.java
index 9fe05247991..75b000dfcaa 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/Iso42010Package.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/Iso42010Package.java
@@ -1,15 +1,15 @@
/**
* 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
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- *
- *
+ *
+ *
*/
package org.eclipse.papyrus.infra.viewpoints.iso42010;
@@ -23,13 +23,14 @@ import org.eclipse.emf.ecore.EReference;
* 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 operation 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 operation of each class,</li>
+ * <li>each enum,</li>
+ * <li>and each data type</li>
* </ul>
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.Iso42010Factory
* @model kind="package"
* @generated
@@ -39,6 +40,7 @@ public interface Iso42010Package extends EPackage {
* The package name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
String eNAME = "iso42010";
@@ -47,6 +49,7 @@ public interface Iso42010Package extends EPackage {
* The package namespace URI.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
String eNS_URI = "http://www.eclipse.org/papyrus/infra/viewpoints/iso42010";
@@ -55,6 +58,7 @@ public interface Iso42010Package extends EPackage {
* The package namespace name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
String eNS_PREFIX = "iso42010";
@@ -63,6 +67,7 @@ public interface Iso42010Package extends EPackage {
* The singleton instance of the package.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
Iso42010Package eINSTANCE = org.eclipse.papyrus.infra.viewpoints.iso42010.impl.Iso42010PackageImpl.init();
@@ -71,6 +76,7 @@ public interface Iso42010Package extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ADElementImpl <em>AD Element</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ADElementImpl
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.impl.Iso42010PackageImpl#getADElement()
* @generated
@@ -81,6 +87,7 @@ public interface Iso42010Package extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -90,6 +97,7 @@ public interface Iso42010Package extends EPackage {
* The feature id for the '<em><b>Affected By</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -99,6 +107,7 @@ public interface Iso42010Package extends EPackage {
* The number of structural features of the '<em>AD Element</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -108,6 +117,7 @@ public interface Iso42010Package extends EPackage {
* The number of operations of the '<em>AD Element</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -117,6 +127,7 @@ public interface Iso42010Package extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureDescriptionImpl <em>Architecture Description</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureDescriptionImpl
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.impl.Iso42010PackageImpl#getArchitectureDescription()
* @generated
@@ -127,6 +138,7 @@ public interface Iso42010Package extends EPackage {
* The feature id for the '<em><b>Stakeholders</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -136,6 +148,7 @@ public interface Iso42010Package extends EPackage {
* The feature id for the '<em><b>Concerns</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -145,6 +158,7 @@ public interface Iso42010Package extends EPackage {
* The feature id for the '<em><b>Viewpoints</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -154,6 +168,7 @@ public interface Iso42010Package extends EPackage {
* The feature id for the '<em><b>Views</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -163,6 +178,7 @@ public interface Iso42010Package extends EPackage {
* The feature id for the '<em><b>System</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -172,6 +188,7 @@ public interface Iso42010Package extends EPackage {
* The feature id for the '<em><b>Expresses</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -181,6 +198,7 @@ public interface Iso42010Package extends EPackage {
* The feature id for the '<em><b>Rationales</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -190,6 +208,7 @@ public interface Iso42010Package extends EPackage {
* The feature id for the '<em><b>Correspondences</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -199,6 +218,7 @@ public interface Iso42010Package extends EPackage {
* The feature id for the '<em><b>Rules</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -208,6 +228,7 @@ public interface Iso42010Package extends EPackage {
* The feature id for the '<em><b>Decisions</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -217,6 +238,7 @@ public interface Iso42010Package extends EPackage {
* The number of structural features of the '<em>Architecture Description</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -226,6 +248,7 @@ public interface Iso42010Package extends EPackage {
* The number of operations of the '<em>Architecture Description</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -235,6 +258,7 @@ public interface Iso42010Package extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.StakeholderImpl <em>Stakeholder</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.impl.StakeholderImpl
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.impl.Iso42010PackageImpl#getStakeholder()
* @generated
@@ -245,6 +269,7 @@ public interface Iso42010Package extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -254,6 +279,7 @@ public interface Iso42010Package extends EPackage {
* The feature id for the '<em><b>Affected By</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -263,6 +289,7 @@ public interface Iso42010Package extends EPackage {
* The feature id for the '<em><b>Concerns</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -272,6 +299,7 @@ public interface Iso42010Package extends EPackage {
* The feature id for the '<em><b>Viewpoints</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -281,6 +309,7 @@ public interface Iso42010Package extends EPackage {
* The feature id for the '<em><b>Has Interest In</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -290,6 +319,7 @@ public interface Iso42010Package extends EPackage {
* The number of structural features of the '<em>Stakeholder</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -299,6 +329,7 @@ public interface Iso42010Package extends EPackage {
* The number of operations of the '<em>Stakeholder</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -308,6 +339,7 @@ public interface Iso42010Package extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureViewpointImpl <em>Architecture Viewpoint</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureViewpointImpl
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.impl.Iso42010PackageImpl#getArchitectureViewpoint()
* @generated
@@ -318,6 +350,7 @@ public interface Iso42010Package extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -327,6 +360,7 @@ public interface Iso42010Package extends EPackage {
* The feature id for the '<em><b>Affected By</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -336,6 +370,7 @@ public interface Iso42010Package extends EPackage {
* The feature id for the '<em><b>Model Kinds</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -345,6 +380,7 @@ public interface Iso42010Package extends EPackage {
* The feature id for the '<em><b>Governs</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -354,6 +390,7 @@ public interface Iso42010Package extends EPackage {
* The feature id for the '<em><b>Frames</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -363,6 +400,7 @@ public interface Iso42010Package extends EPackage {
* The number of structural features of the '<em>Architecture Viewpoint</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -372,6 +410,7 @@ public interface Iso42010Package extends EPackage {
* The number of operations of the '<em>Architecture Viewpoint</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -381,6 +420,7 @@ public interface Iso42010Package extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ModelKindImpl <em>Model Kind</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ModelKindImpl
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.impl.Iso42010PackageImpl#getModelKind()
* @generated
@@ -391,6 +431,7 @@ public interface Iso42010Package extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -400,6 +441,7 @@ public interface Iso42010Package extends EPackage {
* The feature id for the '<em><b>Affected By</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -409,6 +451,7 @@ public interface Iso42010Package extends EPackage {
* The feature id for the '<em><b>Governs</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -418,6 +461,7 @@ public interface Iso42010Package extends EPackage {
* The feature id for the '<em><b>Viewpoint</b></em>' container reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -427,6 +471,7 @@ public interface Iso42010Package extends EPackage {
* The number of structural features of the '<em>Model Kind</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -436,6 +481,7 @@ public interface Iso42010Package extends EPackage {
* The number of operations of the '<em>Model Kind</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -445,6 +491,7 @@ public interface Iso42010Package extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureModelImpl <em>Architecture Model</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureModelImpl
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.impl.Iso42010PackageImpl#getArchitectureModel()
* @generated
@@ -455,6 +502,7 @@ public interface Iso42010Package extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -464,6 +512,7 @@ public interface Iso42010Package extends EPackage {
* The feature id for the '<em><b>Affected By</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -473,6 +522,7 @@ public interface Iso42010Package extends EPackage {
* The feature id for the '<em><b>Governed By</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -482,6 +532,7 @@ public interface Iso42010Package extends EPackage {
* The feature id for the '<em><b>View</b></em>' container reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -491,6 +542,7 @@ public interface Iso42010Package extends EPackage {
* The number of structural features of the '<em>Architecture Model</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -500,6 +552,7 @@ public interface Iso42010Package extends EPackage {
* The number of operations of the '<em>Architecture Model</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -509,6 +562,7 @@ public interface Iso42010Package extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureViewImpl <em>Architecture View</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureViewImpl
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.impl.Iso42010PackageImpl#getArchitectureView()
* @generated
@@ -519,6 +573,7 @@ public interface Iso42010Package extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -528,6 +583,7 @@ public interface Iso42010Package extends EPackage {
* The feature id for the '<em><b>Affected By</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -537,6 +593,7 @@ public interface Iso42010Package extends EPackage {
* The feature id for the '<em><b>Governed By</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -546,6 +603,7 @@ public interface Iso42010Package extends EPackage {
* The feature id for the '<em><b>Models</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -555,6 +613,7 @@ public interface Iso42010Package extends EPackage {
* The feature id for the '<em><b>Addresses</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -564,6 +623,7 @@ public interface Iso42010Package extends EPackage {
* The number of structural features of the '<em>Architecture View</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -573,6 +633,7 @@ public interface Iso42010Package extends EPackage {
* The number of operations of the '<em>Architecture View</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -582,6 +643,7 @@ public interface Iso42010Package extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ConcernImpl <em>Concern</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ConcernImpl
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.impl.Iso42010PackageImpl#getConcern()
* @generated
@@ -592,6 +654,7 @@ public interface Iso42010Package extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -601,6 +664,7 @@ public interface Iso42010Package extends EPackage {
* The feature id for the '<em><b>Affected By</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -610,6 +674,7 @@ public interface Iso42010Package extends EPackage {
* The feature id for the '<em><b>Framed By</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -619,6 +684,7 @@ public interface Iso42010Package extends EPackage {
* The feature id for the '<em><b>Addressed By</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -628,6 +694,7 @@ public interface Iso42010Package extends EPackage {
* The feature id for the '<em><b>Stakeholders</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -637,6 +704,7 @@ public interface Iso42010Package extends EPackage {
* The feature id for the '<em><b>Raised By</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -646,6 +714,7 @@ public interface Iso42010Package extends EPackage {
* The feature id for the '<em><b>Decisions</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -655,6 +724,7 @@ public interface Iso42010Package extends EPackage {
* The number of structural features of the '<em>Concern</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -664,6 +734,7 @@ public interface Iso42010Package extends EPackage {
* The number of operations of the '<em>Concern</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -673,6 +744,7 @@ public interface Iso42010Package extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.SystemImpl <em>System</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.impl.SystemImpl
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.impl.Iso42010PackageImpl#getSystem()
* @generated
@@ -683,6 +755,7 @@ public interface Iso42010Package extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -692,6 +765,7 @@ public interface Iso42010Package extends EPackage {
* The feature id for the '<em><b>Stakeholders</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -701,6 +775,7 @@ public interface Iso42010Package extends EPackage {
* The feature id for the '<em><b>Exhibits</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -710,6 +785,7 @@ public interface Iso42010Package extends EPackage {
* The number of structural features of the '<em>System</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -719,6 +795,7 @@ public interface Iso42010Package extends EPackage {
* The number of operations of the '<em>System</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -728,6 +805,7 @@ public interface Iso42010Package extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureImpl <em>Architecture</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureImpl
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.impl.Iso42010PackageImpl#getArchitecture()
* @generated
@@ -738,6 +816,7 @@ public interface Iso42010Package extends EPackage {
* The feature id for the '<em><b>Exhibited In</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -747,6 +826,7 @@ public interface Iso42010Package extends EPackage {
* The number of structural features of the '<em>Architecture</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -756,6 +836,7 @@ public interface Iso42010Package extends EPackage {
* The number of operations of the '<em>Architecture</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -765,6 +846,7 @@ public interface Iso42010Package extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureRationaleImpl <em>Architecture Rationale</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureRationaleImpl
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.impl.Iso42010PackageImpl#getArchitectureRationale()
* @generated
@@ -775,6 +857,7 @@ public interface Iso42010Package extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -784,6 +867,7 @@ public interface Iso42010Package extends EPackage {
* The feature id for the '<em><b>Affected By</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -793,6 +877,7 @@ public interface Iso42010Package extends EPackage {
* The feature id for the '<em><b>Justifies</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -802,6 +887,7 @@ public interface Iso42010Package extends EPackage {
* The number of structural features of the '<em>Architecture Rationale</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -811,6 +897,7 @@ public interface Iso42010Package extends EPackage {
* The number of operations of the '<em>Architecture Rationale</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -820,6 +907,7 @@ public interface Iso42010Package extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.CorrespondenceImpl <em>Correspondence</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.impl.CorrespondenceImpl
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.impl.Iso42010PackageImpl#getCorrespondence()
* @generated
@@ -830,6 +918,7 @@ public interface Iso42010Package extends EPackage {
* The feature id for the '<em><b>Governed By</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -839,6 +928,7 @@ public interface Iso42010Package extends EPackage {
* The feature id for the '<em><b>Relates</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -848,6 +938,7 @@ public interface Iso42010Package extends EPackage {
* The number of structural features of the '<em>Correspondence</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -857,6 +948,7 @@ public interface Iso42010Package extends EPackage {
* The number of operations of the '<em>Correspondence</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -866,6 +958,7 @@ public interface Iso42010Package extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.CorrespondenceRuleImpl <em>Correspondence Rule</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.impl.CorrespondenceRuleImpl
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.impl.Iso42010PackageImpl#getCorrespondenceRule()
* @generated
@@ -876,6 +969,7 @@ public interface Iso42010Package extends EPackage {
* The feature id for the '<em><b>Governs</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -885,6 +979,7 @@ public interface Iso42010Package extends EPackage {
* The number of structural features of the '<em>Correspondence Rule</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -894,6 +989,7 @@ public interface Iso42010Package extends EPackage {
* The number of operations of the '<em>Correspondence Rule</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -903,6 +999,7 @@ public interface Iso42010Package extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureDecisionImpl <em>Architecture Decision</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureDecisionImpl
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.impl.Iso42010PackageImpl#getArchitectureDecision()
* @generated
@@ -913,6 +1010,7 @@ public interface Iso42010Package extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -922,6 +1020,7 @@ public interface Iso42010Package extends EPackage {
* The feature id for the '<em><b>Affected By</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -931,6 +1030,7 @@ public interface Iso42010Package extends EPackage {
* The feature id for the '<em><b>Justified By</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -940,6 +1040,7 @@ public interface Iso42010Package extends EPackage {
* The feature id for the '<em><b>Depends Upon</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -949,6 +1050,7 @@ public interface Iso42010Package extends EPackage {
* The feature id for the '<em><b>Dependents</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -958,6 +1060,7 @@ public interface Iso42010Package extends EPackage {
* The feature id for the '<em><b>Raises</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -967,6 +1070,7 @@ public interface Iso42010Package extends EPackage {
* The feature id for the '<em><b>Pertains To</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -976,6 +1080,7 @@ public interface Iso42010Package extends EPackage {
* The feature id for the '<em><b>Affects</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -985,6 +1090,7 @@ public interface Iso42010Package extends EPackage {
* The number of structural features of the '<em>Architecture Decision</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -994,6 +1100,7 @@ public interface Iso42010Package extends EPackage {
* The number of operations of the '<em>Architecture Decision</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1003,6 +1110,7 @@ public interface Iso42010Package extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureFrameworkImpl <em>Architecture Framework</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureFrameworkImpl
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.impl.Iso42010PackageImpl#getArchitectureFramework()
* @generated
@@ -1013,6 +1121,7 @@ public interface Iso42010Package extends EPackage {
* The feature id for the '<em><b>Stakeholders</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1022,6 +1131,7 @@ public interface Iso42010Package extends EPackage {
* The feature id for the '<em><b>Viewpoints</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1031,6 +1141,7 @@ public interface Iso42010Package extends EPackage {
* The feature id for the '<em><b>Rules</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1040,6 +1151,7 @@ public interface Iso42010Package extends EPackage {
* The feature id for the '<em><b>Concerns</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1049,6 +1161,7 @@ public interface Iso42010Package extends EPackage {
* The number of structural features of the '<em>Architecture Framework</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1058,6 +1171,7 @@ public interface Iso42010Package extends EPackage {
* The number of operations of the '<em>Architecture Framework</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -1068,6 +1182,7 @@ public interface Iso42010Package extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ADElement <em>AD Element</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>AD Element</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.ADElement
* @generated
@@ -1078,6 +1193,7 @@ public interface Iso42010Package extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ADElement#getName <em>Name</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the attribute '<em>Name</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.ADElement#getName()
* @see #getADElement()
@@ -1089,6 +1205,7 @@ public interface Iso42010Package extends EPackage {
* Returns the meta object for the reference list '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ADElement#getAffectedBy <em>Affected By</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference list '<em>Affected By</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.ADElement#getAffectedBy()
* @see #getADElement()
@@ -1100,6 +1217,7 @@ public interface Iso42010Package extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureDescription <em>Architecture Description</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Architecture Description</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureDescription
* @generated
@@ -1110,6 +1228,7 @@ public interface Iso42010Package extends EPackage {
* Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureDescription#getStakeholders <em>Stakeholders</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the containment reference list '<em>Stakeholders</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureDescription#getStakeholders()
* @see #getArchitectureDescription()
@@ -1121,6 +1240,7 @@ public interface Iso42010Package extends EPackage {
* Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureDescription#getConcerns <em>Concerns</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the containment reference list '<em>Concerns</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureDescription#getConcerns()
* @see #getArchitectureDescription()
@@ -1132,6 +1252,7 @@ public interface Iso42010Package extends EPackage {
* Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureDescription#getViewpoints <em>Viewpoints</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the containment reference list '<em>Viewpoints</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureDescription#getViewpoints()
* @see #getArchitectureDescription()
@@ -1143,6 +1264,7 @@ public interface Iso42010Package extends EPackage {
* Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureDescription#getViews <em>Views</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the containment reference list '<em>Views</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureDescription#getViews()
* @see #getArchitectureDescription()
@@ -1154,6 +1276,7 @@ public interface Iso42010Package extends EPackage {
* Returns the meta object for the containment reference '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureDescription#getSystem <em>System</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the containment reference '<em>System</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureDescription#getSystem()
* @see #getArchitectureDescription()
@@ -1165,6 +1288,7 @@ public interface Iso42010Package extends EPackage {
* Returns the meta object for the containment reference '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureDescription#getExpresses <em>Expresses</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the containment reference '<em>Expresses</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureDescription#getExpresses()
* @see #getArchitectureDescription()
@@ -1176,6 +1300,7 @@ public interface Iso42010Package extends EPackage {
* Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureDescription#getRationales <em>Rationales</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the containment reference list '<em>Rationales</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureDescription#getRationales()
* @see #getArchitectureDescription()
@@ -1187,6 +1312,7 @@ public interface Iso42010Package extends EPackage {
* Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureDescription#getCorrespondences <em>Correspondences</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the containment reference list '<em>Correspondences</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureDescription#getCorrespondences()
* @see #getArchitectureDescription()
@@ -1198,6 +1324,7 @@ public interface Iso42010Package extends EPackage {
* Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureDescription#getRules <em>Rules</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the containment reference list '<em>Rules</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureDescription#getRules()
* @see #getArchitectureDescription()
@@ -1209,6 +1336,7 @@ public interface Iso42010Package extends EPackage {
* Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureDescription#getDecisions <em>Decisions</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the containment reference list '<em>Decisions</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureDescription#getDecisions()
* @see #getArchitectureDescription()
@@ -1220,6 +1348,7 @@ public interface Iso42010Package extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.Stakeholder <em>Stakeholder</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Stakeholder</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.Stakeholder
* @generated
@@ -1230,6 +1359,7 @@ public interface Iso42010Package extends EPackage {
* Returns the meta object for the reference list '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.Stakeholder#getConcerns <em>Concerns</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference list '<em>Concerns</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.Stakeholder#getConcerns()
* @see #getStakeholder()
@@ -1241,6 +1371,7 @@ public interface Iso42010Package extends EPackage {
* Returns the meta object for the reference list '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.Stakeholder#getViewpoints <em>Viewpoints</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference list '<em>Viewpoints</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.Stakeholder#getViewpoints()
* @see #getStakeholder()
@@ -1252,6 +1383,7 @@ public interface Iso42010Package extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.Stakeholder#getHasInterestIn <em>Has Interest In</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference '<em>Has Interest In</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.Stakeholder#getHasInterestIn()
* @see #getStakeholder()
@@ -1263,6 +1395,7 @@ public interface Iso42010Package extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureViewpoint <em>Architecture Viewpoint</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Architecture Viewpoint</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureViewpoint
* @generated
@@ -1273,6 +1406,7 @@ public interface Iso42010Package extends EPackage {
* Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureViewpoint#getModelKinds <em>Model Kinds</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the containment reference list '<em>Model Kinds</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureViewpoint#getModelKinds()
* @see #getArchitectureViewpoint()
@@ -1284,6 +1418,7 @@ public interface Iso42010Package extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureViewpoint#getGoverns <em>Governs</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference '<em>Governs</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureViewpoint#getGoverns()
* @see #getArchitectureViewpoint()
@@ -1295,6 +1430,7 @@ public interface Iso42010Package extends EPackage {
* Returns the meta object for the reference list '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureViewpoint#getFrames <em>Frames</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference list '<em>Frames</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureViewpoint#getFrames()
* @see #getArchitectureViewpoint()
@@ -1306,6 +1442,7 @@ public interface Iso42010Package extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ModelKind <em>Model Kind</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Model Kind</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.ModelKind
* @generated
@@ -1316,6 +1453,7 @@ public interface Iso42010Package extends EPackage {
* Returns the meta object for the reference list '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ModelKind#getGoverns <em>Governs</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference list '<em>Governs</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.ModelKind#getGoverns()
* @see #getModelKind()
@@ -1327,6 +1465,7 @@ public interface Iso42010Package extends EPackage {
* Returns the meta object for the container reference '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ModelKind#getViewpoint <em>Viewpoint</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the container reference '<em>Viewpoint</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.ModelKind#getViewpoint()
* @see #getModelKind()
@@ -1338,6 +1477,7 @@ public interface Iso42010Package extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureModel <em>Architecture Model</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Architecture Model</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureModel
* @generated
@@ -1348,6 +1488,7 @@ public interface Iso42010Package extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureModel#getGovernedBy <em>Governed By</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference '<em>Governed By</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureModel#getGovernedBy()
* @see #getArchitectureModel()
@@ -1359,6 +1500,7 @@ public interface Iso42010Package extends EPackage {
* Returns the meta object for the container reference '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureModel#getView <em>View</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the container reference '<em>View</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureModel#getView()
* @see #getArchitectureModel()
@@ -1370,6 +1512,7 @@ public interface Iso42010Package extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureView <em>Architecture View</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Architecture View</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureView
* @generated
@@ -1380,6 +1523,7 @@ public interface Iso42010Package extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureView#getGovernedBy <em>Governed By</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference '<em>Governed By</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureView#getGovernedBy()
* @see #getArchitectureView()
@@ -1391,6 +1535,7 @@ public interface Iso42010Package extends EPackage {
* Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureView#getModels <em>Models</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the containment reference list '<em>Models</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureView#getModels()
* @see #getArchitectureView()
@@ -1402,6 +1547,7 @@ public interface Iso42010Package extends EPackage {
* Returns the meta object for the reference list '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureView#getAddresses <em>Addresses</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference list '<em>Addresses</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureView#getAddresses()
* @see #getArchitectureView()
@@ -1413,6 +1559,7 @@ public interface Iso42010Package extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.Concern <em>Concern</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Concern</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.Concern
* @generated
@@ -1423,6 +1570,7 @@ public interface Iso42010Package extends EPackage {
* Returns the meta object for the reference list '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.Concern#getFramedBy <em>Framed By</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference list '<em>Framed By</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.Concern#getFramedBy()
* @see #getConcern()
@@ -1434,6 +1582,7 @@ public interface Iso42010Package extends EPackage {
* Returns the meta object for the reference list '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.Concern#getAddressedBy <em>Addressed By</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference list '<em>Addressed By</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.Concern#getAddressedBy()
* @see #getConcern()
@@ -1445,6 +1594,7 @@ public interface Iso42010Package extends EPackage {
* Returns the meta object for the reference list '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.Concern#getStakeholders <em>Stakeholders</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference list '<em>Stakeholders</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.Concern#getStakeholders()
* @see #getConcern()
@@ -1456,6 +1606,7 @@ public interface Iso42010Package extends EPackage {
* Returns the meta object for the reference list '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.Concern#getRaisedBy <em>Raised By</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference list '<em>Raised By</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.Concern#getRaisedBy()
* @see #getConcern()
@@ -1467,6 +1618,7 @@ public interface Iso42010Package extends EPackage {
* Returns the meta object for the reference list '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.Concern#getDecisions <em>Decisions</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference list '<em>Decisions</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.Concern#getDecisions()
* @see #getConcern()
@@ -1478,6 +1630,7 @@ public interface Iso42010Package extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.System <em>System</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>System</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.System
* @generated
@@ -1488,6 +1641,7 @@ public interface Iso42010Package extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.System#getName <em>Name</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the attribute '<em>Name</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.System#getName()
* @see #getSystem()
@@ -1499,6 +1653,7 @@ public interface Iso42010Package extends EPackage {
* Returns the meta object for the reference list '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.System#getStakeholders <em>Stakeholders</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference list '<em>Stakeholders</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.System#getStakeholders()
* @see #getSystem()
@@ -1510,6 +1665,7 @@ public interface Iso42010Package extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.System#getExhibits <em>Exhibits</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference '<em>Exhibits</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.System#getExhibits()
* @see #getSystem()
@@ -1521,6 +1677,7 @@ public interface Iso42010Package extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.Architecture <em>Architecture</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Architecture</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.Architecture
* @generated
@@ -1531,6 +1688,7 @@ public interface Iso42010Package extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.Architecture#getExhibitedIn <em>Exhibited In</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference '<em>Exhibited In</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.Architecture#getExhibitedIn()
* @see #getArchitecture()
@@ -1542,6 +1700,7 @@ public interface Iso42010Package extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureRationale <em>Architecture Rationale</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Architecture Rationale</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureRationale
* @generated
@@ -1552,6 +1711,7 @@ public interface Iso42010Package extends EPackage {
* Returns the meta object for the reference list '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureRationale#getJustifies <em>Justifies</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference list '<em>Justifies</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureRationale#getJustifies()
* @see #getArchitectureRationale()
@@ -1563,6 +1723,7 @@ public interface Iso42010Package extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.Correspondence <em>Correspondence</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Correspondence</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.Correspondence
* @generated
@@ -1573,6 +1734,7 @@ public interface Iso42010Package extends EPackage {
* Returns the meta object for the reference list '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.Correspondence#getGovernedBy <em>Governed By</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference list '<em>Governed By</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.Correspondence#getGovernedBy()
* @see #getCorrespondence()
@@ -1584,6 +1746,7 @@ public interface Iso42010Package extends EPackage {
* Returns the meta object for the reference list '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.Correspondence#getRelates <em>Relates</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference list '<em>Relates</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.Correspondence#getRelates()
* @see #getCorrespondence()
@@ -1595,6 +1758,7 @@ public interface Iso42010Package extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.CorrespondenceRule <em>Correspondence Rule</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Correspondence Rule</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.CorrespondenceRule
* @generated
@@ -1605,6 +1769,7 @@ public interface Iso42010Package extends EPackage {
* Returns the meta object for the reference list '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.CorrespondenceRule#getGoverns <em>Governs</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference list '<em>Governs</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.CorrespondenceRule#getGoverns()
* @see #getCorrespondenceRule()
@@ -1616,6 +1781,7 @@ public interface Iso42010Package extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureDecision <em>Architecture Decision</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Architecture Decision</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureDecision
* @generated
@@ -1626,6 +1792,7 @@ public interface Iso42010Package extends EPackage {
* Returns the meta object for the reference list '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureDecision#getJustifiedBy <em>Justified By</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference list '<em>Justified By</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureDecision#getJustifiedBy()
* @see #getArchitectureDecision()
@@ -1637,6 +1804,7 @@ public interface Iso42010Package extends EPackage {
* Returns the meta object for the reference list '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureDecision#getDependsUpon <em>Depends Upon</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference list '<em>Depends Upon</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureDecision#getDependsUpon()
* @see #getArchitectureDecision()
@@ -1648,6 +1816,7 @@ public interface Iso42010Package extends EPackage {
* Returns the meta object for the reference list '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureDecision#getDependents <em>Dependents</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference list '<em>Dependents</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureDecision#getDependents()
* @see #getArchitectureDecision()
@@ -1659,6 +1828,7 @@ public interface Iso42010Package extends EPackage {
* Returns the meta object for the reference list '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureDecision#getRaises <em>Raises</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference list '<em>Raises</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureDecision#getRaises()
* @see #getArchitectureDecision()
@@ -1670,6 +1840,7 @@ public interface Iso42010Package extends EPackage {
* Returns the meta object for the reference list '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureDecision#getPertainsTo <em>Pertains To</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference list '<em>Pertains To</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureDecision#getPertainsTo()
* @see #getArchitectureDecision()
@@ -1681,6 +1852,7 @@ public interface Iso42010Package extends EPackage {
* Returns the meta object for the reference list '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureDecision#getAffects <em>Affects</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference list '<em>Affects</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureDecision#getAffects()
* @see #getArchitectureDecision()
@@ -1692,6 +1864,7 @@ public interface Iso42010Package extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureFramework <em>Architecture Framework</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Architecture Framework</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureFramework
* @generated
@@ -1702,6 +1875,7 @@ public interface Iso42010Package extends EPackage {
* Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureFramework#getStakeholders <em>Stakeholders</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the containment reference list '<em>Stakeholders</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureFramework#getStakeholders()
* @see #getArchitectureFramework()
@@ -1713,6 +1887,7 @@ public interface Iso42010Package extends EPackage {
* Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureFramework#getViewpoints <em>Viewpoints</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the containment reference list '<em>Viewpoints</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureFramework#getViewpoints()
* @see #getArchitectureFramework()
@@ -1724,6 +1899,7 @@ public interface Iso42010Package extends EPackage {
* Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureFramework#getRules <em>Rules</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the containment reference list '<em>Rules</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureFramework#getRules()
* @see #getArchitectureFramework()
@@ -1735,6 +1911,7 @@ public interface Iso42010Package extends EPackage {
* Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureFramework#getConcerns <em>Concerns</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the containment reference list '<em>Concerns</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureFramework#getConcerns()
* @see #getArchitectureFramework()
@@ -1746,6 +1923,7 @@ public interface Iso42010Package 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
*/
@@ -1755,13 +1933,14 @@ public interface Iso42010Package 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 operation 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 operation of each class,</li>
+ * <li>each enum,</li>
+ * <li>and each data type</li>
* </ul>
* <!-- end-user-doc -->
+ *
* @generated
*/
interface Literals {
@@ -1769,6 +1948,7 @@ public interface Iso42010Package extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ADElementImpl <em>AD Element</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ADElementImpl
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.impl.Iso42010PackageImpl#getADElement()
* @generated
@@ -1779,6 +1959,7 @@ public interface Iso42010Package extends EPackage {
* The meta object literal for the '<em><b>Name</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EAttribute AD_ELEMENT__NAME = eINSTANCE.getADElement_Name();
@@ -1787,6 +1968,7 @@ public interface Iso42010Package extends EPackage {
* The meta object literal for the '<em><b>Affected By</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference AD_ELEMENT__AFFECTED_BY = eINSTANCE.getADElement_AffectedBy();
@@ -1795,6 +1977,7 @@ public interface Iso42010Package extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureDescriptionImpl <em>Architecture Description</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureDescriptionImpl
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.impl.Iso42010PackageImpl#getArchitectureDescription()
* @generated
@@ -1805,6 +1988,7 @@ public interface Iso42010Package extends EPackage {
* The meta object literal for the '<em><b>Stakeholders</b></em>' containment reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference ARCHITECTURE_DESCRIPTION__STAKEHOLDERS = eINSTANCE.getArchitectureDescription_Stakeholders();
@@ -1813,6 +1997,7 @@ public interface Iso42010Package extends EPackage {
* The meta object literal for the '<em><b>Concerns</b></em>' containment reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference ARCHITECTURE_DESCRIPTION__CONCERNS = eINSTANCE.getArchitectureDescription_Concerns();
@@ -1821,6 +2006,7 @@ public interface Iso42010Package extends EPackage {
* The meta object literal for the '<em><b>Viewpoints</b></em>' containment reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference ARCHITECTURE_DESCRIPTION__VIEWPOINTS = eINSTANCE.getArchitectureDescription_Viewpoints();
@@ -1829,6 +2015,7 @@ public interface Iso42010Package extends EPackage {
* The meta object literal for the '<em><b>Views</b></em>' containment reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference ARCHITECTURE_DESCRIPTION__VIEWS = eINSTANCE.getArchitectureDescription_Views();
@@ -1837,6 +2024,7 @@ public interface Iso42010Package extends EPackage {
* The meta object literal for the '<em><b>System</b></em>' containment reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference ARCHITECTURE_DESCRIPTION__SYSTEM = eINSTANCE.getArchitectureDescription_System();
@@ -1845,6 +2033,7 @@ public interface Iso42010Package extends EPackage {
* The meta object literal for the '<em><b>Expresses</b></em>' containment reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference ARCHITECTURE_DESCRIPTION__EXPRESSES = eINSTANCE.getArchitectureDescription_Expresses();
@@ -1853,6 +2042,7 @@ public interface Iso42010Package extends EPackage {
* The meta object literal for the '<em><b>Rationales</b></em>' containment reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference ARCHITECTURE_DESCRIPTION__RATIONALES = eINSTANCE.getArchitectureDescription_Rationales();
@@ -1861,6 +2051,7 @@ public interface Iso42010Package extends EPackage {
* The meta object literal for the '<em><b>Correspondences</b></em>' containment reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference ARCHITECTURE_DESCRIPTION__CORRESPONDENCES = eINSTANCE.getArchitectureDescription_Correspondences();
@@ -1869,6 +2060,7 @@ public interface Iso42010Package extends EPackage {
* The meta object literal for the '<em><b>Rules</b></em>' containment reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference ARCHITECTURE_DESCRIPTION__RULES = eINSTANCE.getArchitectureDescription_Rules();
@@ -1877,6 +2069,7 @@ public interface Iso42010Package extends EPackage {
* The meta object literal for the '<em><b>Decisions</b></em>' containment reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference ARCHITECTURE_DESCRIPTION__DECISIONS = eINSTANCE.getArchitectureDescription_Decisions();
@@ -1885,6 +2078,7 @@ public interface Iso42010Package extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.StakeholderImpl <em>Stakeholder</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.impl.StakeholderImpl
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.impl.Iso42010PackageImpl#getStakeholder()
* @generated
@@ -1895,6 +2089,7 @@ public interface Iso42010Package extends EPackage {
* The meta object literal for the '<em><b>Concerns</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference STAKEHOLDER__CONCERNS = eINSTANCE.getStakeholder_Concerns();
@@ -1903,6 +2098,7 @@ public interface Iso42010Package extends EPackage {
* The meta object literal for the '<em><b>Viewpoints</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference STAKEHOLDER__VIEWPOINTS = eINSTANCE.getStakeholder_Viewpoints();
@@ -1911,6 +2107,7 @@ public interface Iso42010Package extends EPackage {
* The meta object literal for the '<em><b>Has Interest In</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference STAKEHOLDER__HAS_INTEREST_IN = eINSTANCE.getStakeholder_HasInterestIn();
@@ -1919,6 +2116,7 @@ public interface Iso42010Package extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureViewpointImpl <em>Architecture Viewpoint</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureViewpointImpl
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.impl.Iso42010PackageImpl#getArchitectureViewpoint()
* @generated
@@ -1929,6 +2127,7 @@ public interface Iso42010Package extends EPackage {
* The meta object literal for the '<em><b>Model Kinds</b></em>' containment reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference ARCHITECTURE_VIEWPOINT__MODEL_KINDS = eINSTANCE.getArchitectureViewpoint_ModelKinds();
@@ -1937,6 +2136,7 @@ public interface Iso42010Package extends EPackage {
* The meta object literal for the '<em><b>Governs</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference ARCHITECTURE_VIEWPOINT__GOVERNS = eINSTANCE.getArchitectureViewpoint_Governs();
@@ -1945,6 +2145,7 @@ public interface Iso42010Package extends EPackage {
* The meta object literal for the '<em><b>Frames</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference ARCHITECTURE_VIEWPOINT__FRAMES = eINSTANCE.getArchitectureViewpoint_Frames();
@@ -1953,6 +2154,7 @@ public interface Iso42010Package extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ModelKindImpl <em>Model Kind</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ModelKindImpl
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.impl.Iso42010PackageImpl#getModelKind()
* @generated
@@ -1963,6 +2165,7 @@ public interface Iso42010Package extends EPackage {
* The meta object literal for the '<em><b>Governs</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference MODEL_KIND__GOVERNS = eINSTANCE.getModelKind_Governs();
@@ -1971,6 +2174,7 @@ public interface Iso42010Package extends EPackage {
* The meta object literal for the '<em><b>Viewpoint</b></em>' container reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference MODEL_KIND__VIEWPOINT = eINSTANCE.getModelKind_Viewpoint();
@@ -1979,6 +2183,7 @@ public interface Iso42010Package extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureModelImpl <em>Architecture Model</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureModelImpl
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.impl.Iso42010PackageImpl#getArchitectureModel()
* @generated
@@ -1989,6 +2194,7 @@ public interface Iso42010Package extends EPackage {
* The meta object literal for the '<em><b>Governed By</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference ARCHITECTURE_MODEL__GOVERNED_BY = eINSTANCE.getArchitectureModel_GovernedBy();
@@ -1997,6 +2203,7 @@ public interface Iso42010Package extends EPackage {
* The meta object literal for the '<em><b>View</b></em>' container reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference ARCHITECTURE_MODEL__VIEW = eINSTANCE.getArchitectureModel_View();
@@ -2005,6 +2212,7 @@ public interface Iso42010Package extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureViewImpl <em>Architecture View</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureViewImpl
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.impl.Iso42010PackageImpl#getArchitectureView()
* @generated
@@ -2015,6 +2223,7 @@ public interface Iso42010Package extends EPackage {
* The meta object literal for the '<em><b>Governed By</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference ARCHITECTURE_VIEW__GOVERNED_BY = eINSTANCE.getArchitectureView_GovernedBy();
@@ -2023,6 +2232,7 @@ public interface Iso42010Package extends EPackage {
* The meta object literal for the '<em><b>Models</b></em>' containment reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference ARCHITECTURE_VIEW__MODELS = eINSTANCE.getArchitectureView_Models();
@@ -2031,6 +2241,7 @@ public interface Iso42010Package extends EPackage {
* The meta object literal for the '<em><b>Addresses</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference ARCHITECTURE_VIEW__ADDRESSES = eINSTANCE.getArchitectureView_Addresses();
@@ -2039,6 +2250,7 @@ public interface Iso42010Package extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ConcernImpl <em>Concern</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ConcernImpl
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.impl.Iso42010PackageImpl#getConcern()
* @generated
@@ -2049,6 +2261,7 @@ public interface Iso42010Package extends EPackage {
* The meta object literal for the '<em><b>Framed By</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference CONCERN__FRAMED_BY = eINSTANCE.getConcern_FramedBy();
@@ -2057,6 +2270,7 @@ public interface Iso42010Package extends EPackage {
* The meta object literal for the '<em><b>Addressed By</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference CONCERN__ADDRESSED_BY = eINSTANCE.getConcern_AddressedBy();
@@ -2065,6 +2279,7 @@ public interface Iso42010Package extends EPackage {
* The meta object literal for the '<em><b>Stakeholders</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference CONCERN__STAKEHOLDERS = eINSTANCE.getConcern_Stakeholders();
@@ -2073,6 +2288,7 @@ public interface Iso42010Package extends EPackage {
* The meta object literal for the '<em><b>Raised By</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference CONCERN__RAISED_BY = eINSTANCE.getConcern_RaisedBy();
@@ -2081,6 +2297,7 @@ public interface Iso42010Package extends EPackage {
* The meta object literal for the '<em><b>Decisions</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference CONCERN__DECISIONS = eINSTANCE.getConcern_Decisions();
@@ -2089,6 +2306,7 @@ public interface Iso42010Package extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.SystemImpl <em>System</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.impl.SystemImpl
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.impl.Iso42010PackageImpl#getSystem()
* @generated
@@ -2099,6 +2317,7 @@ public interface Iso42010Package extends EPackage {
* The meta object literal for the '<em><b>Name</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EAttribute SYSTEM__NAME = eINSTANCE.getSystem_Name();
@@ -2107,6 +2326,7 @@ public interface Iso42010Package extends EPackage {
* The meta object literal for the '<em><b>Stakeholders</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference SYSTEM__STAKEHOLDERS = eINSTANCE.getSystem_Stakeholders();
@@ -2115,6 +2335,7 @@ public interface Iso42010Package extends EPackage {
* The meta object literal for the '<em><b>Exhibits</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference SYSTEM__EXHIBITS = eINSTANCE.getSystem_Exhibits();
@@ -2123,6 +2344,7 @@ public interface Iso42010Package extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureImpl <em>Architecture</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureImpl
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.impl.Iso42010PackageImpl#getArchitecture()
* @generated
@@ -2133,6 +2355,7 @@ public interface Iso42010Package extends EPackage {
* The meta object literal for the '<em><b>Exhibited In</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference ARCHITECTURE__EXHIBITED_IN = eINSTANCE.getArchitecture_ExhibitedIn();
@@ -2141,6 +2364,7 @@ public interface Iso42010Package extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureRationaleImpl <em>Architecture Rationale</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureRationaleImpl
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.impl.Iso42010PackageImpl#getArchitectureRationale()
* @generated
@@ -2151,6 +2375,7 @@ public interface Iso42010Package extends EPackage {
* The meta object literal for the '<em><b>Justifies</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference ARCHITECTURE_RATIONALE__JUSTIFIES = eINSTANCE.getArchitectureRationale_Justifies();
@@ -2159,6 +2384,7 @@ public interface Iso42010Package extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.CorrespondenceImpl <em>Correspondence</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.impl.CorrespondenceImpl
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.impl.Iso42010PackageImpl#getCorrespondence()
* @generated
@@ -2169,6 +2395,7 @@ public interface Iso42010Package extends EPackage {
* The meta object literal for the '<em><b>Governed By</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference CORRESPONDENCE__GOVERNED_BY = eINSTANCE.getCorrespondence_GovernedBy();
@@ -2177,6 +2404,7 @@ public interface Iso42010Package extends EPackage {
* The meta object literal for the '<em><b>Relates</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference CORRESPONDENCE__RELATES = eINSTANCE.getCorrespondence_Relates();
@@ -2185,6 +2413,7 @@ public interface Iso42010Package extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.CorrespondenceRuleImpl <em>Correspondence Rule</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.impl.CorrespondenceRuleImpl
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.impl.Iso42010PackageImpl#getCorrespondenceRule()
* @generated
@@ -2195,6 +2424,7 @@ public interface Iso42010Package extends EPackage {
* The meta object literal for the '<em><b>Governs</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference CORRESPONDENCE_RULE__GOVERNS = eINSTANCE.getCorrespondenceRule_Governs();
@@ -2203,6 +2433,7 @@ public interface Iso42010Package extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureDecisionImpl <em>Architecture Decision</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureDecisionImpl
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.impl.Iso42010PackageImpl#getArchitectureDecision()
* @generated
@@ -2213,6 +2444,7 @@ public interface Iso42010Package extends EPackage {
* The meta object literal for the '<em><b>Justified By</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference ARCHITECTURE_DECISION__JUSTIFIED_BY = eINSTANCE.getArchitectureDecision_JustifiedBy();
@@ -2221,6 +2453,7 @@ public interface Iso42010Package extends EPackage {
* The meta object literal for the '<em><b>Depends Upon</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference ARCHITECTURE_DECISION__DEPENDS_UPON = eINSTANCE.getArchitectureDecision_DependsUpon();
@@ -2229,6 +2462,7 @@ public interface Iso42010Package extends EPackage {
* The meta object literal for the '<em><b>Dependents</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference ARCHITECTURE_DECISION__DEPENDENTS = eINSTANCE.getArchitectureDecision_Dependents();
@@ -2237,6 +2471,7 @@ public interface Iso42010Package extends EPackage {
* The meta object literal for the '<em><b>Raises</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference ARCHITECTURE_DECISION__RAISES = eINSTANCE.getArchitectureDecision_Raises();
@@ -2245,6 +2480,7 @@ public interface Iso42010Package extends EPackage {
* The meta object literal for the '<em><b>Pertains To</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference ARCHITECTURE_DECISION__PERTAINS_TO = eINSTANCE.getArchitectureDecision_PertainsTo();
@@ -2253,6 +2489,7 @@ public interface Iso42010Package extends EPackage {
* The meta object literal for the '<em><b>Affects</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference ARCHITECTURE_DECISION__AFFECTS = eINSTANCE.getArchitectureDecision_Affects();
@@ -2261,6 +2498,7 @@ public interface Iso42010Package extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureFrameworkImpl <em>Architecture Framework</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureFrameworkImpl
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.impl.Iso42010PackageImpl#getArchitectureFramework()
* @generated
@@ -2271,6 +2509,7 @@ public interface Iso42010Package extends EPackage {
* The meta object literal for the '<em><b>Stakeholders</b></em>' containment reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference ARCHITECTURE_FRAMEWORK__STAKEHOLDERS = eINSTANCE.getArchitectureFramework_Stakeholders();
@@ -2279,6 +2518,7 @@ public interface Iso42010Package extends EPackage {
* The meta object literal for the '<em><b>Viewpoints</b></em>' containment reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference ARCHITECTURE_FRAMEWORK__VIEWPOINTS = eINSTANCE.getArchitectureFramework_Viewpoints();
@@ -2287,6 +2527,7 @@ public interface Iso42010Package extends EPackage {
* The meta object literal for the '<em><b>Rules</b></em>' containment reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference ARCHITECTURE_FRAMEWORK__RULES = eINSTANCE.getArchitectureFramework_Rules();
@@ -2295,10 +2536,11 @@ public interface Iso42010Package extends EPackage {
* The meta object literal for the '<em><b>Concerns</b></em>' containment reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference ARCHITECTURE_FRAMEWORK__CONCERNS = eINSTANCE.getArchitectureFramework_Concerns();
}
-} //Iso42010Package
+} // Iso42010Package
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/ModelKind.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/ModelKind.java
index 3b33317b3b1..2f4b5ef43bb 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/ModelKind.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/ModelKind.java
@@ -1,15 +1,15 @@
/**
* 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
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- *
- *
+ *
+ *
*/
package org.eclipse.papyrus.infra.viewpoints.iso42010;
@@ -23,8 +23,8 @@ import org.eclipse.emf.common.util.EList;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ModelKind#getGoverns <em>Governs</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ModelKind#getViewpoint <em>Viewpoint</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ModelKind#getGoverns <em>Governs</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ModelKind#getViewpoint <em>Viewpoint</em>}</li>
* </ul>
* </p>
*
@@ -39,10 +39,10 @@ public interface ModelKind extends ADElement {
* It is bidirectional and its opposite is '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureModel#getGovernedBy <em>Governed By</em>}'.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Governs</em>' reference list isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Governs</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>Governs</em>' reference list.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.Iso42010Package#getModelKind_Governs()
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureModel#getGovernedBy
@@ -56,10 +56,10 @@ public interface ModelKind extends ADElement {
* It is bidirectional and its opposite is '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureViewpoint#getModelKinds <em>Model Kinds</em>}'.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Viewpoint</em>' container reference isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Viewpoint</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>Viewpoint</em>' container reference.
* @see #setViewpoint(ArchitectureViewpoint)
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.Iso42010Package#getModelKind_Viewpoint()
@@ -73,7 +73,9 @@ public interface ModelKind extends ADElement {
* Sets the value of the '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ModelKind#getViewpoint <em>Viewpoint</em>}' container reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Viewpoint</em>' container reference.
+ *
+ * @param value
+ * the new value of the '<em>Viewpoint</em>' container reference.
* @see #getViewpoint()
* @generated
*/
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/Stakeholder.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/Stakeholder.java
index 75ed915763d..edb5a85c00e 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/Stakeholder.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/Stakeholder.java
@@ -1,15 +1,15 @@
/**
* 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
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- *
- *
+ *
+ *
*/
package org.eclipse.papyrus.infra.viewpoints.iso42010;
@@ -23,9 +23,9 @@ import org.eclipse.emf.common.util.EList;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.Stakeholder#getConcerns <em>Concerns</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.Stakeholder#getViewpoints <em>Viewpoints</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.Stakeholder#getHasInterestIn <em>Has Interest In</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.Stakeholder#getConcerns <em>Concerns</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.Stakeholder#getViewpoints <em>Viewpoints</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.Stakeholder#getHasInterestIn <em>Has Interest In</em>}</li>
* </ul>
* </p>
*
@@ -40,10 +40,10 @@ public interface Stakeholder extends ADElement {
* It is bidirectional and its opposite is '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.Concern#getStakeholders <em>Stakeholders</em>}'.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Concerns</em>' reference list isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Concerns</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>Concerns</em>' reference list.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.Iso42010Package#getStakeholder_Concerns()
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.Concern#getStakeholders
@@ -57,10 +57,10 @@ public interface Stakeholder extends ADElement {
* The list contents are of type {@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureViewpoint}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Viewpoints</em>' reference list isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Viewpoints</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>Viewpoints</em>' reference list.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.Iso42010Package#getStakeholder_Viewpoints()
* @model required="true"
@@ -73,10 +73,10 @@ public interface Stakeholder extends ADElement {
* It is bidirectional and its opposite is '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.System#getStakeholders <em>Stakeholders</em>}'.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Has Interest In</em>' reference isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Has Interest In</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Has Interest In</em>' reference.
* @see #setHasInterestIn(org.eclipse.papyrus.infra.viewpoints.iso42010.System)
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.Iso42010Package#getStakeholder_HasInterestIn()
@@ -90,7 +90,9 @@ public interface Stakeholder extends ADElement {
* Sets the value of the '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.Stakeholder#getHasInterestIn <em>Has Interest In</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Has Interest In</em>' reference.
+ *
+ * @param value
+ * the new value of the '<em>Has Interest In</em>' reference.
* @see #getHasInterestIn()
* @generated
*/
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/System.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/System.java
index 0e5b51cfd08..f384e5c94ec 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/System.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/System.java
@@ -1,15 +1,15 @@
/**
* 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
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- *
- *
+ *
+ *
*/
package org.eclipse.papyrus.infra.viewpoints.iso42010;
@@ -25,9 +25,9 @@ import org.eclipse.emf.ecore.EObject;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.System#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.System#getStakeholders <em>Stakeholders</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.System#getExhibits <em>Exhibits</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.System#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.System#getStakeholders <em>Stakeholders</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.System#getExhibits <em>Exhibits</em>}</li>
* </ul>
* </p>
*
@@ -40,10 +40,10 @@ public interface System extends EObject {
* 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.infra.viewpoints.iso42010.Iso42010Package#getSystem_Name()
@@ -56,7 +56,9 @@ public interface System extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.System#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
*/
@@ -68,10 +70,10 @@ public interface System extends EObject {
* It is bidirectional and its opposite is '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.Stakeholder#getHasInterestIn <em>Has Interest In</em>}'.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Stakeholders</em>' reference list isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Stakeholders</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>Stakeholders</em>' reference list.
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.Iso42010Package#getSystem_Stakeholders()
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.Stakeholder#getHasInterestIn
@@ -85,10 +87,10 @@ public interface System extends EObject {
* It is bidirectional and its opposite is '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.Architecture#getExhibitedIn <em>Exhibited In</em>}'.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Exhibits</em>' reference isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Exhibits</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Exhibits</em>' reference.
* @see #setExhibits(Architecture)
* @see org.eclipse.papyrus.infra.viewpoints.iso42010.Iso42010Package#getSystem_Exhibits()
@@ -102,7 +104,9 @@ public interface System extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.System#getExhibits <em>Exhibits</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Exhibits</em>' reference.
+ *
+ * @param value
+ * the new value of the '<em>Exhibits</em>' reference.
* @see #getExhibits()
* @generated
*/
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/impl/ADElementImpl.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/impl/ADElementImpl.java
index a9b03c65a96..03da81bfdbf 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/impl/ADElementImpl.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/impl/ADElementImpl.java
@@ -1,15 +1,15 @@
/**
* 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
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- *
- *
+ *
+ *
*/
package org.eclipse.papyrus.infra.viewpoints.iso42010.impl;
@@ -40,8 +40,8 @@ import org.eclipse.papyrus.infra.viewpoints.iso42010.Iso42010Package;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ADElementImpl#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ADElementImpl#getAffectedBy <em>Affected By</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ADElementImpl#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ADElementImpl#getAffectedBy <em>Affected By</em>}</li>
* </ul>
* </p>
*
@@ -52,6 +52,7 @@ public abstract class ADElementImpl extends MinimalEObjectImpl.Container impleme
* The default value of the '{@link #getName() <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getName()
* @generated
* @ordered
@@ -62,6 +63,7 @@ public abstract class ADElementImpl extends MinimalEObjectImpl.Container impleme
* The cached value of the '{@link #getName() <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getName()
* @generated
* @ordered
@@ -72,6 +74,7 @@ public abstract class ADElementImpl extends MinimalEObjectImpl.Container impleme
* The cached value of the '{@link #getAffectedBy() <em>Affected By</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getAffectedBy()
* @generated
* @ordered
@@ -81,6 +84,7 @@ public abstract class ADElementImpl extends MinimalEObjectImpl.Container impleme
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected ADElementImpl() {
@@ -90,6 +94,7 @@ public abstract class ADElementImpl extends MinimalEObjectImpl.Container impleme
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -100,6 +105,7 @@ public abstract class ADElementImpl extends MinimalEObjectImpl.Container impleme
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public String getName() {
@@ -109,18 +115,21 @@ public abstract class ADElementImpl extends MinimalEObjectImpl.Container impleme
/**
* <!-- 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, Iso42010Package.AD_ELEMENT__NAME, oldName, name));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EList<ArchitectureDecision> getAffectedBy() {
@@ -133,14 +142,15 @@ public abstract class ADElementImpl extends MinimalEObjectImpl.Container impleme
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
- case Iso42010Package.AD_ELEMENT__AFFECTED_BY:
- return ((InternalEList<InternalEObject>)(InternalEList<?>)getAffectedBy()).basicAdd(otherEnd, msgs);
+ case Iso42010Package.AD_ELEMENT__AFFECTED_BY:
+ return ((InternalEList<InternalEObject>) (InternalEList<?>) getAffectedBy()).basicAdd(otherEnd, msgs);
}
return super.eInverseAdd(otherEnd, featureID, msgs);
}
@@ -148,13 +158,14 @@ public abstract class ADElementImpl extends MinimalEObjectImpl.Container impleme
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
- case Iso42010Package.AD_ELEMENT__AFFECTED_BY:
- return ((InternalEList<?>)getAffectedBy()).basicRemove(otherEnd, msgs);
+ case Iso42010Package.AD_ELEMENT__AFFECTED_BY:
+ return ((InternalEList<?>) getAffectedBy()).basicRemove(otherEnd, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
@@ -162,15 +173,16 @@ public abstract class ADElementImpl extends MinimalEObjectImpl.Container impleme
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case Iso42010Package.AD_ELEMENT__NAME:
- return getName();
- case Iso42010Package.AD_ELEMENT__AFFECTED_BY:
- return getAffectedBy();
+ case Iso42010Package.AD_ELEMENT__NAME:
+ return getName();
+ case Iso42010Package.AD_ELEMENT__AFFECTED_BY:
+ return getAffectedBy();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -178,19 +190,20 @@ public abstract class ADElementImpl extends MinimalEObjectImpl.Container impleme
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case Iso42010Package.AD_ELEMENT__NAME:
- setName((String)newValue);
- return;
- case Iso42010Package.AD_ELEMENT__AFFECTED_BY:
- getAffectedBy().clear();
- getAffectedBy().addAll((Collection<? extends ArchitectureDecision>)newValue);
- return;
+ case Iso42010Package.AD_ELEMENT__NAME:
+ setName((String) newValue);
+ return;
+ case Iso42010Package.AD_ELEMENT__AFFECTED_BY:
+ getAffectedBy().clear();
+ getAffectedBy().addAll((Collection<? extends ArchitectureDecision>) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -198,17 +211,18 @@ public abstract class ADElementImpl extends MinimalEObjectImpl.Container impleme
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case Iso42010Package.AD_ELEMENT__NAME:
- setName(NAME_EDEFAULT);
- return;
- case Iso42010Package.AD_ELEMENT__AFFECTED_BY:
- getAffectedBy().clear();
- return;
+ case Iso42010Package.AD_ELEMENT__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ case Iso42010Package.AD_ELEMENT__AFFECTED_BY:
+ getAffectedBy().clear();
+ return;
}
super.eUnset(featureID);
}
@@ -216,15 +230,16 @@ public abstract class ADElementImpl extends MinimalEObjectImpl.Container impleme
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case Iso42010Package.AD_ELEMENT__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
- case Iso42010Package.AD_ELEMENT__AFFECTED_BY:
- return affectedBy != null && !affectedBy.isEmpty();
+ case Iso42010Package.AD_ELEMENT__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
+ case Iso42010Package.AD_ELEMENT__AFFECTED_BY:
+ return affectedBy != null && !affectedBy.isEmpty();
}
return super.eIsSet(featureID);
}
@@ -232,11 +247,14 @@ public abstract class ADElementImpl extends MinimalEObjectImpl.Container 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: ");
@@ -245,4 +263,4 @@ public abstract class ADElementImpl extends MinimalEObjectImpl.Container impleme
return result.toString();
}
-} //ADElementImpl
+} // ADElementImpl
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/impl/ArchitectureDecisionImpl.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/impl/ArchitectureDecisionImpl.java
index 310c93effae..f50ec6e7a3a 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/impl/ArchitectureDecisionImpl.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/impl/ArchitectureDecisionImpl.java
@@ -1,15 +1,15 @@
/**
* 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
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- *
- *
+ *
+ *
*/
package org.eclipse.papyrus.infra.viewpoints.iso42010.impl;
@@ -38,12 +38,12 @@ import org.eclipse.papyrus.infra.viewpoints.iso42010.Iso42010Package;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureDecisionImpl#getJustifiedBy <em>Justified By</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureDecisionImpl#getDependsUpon <em>Depends Upon</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureDecisionImpl#getDependents <em>Dependents</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureDecisionImpl#getRaises <em>Raises</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureDecisionImpl#getPertainsTo <em>Pertains To</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureDecisionImpl#getAffects <em>Affects</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureDecisionImpl#getJustifiedBy <em>Justified By</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureDecisionImpl#getDependsUpon <em>Depends Upon</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureDecisionImpl#getDependents <em>Dependents</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureDecisionImpl#getRaises <em>Raises</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureDecisionImpl#getPertainsTo <em>Pertains To</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureDecisionImpl#getAffects <em>Affects</em>}</li>
* </ul>
* </p>
*
@@ -54,6 +54,7 @@ public class ArchitectureDecisionImpl extends ADElementImpl implements Architect
* The cached value of the '{@link #getJustifiedBy() <em>Justified By</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getJustifiedBy()
* @generated
* @ordered
@@ -64,6 +65,7 @@ public class ArchitectureDecisionImpl extends ADElementImpl implements Architect
* The cached value of the '{@link #getDependsUpon() <em>Depends Upon</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getDependsUpon()
* @generated
* @ordered
@@ -74,6 +76,7 @@ public class ArchitectureDecisionImpl extends ADElementImpl implements Architect
* The cached value of the '{@link #getDependents() <em>Dependents</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getDependents()
* @generated
* @ordered
@@ -84,6 +87,7 @@ public class ArchitectureDecisionImpl extends ADElementImpl implements Architect
* The cached value of the '{@link #getRaises() <em>Raises</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getRaises()
* @generated
* @ordered
@@ -94,6 +98,7 @@ public class ArchitectureDecisionImpl extends ADElementImpl implements Architect
* The cached value of the '{@link #getPertainsTo() <em>Pertains To</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getPertainsTo()
* @generated
* @ordered
@@ -104,6 +109,7 @@ public class ArchitectureDecisionImpl extends ADElementImpl implements Architect
* The cached value of the '{@link #getAffects() <em>Affects</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getAffects()
* @generated
* @ordered
@@ -113,6 +119,7 @@ public class ArchitectureDecisionImpl extends ADElementImpl implements Architect
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected ArchitectureDecisionImpl() {
@@ -122,6 +129,7 @@ public class ArchitectureDecisionImpl extends ADElementImpl implements Architect
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -132,6 +140,7 @@ public class ArchitectureDecisionImpl extends ADElementImpl implements Architect
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EList<ArchitectureRationale> getJustifiedBy() {
@@ -144,6 +153,7 @@ public class ArchitectureDecisionImpl extends ADElementImpl implements Architect
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EList<ArchitectureDecision> getDependsUpon() {
@@ -156,6 +166,7 @@ public class ArchitectureDecisionImpl extends ADElementImpl implements Architect
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EList<ArchitectureDecision> getDependents() {
@@ -168,6 +179,7 @@ public class ArchitectureDecisionImpl extends ADElementImpl implements Architect
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EList<Concern> getRaises() {
@@ -180,6 +192,7 @@ public class ArchitectureDecisionImpl extends ADElementImpl implements Architect
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EList<Concern> getPertainsTo() {
@@ -192,6 +205,7 @@ public class ArchitectureDecisionImpl extends ADElementImpl implements Architect
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EList<ADElement> getAffects() {
@@ -204,24 +218,25 @@ public class ArchitectureDecisionImpl extends ADElementImpl implements Architect
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
- case Iso42010Package.ARCHITECTURE_DECISION__JUSTIFIED_BY:
- return ((InternalEList<InternalEObject>)(InternalEList<?>)getJustifiedBy()).basicAdd(otherEnd, msgs);
- case Iso42010Package.ARCHITECTURE_DECISION__DEPENDS_UPON:
- return ((InternalEList<InternalEObject>)(InternalEList<?>)getDependsUpon()).basicAdd(otherEnd, msgs);
- case Iso42010Package.ARCHITECTURE_DECISION__DEPENDENTS:
- return ((InternalEList<InternalEObject>)(InternalEList<?>)getDependents()).basicAdd(otherEnd, msgs);
- case Iso42010Package.ARCHITECTURE_DECISION__RAISES:
- return ((InternalEList<InternalEObject>)(InternalEList<?>)getRaises()).basicAdd(otherEnd, msgs);
- case Iso42010Package.ARCHITECTURE_DECISION__PERTAINS_TO:
- return ((InternalEList<InternalEObject>)(InternalEList<?>)getPertainsTo()).basicAdd(otherEnd, msgs);
- case Iso42010Package.ARCHITECTURE_DECISION__AFFECTS:
- return ((InternalEList<InternalEObject>)(InternalEList<?>)getAffects()).basicAdd(otherEnd, msgs);
+ case Iso42010Package.ARCHITECTURE_DECISION__JUSTIFIED_BY:
+ return ((InternalEList<InternalEObject>) (InternalEList<?>) getJustifiedBy()).basicAdd(otherEnd, msgs);
+ case Iso42010Package.ARCHITECTURE_DECISION__DEPENDS_UPON:
+ return ((InternalEList<InternalEObject>) (InternalEList<?>) getDependsUpon()).basicAdd(otherEnd, msgs);
+ case Iso42010Package.ARCHITECTURE_DECISION__DEPENDENTS:
+ return ((InternalEList<InternalEObject>) (InternalEList<?>) getDependents()).basicAdd(otherEnd, msgs);
+ case Iso42010Package.ARCHITECTURE_DECISION__RAISES:
+ return ((InternalEList<InternalEObject>) (InternalEList<?>) getRaises()).basicAdd(otherEnd, msgs);
+ case Iso42010Package.ARCHITECTURE_DECISION__PERTAINS_TO:
+ return ((InternalEList<InternalEObject>) (InternalEList<?>) getPertainsTo()).basicAdd(otherEnd, msgs);
+ case Iso42010Package.ARCHITECTURE_DECISION__AFFECTS:
+ return ((InternalEList<InternalEObject>) (InternalEList<?>) getAffects()).basicAdd(otherEnd, msgs);
}
return super.eInverseAdd(otherEnd, featureID, msgs);
}
@@ -229,23 +244,24 @@ public class ArchitectureDecisionImpl extends ADElementImpl implements Architect
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
- case Iso42010Package.ARCHITECTURE_DECISION__JUSTIFIED_BY:
- return ((InternalEList<?>)getJustifiedBy()).basicRemove(otherEnd, msgs);
- case Iso42010Package.ARCHITECTURE_DECISION__DEPENDS_UPON:
- return ((InternalEList<?>)getDependsUpon()).basicRemove(otherEnd, msgs);
- case Iso42010Package.ARCHITECTURE_DECISION__DEPENDENTS:
- return ((InternalEList<?>)getDependents()).basicRemove(otherEnd, msgs);
- case Iso42010Package.ARCHITECTURE_DECISION__RAISES:
- return ((InternalEList<?>)getRaises()).basicRemove(otherEnd, msgs);
- case Iso42010Package.ARCHITECTURE_DECISION__PERTAINS_TO:
- return ((InternalEList<?>)getPertainsTo()).basicRemove(otherEnd, msgs);
- case Iso42010Package.ARCHITECTURE_DECISION__AFFECTS:
- return ((InternalEList<?>)getAffects()).basicRemove(otherEnd, msgs);
+ case Iso42010Package.ARCHITECTURE_DECISION__JUSTIFIED_BY:
+ return ((InternalEList<?>) getJustifiedBy()).basicRemove(otherEnd, msgs);
+ case Iso42010Package.ARCHITECTURE_DECISION__DEPENDS_UPON:
+ return ((InternalEList<?>) getDependsUpon()).basicRemove(otherEnd, msgs);
+ case Iso42010Package.ARCHITECTURE_DECISION__DEPENDENTS:
+ return ((InternalEList<?>) getDependents()).basicRemove(otherEnd, msgs);
+ case Iso42010Package.ARCHITECTURE_DECISION__RAISES:
+ return ((InternalEList<?>) getRaises()).basicRemove(otherEnd, msgs);
+ case Iso42010Package.ARCHITECTURE_DECISION__PERTAINS_TO:
+ return ((InternalEList<?>) getPertainsTo()).basicRemove(otherEnd, msgs);
+ case Iso42010Package.ARCHITECTURE_DECISION__AFFECTS:
+ return ((InternalEList<?>) getAffects()).basicRemove(otherEnd, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
@@ -253,23 +269,24 @@ public class ArchitectureDecisionImpl extends ADElementImpl implements Architect
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case Iso42010Package.ARCHITECTURE_DECISION__JUSTIFIED_BY:
- return getJustifiedBy();
- case Iso42010Package.ARCHITECTURE_DECISION__DEPENDS_UPON:
- return getDependsUpon();
- case Iso42010Package.ARCHITECTURE_DECISION__DEPENDENTS:
- return getDependents();
- case Iso42010Package.ARCHITECTURE_DECISION__RAISES:
- return getRaises();
- case Iso42010Package.ARCHITECTURE_DECISION__PERTAINS_TO:
- return getPertainsTo();
- case Iso42010Package.ARCHITECTURE_DECISION__AFFECTS:
- return getAffects();
+ case Iso42010Package.ARCHITECTURE_DECISION__JUSTIFIED_BY:
+ return getJustifiedBy();
+ case Iso42010Package.ARCHITECTURE_DECISION__DEPENDS_UPON:
+ return getDependsUpon();
+ case Iso42010Package.ARCHITECTURE_DECISION__DEPENDENTS:
+ return getDependents();
+ case Iso42010Package.ARCHITECTURE_DECISION__RAISES:
+ return getRaises();
+ case Iso42010Package.ARCHITECTURE_DECISION__PERTAINS_TO:
+ return getPertainsTo();
+ case Iso42010Package.ARCHITECTURE_DECISION__AFFECTS:
+ return getAffects();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -277,36 +294,37 @@ public class ArchitectureDecisionImpl extends ADElementImpl implements Architect
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case Iso42010Package.ARCHITECTURE_DECISION__JUSTIFIED_BY:
- getJustifiedBy().clear();
- getJustifiedBy().addAll((Collection<? extends ArchitectureRationale>)newValue);
- return;
- case Iso42010Package.ARCHITECTURE_DECISION__DEPENDS_UPON:
- getDependsUpon().clear();
- getDependsUpon().addAll((Collection<? extends ArchitectureDecision>)newValue);
- return;
- case Iso42010Package.ARCHITECTURE_DECISION__DEPENDENTS:
- getDependents().clear();
- getDependents().addAll((Collection<? extends ArchitectureDecision>)newValue);
- return;
- case Iso42010Package.ARCHITECTURE_DECISION__RAISES:
- getRaises().clear();
- getRaises().addAll((Collection<? extends Concern>)newValue);
- return;
- case Iso42010Package.ARCHITECTURE_DECISION__PERTAINS_TO:
- getPertainsTo().clear();
- getPertainsTo().addAll((Collection<? extends Concern>)newValue);
- return;
- case Iso42010Package.ARCHITECTURE_DECISION__AFFECTS:
- getAffects().clear();
- getAffects().addAll((Collection<? extends ADElement>)newValue);
- return;
+ case Iso42010Package.ARCHITECTURE_DECISION__JUSTIFIED_BY:
+ getJustifiedBy().clear();
+ getJustifiedBy().addAll((Collection<? extends ArchitectureRationale>) newValue);
+ return;
+ case Iso42010Package.ARCHITECTURE_DECISION__DEPENDS_UPON:
+ getDependsUpon().clear();
+ getDependsUpon().addAll((Collection<? extends ArchitectureDecision>) newValue);
+ return;
+ case Iso42010Package.ARCHITECTURE_DECISION__DEPENDENTS:
+ getDependents().clear();
+ getDependents().addAll((Collection<? extends ArchitectureDecision>) newValue);
+ return;
+ case Iso42010Package.ARCHITECTURE_DECISION__RAISES:
+ getRaises().clear();
+ getRaises().addAll((Collection<? extends Concern>) newValue);
+ return;
+ case Iso42010Package.ARCHITECTURE_DECISION__PERTAINS_TO:
+ getPertainsTo().clear();
+ getPertainsTo().addAll((Collection<? extends Concern>) newValue);
+ return;
+ case Iso42010Package.ARCHITECTURE_DECISION__AFFECTS:
+ getAffects().clear();
+ getAffects().addAll((Collection<? extends ADElement>) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -314,29 +332,30 @@ public class ArchitectureDecisionImpl extends ADElementImpl implements Architect
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case Iso42010Package.ARCHITECTURE_DECISION__JUSTIFIED_BY:
- getJustifiedBy().clear();
- return;
- case Iso42010Package.ARCHITECTURE_DECISION__DEPENDS_UPON:
- getDependsUpon().clear();
- return;
- case Iso42010Package.ARCHITECTURE_DECISION__DEPENDENTS:
- getDependents().clear();
- return;
- case Iso42010Package.ARCHITECTURE_DECISION__RAISES:
- getRaises().clear();
- return;
- case Iso42010Package.ARCHITECTURE_DECISION__PERTAINS_TO:
- getPertainsTo().clear();
- return;
- case Iso42010Package.ARCHITECTURE_DECISION__AFFECTS:
- getAffects().clear();
- return;
+ case Iso42010Package.ARCHITECTURE_DECISION__JUSTIFIED_BY:
+ getJustifiedBy().clear();
+ return;
+ case Iso42010Package.ARCHITECTURE_DECISION__DEPENDS_UPON:
+ getDependsUpon().clear();
+ return;
+ case Iso42010Package.ARCHITECTURE_DECISION__DEPENDENTS:
+ getDependents().clear();
+ return;
+ case Iso42010Package.ARCHITECTURE_DECISION__RAISES:
+ getRaises().clear();
+ return;
+ case Iso42010Package.ARCHITECTURE_DECISION__PERTAINS_TO:
+ getPertainsTo().clear();
+ return;
+ case Iso42010Package.ARCHITECTURE_DECISION__AFFECTS:
+ getAffects().clear();
+ return;
}
super.eUnset(featureID);
}
@@ -344,25 +363,26 @@ public class ArchitectureDecisionImpl extends ADElementImpl implements Architect
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case Iso42010Package.ARCHITECTURE_DECISION__JUSTIFIED_BY:
- return justifiedBy != null && !justifiedBy.isEmpty();
- case Iso42010Package.ARCHITECTURE_DECISION__DEPENDS_UPON:
- return dependsUpon != null && !dependsUpon.isEmpty();
- case Iso42010Package.ARCHITECTURE_DECISION__DEPENDENTS:
- return dependents != null && !dependents.isEmpty();
- case Iso42010Package.ARCHITECTURE_DECISION__RAISES:
- return raises != null && !raises.isEmpty();
- case Iso42010Package.ARCHITECTURE_DECISION__PERTAINS_TO:
- return pertainsTo != null && !pertainsTo.isEmpty();
- case Iso42010Package.ARCHITECTURE_DECISION__AFFECTS:
- return affects != null && !affects.isEmpty();
+ case Iso42010Package.ARCHITECTURE_DECISION__JUSTIFIED_BY:
+ return justifiedBy != null && !justifiedBy.isEmpty();
+ case Iso42010Package.ARCHITECTURE_DECISION__DEPENDS_UPON:
+ return dependsUpon != null && !dependsUpon.isEmpty();
+ case Iso42010Package.ARCHITECTURE_DECISION__DEPENDENTS:
+ return dependents != null && !dependents.isEmpty();
+ case Iso42010Package.ARCHITECTURE_DECISION__RAISES:
+ return raises != null && !raises.isEmpty();
+ case Iso42010Package.ARCHITECTURE_DECISION__PERTAINS_TO:
+ return pertainsTo != null && !pertainsTo.isEmpty();
+ case Iso42010Package.ARCHITECTURE_DECISION__AFFECTS:
+ return affects != null && !affects.isEmpty();
}
return super.eIsSet(featureID);
}
-} //ArchitectureDecisionImpl
+} // ArchitectureDecisionImpl
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/impl/ArchitectureDescriptionImpl.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/impl/ArchitectureDescriptionImpl.java
index ae18388f9e1..d8fee8354c5 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/impl/ArchitectureDescriptionImpl.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/impl/ArchitectureDescriptionImpl.java
@@ -1,15 +1,15 @@
/**
* 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
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- *
- *
+ *
+ *
*/
package org.eclipse.papyrus.infra.viewpoints.iso42010.impl;
@@ -48,16 +48,16 @@ import org.eclipse.papyrus.infra.viewpoints.iso42010.Stakeholder;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureDescriptionImpl#getStakeholders <em>Stakeholders</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureDescriptionImpl#getConcerns <em>Concerns</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureDescriptionImpl#getViewpoints <em>Viewpoints</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureDescriptionImpl#getViews <em>Views</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureDescriptionImpl#getSystem <em>System</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureDescriptionImpl#getExpresses <em>Expresses</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureDescriptionImpl#getRationales <em>Rationales</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureDescriptionImpl#getCorrespondences <em>Correspondences</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureDescriptionImpl#getRules <em>Rules</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureDescriptionImpl#getDecisions <em>Decisions</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureDescriptionImpl#getStakeholders <em>Stakeholders</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureDescriptionImpl#getConcerns <em>Concerns</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureDescriptionImpl#getViewpoints <em>Viewpoints</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureDescriptionImpl#getViews <em>Views</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureDescriptionImpl#getSystem <em>System</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureDescriptionImpl#getExpresses <em>Expresses</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureDescriptionImpl#getRationales <em>Rationales</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureDescriptionImpl#getCorrespondences <em>Correspondences</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureDescriptionImpl#getRules <em>Rules</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureDescriptionImpl#getDecisions <em>Decisions</em>}</li>
* </ul>
* </p>
*
@@ -68,6 +68,7 @@ public class ArchitectureDescriptionImpl extends MinimalEObjectImpl.Container im
* The cached value of the '{@link #getStakeholders() <em>Stakeholders</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getStakeholders()
* @generated
* @ordered
@@ -78,6 +79,7 @@ public class ArchitectureDescriptionImpl extends MinimalEObjectImpl.Container im
* The cached value of the '{@link #getConcerns() <em>Concerns</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getConcerns()
* @generated
* @ordered
@@ -88,6 +90,7 @@ public class ArchitectureDescriptionImpl extends MinimalEObjectImpl.Container im
* The cached value of the '{@link #getViewpoints() <em>Viewpoints</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getViewpoints()
* @generated
* @ordered
@@ -98,6 +101,7 @@ public class ArchitectureDescriptionImpl extends MinimalEObjectImpl.Container im
* The cached value of the '{@link #getViews() <em>Views</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getViews()
* @generated
* @ordered
@@ -108,6 +112,7 @@ public class ArchitectureDescriptionImpl extends MinimalEObjectImpl.Container im
* The cached value of the '{@link #getSystem() <em>System</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getSystem()
* @generated
* @ordered
@@ -118,6 +123,7 @@ public class ArchitectureDescriptionImpl extends MinimalEObjectImpl.Container im
* The cached value of the '{@link #getExpresses() <em>Expresses</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getExpresses()
* @generated
* @ordered
@@ -128,6 +134,7 @@ public class ArchitectureDescriptionImpl extends MinimalEObjectImpl.Container im
* The cached value of the '{@link #getRationales() <em>Rationales</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getRationales()
* @generated
* @ordered
@@ -138,6 +145,7 @@ public class ArchitectureDescriptionImpl extends MinimalEObjectImpl.Container im
* The cached value of the '{@link #getCorrespondences() <em>Correspondences</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getCorrespondences()
* @generated
* @ordered
@@ -148,6 +156,7 @@ public class ArchitectureDescriptionImpl extends MinimalEObjectImpl.Container im
* The cached value of the '{@link #getRules() <em>Rules</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getRules()
* @generated
* @ordered
@@ -158,6 +167,7 @@ public class ArchitectureDescriptionImpl extends MinimalEObjectImpl.Container im
* The cached value of the '{@link #getDecisions() <em>Decisions</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getDecisions()
* @generated
* @ordered
@@ -167,6 +177,7 @@ public class ArchitectureDescriptionImpl extends MinimalEObjectImpl.Container im
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected ArchitectureDescriptionImpl() {
@@ -176,6 +187,7 @@ public class ArchitectureDescriptionImpl extends MinimalEObjectImpl.Container im
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -186,6 +198,7 @@ public class ArchitectureDescriptionImpl extends MinimalEObjectImpl.Container im
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EList<Stakeholder> getStakeholders() {
@@ -198,6 +211,7 @@ public class ArchitectureDescriptionImpl extends MinimalEObjectImpl.Container im
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EList<Concern> getConcerns() {
@@ -210,6 +224,7 @@ public class ArchitectureDescriptionImpl extends MinimalEObjectImpl.Container im
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EList<ArchitectureViewpoint> getViewpoints() {
@@ -222,6 +237,7 @@ public class ArchitectureDescriptionImpl extends MinimalEObjectImpl.Container im
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EList<ArchitectureView> getViews() {
@@ -234,6 +250,7 @@ public class ArchitectureDescriptionImpl extends MinimalEObjectImpl.Container im
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public org.eclipse.papyrus.infra.viewpoints.iso42010.System getSystem() {
@@ -243,6 +260,7 @@ public class ArchitectureDescriptionImpl extends MinimalEObjectImpl.Container im
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public NotificationChain basicSetSystem(org.eclipse.papyrus.infra.viewpoints.iso42010.System newSystem, NotificationChain msgs) {
@@ -250,7 +268,11 @@ public class ArchitectureDescriptionImpl extends MinimalEObjectImpl.Container im
system = newSystem;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Iso42010Package.ARCHITECTURE_DESCRIPTION__SYSTEM, oldSystem, newSystem);
- if (msgs == null) msgs = notification; else msgs.add(notification);
+ if (msgs == null) {
+ msgs = notification;
+ } else {
+ msgs.add(notification);
+ }
}
return msgs;
}
@@ -258,25 +280,32 @@ public class ArchitectureDescriptionImpl extends MinimalEObjectImpl.Container im
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public void setSystem(org.eclipse.papyrus.infra.viewpoints.iso42010.System newSystem) {
if (newSystem != system) {
NotificationChain msgs = null;
- if (system != null)
- msgs = ((InternalEObject)system).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Iso42010Package.ARCHITECTURE_DESCRIPTION__SYSTEM, null, msgs);
- if (newSystem != null)
- msgs = ((InternalEObject)newSystem).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Iso42010Package.ARCHITECTURE_DESCRIPTION__SYSTEM, null, msgs);
+ if (system != null) {
+ msgs = ((InternalEObject) system).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Iso42010Package.ARCHITECTURE_DESCRIPTION__SYSTEM, null, msgs);
+ }
+ if (newSystem != null) {
+ msgs = ((InternalEObject) newSystem).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Iso42010Package.ARCHITECTURE_DESCRIPTION__SYSTEM, null, msgs);
+ }
msgs = basicSetSystem(newSystem, msgs);
- if (msgs != null) msgs.dispatch();
+ if (msgs != null) {
+ msgs.dispatch();
+ }
}
- else if (eNotificationRequired())
+ else if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, Iso42010Package.ARCHITECTURE_DESCRIPTION__SYSTEM, newSystem, newSystem));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public Architecture getExpresses() {
@@ -286,6 +315,7 @@ public class ArchitectureDescriptionImpl extends MinimalEObjectImpl.Container im
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public NotificationChain basicSetExpresses(Architecture newExpresses, NotificationChain msgs) {
@@ -293,7 +323,11 @@ public class ArchitectureDescriptionImpl extends MinimalEObjectImpl.Container im
expresses = newExpresses;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Iso42010Package.ARCHITECTURE_DESCRIPTION__EXPRESSES, oldExpresses, newExpresses);
- if (msgs == null) msgs = notification; else msgs.add(notification);
+ if (msgs == null) {
+ msgs = notification;
+ } else {
+ msgs.add(notification);
+ }
}
return msgs;
}
@@ -301,25 +335,32 @@ public class ArchitectureDescriptionImpl extends MinimalEObjectImpl.Container im
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public void setExpresses(Architecture newExpresses) {
if (newExpresses != expresses) {
NotificationChain msgs = null;
- if (expresses != null)
- msgs = ((InternalEObject)expresses).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Iso42010Package.ARCHITECTURE_DESCRIPTION__EXPRESSES, null, msgs);
- if (newExpresses != null)
- msgs = ((InternalEObject)newExpresses).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Iso42010Package.ARCHITECTURE_DESCRIPTION__EXPRESSES, null, msgs);
+ if (expresses != null) {
+ msgs = ((InternalEObject) expresses).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Iso42010Package.ARCHITECTURE_DESCRIPTION__EXPRESSES, null, msgs);
+ }
+ if (newExpresses != null) {
+ msgs = ((InternalEObject) newExpresses).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Iso42010Package.ARCHITECTURE_DESCRIPTION__EXPRESSES, null, msgs);
+ }
msgs = basicSetExpresses(newExpresses, msgs);
- if (msgs != null) msgs.dispatch();
+ if (msgs != null) {
+ msgs.dispatch();
+ }
}
- else if (eNotificationRequired())
+ else if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, Iso42010Package.ARCHITECTURE_DESCRIPTION__EXPRESSES, newExpresses, newExpresses));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EList<ArchitectureRationale> getRationales() {
@@ -332,6 +373,7 @@ public class ArchitectureDescriptionImpl extends MinimalEObjectImpl.Container im
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EList<Correspondence> getCorrespondences() {
@@ -344,6 +386,7 @@ public class ArchitectureDescriptionImpl extends MinimalEObjectImpl.Container im
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EList<CorrespondenceRule> getRules() {
@@ -356,6 +399,7 @@ public class ArchitectureDescriptionImpl extends MinimalEObjectImpl.Container im
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EList<ArchitectureDecision> getDecisions() {
@@ -368,31 +412,32 @@ public class ArchitectureDescriptionImpl extends MinimalEObjectImpl.Container im
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
- case Iso42010Package.ARCHITECTURE_DESCRIPTION__STAKEHOLDERS:
- return ((InternalEList<?>)getStakeholders()).basicRemove(otherEnd, msgs);
- case Iso42010Package.ARCHITECTURE_DESCRIPTION__CONCERNS:
- return ((InternalEList<?>)getConcerns()).basicRemove(otherEnd, msgs);
- case Iso42010Package.ARCHITECTURE_DESCRIPTION__VIEWPOINTS:
- return ((InternalEList<?>)getViewpoints()).basicRemove(otherEnd, msgs);
- case Iso42010Package.ARCHITECTURE_DESCRIPTION__VIEWS:
- return ((InternalEList<?>)getViews()).basicRemove(otherEnd, msgs);
- case Iso42010Package.ARCHITECTURE_DESCRIPTION__SYSTEM:
- return basicSetSystem(null, msgs);
- case Iso42010Package.ARCHITECTURE_DESCRIPTION__EXPRESSES:
- return basicSetExpresses(null, msgs);
- case Iso42010Package.ARCHITECTURE_DESCRIPTION__RATIONALES:
- return ((InternalEList<?>)getRationales()).basicRemove(otherEnd, msgs);
- case Iso42010Package.ARCHITECTURE_DESCRIPTION__CORRESPONDENCES:
- return ((InternalEList<?>)getCorrespondences()).basicRemove(otherEnd, msgs);
- case Iso42010Package.ARCHITECTURE_DESCRIPTION__RULES:
- return ((InternalEList<?>)getRules()).basicRemove(otherEnd, msgs);
- case Iso42010Package.ARCHITECTURE_DESCRIPTION__DECISIONS:
- return ((InternalEList<?>)getDecisions()).basicRemove(otherEnd, msgs);
+ case Iso42010Package.ARCHITECTURE_DESCRIPTION__STAKEHOLDERS:
+ return ((InternalEList<?>) getStakeholders()).basicRemove(otherEnd, msgs);
+ case Iso42010Package.ARCHITECTURE_DESCRIPTION__CONCERNS:
+ return ((InternalEList<?>) getConcerns()).basicRemove(otherEnd, msgs);
+ case Iso42010Package.ARCHITECTURE_DESCRIPTION__VIEWPOINTS:
+ return ((InternalEList<?>) getViewpoints()).basicRemove(otherEnd, msgs);
+ case Iso42010Package.ARCHITECTURE_DESCRIPTION__VIEWS:
+ return ((InternalEList<?>) getViews()).basicRemove(otherEnd, msgs);
+ case Iso42010Package.ARCHITECTURE_DESCRIPTION__SYSTEM:
+ return basicSetSystem(null, msgs);
+ case Iso42010Package.ARCHITECTURE_DESCRIPTION__EXPRESSES:
+ return basicSetExpresses(null, msgs);
+ case Iso42010Package.ARCHITECTURE_DESCRIPTION__RATIONALES:
+ return ((InternalEList<?>) getRationales()).basicRemove(otherEnd, msgs);
+ case Iso42010Package.ARCHITECTURE_DESCRIPTION__CORRESPONDENCES:
+ return ((InternalEList<?>) getCorrespondences()).basicRemove(otherEnd, msgs);
+ case Iso42010Package.ARCHITECTURE_DESCRIPTION__RULES:
+ return ((InternalEList<?>) getRules()).basicRemove(otherEnd, msgs);
+ case Iso42010Package.ARCHITECTURE_DESCRIPTION__DECISIONS:
+ return ((InternalEList<?>) getDecisions()).basicRemove(otherEnd, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
@@ -400,31 +445,32 @@ public class ArchitectureDescriptionImpl extends MinimalEObjectImpl.Container im
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case Iso42010Package.ARCHITECTURE_DESCRIPTION__STAKEHOLDERS:
- return getStakeholders();
- case Iso42010Package.ARCHITECTURE_DESCRIPTION__CONCERNS:
- return getConcerns();
- case Iso42010Package.ARCHITECTURE_DESCRIPTION__VIEWPOINTS:
- return getViewpoints();
- case Iso42010Package.ARCHITECTURE_DESCRIPTION__VIEWS:
- return getViews();
- case Iso42010Package.ARCHITECTURE_DESCRIPTION__SYSTEM:
- return getSystem();
- case Iso42010Package.ARCHITECTURE_DESCRIPTION__EXPRESSES:
- return getExpresses();
- case Iso42010Package.ARCHITECTURE_DESCRIPTION__RATIONALES:
- return getRationales();
- case Iso42010Package.ARCHITECTURE_DESCRIPTION__CORRESPONDENCES:
- return getCorrespondences();
- case Iso42010Package.ARCHITECTURE_DESCRIPTION__RULES:
- return getRules();
- case Iso42010Package.ARCHITECTURE_DESCRIPTION__DECISIONS:
- return getDecisions();
+ case Iso42010Package.ARCHITECTURE_DESCRIPTION__STAKEHOLDERS:
+ return getStakeholders();
+ case Iso42010Package.ARCHITECTURE_DESCRIPTION__CONCERNS:
+ return getConcerns();
+ case Iso42010Package.ARCHITECTURE_DESCRIPTION__VIEWPOINTS:
+ return getViewpoints();
+ case Iso42010Package.ARCHITECTURE_DESCRIPTION__VIEWS:
+ return getViews();
+ case Iso42010Package.ARCHITECTURE_DESCRIPTION__SYSTEM:
+ return getSystem();
+ case Iso42010Package.ARCHITECTURE_DESCRIPTION__EXPRESSES:
+ return getExpresses();
+ case Iso42010Package.ARCHITECTURE_DESCRIPTION__RATIONALES:
+ return getRationales();
+ case Iso42010Package.ARCHITECTURE_DESCRIPTION__CORRESPONDENCES:
+ return getCorrespondences();
+ case Iso42010Package.ARCHITECTURE_DESCRIPTION__RULES:
+ return getRules();
+ case Iso42010Package.ARCHITECTURE_DESCRIPTION__DECISIONS:
+ return getDecisions();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -432,50 +478,51 @@ public class ArchitectureDescriptionImpl extends MinimalEObjectImpl.Container im
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case Iso42010Package.ARCHITECTURE_DESCRIPTION__STAKEHOLDERS:
- getStakeholders().clear();
- getStakeholders().addAll((Collection<? extends Stakeholder>)newValue);
- return;
- case Iso42010Package.ARCHITECTURE_DESCRIPTION__CONCERNS:
- getConcerns().clear();
- getConcerns().addAll((Collection<? extends Concern>)newValue);
- return;
- case Iso42010Package.ARCHITECTURE_DESCRIPTION__VIEWPOINTS:
- getViewpoints().clear();
- getViewpoints().addAll((Collection<? extends ArchitectureViewpoint>)newValue);
- return;
- case Iso42010Package.ARCHITECTURE_DESCRIPTION__VIEWS:
- getViews().clear();
- getViews().addAll((Collection<? extends ArchitectureView>)newValue);
- return;
- case Iso42010Package.ARCHITECTURE_DESCRIPTION__SYSTEM:
- setSystem((org.eclipse.papyrus.infra.viewpoints.iso42010.System)newValue);
- return;
- case Iso42010Package.ARCHITECTURE_DESCRIPTION__EXPRESSES:
- setExpresses((Architecture)newValue);
- return;
- case Iso42010Package.ARCHITECTURE_DESCRIPTION__RATIONALES:
- getRationales().clear();
- getRationales().addAll((Collection<? extends ArchitectureRationale>)newValue);
- return;
- case Iso42010Package.ARCHITECTURE_DESCRIPTION__CORRESPONDENCES:
- getCorrespondences().clear();
- getCorrespondences().addAll((Collection<? extends Correspondence>)newValue);
- return;
- case Iso42010Package.ARCHITECTURE_DESCRIPTION__RULES:
- getRules().clear();
- getRules().addAll((Collection<? extends CorrespondenceRule>)newValue);
- return;
- case Iso42010Package.ARCHITECTURE_DESCRIPTION__DECISIONS:
- getDecisions().clear();
- getDecisions().addAll((Collection<? extends ArchitectureDecision>)newValue);
- return;
+ case Iso42010Package.ARCHITECTURE_DESCRIPTION__STAKEHOLDERS:
+ getStakeholders().clear();
+ getStakeholders().addAll((Collection<? extends Stakeholder>) newValue);
+ return;
+ case Iso42010Package.ARCHITECTURE_DESCRIPTION__CONCERNS:
+ getConcerns().clear();
+ getConcerns().addAll((Collection<? extends Concern>) newValue);
+ return;
+ case Iso42010Package.ARCHITECTURE_DESCRIPTION__VIEWPOINTS:
+ getViewpoints().clear();
+ getViewpoints().addAll((Collection<? extends ArchitectureViewpoint>) newValue);
+ return;
+ case Iso42010Package.ARCHITECTURE_DESCRIPTION__VIEWS:
+ getViews().clear();
+ getViews().addAll((Collection<? extends ArchitectureView>) newValue);
+ return;
+ case Iso42010Package.ARCHITECTURE_DESCRIPTION__SYSTEM:
+ setSystem((org.eclipse.papyrus.infra.viewpoints.iso42010.System) newValue);
+ return;
+ case Iso42010Package.ARCHITECTURE_DESCRIPTION__EXPRESSES:
+ setExpresses((Architecture) newValue);
+ return;
+ case Iso42010Package.ARCHITECTURE_DESCRIPTION__RATIONALES:
+ getRationales().clear();
+ getRationales().addAll((Collection<? extends ArchitectureRationale>) newValue);
+ return;
+ case Iso42010Package.ARCHITECTURE_DESCRIPTION__CORRESPONDENCES:
+ getCorrespondences().clear();
+ getCorrespondences().addAll((Collection<? extends Correspondence>) newValue);
+ return;
+ case Iso42010Package.ARCHITECTURE_DESCRIPTION__RULES:
+ getRules().clear();
+ getRules().addAll((Collection<? extends CorrespondenceRule>) newValue);
+ return;
+ case Iso42010Package.ARCHITECTURE_DESCRIPTION__DECISIONS:
+ getDecisions().clear();
+ getDecisions().addAll((Collection<? extends ArchitectureDecision>) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -483,41 +530,42 @@ public class ArchitectureDescriptionImpl extends MinimalEObjectImpl.Container im
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case Iso42010Package.ARCHITECTURE_DESCRIPTION__STAKEHOLDERS:
- getStakeholders().clear();
- return;
- case Iso42010Package.ARCHITECTURE_DESCRIPTION__CONCERNS:
- getConcerns().clear();
- return;
- case Iso42010Package.ARCHITECTURE_DESCRIPTION__VIEWPOINTS:
- getViewpoints().clear();
- return;
- case Iso42010Package.ARCHITECTURE_DESCRIPTION__VIEWS:
- getViews().clear();
- return;
- case Iso42010Package.ARCHITECTURE_DESCRIPTION__SYSTEM:
- setSystem((org.eclipse.papyrus.infra.viewpoints.iso42010.System)null);
- return;
- case Iso42010Package.ARCHITECTURE_DESCRIPTION__EXPRESSES:
- setExpresses((Architecture)null);
- return;
- case Iso42010Package.ARCHITECTURE_DESCRIPTION__RATIONALES:
- getRationales().clear();
- return;
- case Iso42010Package.ARCHITECTURE_DESCRIPTION__CORRESPONDENCES:
- getCorrespondences().clear();
- return;
- case Iso42010Package.ARCHITECTURE_DESCRIPTION__RULES:
- getRules().clear();
- return;
- case Iso42010Package.ARCHITECTURE_DESCRIPTION__DECISIONS:
- getDecisions().clear();
- return;
+ case Iso42010Package.ARCHITECTURE_DESCRIPTION__STAKEHOLDERS:
+ getStakeholders().clear();
+ return;
+ case Iso42010Package.ARCHITECTURE_DESCRIPTION__CONCERNS:
+ getConcerns().clear();
+ return;
+ case Iso42010Package.ARCHITECTURE_DESCRIPTION__VIEWPOINTS:
+ getViewpoints().clear();
+ return;
+ case Iso42010Package.ARCHITECTURE_DESCRIPTION__VIEWS:
+ getViews().clear();
+ return;
+ case Iso42010Package.ARCHITECTURE_DESCRIPTION__SYSTEM:
+ setSystem((org.eclipse.papyrus.infra.viewpoints.iso42010.System) null);
+ return;
+ case Iso42010Package.ARCHITECTURE_DESCRIPTION__EXPRESSES:
+ setExpresses((Architecture) null);
+ return;
+ case Iso42010Package.ARCHITECTURE_DESCRIPTION__RATIONALES:
+ getRationales().clear();
+ return;
+ case Iso42010Package.ARCHITECTURE_DESCRIPTION__CORRESPONDENCES:
+ getCorrespondences().clear();
+ return;
+ case Iso42010Package.ARCHITECTURE_DESCRIPTION__RULES:
+ getRules().clear();
+ return;
+ case Iso42010Package.ARCHITECTURE_DESCRIPTION__DECISIONS:
+ getDecisions().clear();
+ return;
}
super.eUnset(featureID);
}
@@ -525,33 +573,34 @@ public class ArchitectureDescriptionImpl extends MinimalEObjectImpl.Container im
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case Iso42010Package.ARCHITECTURE_DESCRIPTION__STAKEHOLDERS:
- return stakeholders != null && !stakeholders.isEmpty();
- case Iso42010Package.ARCHITECTURE_DESCRIPTION__CONCERNS:
- return concerns != null && !concerns.isEmpty();
- case Iso42010Package.ARCHITECTURE_DESCRIPTION__VIEWPOINTS:
- return viewpoints != null && !viewpoints.isEmpty();
- case Iso42010Package.ARCHITECTURE_DESCRIPTION__VIEWS:
- return views != null && !views.isEmpty();
- case Iso42010Package.ARCHITECTURE_DESCRIPTION__SYSTEM:
- return system != null;
- case Iso42010Package.ARCHITECTURE_DESCRIPTION__EXPRESSES:
- return expresses != null;
- case Iso42010Package.ARCHITECTURE_DESCRIPTION__RATIONALES:
- return rationales != null && !rationales.isEmpty();
- case Iso42010Package.ARCHITECTURE_DESCRIPTION__CORRESPONDENCES:
- return correspondences != null && !correspondences.isEmpty();
- case Iso42010Package.ARCHITECTURE_DESCRIPTION__RULES:
- return rules != null && !rules.isEmpty();
- case Iso42010Package.ARCHITECTURE_DESCRIPTION__DECISIONS:
- return decisions != null && !decisions.isEmpty();
+ case Iso42010Package.ARCHITECTURE_DESCRIPTION__STAKEHOLDERS:
+ return stakeholders != null && !stakeholders.isEmpty();
+ case Iso42010Package.ARCHITECTURE_DESCRIPTION__CONCERNS:
+ return concerns != null && !concerns.isEmpty();
+ case Iso42010Package.ARCHITECTURE_DESCRIPTION__VIEWPOINTS:
+ return viewpoints != null && !viewpoints.isEmpty();
+ case Iso42010Package.ARCHITECTURE_DESCRIPTION__VIEWS:
+ return views != null && !views.isEmpty();
+ case Iso42010Package.ARCHITECTURE_DESCRIPTION__SYSTEM:
+ return system != null;
+ case Iso42010Package.ARCHITECTURE_DESCRIPTION__EXPRESSES:
+ return expresses != null;
+ case Iso42010Package.ARCHITECTURE_DESCRIPTION__RATIONALES:
+ return rationales != null && !rationales.isEmpty();
+ case Iso42010Package.ARCHITECTURE_DESCRIPTION__CORRESPONDENCES:
+ return correspondences != null && !correspondences.isEmpty();
+ case Iso42010Package.ARCHITECTURE_DESCRIPTION__RULES:
+ return rules != null && !rules.isEmpty();
+ case Iso42010Package.ARCHITECTURE_DESCRIPTION__DECISIONS:
+ return decisions != null && !decisions.isEmpty();
}
return super.eIsSet(featureID);
}
-} //ArchitectureDescriptionImpl
+} // ArchitectureDescriptionImpl
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/impl/ArchitectureFrameworkImpl.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/impl/ArchitectureFrameworkImpl.java
index c8e79a51472..2f7b4c19a4a 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/impl/ArchitectureFrameworkImpl.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/impl/ArchitectureFrameworkImpl.java
@@ -1,15 +1,15 @@
/**
* 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
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- *
- *
+ *
+ *
*/
package org.eclipse.papyrus.infra.viewpoints.iso42010.impl;
@@ -41,10 +41,10 @@ import org.eclipse.papyrus.infra.viewpoints.iso42010.Stakeholder;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureFrameworkImpl#getStakeholders <em>Stakeholders</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureFrameworkImpl#getViewpoints <em>Viewpoints</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureFrameworkImpl#getRules <em>Rules</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureFrameworkImpl#getConcerns <em>Concerns</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureFrameworkImpl#getStakeholders <em>Stakeholders</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureFrameworkImpl#getViewpoints <em>Viewpoints</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureFrameworkImpl#getRules <em>Rules</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureFrameworkImpl#getConcerns <em>Concerns</em>}</li>
* </ul>
* </p>
*
@@ -55,6 +55,7 @@ public class ArchitectureFrameworkImpl extends MinimalEObjectImpl.Container impl
* The cached value of the '{@link #getStakeholders() <em>Stakeholders</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getStakeholders()
* @generated
* @ordered
@@ -65,6 +66,7 @@ public class ArchitectureFrameworkImpl extends MinimalEObjectImpl.Container impl
* The cached value of the '{@link #getViewpoints() <em>Viewpoints</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getViewpoints()
* @generated
* @ordered
@@ -75,6 +77,7 @@ public class ArchitectureFrameworkImpl extends MinimalEObjectImpl.Container impl
* The cached value of the '{@link #getRules() <em>Rules</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getRules()
* @generated
* @ordered
@@ -85,6 +88,7 @@ public class ArchitectureFrameworkImpl extends MinimalEObjectImpl.Container impl
* The cached value of the '{@link #getConcerns() <em>Concerns</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getConcerns()
* @generated
* @ordered
@@ -94,6 +98,7 @@ public class ArchitectureFrameworkImpl extends MinimalEObjectImpl.Container impl
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected ArchitectureFrameworkImpl() {
@@ -103,6 +108,7 @@ public class ArchitectureFrameworkImpl extends MinimalEObjectImpl.Container impl
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -113,6 +119,7 @@ public class ArchitectureFrameworkImpl extends MinimalEObjectImpl.Container impl
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EList<Stakeholder> getStakeholders() {
@@ -125,6 +132,7 @@ public class ArchitectureFrameworkImpl extends MinimalEObjectImpl.Container impl
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EList<ArchitectureViewpoint> getViewpoints() {
@@ -137,6 +145,7 @@ public class ArchitectureFrameworkImpl extends MinimalEObjectImpl.Container impl
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EList<CorrespondenceRule> getRules() {
@@ -149,6 +158,7 @@ public class ArchitectureFrameworkImpl extends MinimalEObjectImpl.Container impl
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EList<Concern> getConcerns() {
@@ -161,19 +171,20 @@ public class ArchitectureFrameworkImpl extends MinimalEObjectImpl.Container impl
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
- case Iso42010Package.ARCHITECTURE_FRAMEWORK__STAKEHOLDERS:
- return ((InternalEList<?>)getStakeholders()).basicRemove(otherEnd, msgs);
- case Iso42010Package.ARCHITECTURE_FRAMEWORK__VIEWPOINTS:
- return ((InternalEList<?>)getViewpoints()).basicRemove(otherEnd, msgs);
- case Iso42010Package.ARCHITECTURE_FRAMEWORK__RULES:
- return ((InternalEList<?>)getRules()).basicRemove(otherEnd, msgs);
- case Iso42010Package.ARCHITECTURE_FRAMEWORK__CONCERNS:
- return ((InternalEList<?>)getConcerns()).basicRemove(otherEnd, msgs);
+ case Iso42010Package.ARCHITECTURE_FRAMEWORK__STAKEHOLDERS:
+ return ((InternalEList<?>) getStakeholders()).basicRemove(otherEnd, msgs);
+ case Iso42010Package.ARCHITECTURE_FRAMEWORK__VIEWPOINTS:
+ return ((InternalEList<?>) getViewpoints()).basicRemove(otherEnd, msgs);
+ case Iso42010Package.ARCHITECTURE_FRAMEWORK__RULES:
+ return ((InternalEList<?>) getRules()).basicRemove(otherEnd, msgs);
+ case Iso42010Package.ARCHITECTURE_FRAMEWORK__CONCERNS:
+ return ((InternalEList<?>) getConcerns()).basicRemove(otherEnd, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
@@ -181,19 +192,20 @@ public class ArchitectureFrameworkImpl extends MinimalEObjectImpl.Container impl
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case Iso42010Package.ARCHITECTURE_FRAMEWORK__STAKEHOLDERS:
- return getStakeholders();
- case Iso42010Package.ARCHITECTURE_FRAMEWORK__VIEWPOINTS:
- return getViewpoints();
- case Iso42010Package.ARCHITECTURE_FRAMEWORK__RULES:
- return getRules();
- case Iso42010Package.ARCHITECTURE_FRAMEWORK__CONCERNS:
- return getConcerns();
+ case Iso42010Package.ARCHITECTURE_FRAMEWORK__STAKEHOLDERS:
+ return getStakeholders();
+ case Iso42010Package.ARCHITECTURE_FRAMEWORK__VIEWPOINTS:
+ return getViewpoints();
+ case Iso42010Package.ARCHITECTURE_FRAMEWORK__RULES:
+ return getRules();
+ case Iso42010Package.ARCHITECTURE_FRAMEWORK__CONCERNS:
+ return getConcerns();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -201,28 +213,29 @@ public class ArchitectureFrameworkImpl extends MinimalEObjectImpl.Container impl
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case Iso42010Package.ARCHITECTURE_FRAMEWORK__STAKEHOLDERS:
- getStakeholders().clear();
- getStakeholders().addAll((Collection<? extends Stakeholder>)newValue);
- return;
- case Iso42010Package.ARCHITECTURE_FRAMEWORK__VIEWPOINTS:
- getViewpoints().clear();
- getViewpoints().addAll((Collection<? extends ArchitectureViewpoint>)newValue);
- return;
- case Iso42010Package.ARCHITECTURE_FRAMEWORK__RULES:
- getRules().clear();
- getRules().addAll((Collection<? extends CorrespondenceRule>)newValue);
- return;
- case Iso42010Package.ARCHITECTURE_FRAMEWORK__CONCERNS:
- getConcerns().clear();
- getConcerns().addAll((Collection<? extends Concern>)newValue);
- return;
+ case Iso42010Package.ARCHITECTURE_FRAMEWORK__STAKEHOLDERS:
+ getStakeholders().clear();
+ getStakeholders().addAll((Collection<? extends Stakeholder>) newValue);
+ return;
+ case Iso42010Package.ARCHITECTURE_FRAMEWORK__VIEWPOINTS:
+ getViewpoints().clear();
+ getViewpoints().addAll((Collection<? extends ArchitectureViewpoint>) newValue);
+ return;
+ case Iso42010Package.ARCHITECTURE_FRAMEWORK__RULES:
+ getRules().clear();
+ getRules().addAll((Collection<? extends CorrespondenceRule>) newValue);
+ return;
+ case Iso42010Package.ARCHITECTURE_FRAMEWORK__CONCERNS:
+ getConcerns().clear();
+ getConcerns().addAll((Collection<? extends Concern>) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -230,23 +243,24 @@ public class ArchitectureFrameworkImpl extends MinimalEObjectImpl.Container impl
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case Iso42010Package.ARCHITECTURE_FRAMEWORK__STAKEHOLDERS:
- getStakeholders().clear();
- return;
- case Iso42010Package.ARCHITECTURE_FRAMEWORK__VIEWPOINTS:
- getViewpoints().clear();
- return;
- case Iso42010Package.ARCHITECTURE_FRAMEWORK__RULES:
- getRules().clear();
- return;
- case Iso42010Package.ARCHITECTURE_FRAMEWORK__CONCERNS:
- getConcerns().clear();
- return;
+ case Iso42010Package.ARCHITECTURE_FRAMEWORK__STAKEHOLDERS:
+ getStakeholders().clear();
+ return;
+ case Iso42010Package.ARCHITECTURE_FRAMEWORK__VIEWPOINTS:
+ getViewpoints().clear();
+ return;
+ case Iso42010Package.ARCHITECTURE_FRAMEWORK__RULES:
+ getRules().clear();
+ return;
+ case Iso42010Package.ARCHITECTURE_FRAMEWORK__CONCERNS:
+ getConcerns().clear();
+ return;
}
super.eUnset(featureID);
}
@@ -254,21 +268,22 @@ public class ArchitectureFrameworkImpl extends MinimalEObjectImpl.Container impl
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case Iso42010Package.ARCHITECTURE_FRAMEWORK__STAKEHOLDERS:
- return stakeholders != null && !stakeholders.isEmpty();
- case Iso42010Package.ARCHITECTURE_FRAMEWORK__VIEWPOINTS:
- return viewpoints != null && !viewpoints.isEmpty();
- case Iso42010Package.ARCHITECTURE_FRAMEWORK__RULES:
- return rules != null && !rules.isEmpty();
- case Iso42010Package.ARCHITECTURE_FRAMEWORK__CONCERNS:
- return concerns != null && !concerns.isEmpty();
+ case Iso42010Package.ARCHITECTURE_FRAMEWORK__STAKEHOLDERS:
+ return stakeholders != null && !stakeholders.isEmpty();
+ case Iso42010Package.ARCHITECTURE_FRAMEWORK__VIEWPOINTS:
+ return viewpoints != null && !viewpoints.isEmpty();
+ case Iso42010Package.ARCHITECTURE_FRAMEWORK__RULES:
+ return rules != null && !rules.isEmpty();
+ case Iso42010Package.ARCHITECTURE_FRAMEWORK__CONCERNS:
+ return concerns != null && !concerns.isEmpty();
}
return super.eIsSet(featureID);
}
-} //ArchitectureFrameworkImpl
+} // ArchitectureFrameworkImpl
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/impl/ArchitectureImpl.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/impl/ArchitectureImpl.java
index 882593422e1..0777fdffd5c 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/impl/ArchitectureImpl.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/impl/ArchitectureImpl.java
@@ -1,15 +1,15 @@
/**
* 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
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- *
- *
+ *
+ *
*/
package org.eclipse.papyrus.infra.viewpoints.iso42010.impl;
@@ -32,7 +32,7 @@ import org.eclipse.papyrus.infra.viewpoints.iso42010.Iso42010Package;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureImpl#getExhibitedIn <em>Exhibited In</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureImpl#getExhibitedIn <em>Exhibited In</em>}</li>
* </ul>
* </p>
*
@@ -43,6 +43,7 @@ public class ArchitectureImpl extends MinimalEObjectImpl.Container implements Ar
* The cached value of the '{@link #getExhibitedIn() <em>Exhibited In</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getExhibitedIn()
* @generated
* @ordered
@@ -52,6 +53,7 @@ public class ArchitectureImpl extends MinimalEObjectImpl.Container implements Ar
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected ArchitectureImpl() {
@@ -61,6 +63,7 @@ public class ArchitectureImpl extends MinimalEObjectImpl.Container implements Ar
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -71,15 +74,17 @@ public class ArchitectureImpl extends MinimalEObjectImpl.Container implements Ar
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public org.eclipse.papyrus.infra.viewpoints.iso42010.System getExhibitedIn() {
if (exhibitedIn != null && exhibitedIn.eIsProxy()) {
- InternalEObject oldExhibitedIn = (InternalEObject)exhibitedIn;
- exhibitedIn = (org.eclipse.papyrus.infra.viewpoints.iso42010.System)eResolveProxy(oldExhibitedIn);
+ InternalEObject oldExhibitedIn = (InternalEObject) exhibitedIn;
+ exhibitedIn = (org.eclipse.papyrus.infra.viewpoints.iso42010.System) eResolveProxy(oldExhibitedIn);
if (exhibitedIn != oldExhibitedIn) {
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, Iso42010Package.ARCHITECTURE__EXHIBITED_IN, oldExhibitedIn, exhibitedIn));
+ }
}
}
return exhibitedIn;
@@ -88,6 +93,7 @@ public class ArchitectureImpl extends MinimalEObjectImpl.Container implements Ar
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public org.eclipse.papyrus.infra.viewpoints.iso42010.System basicGetExhibitedIn() {
@@ -97,6 +103,7 @@ public class ArchitectureImpl extends MinimalEObjectImpl.Container implements Ar
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public NotificationChain basicSetExhibitedIn(org.eclipse.papyrus.infra.viewpoints.iso42010.System newExhibitedIn, NotificationChain msgs) {
@@ -104,7 +111,11 @@ public class ArchitectureImpl extends MinimalEObjectImpl.Container implements Ar
exhibitedIn = newExhibitedIn;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Iso42010Package.ARCHITECTURE__EXHIBITED_IN, oldExhibitedIn, newExhibitedIn);
- if (msgs == null) msgs = notification; else msgs.add(notification);
+ if (msgs == null) {
+ msgs = notification;
+ } else {
+ msgs.add(notification);
+ }
}
return msgs;
}
@@ -112,34 +123,42 @@ public class ArchitectureImpl extends MinimalEObjectImpl.Container implements Ar
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public void setExhibitedIn(org.eclipse.papyrus.infra.viewpoints.iso42010.System newExhibitedIn) {
if (newExhibitedIn != exhibitedIn) {
NotificationChain msgs = null;
- if (exhibitedIn != null)
- msgs = ((InternalEObject)exhibitedIn).eInverseRemove(this, Iso42010Package.SYSTEM__EXHIBITS, org.eclipse.papyrus.infra.viewpoints.iso42010.System.class, msgs);
- if (newExhibitedIn != null)
- msgs = ((InternalEObject)newExhibitedIn).eInverseAdd(this, Iso42010Package.SYSTEM__EXHIBITS, org.eclipse.papyrus.infra.viewpoints.iso42010.System.class, msgs);
+ if (exhibitedIn != null) {
+ msgs = ((InternalEObject) exhibitedIn).eInverseRemove(this, Iso42010Package.SYSTEM__EXHIBITS, org.eclipse.papyrus.infra.viewpoints.iso42010.System.class, msgs);
+ }
+ if (newExhibitedIn != null) {
+ msgs = ((InternalEObject) newExhibitedIn).eInverseAdd(this, Iso42010Package.SYSTEM__EXHIBITS, org.eclipse.papyrus.infra.viewpoints.iso42010.System.class, msgs);
+ }
msgs = basicSetExhibitedIn(newExhibitedIn, msgs);
- if (msgs != null) msgs.dispatch();
+ if (msgs != null) {
+ msgs.dispatch();
+ }
}
- else if (eNotificationRequired())
+ else if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, Iso42010Package.ARCHITECTURE__EXHIBITED_IN, newExhibitedIn, newExhibitedIn));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
- case Iso42010Package.ARCHITECTURE__EXHIBITED_IN:
- if (exhibitedIn != null)
- msgs = ((InternalEObject)exhibitedIn).eInverseRemove(this, Iso42010Package.SYSTEM__EXHIBITS, org.eclipse.papyrus.infra.viewpoints.iso42010.System.class, msgs);
- return basicSetExhibitedIn((org.eclipse.papyrus.infra.viewpoints.iso42010.System)otherEnd, msgs);
+ case Iso42010Package.ARCHITECTURE__EXHIBITED_IN:
+ if (exhibitedIn != null) {
+ msgs = ((InternalEObject) exhibitedIn).eInverseRemove(this, Iso42010Package.SYSTEM__EXHIBITS, org.eclipse.papyrus.infra.viewpoints.iso42010.System.class, msgs);
+ }
+ return basicSetExhibitedIn((org.eclipse.papyrus.infra.viewpoints.iso42010.System) otherEnd, msgs);
}
return super.eInverseAdd(otherEnd, featureID, msgs);
}
@@ -147,13 +166,14 @@ public class ArchitectureImpl extends MinimalEObjectImpl.Container implements Ar
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
- case Iso42010Package.ARCHITECTURE__EXHIBITED_IN:
- return basicSetExhibitedIn(null, msgs);
+ case Iso42010Package.ARCHITECTURE__EXHIBITED_IN:
+ return basicSetExhibitedIn(null, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
@@ -161,14 +181,17 @@ public class ArchitectureImpl extends MinimalEObjectImpl.Container implements Ar
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case Iso42010Package.ARCHITECTURE__EXHIBITED_IN:
- if (resolve) return getExhibitedIn();
- return basicGetExhibitedIn();
+ case Iso42010Package.ARCHITECTURE__EXHIBITED_IN:
+ if (resolve) {
+ return getExhibitedIn();
+ }
+ return basicGetExhibitedIn();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -176,14 +199,15 @@ public class ArchitectureImpl extends MinimalEObjectImpl.Container implements Ar
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case Iso42010Package.ARCHITECTURE__EXHIBITED_IN:
- setExhibitedIn((org.eclipse.papyrus.infra.viewpoints.iso42010.System)newValue);
- return;
+ case Iso42010Package.ARCHITECTURE__EXHIBITED_IN:
+ setExhibitedIn((org.eclipse.papyrus.infra.viewpoints.iso42010.System) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -191,14 +215,15 @@ public class ArchitectureImpl extends MinimalEObjectImpl.Container implements Ar
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case Iso42010Package.ARCHITECTURE__EXHIBITED_IN:
- setExhibitedIn((org.eclipse.papyrus.infra.viewpoints.iso42010.System)null);
- return;
+ case Iso42010Package.ARCHITECTURE__EXHIBITED_IN:
+ setExhibitedIn((org.eclipse.papyrus.infra.viewpoints.iso42010.System) null);
+ return;
}
super.eUnset(featureID);
}
@@ -206,15 +231,16 @@ public class ArchitectureImpl extends MinimalEObjectImpl.Container implements Ar
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case Iso42010Package.ARCHITECTURE__EXHIBITED_IN:
- return exhibitedIn != null;
+ case Iso42010Package.ARCHITECTURE__EXHIBITED_IN:
+ return exhibitedIn != null;
}
return super.eIsSet(featureID);
}
-} //ArchitectureImpl
+} // ArchitectureImpl
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/impl/ArchitectureModelImpl.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/impl/ArchitectureModelImpl.java
index ccfef1fdb2b..2db5c0e2b86 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/impl/ArchitectureModelImpl.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/impl/ArchitectureModelImpl.java
@@ -1,15 +1,15 @@
/**
* 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
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- *
- *
+ *
+ *
*/
package org.eclipse.papyrus.infra.viewpoints.iso42010.impl;
@@ -35,8 +35,8 @@ import org.eclipse.papyrus.infra.viewpoints.iso42010.ModelKind;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureModelImpl#getGovernedBy <em>Governed By</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureModelImpl#getView <em>View</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureModelImpl#getGovernedBy <em>Governed By</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureModelImpl#getView <em>View</em>}</li>
* </ul>
* </p>
*
@@ -47,6 +47,7 @@ public class ArchitectureModelImpl extends ADElementImpl implements Architecture
* The cached value of the '{@link #getGovernedBy() <em>Governed By</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getGovernedBy()
* @generated
* @ordered
@@ -56,6 +57,7 @@ public class ArchitectureModelImpl extends ADElementImpl implements Architecture
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected ArchitectureModelImpl() {
@@ -65,6 +67,7 @@ public class ArchitectureModelImpl extends ADElementImpl implements Architecture
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -75,15 +78,17 @@ public class ArchitectureModelImpl extends ADElementImpl implements Architecture
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public ModelKind getGovernedBy() {
if (governedBy != null && governedBy.eIsProxy()) {
- InternalEObject oldGovernedBy = (InternalEObject)governedBy;
- governedBy = (ModelKind)eResolveProxy(oldGovernedBy);
+ InternalEObject oldGovernedBy = (InternalEObject) governedBy;
+ governedBy = (ModelKind) eResolveProxy(oldGovernedBy);
if (governedBy != oldGovernedBy) {
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, Iso42010Package.ARCHITECTURE_MODEL__GOVERNED_BY, oldGovernedBy, governedBy));
+ }
}
}
return governedBy;
@@ -92,6 +97,7 @@ public class ArchitectureModelImpl extends ADElementImpl implements Architecture
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public ModelKind basicGetGovernedBy() {
@@ -101,6 +107,7 @@ public class ArchitectureModelImpl extends ADElementImpl implements Architecture
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public NotificationChain basicSetGovernedBy(ModelKind newGovernedBy, NotificationChain msgs) {
@@ -108,7 +115,11 @@ public class ArchitectureModelImpl extends ADElementImpl implements Architecture
governedBy = newGovernedBy;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Iso42010Package.ARCHITECTURE_MODEL__GOVERNED_BY, oldGovernedBy, newGovernedBy);
- if (msgs == null) msgs = notification; else msgs.add(notification);
+ if (msgs == null) {
+ msgs = notification;
+ } else {
+ msgs.add(notification);
+ }
}
return msgs;
}
@@ -116,79 +127,99 @@ public class ArchitectureModelImpl extends ADElementImpl implements Architecture
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public void setGovernedBy(ModelKind newGovernedBy) {
if (newGovernedBy != governedBy) {
NotificationChain msgs = null;
- if (governedBy != null)
- msgs = ((InternalEObject)governedBy).eInverseRemove(this, Iso42010Package.MODEL_KIND__GOVERNS, ModelKind.class, msgs);
- if (newGovernedBy != null)
- msgs = ((InternalEObject)newGovernedBy).eInverseAdd(this, Iso42010Package.MODEL_KIND__GOVERNS, ModelKind.class, msgs);
+ if (governedBy != null) {
+ msgs = ((InternalEObject) governedBy).eInverseRemove(this, Iso42010Package.MODEL_KIND__GOVERNS, ModelKind.class, msgs);
+ }
+ if (newGovernedBy != null) {
+ msgs = ((InternalEObject) newGovernedBy).eInverseAdd(this, Iso42010Package.MODEL_KIND__GOVERNS, ModelKind.class, msgs);
+ }
msgs = basicSetGovernedBy(newGovernedBy, msgs);
- if (msgs != null) msgs.dispatch();
+ if (msgs != null) {
+ msgs.dispatch();
+ }
}
- else if (eNotificationRequired())
+ else if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, Iso42010Package.ARCHITECTURE_MODEL__GOVERNED_BY, newGovernedBy, newGovernedBy));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public ArchitectureView getView() {
- if (eContainerFeatureID() != Iso42010Package.ARCHITECTURE_MODEL__VIEW) return null;
- return (ArchitectureView)eInternalContainer();
+ if (eContainerFeatureID() != Iso42010Package.ARCHITECTURE_MODEL__VIEW) {
+ return null;
+ }
+ return (ArchitectureView) eInternalContainer();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public NotificationChain basicSetView(ArchitectureView newView, NotificationChain msgs) {
- msgs = eBasicSetContainer((InternalEObject)newView, Iso42010Package.ARCHITECTURE_MODEL__VIEW, msgs);
+ msgs = eBasicSetContainer((InternalEObject) newView, Iso42010Package.ARCHITECTURE_MODEL__VIEW, msgs);
return msgs;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public void setView(ArchitectureView newView) {
if (newView != eInternalContainer() || (eContainerFeatureID() != Iso42010Package.ARCHITECTURE_MODEL__VIEW && newView != null)) {
- if (EcoreUtil.isAncestor(this, newView))
+ if (EcoreUtil.isAncestor(this, newView)) {
throw new IllegalArgumentException("Recursive containment not allowed for " + toString());
+ }
NotificationChain msgs = null;
- if (eInternalContainer() != null)
+ if (eInternalContainer() != null) {
msgs = eBasicRemoveFromContainer(msgs);
- if (newView != null)
- msgs = ((InternalEObject)newView).eInverseAdd(this, Iso42010Package.ARCHITECTURE_VIEW__MODELS, ArchitectureView.class, msgs);
+ }
+ if (newView != null) {
+ msgs = ((InternalEObject) newView).eInverseAdd(this, Iso42010Package.ARCHITECTURE_VIEW__MODELS, ArchitectureView.class, msgs);
+ }
msgs = basicSetView(newView, msgs);
- if (msgs != null) msgs.dispatch();
+ if (msgs != null) {
+ msgs.dispatch();
+ }
}
- else if (eNotificationRequired())
+ else if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, Iso42010Package.ARCHITECTURE_MODEL__VIEW, newView, newView));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
- case Iso42010Package.ARCHITECTURE_MODEL__GOVERNED_BY:
- if (governedBy != null)
- msgs = ((InternalEObject)governedBy).eInverseRemove(this, Iso42010Package.MODEL_KIND__GOVERNS, ModelKind.class, msgs);
- return basicSetGovernedBy((ModelKind)otherEnd, msgs);
- case Iso42010Package.ARCHITECTURE_MODEL__VIEW:
- if (eInternalContainer() != null)
- msgs = eBasicRemoveFromContainer(msgs);
- return basicSetView((ArchitectureView)otherEnd, msgs);
+ case Iso42010Package.ARCHITECTURE_MODEL__GOVERNED_BY:
+ if (governedBy != null) {
+ msgs = ((InternalEObject) governedBy).eInverseRemove(this, Iso42010Package.MODEL_KIND__GOVERNS, ModelKind.class, msgs);
+ }
+ return basicSetGovernedBy((ModelKind) otherEnd, msgs);
+ case Iso42010Package.ARCHITECTURE_MODEL__VIEW:
+ if (eInternalContainer() != null) {
+ msgs = eBasicRemoveFromContainer(msgs);
+ }
+ return basicSetView((ArchitectureView) otherEnd, msgs);
}
return super.eInverseAdd(otherEnd, featureID, msgs);
}
@@ -196,15 +227,16 @@ public class ArchitectureModelImpl extends ADElementImpl implements Architecture
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
- case Iso42010Package.ARCHITECTURE_MODEL__GOVERNED_BY:
- return basicSetGovernedBy(null, msgs);
- case Iso42010Package.ARCHITECTURE_MODEL__VIEW:
- return basicSetView(null, msgs);
+ case Iso42010Package.ARCHITECTURE_MODEL__GOVERNED_BY:
+ return basicSetGovernedBy(null, msgs);
+ case Iso42010Package.ARCHITECTURE_MODEL__VIEW:
+ return basicSetView(null, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
@@ -212,13 +244,14 @@ public class ArchitectureModelImpl extends ADElementImpl implements Architecture
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs) {
switch (eContainerFeatureID()) {
- case Iso42010Package.ARCHITECTURE_MODEL__VIEW:
- return eInternalContainer().eInverseRemove(this, Iso42010Package.ARCHITECTURE_VIEW__MODELS, ArchitectureView.class, msgs);
+ case Iso42010Package.ARCHITECTURE_MODEL__VIEW:
+ return eInternalContainer().eInverseRemove(this, Iso42010Package.ARCHITECTURE_VIEW__MODELS, ArchitectureView.class, msgs);
}
return super.eBasicRemoveFromContainerFeature(msgs);
}
@@ -226,16 +259,19 @@ public class ArchitectureModelImpl extends ADElementImpl implements Architecture
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case Iso42010Package.ARCHITECTURE_MODEL__GOVERNED_BY:
- if (resolve) return getGovernedBy();
- return basicGetGovernedBy();
- case Iso42010Package.ARCHITECTURE_MODEL__VIEW:
- return getView();
+ case Iso42010Package.ARCHITECTURE_MODEL__GOVERNED_BY:
+ if (resolve) {
+ return getGovernedBy();
+ }
+ return basicGetGovernedBy();
+ case Iso42010Package.ARCHITECTURE_MODEL__VIEW:
+ return getView();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -243,17 +279,18 @@ public class ArchitectureModelImpl extends ADElementImpl implements Architecture
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case Iso42010Package.ARCHITECTURE_MODEL__GOVERNED_BY:
- setGovernedBy((ModelKind)newValue);
- return;
- case Iso42010Package.ARCHITECTURE_MODEL__VIEW:
- setView((ArchitectureView)newValue);
- return;
+ case Iso42010Package.ARCHITECTURE_MODEL__GOVERNED_BY:
+ setGovernedBy((ModelKind) newValue);
+ return;
+ case Iso42010Package.ARCHITECTURE_MODEL__VIEW:
+ setView((ArchitectureView) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -261,17 +298,18 @@ public class ArchitectureModelImpl extends ADElementImpl implements Architecture
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case Iso42010Package.ARCHITECTURE_MODEL__GOVERNED_BY:
- setGovernedBy((ModelKind)null);
- return;
- case Iso42010Package.ARCHITECTURE_MODEL__VIEW:
- setView((ArchitectureView)null);
- return;
+ case Iso42010Package.ARCHITECTURE_MODEL__GOVERNED_BY:
+ setGovernedBy((ModelKind) null);
+ return;
+ case Iso42010Package.ARCHITECTURE_MODEL__VIEW:
+ setView((ArchitectureView) null);
+ return;
}
super.eUnset(featureID);
}
@@ -279,17 +317,18 @@ public class ArchitectureModelImpl extends ADElementImpl implements Architecture
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case Iso42010Package.ARCHITECTURE_MODEL__GOVERNED_BY:
- return governedBy != null;
- case Iso42010Package.ARCHITECTURE_MODEL__VIEW:
- return getView() != null;
+ case Iso42010Package.ARCHITECTURE_MODEL__GOVERNED_BY:
+ return governedBy != null;
+ case Iso42010Package.ARCHITECTURE_MODEL__VIEW:
+ return getView() != null;
}
return super.eIsSet(featureID);
}
-} //ArchitectureModelImpl
+} // ArchitectureModelImpl
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/impl/ArchitectureRationaleImpl.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/impl/ArchitectureRationaleImpl.java
index 00123eaf304..ae8033f7bab 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/impl/ArchitectureRationaleImpl.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/impl/ArchitectureRationaleImpl.java
@@ -1,15 +1,15 @@
/**
* 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
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- *
- *
+ *
+ *
*/
package org.eclipse.papyrus.infra.viewpoints.iso42010.impl;
@@ -36,7 +36,7 @@ import org.eclipse.papyrus.infra.viewpoints.iso42010.Iso42010Package;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureRationaleImpl#getJustifies <em>Justifies</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureRationaleImpl#getJustifies <em>Justifies</em>}</li>
* </ul>
* </p>
*
@@ -47,6 +47,7 @@ public class ArchitectureRationaleImpl extends ADElementImpl implements Architec
* The cached value of the '{@link #getJustifies() <em>Justifies</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getJustifies()
* @generated
* @ordered
@@ -56,6 +57,7 @@ public class ArchitectureRationaleImpl extends ADElementImpl implements Architec
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected ArchitectureRationaleImpl() {
@@ -65,6 +67,7 @@ public class ArchitectureRationaleImpl extends ADElementImpl implements Architec
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -75,6 +78,7 @@ public class ArchitectureRationaleImpl extends ADElementImpl implements Architec
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EList<ArchitectureDecision> getJustifies() {
@@ -87,14 +91,15 @@ public class ArchitectureRationaleImpl extends ADElementImpl implements Architec
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
- case Iso42010Package.ARCHITECTURE_RATIONALE__JUSTIFIES:
- return ((InternalEList<InternalEObject>)(InternalEList<?>)getJustifies()).basicAdd(otherEnd, msgs);
+ case Iso42010Package.ARCHITECTURE_RATIONALE__JUSTIFIES:
+ return ((InternalEList<InternalEObject>) (InternalEList<?>) getJustifies()).basicAdd(otherEnd, msgs);
}
return super.eInverseAdd(otherEnd, featureID, msgs);
}
@@ -102,13 +107,14 @@ public class ArchitectureRationaleImpl extends ADElementImpl implements Architec
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
- case Iso42010Package.ARCHITECTURE_RATIONALE__JUSTIFIES:
- return ((InternalEList<?>)getJustifies()).basicRemove(otherEnd, msgs);
+ case Iso42010Package.ARCHITECTURE_RATIONALE__JUSTIFIES:
+ return ((InternalEList<?>) getJustifies()).basicRemove(otherEnd, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
@@ -116,13 +122,14 @@ public class ArchitectureRationaleImpl extends ADElementImpl implements Architec
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case Iso42010Package.ARCHITECTURE_RATIONALE__JUSTIFIES:
- return getJustifies();
+ case Iso42010Package.ARCHITECTURE_RATIONALE__JUSTIFIES:
+ return getJustifies();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -130,16 +137,17 @@ public class ArchitectureRationaleImpl extends ADElementImpl implements Architec
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case Iso42010Package.ARCHITECTURE_RATIONALE__JUSTIFIES:
- getJustifies().clear();
- getJustifies().addAll((Collection<? extends ArchitectureDecision>)newValue);
- return;
+ case Iso42010Package.ARCHITECTURE_RATIONALE__JUSTIFIES:
+ getJustifies().clear();
+ getJustifies().addAll((Collection<? extends ArchitectureDecision>) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -147,14 +155,15 @@ public class ArchitectureRationaleImpl extends ADElementImpl implements Architec
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case Iso42010Package.ARCHITECTURE_RATIONALE__JUSTIFIES:
- getJustifies().clear();
- return;
+ case Iso42010Package.ARCHITECTURE_RATIONALE__JUSTIFIES:
+ getJustifies().clear();
+ return;
}
super.eUnset(featureID);
}
@@ -162,15 +171,16 @@ public class ArchitectureRationaleImpl extends ADElementImpl implements Architec
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case Iso42010Package.ARCHITECTURE_RATIONALE__JUSTIFIES:
- return justifies != null && !justifies.isEmpty();
+ case Iso42010Package.ARCHITECTURE_RATIONALE__JUSTIFIES:
+ return justifies != null && !justifies.isEmpty();
}
return super.eIsSet(featureID);
}
-} //ArchitectureRationaleImpl
+} // ArchitectureRationaleImpl
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/impl/ArchitectureViewImpl.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/impl/ArchitectureViewImpl.java
index d303d80be2d..be8863aa22e 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/impl/ArchitectureViewImpl.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/impl/ArchitectureViewImpl.java
@@ -1,15 +1,15 @@
/**
* 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
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- *
- *
+ *
+ *
*/
package org.eclipse.papyrus.infra.viewpoints.iso42010.impl;
@@ -42,9 +42,9 @@ import org.eclipse.papyrus.infra.viewpoints.iso42010.Iso42010Package;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureViewImpl#getGovernedBy <em>Governed By</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureViewImpl#getModels <em>Models</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureViewImpl#getAddresses <em>Addresses</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureViewImpl#getGovernedBy <em>Governed By</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureViewImpl#getModels <em>Models</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureViewImpl#getAddresses <em>Addresses</em>}</li>
* </ul>
* </p>
*
@@ -55,6 +55,7 @@ public class ArchitectureViewImpl extends ADElementImpl implements ArchitectureV
* The cached value of the '{@link #getGovernedBy() <em>Governed By</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getGovernedBy()
* @generated
* @ordered
@@ -65,6 +66,7 @@ public class ArchitectureViewImpl extends ADElementImpl implements ArchitectureV
* The cached value of the '{@link #getModels() <em>Models</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getModels()
* @generated
* @ordered
@@ -75,6 +77,7 @@ public class ArchitectureViewImpl extends ADElementImpl implements ArchitectureV
* The cached value of the '{@link #getAddresses() <em>Addresses</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getAddresses()
* @generated
* @ordered
@@ -84,6 +87,7 @@ public class ArchitectureViewImpl extends ADElementImpl implements ArchitectureV
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected ArchitectureViewImpl() {
@@ -93,6 +97,7 @@ public class ArchitectureViewImpl extends ADElementImpl implements ArchitectureV
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -103,15 +108,17 @@ public class ArchitectureViewImpl extends ADElementImpl implements ArchitectureV
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public ArchitectureViewpoint getGovernedBy() {
if (governedBy != null && governedBy.eIsProxy()) {
- InternalEObject oldGovernedBy = (InternalEObject)governedBy;
- governedBy = (ArchitectureViewpoint)eResolveProxy(oldGovernedBy);
+ InternalEObject oldGovernedBy = (InternalEObject) governedBy;
+ governedBy = (ArchitectureViewpoint) eResolveProxy(oldGovernedBy);
if (governedBy != oldGovernedBy) {
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, Iso42010Package.ARCHITECTURE_VIEW__GOVERNED_BY, oldGovernedBy, governedBy));
+ }
}
}
return governedBy;
@@ -120,6 +127,7 @@ public class ArchitectureViewImpl extends ADElementImpl implements ArchitectureV
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public ArchitectureViewpoint basicGetGovernedBy() {
@@ -129,6 +137,7 @@ public class ArchitectureViewImpl extends ADElementImpl implements ArchitectureV
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public NotificationChain basicSetGovernedBy(ArchitectureViewpoint newGovernedBy, NotificationChain msgs) {
@@ -136,7 +145,11 @@ public class ArchitectureViewImpl extends ADElementImpl implements ArchitectureV
governedBy = newGovernedBy;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Iso42010Package.ARCHITECTURE_VIEW__GOVERNED_BY, oldGovernedBy, newGovernedBy);
- if (msgs == null) msgs = notification; else msgs.add(notification);
+ if (msgs == null) {
+ msgs = notification;
+ } else {
+ msgs.add(notification);
+ }
}
return msgs;
}
@@ -144,25 +157,32 @@ public class ArchitectureViewImpl extends ADElementImpl implements ArchitectureV
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public void setGovernedBy(ArchitectureViewpoint newGovernedBy) {
if (newGovernedBy != governedBy) {
NotificationChain msgs = null;
- if (governedBy != null)
- msgs = ((InternalEObject)governedBy).eInverseRemove(this, Iso42010Package.ARCHITECTURE_VIEWPOINT__GOVERNS, ArchitectureViewpoint.class, msgs);
- if (newGovernedBy != null)
- msgs = ((InternalEObject)newGovernedBy).eInverseAdd(this, Iso42010Package.ARCHITECTURE_VIEWPOINT__GOVERNS, ArchitectureViewpoint.class, msgs);
+ if (governedBy != null) {
+ msgs = ((InternalEObject) governedBy).eInverseRemove(this, Iso42010Package.ARCHITECTURE_VIEWPOINT__GOVERNS, ArchitectureViewpoint.class, msgs);
+ }
+ if (newGovernedBy != null) {
+ msgs = ((InternalEObject) newGovernedBy).eInverseAdd(this, Iso42010Package.ARCHITECTURE_VIEWPOINT__GOVERNS, ArchitectureViewpoint.class, msgs);
+ }
msgs = basicSetGovernedBy(newGovernedBy, msgs);
- if (msgs != null) msgs.dispatch();
+ if (msgs != null) {
+ msgs.dispatch();
+ }
}
- else if (eNotificationRequired())
+ else if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, Iso42010Package.ARCHITECTURE_VIEW__GOVERNED_BY, newGovernedBy, newGovernedBy));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EList<ArchitectureModel> getModels() {
@@ -175,6 +195,7 @@ public class ArchitectureViewImpl extends ADElementImpl implements ArchitectureV
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EList<Concern> getAddresses() {
@@ -187,20 +208,22 @@ public class ArchitectureViewImpl extends ADElementImpl implements ArchitectureV
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
- case Iso42010Package.ARCHITECTURE_VIEW__GOVERNED_BY:
- if (governedBy != null)
- msgs = ((InternalEObject)governedBy).eInverseRemove(this, Iso42010Package.ARCHITECTURE_VIEWPOINT__GOVERNS, ArchitectureViewpoint.class, msgs);
- return basicSetGovernedBy((ArchitectureViewpoint)otherEnd, msgs);
- case Iso42010Package.ARCHITECTURE_VIEW__MODELS:
- return ((InternalEList<InternalEObject>)(InternalEList<?>)getModels()).basicAdd(otherEnd, msgs);
- case Iso42010Package.ARCHITECTURE_VIEW__ADDRESSES:
- return ((InternalEList<InternalEObject>)(InternalEList<?>)getAddresses()).basicAdd(otherEnd, msgs);
+ case Iso42010Package.ARCHITECTURE_VIEW__GOVERNED_BY:
+ if (governedBy != null) {
+ msgs = ((InternalEObject) governedBy).eInverseRemove(this, Iso42010Package.ARCHITECTURE_VIEWPOINT__GOVERNS, ArchitectureViewpoint.class, msgs);
+ }
+ return basicSetGovernedBy((ArchitectureViewpoint) otherEnd, msgs);
+ case Iso42010Package.ARCHITECTURE_VIEW__MODELS:
+ return ((InternalEList<InternalEObject>) (InternalEList<?>) getModels()).basicAdd(otherEnd, msgs);
+ case Iso42010Package.ARCHITECTURE_VIEW__ADDRESSES:
+ return ((InternalEList<InternalEObject>) (InternalEList<?>) getAddresses()).basicAdd(otherEnd, msgs);
}
return super.eInverseAdd(otherEnd, featureID, msgs);
}
@@ -208,17 +231,18 @@ public class ArchitectureViewImpl extends ADElementImpl implements ArchitectureV
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
- case Iso42010Package.ARCHITECTURE_VIEW__GOVERNED_BY:
- return basicSetGovernedBy(null, msgs);
- case Iso42010Package.ARCHITECTURE_VIEW__MODELS:
- return ((InternalEList<?>)getModels()).basicRemove(otherEnd, msgs);
- case Iso42010Package.ARCHITECTURE_VIEW__ADDRESSES:
- return ((InternalEList<?>)getAddresses()).basicRemove(otherEnd, msgs);
+ case Iso42010Package.ARCHITECTURE_VIEW__GOVERNED_BY:
+ return basicSetGovernedBy(null, msgs);
+ case Iso42010Package.ARCHITECTURE_VIEW__MODELS:
+ return ((InternalEList<?>) getModels()).basicRemove(otherEnd, msgs);
+ case Iso42010Package.ARCHITECTURE_VIEW__ADDRESSES:
+ return ((InternalEList<?>) getAddresses()).basicRemove(otherEnd, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
@@ -226,18 +250,21 @@ public class ArchitectureViewImpl extends ADElementImpl implements ArchitectureV
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case Iso42010Package.ARCHITECTURE_VIEW__GOVERNED_BY:
- if (resolve) return getGovernedBy();
- return basicGetGovernedBy();
- case Iso42010Package.ARCHITECTURE_VIEW__MODELS:
- return getModels();
- case Iso42010Package.ARCHITECTURE_VIEW__ADDRESSES:
- return getAddresses();
+ case Iso42010Package.ARCHITECTURE_VIEW__GOVERNED_BY:
+ if (resolve) {
+ return getGovernedBy();
+ }
+ return basicGetGovernedBy();
+ case Iso42010Package.ARCHITECTURE_VIEW__MODELS:
+ return getModels();
+ case Iso42010Package.ARCHITECTURE_VIEW__ADDRESSES:
+ return getAddresses();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -245,23 +272,24 @@ public class ArchitectureViewImpl extends ADElementImpl implements ArchitectureV
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case Iso42010Package.ARCHITECTURE_VIEW__GOVERNED_BY:
- setGovernedBy((ArchitectureViewpoint)newValue);
- return;
- case Iso42010Package.ARCHITECTURE_VIEW__MODELS:
- getModels().clear();
- getModels().addAll((Collection<? extends ArchitectureModel>)newValue);
- return;
- case Iso42010Package.ARCHITECTURE_VIEW__ADDRESSES:
- getAddresses().clear();
- getAddresses().addAll((Collection<? extends Concern>)newValue);
- return;
+ case Iso42010Package.ARCHITECTURE_VIEW__GOVERNED_BY:
+ setGovernedBy((ArchitectureViewpoint) newValue);
+ return;
+ case Iso42010Package.ARCHITECTURE_VIEW__MODELS:
+ getModels().clear();
+ getModels().addAll((Collection<? extends ArchitectureModel>) newValue);
+ return;
+ case Iso42010Package.ARCHITECTURE_VIEW__ADDRESSES:
+ getAddresses().clear();
+ getAddresses().addAll((Collection<? extends Concern>) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -269,20 +297,21 @@ public class ArchitectureViewImpl extends ADElementImpl implements ArchitectureV
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case Iso42010Package.ARCHITECTURE_VIEW__GOVERNED_BY:
- setGovernedBy((ArchitectureViewpoint)null);
- return;
- case Iso42010Package.ARCHITECTURE_VIEW__MODELS:
- getModels().clear();
- return;
- case Iso42010Package.ARCHITECTURE_VIEW__ADDRESSES:
- getAddresses().clear();
- return;
+ case Iso42010Package.ARCHITECTURE_VIEW__GOVERNED_BY:
+ setGovernedBy((ArchitectureViewpoint) null);
+ return;
+ case Iso42010Package.ARCHITECTURE_VIEW__MODELS:
+ getModels().clear();
+ return;
+ case Iso42010Package.ARCHITECTURE_VIEW__ADDRESSES:
+ getAddresses().clear();
+ return;
}
super.eUnset(featureID);
}
@@ -290,19 +319,20 @@ public class ArchitectureViewImpl extends ADElementImpl implements ArchitectureV
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case Iso42010Package.ARCHITECTURE_VIEW__GOVERNED_BY:
- return governedBy != null;
- case Iso42010Package.ARCHITECTURE_VIEW__MODELS:
- return models != null && !models.isEmpty();
- case Iso42010Package.ARCHITECTURE_VIEW__ADDRESSES:
- return addresses != null && !addresses.isEmpty();
+ case Iso42010Package.ARCHITECTURE_VIEW__GOVERNED_BY:
+ return governedBy != null;
+ case Iso42010Package.ARCHITECTURE_VIEW__MODELS:
+ return models != null && !models.isEmpty();
+ case Iso42010Package.ARCHITECTURE_VIEW__ADDRESSES:
+ return addresses != null && !addresses.isEmpty();
}
return super.eIsSet(featureID);
}
-} //ArchitectureViewImpl
+} // ArchitectureViewImpl
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/impl/ArchitectureViewpointImpl.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/impl/ArchitectureViewpointImpl.java
index 83709b8811f..95304674642 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/impl/ArchitectureViewpointImpl.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/impl/ArchitectureViewpointImpl.java
@@ -1,15 +1,15 @@
/**
* 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
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- *
- *
+ *
+ *
*/
package org.eclipse.papyrus.infra.viewpoints.iso42010.impl;
@@ -42,9 +42,9 @@ import org.eclipse.papyrus.infra.viewpoints.iso42010.ModelKind;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureViewpointImpl#getModelKinds <em>Model Kinds</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureViewpointImpl#getGoverns <em>Governs</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureViewpointImpl#getFrames <em>Frames</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureViewpointImpl#getModelKinds <em>Model Kinds</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureViewpointImpl#getGoverns <em>Governs</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureViewpointImpl#getFrames <em>Frames</em>}</li>
* </ul>
* </p>
*
@@ -55,6 +55,7 @@ public class ArchitectureViewpointImpl extends ADElementImpl implements Architec
* The cached value of the '{@link #getModelKinds() <em>Model Kinds</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getModelKinds()
* @generated
* @ordered
@@ -65,6 +66,7 @@ public class ArchitectureViewpointImpl extends ADElementImpl implements Architec
* The cached value of the '{@link #getGoverns() <em>Governs</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getGoverns()
* @generated
* @ordered
@@ -75,6 +77,7 @@ public class ArchitectureViewpointImpl extends ADElementImpl implements Architec
* The cached value of the '{@link #getFrames() <em>Frames</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getFrames()
* @generated
* @ordered
@@ -84,6 +87,7 @@ public class ArchitectureViewpointImpl extends ADElementImpl implements Architec
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected ArchitectureViewpointImpl() {
@@ -93,6 +97,7 @@ public class ArchitectureViewpointImpl extends ADElementImpl implements Architec
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -103,6 +108,7 @@ public class ArchitectureViewpointImpl extends ADElementImpl implements Architec
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EList<ModelKind> getModelKinds() {
@@ -115,15 +121,17 @@ public class ArchitectureViewpointImpl extends ADElementImpl implements Architec
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public ArchitectureView getGoverns() {
if (governs != null && governs.eIsProxy()) {
- InternalEObject oldGoverns = (InternalEObject)governs;
- governs = (ArchitectureView)eResolveProxy(oldGoverns);
+ InternalEObject oldGoverns = (InternalEObject) governs;
+ governs = (ArchitectureView) eResolveProxy(oldGoverns);
if (governs != oldGoverns) {
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, Iso42010Package.ARCHITECTURE_VIEWPOINT__GOVERNS, oldGoverns, governs));
+ }
}
}
return governs;
@@ -132,6 +140,7 @@ public class ArchitectureViewpointImpl extends ADElementImpl implements Architec
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public ArchitectureView basicGetGoverns() {
@@ -141,6 +150,7 @@ public class ArchitectureViewpointImpl extends ADElementImpl implements Architec
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public NotificationChain basicSetGoverns(ArchitectureView newGoverns, NotificationChain msgs) {
@@ -148,7 +158,11 @@ public class ArchitectureViewpointImpl extends ADElementImpl implements Architec
governs = newGoverns;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Iso42010Package.ARCHITECTURE_VIEWPOINT__GOVERNS, oldGoverns, newGoverns);
- if (msgs == null) msgs = notification; else msgs.add(notification);
+ if (msgs == null) {
+ msgs = notification;
+ } else {
+ msgs.add(notification);
+ }
}
return msgs;
}
@@ -156,25 +170,32 @@ public class ArchitectureViewpointImpl extends ADElementImpl implements Architec
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public void setGoverns(ArchitectureView newGoverns) {
if (newGoverns != governs) {
NotificationChain msgs = null;
- if (governs != null)
- msgs = ((InternalEObject)governs).eInverseRemove(this, Iso42010Package.ARCHITECTURE_VIEW__GOVERNED_BY, ArchitectureView.class, msgs);
- if (newGoverns != null)
- msgs = ((InternalEObject)newGoverns).eInverseAdd(this, Iso42010Package.ARCHITECTURE_VIEW__GOVERNED_BY, ArchitectureView.class, msgs);
+ if (governs != null) {
+ msgs = ((InternalEObject) governs).eInverseRemove(this, Iso42010Package.ARCHITECTURE_VIEW__GOVERNED_BY, ArchitectureView.class, msgs);
+ }
+ if (newGoverns != null) {
+ msgs = ((InternalEObject) newGoverns).eInverseAdd(this, Iso42010Package.ARCHITECTURE_VIEW__GOVERNED_BY, ArchitectureView.class, msgs);
+ }
msgs = basicSetGoverns(newGoverns, msgs);
- if (msgs != null) msgs.dispatch();
+ if (msgs != null) {
+ msgs.dispatch();
+ }
}
- else if (eNotificationRequired())
+ else if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, Iso42010Package.ARCHITECTURE_VIEWPOINT__GOVERNS, newGoverns, newGoverns));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EList<Concern> getFrames() {
@@ -187,20 +208,22 @@ public class ArchitectureViewpointImpl extends ADElementImpl implements Architec
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
- case Iso42010Package.ARCHITECTURE_VIEWPOINT__MODEL_KINDS:
- return ((InternalEList<InternalEObject>)(InternalEList<?>)getModelKinds()).basicAdd(otherEnd, msgs);
- case Iso42010Package.ARCHITECTURE_VIEWPOINT__GOVERNS:
- if (governs != null)
- msgs = ((InternalEObject)governs).eInverseRemove(this, Iso42010Package.ARCHITECTURE_VIEW__GOVERNED_BY, ArchitectureView.class, msgs);
- return basicSetGoverns((ArchitectureView)otherEnd, msgs);
- case Iso42010Package.ARCHITECTURE_VIEWPOINT__FRAMES:
- return ((InternalEList<InternalEObject>)(InternalEList<?>)getFrames()).basicAdd(otherEnd, msgs);
+ case Iso42010Package.ARCHITECTURE_VIEWPOINT__MODEL_KINDS:
+ return ((InternalEList<InternalEObject>) (InternalEList<?>) getModelKinds()).basicAdd(otherEnd, msgs);
+ case Iso42010Package.ARCHITECTURE_VIEWPOINT__GOVERNS:
+ if (governs != null) {
+ msgs = ((InternalEObject) governs).eInverseRemove(this, Iso42010Package.ARCHITECTURE_VIEW__GOVERNED_BY, ArchitectureView.class, msgs);
+ }
+ return basicSetGoverns((ArchitectureView) otherEnd, msgs);
+ case Iso42010Package.ARCHITECTURE_VIEWPOINT__FRAMES:
+ return ((InternalEList<InternalEObject>) (InternalEList<?>) getFrames()).basicAdd(otherEnd, msgs);
}
return super.eInverseAdd(otherEnd, featureID, msgs);
}
@@ -208,17 +231,18 @@ public class ArchitectureViewpointImpl extends ADElementImpl implements Architec
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
- case Iso42010Package.ARCHITECTURE_VIEWPOINT__MODEL_KINDS:
- return ((InternalEList<?>)getModelKinds()).basicRemove(otherEnd, msgs);
- case Iso42010Package.ARCHITECTURE_VIEWPOINT__GOVERNS:
- return basicSetGoverns(null, msgs);
- case Iso42010Package.ARCHITECTURE_VIEWPOINT__FRAMES:
- return ((InternalEList<?>)getFrames()).basicRemove(otherEnd, msgs);
+ case Iso42010Package.ARCHITECTURE_VIEWPOINT__MODEL_KINDS:
+ return ((InternalEList<?>) getModelKinds()).basicRemove(otherEnd, msgs);
+ case Iso42010Package.ARCHITECTURE_VIEWPOINT__GOVERNS:
+ return basicSetGoverns(null, msgs);
+ case Iso42010Package.ARCHITECTURE_VIEWPOINT__FRAMES:
+ return ((InternalEList<?>) getFrames()).basicRemove(otherEnd, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
@@ -226,18 +250,21 @@ public class ArchitectureViewpointImpl extends ADElementImpl implements Architec
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case Iso42010Package.ARCHITECTURE_VIEWPOINT__MODEL_KINDS:
- return getModelKinds();
- case Iso42010Package.ARCHITECTURE_VIEWPOINT__GOVERNS:
- if (resolve) return getGoverns();
- return basicGetGoverns();
- case Iso42010Package.ARCHITECTURE_VIEWPOINT__FRAMES:
- return getFrames();
+ case Iso42010Package.ARCHITECTURE_VIEWPOINT__MODEL_KINDS:
+ return getModelKinds();
+ case Iso42010Package.ARCHITECTURE_VIEWPOINT__GOVERNS:
+ if (resolve) {
+ return getGoverns();
+ }
+ return basicGetGoverns();
+ case Iso42010Package.ARCHITECTURE_VIEWPOINT__FRAMES:
+ return getFrames();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -245,23 +272,24 @@ public class ArchitectureViewpointImpl extends ADElementImpl implements Architec
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case Iso42010Package.ARCHITECTURE_VIEWPOINT__MODEL_KINDS:
- getModelKinds().clear();
- getModelKinds().addAll((Collection<? extends ModelKind>)newValue);
- return;
- case Iso42010Package.ARCHITECTURE_VIEWPOINT__GOVERNS:
- setGoverns((ArchitectureView)newValue);
- return;
- case Iso42010Package.ARCHITECTURE_VIEWPOINT__FRAMES:
- getFrames().clear();
- getFrames().addAll((Collection<? extends Concern>)newValue);
- return;
+ case Iso42010Package.ARCHITECTURE_VIEWPOINT__MODEL_KINDS:
+ getModelKinds().clear();
+ getModelKinds().addAll((Collection<? extends ModelKind>) newValue);
+ return;
+ case Iso42010Package.ARCHITECTURE_VIEWPOINT__GOVERNS:
+ setGoverns((ArchitectureView) newValue);
+ return;
+ case Iso42010Package.ARCHITECTURE_VIEWPOINT__FRAMES:
+ getFrames().clear();
+ getFrames().addAll((Collection<? extends Concern>) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -269,20 +297,21 @@ public class ArchitectureViewpointImpl extends ADElementImpl implements Architec
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case Iso42010Package.ARCHITECTURE_VIEWPOINT__MODEL_KINDS:
- getModelKinds().clear();
- return;
- case Iso42010Package.ARCHITECTURE_VIEWPOINT__GOVERNS:
- setGoverns((ArchitectureView)null);
- return;
- case Iso42010Package.ARCHITECTURE_VIEWPOINT__FRAMES:
- getFrames().clear();
- return;
+ case Iso42010Package.ARCHITECTURE_VIEWPOINT__MODEL_KINDS:
+ getModelKinds().clear();
+ return;
+ case Iso42010Package.ARCHITECTURE_VIEWPOINT__GOVERNS:
+ setGoverns((ArchitectureView) null);
+ return;
+ case Iso42010Package.ARCHITECTURE_VIEWPOINT__FRAMES:
+ getFrames().clear();
+ return;
}
super.eUnset(featureID);
}
@@ -290,19 +319,20 @@ public class ArchitectureViewpointImpl extends ADElementImpl implements Architec
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case Iso42010Package.ARCHITECTURE_VIEWPOINT__MODEL_KINDS:
- return modelKinds != null && !modelKinds.isEmpty();
- case Iso42010Package.ARCHITECTURE_VIEWPOINT__GOVERNS:
- return governs != null;
- case Iso42010Package.ARCHITECTURE_VIEWPOINT__FRAMES:
- return frames != null && !frames.isEmpty();
+ case Iso42010Package.ARCHITECTURE_VIEWPOINT__MODEL_KINDS:
+ return modelKinds != null && !modelKinds.isEmpty();
+ case Iso42010Package.ARCHITECTURE_VIEWPOINT__GOVERNS:
+ return governs != null;
+ case Iso42010Package.ARCHITECTURE_VIEWPOINT__FRAMES:
+ return frames != null && !frames.isEmpty();
}
return super.eIsSet(featureID);
}
-} //ArchitectureViewpointImpl
+} // ArchitectureViewpointImpl
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/impl/ConcernImpl.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/impl/ConcernImpl.java
index 62f08f92eae..49d9f9a8e99 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/impl/ConcernImpl.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/impl/ConcernImpl.java
@@ -1,15 +1,15 @@
/**
* 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
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- *
- *
+ *
+ *
*/
package org.eclipse.papyrus.infra.viewpoints.iso42010.impl;
@@ -39,11 +39,11 @@ import org.eclipse.papyrus.infra.viewpoints.iso42010.Stakeholder;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ConcernImpl#getFramedBy <em>Framed By</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ConcernImpl#getAddressedBy <em>Addressed By</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ConcernImpl#getStakeholders <em>Stakeholders</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ConcernImpl#getRaisedBy <em>Raised By</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ConcernImpl#getDecisions <em>Decisions</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ConcernImpl#getFramedBy <em>Framed By</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ConcernImpl#getAddressedBy <em>Addressed By</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ConcernImpl#getStakeholders <em>Stakeholders</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ConcernImpl#getRaisedBy <em>Raised By</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ConcernImpl#getDecisions <em>Decisions</em>}</li>
* </ul>
* </p>
*
@@ -54,6 +54,7 @@ public class ConcernImpl extends ADElementImpl implements Concern {
* The cached value of the '{@link #getFramedBy() <em>Framed By</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getFramedBy()
* @generated
* @ordered
@@ -64,6 +65,7 @@ public class ConcernImpl extends ADElementImpl implements Concern {
* The cached value of the '{@link #getAddressedBy() <em>Addressed By</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getAddressedBy()
* @generated
* @ordered
@@ -74,6 +76,7 @@ public class ConcernImpl extends ADElementImpl implements Concern {
* The cached value of the '{@link #getStakeholders() <em>Stakeholders</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getStakeholders()
* @generated
* @ordered
@@ -84,6 +87,7 @@ public class ConcernImpl extends ADElementImpl implements Concern {
* The cached value of the '{@link #getRaisedBy() <em>Raised By</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getRaisedBy()
* @generated
* @ordered
@@ -94,6 +98,7 @@ public class ConcernImpl extends ADElementImpl implements Concern {
* The cached value of the '{@link #getDecisions() <em>Decisions</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getDecisions()
* @generated
* @ordered
@@ -103,6 +108,7 @@ public class ConcernImpl extends ADElementImpl implements Concern {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected ConcernImpl() {
@@ -112,6 +118,7 @@ public class ConcernImpl extends ADElementImpl implements Concern {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -122,6 +129,7 @@ public class ConcernImpl extends ADElementImpl implements Concern {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EList<ArchitectureViewpoint> getFramedBy() {
@@ -134,6 +142,7 @@ public class ConcernImpl extends ADElementImpl implements Concern {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EList<ArchitectureView> getAddressedBy() {
@@ -146,6 +155,7 @@ public class ConcernImpl extends ADElementImpl implements Concern {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EList<Stakeholder> getStakeholders() {
@@ -158,6 +168,7 @@ public class ConcernImpl extends ADElementImpl implements Concern {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EList<ArchitectureDecision> getRaisedBy() {
@@ -170,6 +181,7 @@ public class ConcernImpl extends ADElementImpl implements Concern {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EList<ArchitectureDecision> getDecisions() {
@@ -182,22 +194,23 @@ public class ConcernImpl extends ADElementImpl implements Concern {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
- case Iso42010Package.CONCERN__FRAMED_BY:
- return ((InternalEList<InternalEObject>)(InternalEList<?>)getFramedBy()).basicAdd(otherEnd, msgs);
- case Iso42010Package.CONCERN__ADDRESSED_BY:
- return ((InternalEList<InternalEObject>)(InternalEList<?>)getAddressedBy()).basicAdd(otherEnd, msgs);
- case Iso42010Package.CONCERN__STAKEHOLDERS:
- return ((InternalEList<InternalEObject>)(InternalEList<?>)getStakeholders()).basicAdd(otherEnd, msgs);
- case Iso42010Package.CONCERN__RAISED_BY:
- return ((InternalEList<InternalEObject>)(InternalEList<?>)getRaisedBy()).basicAdd(otherEnd, msgs);
- case Iso42010Package.CONCERN__DECISIONS:
- return ((InternalEList<InternalEObject>)(InternalEList<?>)getDecisions()).basicAdd(otherEnd, msgs);
+ case Iso42010Package.CONCERN__FRAMED_BY:
+ return ((InternalEList<InternalEObject>) (InternalEList<?>) getFramedBy()).basicAdd(otherEnd, msgs);
+ case Iso42010Package.CONCERN__ADDRESSED_BY:
+ return ((InternalEList<InternalEObject>) (InternalEList<?>) getAddressedBy()).basicAdd(otherEnd, msgs);
+ case Iso42010Package.CONCERN__STAKEHOLDERS:
+ return ((InternalEList<InternalEObject>) (InternalEList<?>) getStakeholders()).basicAdd(otherEnd, msgs);
+ case Iso42010Package.CONCERN__RAISED_BY:
+ return ((InternalEList<InternalEObject>) (InternalEList<?>) getRaisedBy()).basicAdd(otherEnd, msgs);
+ case Iso42010Package.CONCERN__DECISIONS:
+ return ((InternalEList<InternalEObject>) (InternalEList<?>) getDecisions()).basicAdd(otherEnd, msgs);
}
return super.eInverseAdd(otherEnd, featureID, msgs);
}
@@ -205,21 +218,22 @@ public class ConcernImpl extends ADElementImpl implements Concern {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
- case Iso42010Package.CONCERN__FRAMED_BY:
- return ((InternalEList<?>)getFramedBy()).basicRemove(otherEnd, msgs);
- case Iso42010Package.CONCERN__ADDRESSED_BY:
- return ((InternalEList<?>)getAddressedBy()).basicRemove(otherEnd, msgs);
- case Iso42010Package.CONCERN__STAKEHOLDERS:
- return ((InternalEList<?>)getStakeholders()).basicRemove(otherEnd, msgs);
- case Iso42010Package.CONCERN__RAISED_BY:
- return ((InternalEList<?>)getRaisedBy()).basicRemove(otherEnd, msgs);
- case Iso42010Package.CONCERN__DECISIONS:
- return ((InternalEList<?>)getDecisions()).basicRemove(otherEnd, msgs);
+ case Iso42010Package.CONCERN__FRAMED_BY:
+ return ((InternalEList<?>) getFramedBy()).basicRemove(otherEnd, msgs);
+ case Iso42010Package.CONCERN__ADDRESSED_BY:
+ return ((InternalEList<?>) getAddressedBy()).basicRemove(otherEnd, msgs);
+ case Iso42010Package.CONCERN__STAKEHOLDERS:
+ return ((InternalEList<?>) getStakeholders()).basicRemove(otherEnd, msgs);
+ case Iso42010Package.CONCERN__RAISED_BY:
+ return ((InternalEList<?>) getRaisedBy()).basicRemove(otherEnd, msgs);
+ case Iso42010Package.CONCERN__DECISIONS:
+ return ((InternalEList<?>) getDecisions()).basicRemove(otherEnd, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
@@ -227,21 +241,22 @@ public class ConcernImpl extends ADElementImpl implements Concern {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case Iso42010Package.CONCERN__FRAMED_BY:
- return getFramedBy();
- case Iso42010Package.CONCERN__ADDRESSED_BY:
- return getAddressedBy();
- case Iso42010Package.CONCERN__STAKEHOLDERS:
- return getStakeholders();
- case Iso42010Package.CONCERN__RAISED_BY:
- return getRaisedBy();
- case Iso42010Package.CONCERN__DECISIONS:
- return getDecisions();
+ case Iso42010Package.CONCERN__FRAMED_BY:
+ return getFramedBy();
+ case Iso42010Package.CONCERN__ADDRESSED_BY:
+ return getAddressedBy();
+ case Iso42010Package.CONCERN__STAKEHOLDERS:
+ return getStakeholders();
+ case Iso42010Package.CONCERN__RAISED_BY:
+ return getRaisedBy();
+ case Iso42010Package.CONCERN__DECISIONS:
+ return getDecisions();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -249,32 +264,33 @@ public class ConcernImpl extends ADElementImpl implements Concern {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case Iso42010Package.CONCERN__FRAMED_BY:
- getFramedBy().clear();
- getFramedBy().addAll((Collection<? extends ArchitectureViewpoint>)newValue);
- return;
- case Iso42010Package.CONCERN__ADDRESSED_BY:
- getAddressedBy().clear();
- getAddressedBy().addAll((Collection<? extends ArchitectureView>)newValue);
- return;
- case Iso42010Package.CONCERN__STAKEHOLDERS:
- getStakeholders().clear();
- getStakeholders().addAll((Collection<? extends Stakeholder>)newValue);
- return;
- case Iso42010Package.CONCERN__RAISED_BY:
- getRaisedBy().clear();
- getRaisedBy().addAll((Collection<? extends ArchitectureDecision>)newValue);
- return;
- case Iso42010Package.CONCERN__DECISIONS:
- getDecisions().clear();
- getDecisions().addAll((Collection<? extends ArchitectureDecision>)newValue);
- return;
+ case Iso42010Package.CONCERN__FRAMED_BY:
+ getFramedBy().clear();
+ getFramedBy().addAll((Collection<? extends ArchitectureViewpoint>) newValue);
+ return;
+ case Iso42010Package.CONCERN__ADDRESSED_BY:
+ getAddressedBy().clear();
+ getAddressedBy().addAll((Collection<? extends ArchitectureView>) newValue);
+ return;
+ case Iso42010Package.CONCERN__STAKEHOLDERS:
+ getStakeholders().clear();
+ getStakeholders().addAll((Collection<? extends Stakeholder>) newValue);
+ return;
+ case Iso42010Package.CONCERN__RAISED_BY:
+ getRaisedBy().clear();
+ getRaisedBy().addAll((Collection<? extends ArchitectureDecision>) newValue);
+ return;
+ case Iso42010Package.CONCERN__DECISIONS:
+ getDecisions().clear();
+ getDecisions().addAll((Collection<? extends ArchitectureDecision>) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -282,26 +298,27 @@ public class ConcernImpl extends ADElementImpl implements Concern {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case Iso42010Package.CONCERN__FRAMED_BY:
- getFramedBy().clear();
- return;
- case Iso42010Package.CONCERN__ADDRESSED_BY:
- getAddressedBy().clear();
- return;
- case Iso42010Package.CONCERN__STAKEHOLDERS:
- getStakeholders().clear();
- return;
- case Iso42010Package.CONCERN__RAISED_BY:
- getRaisedBy().clear();
- return;
- case Iso42010Package.CONCERN__DECISIONS:
- getDecisions().clear();
- return;
+ case Iso42010Package.CONCERN__FRAMED_BY:
+ getFramedBy().clear();
+ return;
+ case Iso42010Package.CONCERN__ADDRESSED_BY:
+ getAddressedBy().clear();
+ return;
+ case Iso42010Package.CONCERN__STAKEHOLDERS:
+ getStakeholders().clear();
+ return;
+ case Iso42010Package.CONCERN__RAISED_BY:
+ getRaisedBy().clear();
+ return;
+ case Iso42010Package.CONCERN__DECISIONS:
+ getDecisions().clear();
+ return;
}
super.eUnset(featureID);
}
@@ -309,23 +326,24 @@ public class ConcernImpl extends ADElementImpl implements Concern {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case Iso42010Package.CONCERN__FRAMED_BY:
- return framedBy != null && !framedBy.isEmpty();
- case Iso42010Package.CONCERN__ADDRESSED_BY:
- return addressedBy != null && !addressedBy.isEmpty();
- case Iso42010Package.CONCERN__STAKEHOLDERS:
- return stakeholders != null && !stakeholders.isEmpty();
- case Iso42010Package.CONCERN__RAISED_BY:
- return raisedBy != null && !raisedBy.isEmpty();
- case Iso42010Package.CONCERN__DECISIONS:
- return decisions != null && !decisions.isEmpty();
+ case Iso42010Package.CONCERN__FRAMED_BY:
+ return framedBy != null && !framedBy.isEmpty();
+ case Iso42010Package.CONCERN__ADDRESSED_BY:
+ return addressedBy != null && !addressedBy.isEmpty();
+ case Iso42010Package.CONCERN__STAKEHOLDERS:
+ return stakeholders != null && !stakeholders.isEmpty();
+ case Iso42010Package.CONCERN__RAISED_BY:
+ return raisedBy != null && !raisedBy.isEmpty();
+ case Iso42010Package.CONCERN__DECISIONS:
+ return decisions != null && !decisions.isEmpty();
}
return super.eIsSet(featureID);
}
-} //ConcernImpl
+} // ConcernImpl
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/impl/CorrespondenceImpl.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/impl/CorrespondenceImpl.java
index a6ba74d90f6..fbd43dddd7d 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/impl/CorrespondenceImpl.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/impl/CorrespondenceImpl.java
@@ -1,15 +1,15 @@
/**
* 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
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- *
- *
+ *
+ *
*/
package org.eclipse.papyrus.infra.viewpoints.iso42010.impl;
@@ -40,8 +40,8 @@ import org.eclipse.papyrus.infra.viewpoints.iso42010.Iso42010Package;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.CorrespondenceImpl#getGovernedBy <em>Governed By</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.CorrespondenceImpl#getRelates <em>Relates</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.CorrespondenceImpl#getGovernedBy <em>Governed By</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.CorrespondenceImpl#getRelates <em>Relates</em>}</li>
* </ul>
* </p>
*
@@ -52,6 +52,7 @@ public class CorrespondenceImpl extends MinimalEObjectImpl.Container implements
* The cached value of the '{@link #getGovernedBy() <em>Governed By</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getGovernedBy()
* @generated
* @ordered
@@ -62,6 +63,7 @@ public class CorrespondenceImpl extends MinimalEObjectImpl.Container implements
* The cached value of the '{@link #getRelates() <em>Relates</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getRelates()
* @generated
* @ordered
@@ -71,6 +73,7 @@ public class CorrespondenceImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected CorrespondenceImpl() {
@@ -80,6 +83,7 @@ public class CorrespondenceImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -90,6 +94,7 @@ public class CorrespondenceImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EList<CorrespondenceRule> getGovernedBy() {
@@ -102,6 +107,7 @@ public class CorrespondenceImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EList<ADElement> getRelates() {
@@ -114,14 +120,15 @@ public class CorrespondenceImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
- case Iso42010Package.CORRESPONDENCE__GOVERNED_BY:
- return ((InternalEList<InternalEObject>)(InternalEList<?>)getGovernedBy()).basicAdd(otherEnd, msgs);
+ case Iso42010Package.CORRESPONDENCE__GOVERNED_BY:
+ return ((InternalEList<InternalEObject>) (InternalEList<?>) getGovernedBy()).basicAdd(otherEnd, msgs);
}
return super.eInverseAdd(otherEnd, featureID, msgs);
}
@@ -129,13 +136,14 @@ public class CorrespondenceImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
- case Iso42010Package.CORRESPONDENCE__GOVERNED_BY:
- return ((InternalEList<?>)getGovernedBy()).basicRemove(otherEnd, msgs);
+ case Iso42010Package.CORRESPONDENCE__GOVERNED_BY:
+ return ((InternalEList<?>) getGovernedBy()).basicRemove(otherEnd, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
@@ -143,15 +151,16 @@ public class CorrespondenceImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case Iso42010Package.CORRESPONDENCE__GOVERNED_BY:
- return getGovernedBy();
- case Iso42010Package.CORRESPONDENCE__RELATES:
- return getRelates();
+ case Iso42010Package.CORRESPONDENCE__GOVERNED_BY:
+ return getGovernedBy();
+ case Iso42010Package.CORRESPONDENCE__RELATES:
+ return getRelates();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -159,20 +168,21 @@ public class CorrespondenceImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case Iso42010Package.CORRESPONDENCE__GOVERNED_BY:
- getGovernedBy().clear();
- getGovernedBy().addAll((Collection<? extends CorrespondenceRule>)newValue);
- return;
- case Iso42010Package.CORRESPONDENCE__RELATES:
- getRelates().clear();
- getRelates().addAll((Collection<? extends ADElement>)newValue);
- return;
+ case Iso42010Package.CORRESPONDENCE__GOVERNED_BY:
+ getGovernedBy().clear();
+ getGovernedBy().addAll((Collection<? extends CorrespondenceRule>) newValue);
+ return;
+ case Iso42010Package.CORRESPONDENCE__RELATES:
+ getRelates().clear();
+ getRelates().addAll((Collection<? extends ADElement>) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -180,17 +190,18 @@ public class CorrespondenceImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case Iso42010Package.CORRESPONDENCE__GOVERNED_BY:
- getGovernedBy().clear();
- return;
- case Iso42010Package.CORRESPONDENCE__RELATES:
- getRelates().clear();
- return;
+ case Iso42010Package.CORRESPONDENCE__GOVERNED_BY:
+ getGovernedBy().clear();
+ return;
+ case Iso42010Package.CORRESPONDENCE__RELATES:
+ getRelates().clear();
+ return;
}
super.eUnset(featureID);
}
@@ -198,17 +209,18 @@ public class CorrespondenceImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case Iso42010Package.CORRESPONDENCE__GOVERNED_BY:
- return governedBy != null && !governedBy.isEmpty();
- case Iso42010Package.CORRESPONDENCE__RELATES:
- return relates != null && !relates.isEmpty();
+ case Iso42010Package.CORRESPONDENCE__GOVERNED_BY:
+ return governedBy != null && !governedBy.isEmpty();
+ case Iso42010Package.CORRESPONDENCE__RELATES:
+ return relates != null && !relates.isEmpty();
}
return super.eIsSet(featureID);
}
-} //CorrespondenceImpl
+} // CorrespondenceImpl
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/impl/CorrespondenceRuleImpl.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/impl/CorrespondenceRuleImpl.java
index 83fb9a77540..5961302c7aa 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/impl/CorrespondenceRuleImpl.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/impl/CorrespondenceRuleImpl.java
@@ -1,15 +1,15 @@
/**
* 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
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- *
- *
+ *
+ *
*/
package org.eclipse.papyrus.infra.viewpoints.iso42010.impl;
@@ -38,7 +38,7 @@ import org.eclipse.papyrus.infra.viewpoints.iso42010.Iso42010Package;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.CorrespondenceRuleImpl#getGoverns <em>Governs</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.CorrespondenceRuleImpl#getGoverns <em>Governs</em>}</li>
* </ul>
* </p>
*
@@ -49,6 +49,7 @@ public class CorrespondenceRuleImpl extends MinimalEObjectImpl.Container impleme
* The cached value of the '{@link #getGoverns() <em>Governs</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getGoverns()
* @generated
* @ordered
@@ -58,6 +59,7 @@ public class CorrespondenceRuleImpl extends MinimalEObjectImpl.Container impleme
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected CorrespondenceRuleImpl() {
@@ -67,6 +69,7 @@ public class CorrespondenceRuleImpl extends MinimalEObjectImpl.Container impleme
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -77,6 +80,7 @@ public class CorrespondenceRuleImpl extends MinimalEObjectImpl.Container impleme
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EList<Correspondence> getGoverns() {
@@ -89,14 +93,15 @@ public class CorrespondenceRuleImpl extends MinimalEObjectImpl.Container impleme
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
- case Iso42010Package.CORRESPONDENCE_RULE__GOVERNS:
- return ((InternalEList<InternalEObject>)(InternalEList<?>)getGoverns()).basicAdd(otherEnd, msgs);
+ case Iso42010Package.CORRESPONDENCE_RULE__GOVERNS:
+ return ((InternalEList<InternalEObject>) (InternalEList<?>) getGoverns()).basicAdd(otherEnd, msgs);
}
return super.eInverseAdd(otherEnd, featureID, msgs);
}
@@ -104,13 +109,14 @@ public class CorrespondenceRuleImpl extends MinimalEObjectImpl.Container impleme
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
- case Iso42010Package.CORRESPONDENCE_RULE__GOVERNS:
- return ((InternalEList<?>)getGoverns()).basicRemove(otherEnd, msgs);
+ case Iso42010Package.CORRESPONDENCE_RULE__GOVERNS:
+ return ((InternalEList<?>) getGoverns()).basicRemove(otherEnd, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
@@ -118,13 +124,14 @@ public class CorrespondenceRuleImpl extends MinimalEObjectImpl.Container impleme
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case Iso42010Package.CORRESPONDENCE_RULE__GOVERNS:
- return getGoverns();
+ case Iso42010Package.CORRESPONDENCE_RULE__GOVERNS:
+ return getGoverns();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -132,16 +139,17 @@ public class CorrespondenceRuleImpl extends MinimalEObjectImpl.Container impleme
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case Iso42010Package.CORRESPONDENCE_RULE__GOVERNS:
- getGoverns().clear();
- getGoverns().addAll((Collection<? extends Correspondence>)newValue);
- return;
+ case Iso42010Package.CORRESPONDENCE_RULE__GOVERNS:
+ getGoverns().clear();
+ getGoverns().addAll((Collection<? extends Correspondence>) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -149,14 +157,15 @@ public class CorrespondenceRuleImpl extends MinimalEObjectImpl.Container impleme
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case Iso42010Package.CORRESPONDENCE_RULE__GOVERNS:
- getGoverns().clear();
- return;
+ case Iso42010Package.CORRESPONDENCE_RULE__GOVERNS:
+ getGoverns().clear();
+ return;
}
super.eUnset(featureID);
}
@@ -164,15 +173,16 @@ public class CorrespondenceRuleImpl extends MinimalEObjectImpl.Container impleme
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case Iso42010Package.CORRESPONDENCE_RULE__GOVERNS:
- return governs != null && !governs.isEmpty();
+ case Iso42010Package.CORRESPONDENCE_RULE__GOVERNS:
+ return governs != null && !governs.isEmpty();
}
return super.eIsSet(featureID);
}
-} //CorrespondenceRuleImpl
+} // CorrespondenceRuleImpl
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/impl/Iso42010FactoryImpl.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/impl/Iso42010FactoryImpl.java
index 66fc98e6021..9e909748f80 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/impl/Iso42010FactoryImpl.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/impl/Iso42010FactoryImpl.java
@@ -1,15 +1,15 @@
/**
* 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
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- *
- *
+ *
+ *
*/
package org.eclipse.papyrus.infra.viewpoints.iso42010.impl;
@@ -41,6 +41,7 @@ import org.eclipse.papyrus.infra.viewpoints.iso42010.Stakeholder;
* <!-- begin-user-doc -->
* An implementation of the model <b>Factory</b>.
* <!-- end-user-doc -->
+ *
* @generated
*/
public class Iso42010FactoryImpl extends EFactoryImpl implements Iso42010Factory {
@@ -48,16 +49,16 @@ public class Iso42010FactoryImpl extends EFactoryImpl implements Iso42010Factory
* Creates the default factory implementation.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public static Iso42010Factory init() {
try {
- Iso42010Factory theIso42010Factory = (Iso42010Factory)EPackage.Registry.INSTANCE.getEFactory(Iso42010Package.eNS_URI);
+ Iso42010Factory theIso42010Factory = (Iso42010Factory) EPackage.Registry.INSTANCE.getEFactory(Iso42010Package.eNS_URI);
if (theIso42010Factory != null) {
return theIso42010Factory;
}
- }
- catch (Exception exception) {
+ } catch (Exception exception) {
EcorePlugin.INSTANCE.log(exception);
}
return new Iso42010FactoryImpl();
@@ -67,6 +68,7 @@ public class Iso42010FactoryImpl extends EFactoryImpl implements Iso42010Factory
* Creates an instance of the factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public Iso42010FactoryImpl() {
@@ -76,33 +78,49 @@ public class Iso42010FactoryImpl extends EFactoryImpl implements Iso42010Factory
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public EObject create(EClass eClass) {
switch (eClass.getClassifierID()) {
- case Iso42010Package.ARCHITECTURE_DESCRIPTION: return createArchitectureDescription();
- case Iso42010Package.STAKEHOLDER: return createStakeholder();
- case Iso42010Package.ARCHITECTURE_VIEWPOINT: return createArchitectureViewpoint();
- case Iso42010Package.MODEL_KIND: return createModelKind();
- case Iso42010Package.ARCHITECTURE_MODEL: return createArchitectureModel();
- case Iso42010Package.ARCHITECTURE_VIEW: return createArchitectureView();
- case Iso42010Package.CONCERN: return createConcern();
- case Iso42010Package.SYSTEM: return createSystem();
- case Iso42010Package.ARCHITECTURE: return createArchitecture();
- case Iso42010Package.ARCHITECTURE_RATIONALE: return createArchitectureRationale();
- case Iso42010Package.CORRESPONDENCE: return createCorrespondence();
- case Iso42010Package.CORRESPONDENCE_RULE: return createCorrespondenceRule();
- case Iso42010Package.ARCHITECTURE_DECISION: return createArchitectureDecision();
- case Iso42010Package.ARCHITECTURE_FRAMEWORK: return createArchitectureFramework();
- default:
- throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
+ case Iso42010Package.ARCHITECTURE_DESCRIPTION:
+ return createArchitectureDescription();
+ case Iso42010Package.STAKEHOLDER:
+ return createStakeholder();
+ case Iso42010Package.ARCHITECTURE_VIEWPOINT:
+ return createArchitectureViewpoint();
+ case Iso42010Package.MODEL_KIND:
+ return createModelKind();
+ case Iso42010Package.ARCHITECTURE_MODEL:
+ return createArchitectureModel();
+ case Iso42010Package.ARCHITECTURE_VIEW:
+ return createArchitectureView();
+ case Iso42010Package.CONCERN:
+ return createConcern();
+ case Iso42010Package.SYSTEM:
+ return createSystem();
+ case Iso42010Package.ARCHITECTURE:
+ return createArchitecture();
+ case Iso42010Package.ARCHITECTURE_RATIONALE:
+ return createArchitectureRationale();
+ case Iso42010Package.CORRESPONDENCE:
+ return createCorrespondence();
+ case Iso42010Package.CORRESPONDENCE_RULE:
+ return createCorrespondenceRule();
+ case Iso42010Package.ARCHITECTURE_DECISION:
+ return createArchitectureDecision();
+ case Iso42010Package.ARCHITECTURE_FRAMEWORK:
+ return createArchitectureFramework();
+ default:
+ throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
}
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public ArchitectureDescription createArchitectureDescription() {
@@ -113,6 +131,7 @@ public class Iso42010FactoryImpl extends EFactoryImpl implements Iso42010Factory
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public Stakeholder createStakeholder() {
@@ -123,6 +142,7 @@ public class Iso42010FactoryImpl extends EFactoryImpl implements Iso42010Factory
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public ArchitectureViewpoint createArchitectureViewpoint() {
@@ -133,6 +153,7 @@ public class Iso42010FactoryImpl extends EFactoryImpl implements Iso42010Factory
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public ModelKind createModelKind() {
@@ -143,6 +164,7 @@ public class Iso42010FactoryImpl extends EFactoryImpl implements Iso42010Factory
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public ArchitectureModel createArchitectureModel() {
@@ -153,6 +175,7 @@ public class Iso42010FactoryImpl extends EFactoryImpl implements Iso42010Factory
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public ArchitectureView createArchitectureView() {
@@ -163,6 +186,7 @@ public class Iso42010FactoryImpl extends EFactoryImpl implements Iso42010Factory
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public Concern createConcern() {
@@ -173,6 +197,7 @@ public class Iso42010FactoryImpl extends EFactoryImpl implements Iso42010Factory
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public org.eclipse.papyrus.infra.viewpoints.iso42010.System createSystem() {
@@ -183,6 +208,7 @@ public class Iso42010FactoryImpl extends EFactoryImpl implements Iso42010Factory
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public Architecture createArchitecture() {
@@ -193,6 +219,7 @@ public class Iso42010FactoryImpl extends EFactoryImpl implements Iso42010Factory
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public ArchitectureRationale createArchitectureRationale() {
@@ -203,6 +230,7 @@ public class Iso42010FactoryImpl extends EFactoryImpl implements Iso42010Factory
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public Correspondence createCorrespondence() {
@@ -213,6 +241,7 @@ public class Iso42010FactoryImpl extends EFactoryImpl implements Iso42010Factory
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public CorrespondenceRule createCorrespondenceRule() {
@@ -223,6 +252,7 @@ public class Iso42010FactoryImpl extends EFactoryImpl implements Iso42010Factory
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public ArchitectureDecision createArchitectureDecision() {
@@ -233,6 +263,7 @@ public class Iso42010FactoryImpl extends EFactoryImpl implements Iso42010Factory
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public ArchitectureFramework createArchitectureFramework() {
@@ -243,15 +274,17 @@ public class Iso42010FactoryImpl extends EFactoryImpl implements Iso42010Factory
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public Iso42010Package getIso42010Package() {
- return (Iso42010Package)getEPackage();
+ return (Iso42010Package) getEPackage();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @deprecated
* @generated
*/
@@ -260,4 +293,4 @@ public class Iso42010FactoryImpl extends EFactoryImpl implements Iso42010Factory
return Iso42010Package.eINSTANCE;
}
-} //Iso42010FactoryImpl
+} // Iso42010FactoryImpl
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/impl/Iso42010PackageImpl.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/impl/Iso42010PackageImpl.java
index dcc0b479c99..ddb0151a643 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/impl/Iso42010PackageImpl.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/impl/Iso42010PackageImpl.java
@@ -1,15 +1,15 @@
/**
* 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
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- *
- *
+ *
+ *
*/
package org.eclipse.papyrus.infra.viewpoints.iso42010.impl;
@@ -41,12 +41,14 @@ import org.eclipse.papyrus.infra.viewpoints.iso42010.Stakeholder;
* <!-- begin-user-doc -->
* An implementation of the model <b>Package</b>.
* <!-- end-user-doc -->
+ *
* @generated
*/
public class Iso42010PackageImpl extends EPackageImpl implements Iso42010Package {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass adElementEClass = null;
@@ -54,6 +56,7 @@ public class Iso42010PackageImpl extends EPackageImpl implements Iso42010Package
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass architectureDescriptionEClass = null;
@@ -61,6 +64,7 @@ public class Iso42010PackageImpl extends EPackageImpl implements Iso42010Package
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass stakeholderEClass = null;
@@ -68,6 +72,7 @@ public class Iso42010PackageImpl extends EPackageImpl implements Iso42010Package
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass architectureViewpointEClass = null;
@@ -75,6 +80,7 @@ public class Iso42010PackageImpl extends EPackageImpl implements Iso42010Package
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass modelKindEClass = null;
@@ -82,6 +88,7 @@ public class Iso42010PackageImpl extends EPackageImpl implements Iso42010Package
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass architectureModelEClass = null;
@@ -89,6 +96,7 @@ public class Iso42010PackageImpl extends EPackageImpl implements Iso42010Package
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass architectureViewEClass = null;
@@ -96,6 +104,7 @@ public class Iso42010PackageImpl extends EPackageImpl implements Iso42010Package
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass concernEClass = null;
@@ -103,6 +112,7 @@ public class Iso42010PackageImpl extends EPackageImpl implements Iso42010Package
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass systemEClass = null;
@@ -110,6 +120,7 @@ public class Iso42010PackageImpl extends EPackageImpl implements Iso42010Package
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass architectureEClass = null;
@@ -117,6 +128,7 @@ public class Iso42010PackageImpl extends EPackageImpl implements Iso42010Package
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass architectureRationaleEClass = null;
@@ -124,6 +136,7 @@ public class Iso42010PackageImpl extends EPackageImpl implements Iso42010Package
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass correspondenceEClass = null;
@@ -131,6 +144,7 @@ public class Iso42010PackageImpl extends EPackageImpl implements Iso42010Package
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass correspondenceRuleEClass = null;
@@ -138,6 +152,7 @@ public class Iso42010PackageImpl extends EPackageImpl implements Iso42010Package
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass architectureDecisionEClass = null;
@@ -145,20 +160,17 @@ public class Iso42010PackageImpl extends EPackageImpl implements Iso42010Package
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass architectureFrameworkEClass = 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.infra.viewpoints.iso42010.Iso42010Package#eNS_URI
* @see #init()
@@ -171,27 +183,29 @@ public class Iso42010PackageImpl extends EPackageImpl implements Iso42010Package
/**
* <!-- 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 Iso42010Package#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 Iso42010Package#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 Iso42010Package init() {
- if (isInited) return (Iso42010Package)EPackage.Registry.INSTANCE.getEPackage(Iso42010Package.eNS_URI);
+ if (isInited) {
+ return (Iso42010Package) EPackage.Registry.INSTANCE.getEPackage(Iso42010Package.eNS_URI);
+ }
// Obtain or create and register package
- Iso42010PackageImpl theIso42010Package = (Iso42010PackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof Iso42010PackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new Iso42010PackageImpl());
+ Iso42010PackageImpl theIso42010Package = (Iso42010PackageImpl) (EPackage.Registry.INSTANCE.get(eNS_URI) instanceof Iso42010PackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new Iso42010PackageImpl());
isInited = true;
@@ -204,7 +218,7 @@ public class Iso42010PackageImpl extends EPackageImpl implements Iso42010Package
// Mark meta-data to indicate it can't be changed
theIso42010Package.freeze();
-
+
// Update the registry and return the package
EPackage.Registry.INSTANCE.put(Iso42010Package.eNS_URI, theIso42010Package);
return theIso42010Package;
@@ -213,6 +227,7 @@ public class Iso42010PackageImpl extends EPackageImpl implements Iso42010Package
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EClass getADElement() {
@@ -222,24 +237,27 @@ public class Iso42010PackageImpl extends EPackageImpl implements Iso42010Package
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EAttribute getADElement_Name() {
- return (EAttribute)adElementEClass.getEStructuralFeatures().get(0);
+ return (EAttribute) adElementEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getADElement_AffectedBy() {
- return (EReference)adElementEClass.getEStructuralFeatures().get(1);
+ return (EReference) adElementEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EClass getArchitectureDescription() {
@@ -249,96 +267,107 @@ public class Iso42010PackageImpl extends EPackageImpl implements Iso42010Package
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getArchitectureDescription_Stakeholders() {
- return (EReference)architectureDescriptionEClass.getEStructuralFeatures().get(0);
+ return (EReference) architectureDescriptionEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getArchitectureDescription_Concerns() {
- return (EReference)architectureDescriptionEClass.getEStructuralFeatures().get(1);
+ return (EReference) architectureDescriptionEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getArchitectureDescription_Viewpoints() {
- return (EReference)architectureDescriptionEClass.getEStructuralFeatures().get(2);
+ return (EReference) architectureDescriptionEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getArchitectureDescription_Views() {
- return (EReference)architectureDescriptionEClass.getEStructuralFeatures().get(3);
+ return (EReference) architectureDescriptionEClass.getEStructuralFeatures().get(3);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getArchitectureDescription_System() {
- return (EReference)architectureDescriptionEClass.getEStructuralFeatures().get(4);
+ return (EReference) architectureDescriptionEClass.getEStructuralFeatures().get(4);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getArchitectureDescription_Expresses() {
- return (EReference)architectureDescriptionEClass.getEStructuralFeatures().get(5);
+ return (EReference) architectureDescriptionEClass.getEStructuralFeatures().get(5);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getArchitectureDescription_Rationales() {
- return (EReference)architectureDescriptionEClass.getEStructuralFeatures().get(6);
+ return (EReference) architectureDescriptionEClass.getEStructuralFeatures().get(6);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getArchitectureDescription_Correspondences() {
- return (EReference)architectureDescriptionEClass.getEStructuralFeatures().get(7);
+ return (EReference) architectureDescriptionEClass.getEStructuralFeatures().get(7);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getArchitectureDescription_Rules() {
- return (EReference)architectureDescriptionEClass.getEStructuralFeatures().get(8);
+ return (EReference) architectureDescriptionEClass.getEStructuralFeatures().get(8);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getArchitectureDescription_Decisions() {
- return (EReference)architectureDescriptionEClass.getEStructuralFeatures().get(9);
+ return (EReference) architectureDescriptionEClass.getEStructuralFeatures().get(9);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EClass getStakeholder() {
@@ -348,33 +377,37 @@ public class Iso42010PackageImpl extends EPackageImpl implements Iso42010Package
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getStakeholder_Concerns() {
- return (EReference)stakeholderEClass.getEStructuralFeatures().get(0);
+ return (EReference) stakeholderEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getStakeholder_Viewpoints() {
- return (EReference)stakeholderEClass.getEStructuralFeatures().get(1);
+ return (EReference) stakeholderEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getStakeholder_HasInterestIn() {
- return (EReference)stakeholderEClass.getEStructuralFeatures().get(2);
+ return (EReference) stakeholderEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EClass getArchitectureViewpoint() {
@@ -384,33 +417,37 @@ public class Iso42010PackageImpl extends EPackageImpl implements Iso42010Package
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getArchitectureViewpoint_ModelKinds() {
- return (EReference)architectureViewpointEClass.getEStructuralFeatures().get(0);
+ return (EReference) architectureViewpointEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getArchitectureViewpoint_Governs() {
- return (EReference)architectureViewpointEClass.getEStructuralFeatures().get(1);
+ return (EReference) architectureViewpointEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getArchitectureViewpoint_Frames() {
- return (EReference)architectureViewpointEClass.getEStructuralFeatures().get(2);
+ return (EReference) architectureViewpointEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EClass getModelKind() {
@@ -420,24 +457,27 @@ public class Iso42010PackageImpl extends EPackageImpl implements Iso42010Package
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getModelKind_Governs() {
- return (EReference)modelKindEClass.getEStructuralFeatures().get(0);
+ return (EReference) modelKindEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getModelKind_Viewpoint() {
- return (EReference)modelKindEClass.getEStructuralFeatures().get(1);
+ return (EReference) modelKindEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EClass getArchitectureModel() {
@@ -447,24 +487,27 @@ public class Iso42010PackageImpl extends EPackageImpl implements Iso42010Package
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getArchitectureModel_GovernedBy() {
- return (EReference)architectureModelEClass.getEStructuralFeatures().get(0);
+ return (EReference) architectureModelEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getArchitectureModel_View() {
- return (EReference)architectureModelEClass.getEStructuralFeatures().get(1);
+ return (EReference) architectureModelEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EClass getArchitectureView() {
@@ -474,33 +517,37 @@ public class Iso42010PackageImpl extends EPackageImpl implements Iso42010Package
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getArchitectureView_GovernedBy() {
- return (EReference)architectureViewEClass.getEStructuralFeatures().get(0);
+ return (EReference) architectureViewEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getArchitectureView_Models() {
- return (EReference)architectureViewEClass.getEStructuralFeatures().get(1);
+ return (EReference) architectureViewEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getArchitectureView_Addresses() {
- return (EReference)architectureViewEClass.getEStructuralFeatures().get(2);
+ return (EReference) architectureViewEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EClass getConcern() {
@@ -510,51 +557,57 @@ public class Iso42010PackageImpl extends EPackageImpl implements Iso42010Package
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getConcern_FramedBy() {
- return (EReference)concernEClass.getEStructuralFeatures().get(0);
+ return (EReference) concernEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getConcern_AddressedBy() {
- return (EReference)concernEClass.getEStructuralFeatures().get(1);
+ return (EReference) concernEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getConcern_Stakeholders() {
- return (EReference)concernEClass.getEStructuralFeatures().get(2);
+ return (EReference) concernEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getConcern_RaisedBy() {
- return (EReference)concernEClass.getEStructuralFeatures().get(3);
+ return (EReference) concernEClass.getEStructuralFeatures().get(3);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getConcern_Decisions() {
- return (EReference)concernEClass.getEStructuralFeatures().get(4);
+ return (EReference) concernEClass.getEStructuralFeatures().get(4);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EClass getSystem() {
@@ -564,33 +617,37 @@ public class Iso42010PackageImpl extends EPackageImpl implements Iso42010Package
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EAttribute getSystem_Name() {
- return (EAttribute)systemEClass.getEStructuralFeatures().get(0);
+ return (EAttribute) systemEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getSystem_Stakeholders() {
- return (EReference)systemEClass.getEStructuralFeatures().get(1);
+ return (EReference) systemEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getSystem_Exhibits() {
- return (EReference)systemEClass.getEStructuralFeatures().get(2);
+ return (EReference) systemEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EClass getArchitecture() {
@@ -600,15 +657,17 @@ public class Iso42010PackageImpl extends EPackageImpl implements Iso42010Package
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getArchitecture_ExhibitedIn() {
- return (EReference)architectureEClass.getEStructuralFeatures().get(0);
+ return (EReference) architectureEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EClass getArchitectureRationale() {
@@ -618,15 +677,17 @@ public class Iso42010PackageImpl extends EPackageImpl implements Iso42010Package
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getArchitectureRationale_Justifies() {
- return (EReference)architectureRationaleEClass.getEStructuralFeatures().get(0);
+ return (EReference) architectureRationaleEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EClass getCorrespondence() {
@@ -636,24 +697,27 @@ public class Iso42010PackageImpl extends EPackageImpl implements Iso42010Package
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getCorrespondence_GovernedBy() {
- return (EReference)correspondenceEClass.getEStructuralFeatures().get(0);
+ return (EReference) correspondenceEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getCorrespondence_Relates() {
- return (EReference)correspondenceEClass.getEStructuralFeatures().get(1);
+ return (EReference) correspondenceEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EClass getCorrespondenceRule() {
@@ -663,15 +727,17 @@ public class Iso42010PackageImpl extends EPackageImpl implements Iso42010Package
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getCorrespondenceRule_Governs() {
- return (EReference)correspondenceRuleEClass.getEStructuralFeatures().get(0);
+ return (EReference) correspondenceRuleEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EClass getArchitectureDecision() {
@@ -681,60 +747,67 @@ public class Iso42010PackageImpl extends EPackageImpl implements Iso42010Package
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getArchitectureDecision_JustifiedBy() {
- return (EReference)architectureDecisionEClass.getEStructuralFeatures().get(0);
+ return (EReference) architectureDecisionEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getArchitectureDecision_DependsUpon() {
- return (EReference)architectureDecisionEClass.getEStructuralFeatures().get(1);
+ return (EReference) architectureDecisionEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getArchitectureDecision_Dependents() {
- return (EReference)architectureDecisionEClass.getEStructuralFeatures().get(2);
+ return (EReference) architectureDecisionEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getArchitectureDecision_Raises() {
- return (EReference)architectureDecisionEClass.getEStructuralFeatures().get(3);
+ return (EReference) architectureDecisionEClass.getEStructuralFeatures().get(3);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getArchitectureDecision_PertainsTo() {
- return (EReference)architectureDecisionEClass.getEStructuralFeatures().get(4);
+ return (EReference) architectureDecisionEClass.getEStructuralFeatures().get(4);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getArchitectureDecision_Affects() {
- return (EReference)architectureDecisionEClass.getEStructuralFeatures().get(5);
+ return (EReference) architectureDecisionEClass.getEStructuralFeatures().get(5);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EClass getArchitectureFramework() {
@@ -744,64 +817,73 @@ public class Iso42010PackageImpl extends EPackageImpl implements Iso42010Package
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getArchitectureFramework_Stakeholders() {
- return (EReference)architectureFrameworkEClass.getEStructuralFeatures().get(0);
+ return (EReference) architectureFrameworkEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getArchitectureFramework_Viewpoints() {
- return (EReference)architectureFrameworkEClass.getEStructuralFeatures().get(1);
+ return (EReference) architectureFrameworkEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getArchitectureFramework_Rules() {
- return (EReference)architectureFrameworkEClass.getEStructuralFeatures().get(2);
+ return (EReference) architectureFrameworkEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getArchitectureFramework_Concerns() {
- return (EReference)architectureFrameworkEClass.getEStructuralFeatures().get(3);
+ return (EReference) architectureFrameworkEClass.getEStructuralFeatures().get(3);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public Iso42010Factory getIso42010Factory() {
- return (Iso42010Factory)getEFactoryInstance();
+ return (Iso42010Factory) 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
@@ -887,19 +969,23 @@ public class Iso42010PackageImpl extends EPackageImpl implements Iso42010Package
/**
* <!-- 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
@@ -924,84 +1010,129 @@ public class Iso42010PackageImpl extends EPackageImpl implements Iso42010Package
// Initialize classes, features, and operations; add parameters
initEClass(adElementEClass, ADElement.class, "ADElement", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getADElement_Name(), ecorePackage.getEString(), "name", null, 1, 1, ADElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getADElement_AffectedBy(), this.getArchitectureDecision(), this.getArchitectureDecision_Affects(), "affectedBy", null, 0, -1, ADElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getADElement_AffectedBy(), this.getArchitectureDecision(), this.getArchitectureDecision_Affects(), "affectedBy", null, 0, -1, ADElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,
+ !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(architectureDescriptionEClass, ArchitectureDescription.class, "ArchitectureDescription", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getArchitectureDescription_Stakeholders(), this.getStakeholder(), null, "stakeholders", null, 1, -1, ArchitectureDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getArchitectureDescription_Concerns(), this.getConcern(), null, "concerns", null, 1, -1, ArchitectureDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getArchitectureDescription_Viewpoints(), this.getArchitectureViewpoint(), null, "viewpoints", null, 1, -1, ArchitectureDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getArchitectureDescription_Views(), this.getArchitectureView(), null, "views", null, 1, -1, ArchitectureDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getArchitectureDescription_System(), this.getSystem(), null, "system", null, 1, 1, ArchitectureDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getArchitectureDescription_Expresses(), this.getArchitecture(), null, "expresses", null, 1, 1, ArchitectureDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getArchitectureDescription_Rationales(), this.getArchitectureRationale(), null, "rationales", null, 1, -1, ArchitectureDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getArchitectureDescription_Correspondences(), this.getCorrespondence(), null, "correspondences", null, 0, -1, ArchitectureDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getArchitectureDescription_Rules(), this.getCorrespondenceRule(), null, "rules", null, 0, -1, ArchitectureDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getArchitectureDescription_Decisions(), this.getArchitectureDecision(), null, "decisions", null, 0, -1, ArchitectureDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getArchitectureDescription_Stakeholders(), this.getStakeholder(), null, "stakeholders", null, 1, -1, ArchitectureDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
+ IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getArchitectureDescription_Concerns(), this.getConcern(), null, "concerns", null, 1, -1, ArchitectureDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEReference(getArchitectureDescription_Viewpoints(), this.getArchitectureViewpoint(), null, "viewpoints", null, 1, -1, ArchitectureDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
+ IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getArchitectureDescription_Views(), this.getArchitectureView(), null, "views", null, 1, -1, ArchitectureDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEReference(getArchitectureDescription_System(), this.getSystem(), null, "system", null, 1, 1, ArchitectureDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
+ IS_ORDERED);
+ initEReference(getArchitectureDescription_Expresses(), this.getArchitecture(), null, "expresses", null, 1, 1, ArchitectureDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEReference(getArchitectureDescription_Rationales(), this.getArchitectureRationale(), null, "rationales", null, 1, -1, ArchitectureDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
+ IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getArchitectureDescription_Correspondences(), this.getCorrespondence(), null, "correspondences", null, 0, -1, ArchitectureDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
+ IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getArchitectureDescription_Rules(), this.getCorrespondenceRule(), null, "rules", null, 0, -1, ArchitectureDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEReference(getArchitectureDescription_Decisions(), this.getArchitectureDecision(), null, "decisions", null, 0, -1, ArchitectureDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
+ IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(stakeholderEClass, Stakeholder.class, "Stakeholder", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getStakeholder_Concerns(), this.getConcern(), this.getConcern_Stakeholders(), "concerns", null, 1, -1, Stakeholder.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getStakeholder_Viewpoints(), this.getArchitectureViewpoint(), null, "viewpoints", null, 1, -1, Stakeholder.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getStakeholder_HasInterestIn(), this.getSystem(), this.getSystem_Stakeholders(), "hasInterestIn", null, 1, 1, Stakeholder.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getStakeholder_Concerns(), this.getConcern(), this.getConcern_Stakeholders(), "concerns", null, 1, -1, Stakeholder.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEReference(getStakeholder_Viewpoints(), this.getArchitectureViewpoint(), null, "viewpoints", null, 1, -1, Stakeholder.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
+ IS_ORDERED);
+ initEReference(getStakeholder_HasInterestIn(), this.getSystem(), this.getSystem_Stakeholders(), "hasInterestIn", null, 1, 1, Stakeholder.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
initEClass(architectureViewpointEClass, ArchitectureViewpoint.class, "ArchitectureViewpoint", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getArchitectureViewpoint_ModelKinds(), this.getModelKind(), this.getModelKind_Viewpoint(), "modelKinds", null, 1, -1, ArchitectureViewpoint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getArchitectureViewpoint_Governs(), this.getArchitectureView(), this.getArchitectureView_GovernedBy(), "governs", null, 1, 1, ArchitectureViewpoint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getArchitectureViewpoint_Frames(), this.getConcern(), this.getConcern_FramedBy(), "frames", null, 1, -1, ArchitectureViewpoint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getArchitectureViewpoint_ModelKinds(), this.getModelKind(), this.getModelKind_Viewpoint(), "modelKinds", null, 1, -1, ArchitectureViewpoint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
+ !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getArchitectureViewpoint_Governs(), this.getArchitectureView(), this.getArchitectureView_GovernedBy(), "governs", null, 1, 1, ArchitectureViewpoint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,
+ !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getArchitectureViewpoint_Frames(), this.getConcern(), this.getConcern_FramedBy(), "frames", null, 1, -1, ArchitectureViewpoint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
+ IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(modelKindEClass, ModelKind.class, "ModelKind", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getModelKind_Governs(), this.getArchitectureModel(), this.getArchitectureModel_GovernedBy(), "governs", null, 1, -1, ModelKind.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getModelKind_Viewpoint(), this.getArchitectureViewpoint(), this.getArchitectureViewpoint_ModelKinds(), "viewpoint", null, 1, 1, ModelKind.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getModelKind_Governs(), this.getArchitectureModel(), this.getArchitectureModel_GovernedBy(), "governs", null, 1, -1, ModelKind.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
+ IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getModelKind_Viewpoint(), this.getArchitectureViewpoint(), this.getArchitectureViewpoint_ModelKinds(), "viewpoint", null, 1, 1, ModelKind.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES,
+ !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(architectureModelEClass, ArchitectureModel.class, "ArchitectureModel", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getArchitectureModel_GovernedBy(), this.getModelKind(), this.getModelKind_Governs(), "governedBy", null, 1, 1, ArchitectureModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getArchitectureModel_View(), this.getArchitectureView(), this.getArchitectureView_Models(), "view", null, 1, 1, ArchitectureModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getArchitectureModel_GovernedBy(), this.getModelKind(), this.getModelKind_Governs(), "governedBy", null, 1, 1, ArchitectureModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
+ IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getArchitectureModel_View(), this.getArchitectureView(), this.getArchitectureView_Models(), "view", null, 1, 1, ArchitectureModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
+ IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(architectureViewEClass, ArchitectureView.class, "ArchitectureView", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getArchitectureView_GovernedBy(), this.getArchitectureViewpoint(), this.getArchitectureViewpoint_Governs(), "governedBy", null, 1, 1, ArchitectureView.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getArchitectureView_Models(), this.getArchitectureModel(), this.getArchitectureModel_View(), "models", null, 1, -1, ArchitectureView.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getArchitectureView_Addresses(), this.getConcern(), this.getConcern_AddressedBy(), "addresses", null, 1, -1, ArchitectureView.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getArchitectureView_GovernedBy(), this.getArchitectureViewpoint(), this.getArchitectureViewpoint_Governs(), "governedBy", null, 1, 1, ArchitectureView.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,
+ !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getArchitectureView_Models(), this.getArchitectureModel(), this.getArchitectureModel_View(), "models", null, 1, -1, ArchitectureView.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
+ IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getArchitectureView_Addresses(), this.getConcern(), this.getConcern_AddressedBy(), "addresses", null, 1, -1, ArchitectureView.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
+ IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(concernEClass, Concern.class, "Concern", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getConcern_FramedBy(), this.getArchitectureViewpoint(), this.getArchitectureViewpoint_Frames(), "framedBy", null, 1, -1, Concern.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getConcern_AddressedBy(), this.getArchitectureView(), this.getArchitectureView_Addresses(), "addressedBy", null, 1, -1, Concern.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getConcern_Stakeholders(), this.getStakeholder(), this.getStakeholder_Concerns(), "stakeholders", null, 1, -1, Concern.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getConcern_RaisedBy(), this.getArchitectureDecision(), this.getArchitectureDecision_Raises(), "raisedBy", null, 0, -1, Concern.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getConcern_Decisions(), this.getArchitectureDecision(), this.getArchitectureDecision_PertainsTo(), "decisions", null, 0, -1, Concern.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getConcern_FramedBy(), this.getArchitectureViewpoint(), this.getArchitectureViewpoint_Frames(), "framedBy", null, 1, -1, Concern.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
+ IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getConcern_AddressedBy(), this.getArchitectureView(), this.getArchitectureView_Addresses(), "addressedBy", null, 1, -1, Concern.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
+ IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getConcern_Stakeholders(), this.getStakeholder(), this.getStakeholder_Concerns(), "stakeholders", null, 1, -1, Concern.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEReference(getConcern_RaisedBy(), this.getArchitectureDecision(), this.getArchitectureDecision_Raises(), "raisedBy", null, 0, -1, Concern.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
+ IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getConcern_Decisions(), this.getArchitectureDecision(), this.getArchitectureDecision_PertainsTo(), "decisions", null, 0, -1, Concern.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
+ IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(systemEClass, org.eclipse.papyrus.infra.viewpoints.iso42010.System.class, "System", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getSystem_Name(), ecorePackage.getEString(), "name", null, 1, 1, org.eclipse.papyrus.infra.viewpoints.iso42010.System.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getSystem_Stakeholders(), this.getStakeholder(), this.getStakeholder_HasInterestIn(), "stakeholders", null, 1, -1, org.eclipse.papyrus.infra.viewpoints.iso42010.System.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getSystem_Exhibits(), this.getArchitecture(), this.getArchitecture_ExhibitedIn(), "exhibits", null, 1, 1, org.eclipse.papyrus.infra.viewpoints.iso42010.System.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getSystem_Stakeholders(), this.getStakeholder(), this.getStakeholder_HasInterestIn(), "stakeholders", null, 1, -1, org.eclipse.papyrus.infra.viewpoints.iso42010.System.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE,
+ IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getSystem_Exhibits(), this.getArchitecture(), this.getArchitecture_ExhibitedIn(), "exhibits", null, 1, 1, org.eclipse.papyrus.infra.viewpoints.iso42010.System.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE,
+ IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(architectureEClass, Architecture.class, "Architecture", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getArchitecture_ExhibitedIn(), this.getSystem(), this.getSystem_Exhibits(), "exhibitedIn", null, 1, 1, Architecture.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getArchitecture_ExhibitedIn(), this.getSystem(), this.getSystem_Exhibits(), "exhibitedIn", null, 1, 1, Architecture.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
initEClass(architectureRationaleEClass, ArchitectureRationale.class, "ArchitectureRationale", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getArchitectureRationale_Justifies(), this.getArchitectureDecision(), this.getArchitectureDecision_JustifiedBy(), "justifies", null, 1, -1, ArchitectureRationale.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getArchitectureRationale_Justifies(), this.getArchitectureDecision(), this.getArchitectureDecision_JustifiedBy(), "justifies", null, 1, -1, ArchitectureRationale.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE,
+ IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(correspondenceEClass, Correspondence.class, "Correspondence", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getCorrespondence_GovernedBy(), this.getCorrespondenceRule(), this.getCorrespondenceRule_Governs(), "governedBy", null, 0, -1, Correspondence.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getCorrespondence_GovernedBy(), this.getCorrespondenceRule(), this.getCorrespondenceRule_Governs(), "governedBy", null, 0, -1, Correspondence.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,
+ !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getCorrespondence_Relates(), this.getADElement(), null, "relates", null, 2, -1, Correspondence.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(correspondenceRuleEClass, CorrespondenceRule.class, "CorrespondenceRule", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getCorrespondenceRule_Governs(), this.getCorrespondence(), this.getCorrespondence_GovernedBy(), "governs", null, 1, -1, CorrespondenceRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getCorrespondenceRule_Governs(), this.getCorrespondence(), this.getCorrespondence_GovernedBy(), "governs", null, 1, -1, CorrespondenceRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,
+ !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(architectureDecisionEClass, ArchitectureDecision.class, "ArchitectureDecision", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getArchitectureDecision_JustifiedBy(), this.getArchitectureRationale(), this.getArchitectureRationale_Justifies(), "justifiedBy", null, 0, -1, ArchitectureDecision.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getArchitectureDecision_DependsUpon(), this.getArchitectureDecision(), this.getArchitectureDecision_Dependents(), "dependsUpon", null, 0, -1, ArchitectureDecision.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getArchitectureDecision_Dependents(), this.getArchitectureDecision(), this.getArchitectureDecision_DependsUpon(), "dependents", null, 0, -1, ArchitectureDecision.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getArchitectureDecision_Raises(), this.getConcern(), this.getConcern_RaisedBy(), "raises", null, 0, -1, ArchitectureDecision.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getArchitectureDecision_PertainsTo(), this.getConcern(), this.getConcern_Decisions(), "pertainsTo", null, 1, -1, ArchitectureDecision.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getArchitectureDecision_Affects(), this.getADElement(), this.getADElement_AffectedBy(), "affects", null, 1, -1, ArchitectureDecision.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getArchitectureDecision_JustifiedBy(), this.getArchitectureRationale(), this.getArchitectureRationale_Justifies(), "justifiedBy", null, 0, -1, ArchitectureDecision.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE,
+ IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getArchitectureDecision_DependsUpon(), this.getArchitectureDecision(), this.getArchitectureDecision_Dependents(), "dependsUpon", null, 0, -1, ArchitectureDecision.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE,
+ IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getArchitectureDecision_Dependents(), this.getArchitectureDecision(), this.getArchitectureDecision_DependsUpon(), "dependents", null, 0, -1, ArchitectureDecision.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE,
+ IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getArchitectureDecision_Raises(), this.getConcern(), this.getConcern_RaisedBy(), "raises", null, 0, -1, ArchitectureDecision.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
+ IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getArchitectureDecision_PertainsTo(), this.getConcern(), this.getConcern_Decisions(), "pertainsTo", null, 1, -1, ArchitectureDecision.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
+ IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getArchitectureDecision_Affects(), this.getADElement(), this.getADElement_AffectedBy(), "affects", null, 1, -1, ArchitectureDecision.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
+ IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(architectureFrameworkEClass, ArchitectureFramework.class, "ArchitectureFramework", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getArchitectureFramework_Stakeholders(), this.getStakeholder(), null, "stakeholders", null, 1, -1, ArchitectureFramework.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getArchitectureFramework_Viewpoints(), this.getArchitectureViewpoint(), null, "viewpoints", null, 1, -1, ArchitectureFramework.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getArchitectureFramework_Rules(), this.getCorrespondenceRule(), null, "rules", null, 0, -1, ArchitectureFramework.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getArchitectureFramework_Concerns(), this.getConcern(), null, "concerns", null, 1, -1, ArchitectureFramework.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getArchitectureFramework_Stakeholders(), this.getStakeholder(), null, "stakeholders", null, 1, -1, ArchitectureFramework.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEReference(getArchitectureFramework_Viewpoints(), this.getArchitectureViewpoint(), null, "viewpoints", null, 1, -1, ArchitectureFramework.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
+ IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getArchitectureFramework_Rules(), this.getCorrespondenceRule(), null, "rules", null, 0, -1, ArchitectureFramework.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEReference(getArchitectureFramework_Concerns(), this.getConcern(), null, "concerns", null, 1, -1, ArchitectureFramework.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
+ IS_ORDERED);
// Create resource
createResource(eNS_URI);
}
-} //Iso42010PackageImpl
+} // Iso42010PackageImpl
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/impl/ModelKindImpl.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/impl/ModelKindImpl.java
index cbcf5aaf268..3634915a3f5 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/impl/ModelKindImpl.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/impl/ModelKindImpl.java
@@ -1,15 +1,15 @@
/**
* 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
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- *
- *
+ *
+ *
*/
package org.eclipse.papyrus.infra.viewpoints.iso42010.impl;
@@ -41,8 +41,8 @@ import org.eclipse.papyrus.infra.viewpoints.iso42010.ModelKind;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ModelKindImpl#getGoverns <em>Governs</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ModelKindImpl#getViewpoint <em>Viewpoint</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ModelKindImpl#getGoverns <em>Governs</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ModelKindImpl#getViewpoint <em>Viewpoint</em>}</li>
* </ul>
* </p>
*
@@ -53,6 +53,7 @@ public class ModelKindImpl extends ADElementImpl implements ModelKind {
* The cached value of the '{@link #getGoverns() <em>Governs</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getGoverns()
* @generated
* @ordered
@@ -62,6 +63,7 @@ public class ModelKindImpl extends ADElementImpl implements ModelKind {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected ModelKindImpl() {
@@ -71,6 +73,7 @@ public class ModelKindImpl extends ADElementImpl implements ModelKind {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -81,6 +84,7 @@ public class ModelKindImpl extends ADElementImpl implements ModelKind {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EList<ArchitectureModel> getGoverns() {
@@ -93,59 +97,72 @@ public class ModelKindImpl extends ADElementImpl implements ModelKind {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public ArchitectureViewpoint getViewpoint() {
- if (eContainerFeatureID() != Iso42010Package.MODEL_KIND__VIEWPOINT) return null;
- return (ArchitectureViewpoint)eInternalContainer();
+ if (eContainerFeatureID() != Iso42010Package.MODEL_KIND__VIEWPOINT) {
+ return null;
+ }
+ return (ArchitectureViewpoint) eInternalContainer();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public NotificationChain basicSetViewpoint(ArchitectureViewpoint newViewpoint, NotificationChain msgs) {
- msgs = eBasicSetContainer((InternalEObject)newViewpoint, Iso42010Package.MODEL_KIND__VIEWPOINT, msgs);
+ msgs = eBasicSetContainer((InternalEObject) newViewpoint, Iso42010Package.MODEL_KIND__VIEWPOINT, msgs);
return msgs;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public void setViewpoint(ArchitectureViewpoint newViewpoint) {
if (newViewpoint != eInternalContainer() || (eContainerFeatureID() != Iso42010Package.MODEL_KIND__VIEWPOINT && newViewpoint != null)) {
- if (EcoreUtil.isAncestor(this, newViewpoint))
+ if (EcoreUtil.isAncestor(this, newViewpoint)) {
throw new IllegalArgumentException("Recursive containment not allowed for " + toString());
+ }
NotificationChain msgs = null;
- if (eInternalContainer() != null)
+ if (eInternalContainer() != null) {
msgs = eBasicRemoveFromContainer(msgs);
- if (newViewpoint != null)
- msgs = ((InternalEObject)newViewpoint).eInverseAdd(this, Iso42010Package.ARCHITECTURE_VIEWPOINT__MODEL_KINDS, ArchitectureViewpoint.class, msgs);
+ }
+ if (newViewpoint != null) {
+ msgs = ((InternalEObject) newViewpoint).eInverseAdd(this, Iso42010Package.ARCHITECTURE_VIEWPOINT__MODEL_KINDS, ArchitectureViewpoint.class, msgs);
+ }
msgs = basicSetViewpoint(newViewpoint, msgs);
- if (msgs != null) msgs.dispatch();
+ if (msgs != null) {
+ msgs.dispatch();
+ }
}
- else if (eNotificationRequired())
+ else if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, Iso42010Package.MODEL_KIND__VIEWPOINT, newViewpoint, newViewpoint));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
- case Iso42010Package.MODEL_KIND__GOVERNS:
- return ((InternalEList<InternalEObject>)(InternalEList<?>)getGoverns()).basicAdd(otherEnd, msgs);
- case Iso42010Package.MODEL_KIND__VIEWPOINT:
- if (eInternalContainer() != null)
- msgs = eBasicRemoveFromContainer(msgs);
- return basicSetViewpoint((ArchitectureViewpoint)otherEnd, msgs);
+ case Iso42010Package.MODEL_KIND__GOVERNS:
+ return ((InternalEList<InternalEObject>) (InternalEList<?>) getGoverns()).basicAdd(otherEnd, msgs);
+ case Iso42010Package.MODEL_KIND__VIEWPOINT:
+ if (eInternalContainer() != null) {
+ msgs = eBasicRemoveFromContainer(msgs);
+ }
+ return basicSetViewpoint((ArchitectureViewpoint) otherEnd, msgs);
}
return super.eInverseAdd(otherEnd, featureID, msgs);
}
@@ -153,15 +170,16 @@ public class ModelKindImpl extends ADElementImpl implements ModelKind {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
- case Iso42010Package.MODEL_KIND__GOVERNS:
- return ((InternalEList<?>)getGoverns()).basicRemove(otherEnd, msgs);
- case Iso42010Package.MODEL_KIND__VIEWPOINT:
- return basicSetViewpoint(null, msgs);
+ case Iso42010Package.MODEL_KIND__GOVERNS:
+ return ((InternalEList<?>) getGoverns()).basicRemove(otherEnd, msgs);
+ case Iso42010Package.MODEL_KIND__VIEWPOINT:
+ return basicSetViewpoint(null, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
@@ -169,13 +187,14 @@ public class ModelKindImpl extends ADElementImpl implements ModelKind {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs) {
switch (eContainerFeatureID()) {
- case Iso42010Package.MODEL_KIND__VIEWPOINT:
- return eInternalContainer().eInverseRemove(this, Iso42010Package.ARCHITECTURE_VIEWPOINT__MODEL_KINDS, ArchitectureViewpoint.class, msgs);
+ case Iso42010Package.MODEL_KIND__VIEWPOINT:
+ return eInternalContainer().eInverseRemove(this, Iso42010Package.ARCHITECTURE_VIEWPOINT__MODEL_KINDS, ArchitectureViewpoint.class, msgs);
}
return super.eBasicRemoveFromContainerFeature(msgs);
}
@@ -183,15 +202,16 @@ public class ModelKindImpl extends ADElementImpl implements ModelKind {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case Iso42010Package.MODEL_KIND__GOVERNS:
- return getGoverns();
- case Iso42010Package.MODEL_KIND__VIEWPOINT:
- return getViewpoint();
+ case Iso42010Package.MODEL_KIND__GOVERNS:
+ return getGoverns();
+ case Iso42010Package.MODEL_KIND__VIEWPOINT:
+ return getViewpoint();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -199,19 +219,20 @@ public class ModelKindImpl extends ADElementImpl implements ModelKind {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case Iso42010Package.MODEL_KIND__GOVERNS:
- getGoverns().clear();
- getGoverns().addAll((Collection<? extends ArchitectureModel>)newValue);
- return;
- case Iso42010Package.MODEL_KIND__VIEWPOINT:
- setViewpoint((ArchitectureViewpoint)newValue);
- return;
+ case Iso42010Package.MODEL_KIND__GOVERNS:
+ getGoverns().clear();
+ getGoverns().addAll((Collection<? extends ArchitectureModel>) newValue);
+ return;
+ case Iso42010Package.MODEL_KIND__VIEWPOINT:
+ setViewpoint((ArchitectureViewpoint) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -219,17 +240,18 @@ public class ModelKindImpl extends ADElementImpl implements ModelKind {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case Iso42010Package.MODEL_KIND__GOVERNS:
- getGoverns().clear();
- return;
- case Iso42010Package.MODEL_KIND__VIEWPOINT:
- setViewpoint((ArchitectureViewpoint)null);
- return;
+ case Iso42010Package.MODEL_KIND__GOVERNS:
+ getGoverns().clear();
+ return;
+ case Iso42010Package.MODEL_KIND__VIEWPOINT:
+ setViewpoint((ArchitectureViewpoint) null);
+ return;
}
super.eUnset(featureID);
}
@@ -237,17 +259,18 @@ public class ModelKindImpl extends ADElementImpl implements ModelKind {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case Iso42010Package.MODEL_KIND__GOVERNS:
- return governs != null && !governs.isEmpty();
- case Iso42010Package.MODEL_KIND__VIEWPOINT:
- return getViewpoint() != null;
+ case Iso42010Package.MODEL_KIND__GOVERNS:
+ return governs != null && !governs.isEmpty();
+ case Iso42010Package.MODEL_KIND__VIEWPOINT:
+ return getViewpoint() != null;
}
return super.eIsSet(featureID);
}
-} //ModelKindImpl
+} // ModelKindImpl
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/impl/StakeholderImpl.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/impl/StakeholderImpl.java
index 88ca1838b96..a4d297e2de1 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/impl/StakeholderImpl.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/impl/StakeholderImpl.java
@@ -1,15 +1,15 @@
/**
* 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
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- *
- *
+ *
+ *
*/
package org.eclipse.papyrus.infra.viewpoints.iso42010.impl;
@@ -41,9 +41,9 @@ import org.eclipse.papyrus.infra.viewpoints.iso42010.Stakeholder;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.StakeholderImpl#getConcerns <em>Concerns</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.StakeholderImpl#getViewpoints <em>Viewpoints</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.StakeholderImpl#getHasInterestIn <em>Has Interest In</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.StakeholderImpl#getConcerns <em>Concerns</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.StakeholderImpl#getViewpoints <em>Viewpoints</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.StakeholderImpl#getHasInterestIn <em>Has Interest In</em>}</li>
* </ul>
* </p>
*
@@ -54,6 +54,7 @@ public class StakeholderImpl extends ADElementImpl implements Stakeholder {
* The cached value of the '{@link #getConcerns() <em>Concerns</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getConcerns()
* @generated
* @ordered
@@ -64,6 +65,7 @@ public class StakeholderImpl extends ADElementImpl implements Stakeholder {
* The cached value of the '{@link #getViewpoints() <em>Viewpoints</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getViewpoints()
* @generated
* @ordered
@@ -74,6 +76,7 @@ public class StakeholderImpl extends ADElementImpl implements Stakeholder {
* The cached value of the '{@link #getHasInterestIn() <em>Has Interest In</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getHasInterestIn()
* @generated
* @ordered
@@ -83,6 +86,7 @@ public class StakeholderImpl extends ADElementImpl implements Stakeholder {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected StakeholderImpl() {
@@ -92,6 +96,7 @@ public class StakeholderImpl extends ADElementImpl implements Stakeholder {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -102,6 +107,7 @@ public class StakeholderImpl extends ADElementImpl implements Stakeholder {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EList<Concern> getConcerns() {
@@ -114,6 +120,7 @@ public class StakeholderImpl extends ADElementImpl implements Stakeholder {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EList<ArchitectureViewpoint> getViewpoints() {
@@ -126,15 +133,17 @@ public class StakeholderImpl extends ADElementImpl implements Stakeholder {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public org.eclipse.papyrus.infra.viewpoints.iso42010.System getHasInterestIn() {
if (hasInterestIn != null && hasInterestIn.eIsProxy()) {
- InternalEObject oldHasInterestIn = (InternalEObject)hasInterestIn;
- hasInterestIn = (org.eclipse.papyrus.infra.viewpoints.iso42010.System)eResolveProxy(oldHasInterestIn);
+ InternalEObject oldHasInterestIn = (InternalEObject) hasInterestIn;
+ hasInterestIn = (org.eclipse.papyrus.infra.viewpoints.iso42010.System) eResolveProxy(oldHasInterestIn);
if (hasInterestIn != oldHasInterestIn) {
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, Iso42010Package.STAKEHOLDER__HAS_INTEREST_IN, oldHasInterestIn, hasInterestIn));
+ }
}
}
return hasInterestIn;
@@ -143,6 +152,7 @@ public class StakeholderImpl extends ADElementImpl implements Stakeholder {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public org.eclipse.papyrus.infra.viewpoints.iso42010.System basicGetHasInterestIn() {
@@ -152,6 +162,7 @@ public class StakeholderImpl extends ADElementImpl implements Stakeholder {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public NotificationChain basicSetHasInterestIn(org.eclipse.papyrus.infra.viewpoints.iso42010.System newHasInterestIn, NotificationChain msgs) {
@@ -159,7 +170,11 @@ public class StakeholderImpl extends ADElementImpl implements Stakeholder {
hasInterestIn = newHasInterestIn;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Iso42010Package.STAKEHOLDER__HAS_INTEREST_IN, oldHasInterestIn, newHasInterestIn);
- if (msgs == null) msgs = notification; else msgs.add(notification);
+ if (msgs == null) {
+ msgs = notification;
+ } else {
+ msgs.add(notification);
+ }
}
return msgs;
}
@@ -167,37 +182,45 @@ public class StakeholderImpl extends ADElementImpl implements Stakeholder {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public void setHasInterestIn(org.eclipse.papyrus.infra.viewpoints.iso42010.System newHasInterestIn) {
if (newHasInterestIn != hasInterestIn) {
NotificationChain msgs = null;
- if (hasInterestIn != null)
- msgs = ((InternalEObject)hasInterestIn).eInverseRemove(this, Iso42010Package.SYSTEM__STAKEHOLDERS, org.eclipse.papyrus.infra.viewpoints.iso42010.System.class, msgs);
- if (newHasInterestIn != null)
- msgs = ((InternalEObject)newHasInterestIn).eInverseAdd(this, Iso42010Package.SYSTEM__STAKEHOLDERS, org.eclipse.papyrus.infra.viewpoints.iso42010.System.class, msgs);
+ if (hasInterestIn != null) {
+ msgs = ((InternalEObject) hasInterestIn).eInverseRemove(this, Iso42010Package.SYSTEM__STAKEHOLDERS, org.eclipse.papyrus.infra.viewpoints.iso42010.System.class, msgs);
+ }
+ if (newHasInterestIn != null) {
+ msgs = ((InternalEObject) newHasInterestIn).eInverseAdd(this, Iso42010Package.SYSTEM__STAKEHOLDERS, org.eclipse.papyrus.infra.viewpoints.iso42010.System.class, msgs);
+ }
msgs = basicSetHasInterestIn(newHasInterestIn, msgs);
- if (msgs != null) msgs.dispatch();
+ if (msgs != null) {
+ msgs.dispatch();
+ }
}
- else if (eNotificationRequired())
+ else if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, Iso42010Package.STAKEHOLDER__HAS_INTEREST_IN, newHasInterestIn, newHasInterestIn));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
- case Iso42010Package.STAKEHOLDER__CONCERNS:
- return ((InternalEList<InternalEObject>)(InternalEList<?>)getConcerns()).basicAdd(otherEnd, msgs);
- case Iso42010Package.STAKEHOLDER__HAS_INTEREST_IN:
- if (hasInterestIn != null)
- msgs = ((InternalEObject)hasInterestIn).eInverseRemove(this, Iso42010Package.SYSTEM__STAKEHOLDERS, org.eclipse.papyrus.infra.viewpoints.iso42010.System.class, msgs);
- return basicSetHasInterestIn((org.eclipse.papyrus.infra.viewpoints.iso42010.System)otherEnd, msgs);
+ case Iso42010Package.STAKEHOLDER__CONCERNS:
+ return ((InternalEList<InternalEObject>) (InternalEList<?>) getConcerns()).basicAdd(otherEnd, msgs);
+ case Iso42010Package.STAKEHOLDER__HAS_INTEREST_IN:
+ if (hasInterestIn != null) {
+ msgs = ((InternalEObject) hasInterestIn).eInverseRemove(this, Iso42010Package.SYSTEM__STAKEHOLDERS, org.eclipse.papyrus.infra.viewpoints.iso42010.System.class, msgs);
+ }
+ return basicSetHasInterestIn((org.eclipse.papyrus.infra.viewpoints.iso42010.System) otherEnd, msgs);
}
return super.eInverseAdd(otherEnd, featureID, msgs);
}
@@ -205,15 +228,16 @@ public class StakeholderImpl extends ADElementImpl implements Stakeholder {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
- case Iso42010Package.STAKEHOLDER__CONCERNS:
- return ((InternalEList<?>)getConcerns()).basicRemove(otherEnd, msgs);
- case Iso42010Package.STAKEHOLDER__HAS_INTEREST_IN:
- return basicSetHasInterestIn(null, msgs);
+ case Iso42010Package.STAKEHOLDER__CONCERNS:
+ return ((InternalEList<?>) getConcerns()).basicRemove(otherEnd, msgs);
+ case Iso42010Package.STAKEHOLDER__HAS_INTEREST_IN:
+ return basicSetHasInterestIn(null, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
@@ -221,18 +245,21 @@ public class StakeholderImpl extends ADElementImpl implements Stakeholder {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case Iso42010Package.STAKEHOLDER__CONCERNS:
- return getConcerns();
- case Iso42010Package.STAKEHOLDER__VIEWPOINTS:
- return getViewpoints();
- case Iso42010Package.STAKEHOLDER__HAS_INTEREST_IN:
- if (resolve) return getHasInterestIn();
- return basicGetHasInterestIn();
+ case Iso42010Package.STAKEHOLDER__CONCERNS:
+ return getConcerns();
+ case Iso42010Package.STAKEHOLDER__VIEWPOINTS:
+ return getViewpoints();
+ case Iso42010Package.STAKEHOLDER__HAS_INTEREST_IN:
+ if (resolve) {
+ return getHasInterestIn();
+ }
+ return basicGetHasInterestIn();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -240,23 +267,24 @@ public class StakeholderImpl extends ADElementImpl implements Stakeholder {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case Iso42010Package.STAKEHOLDER__CONCERNS:
- getConcerns().clear();
- getConcerns().addAll((Collection<? extends Concern>)newValue);
- return;
- case Iso42010Package.STAKEHOLDER__VIEWPOINTS:
- getViewpoints().clear();
- getViewpoints().addAll((Collection<? extends ArchitectureViewpoint>)newValue);
- return;
- case Iso42010Package.STAKEHOLDER__HAS_INTEREST_IN:
- setHasInterestIn((org.eclipse.papyrus.infra.viewpoints.iso42010.System)newValue);
- return;
+ case Iso42010Package.STAKEHOLDER__CONCERNS:
+ getConcerns().clear();
+ getConcerns().addAll((Collection<? extends Concern>) newValue);
+ return;
+ case Iso42010Package.STAKEHOLDER__VIEWPOINTS:
+ getViewpoints().clear();
+ getViewpoints().addAll((Collection<? extends ArchitectureViewpoint>) newValue);
+ return;
+ case Iso42010Package.STAKEHOLDER__HAS_INTEREST_IN:
+ setHasInterestIn((org.eclipse.papyrus.infra.viewpoints.iso42010.System) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -264,20 +292,21 @@ public class StakeholderImpl extends ADElementImpl implements Stakeholder {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case Iso42010Package.STAKEHOLDER__CONCERNS:
- getConcerns().clear();
- return;
- case Iso42010Package.STAKEHOLDER__VIEWPOINTS:
- getViewpoints().clear();
- return;
- case Iso42010Package.STAKEHOLDER__HAS_INTEREST_IN:
- setHasInterestIn((org.eclipse.papyrus.infra.viewpoints.iso42010.System)null);
- return;
+ case Iso42010Package.STAKEHOLDER__CONCERNS:
+ getConcerns().clear();
+ return;
+ case Iso42010Package.STAKEHOLDER__VIEWPOINTS:
+ getViewpoints().clear();
+ return;
+ case Iso42010Package.STAKEHOLDER__HAS_INTEREST_IN:
+ setHasInterestIn((org.eclipse.papyrus.infra.viewpoints.iso42010.System) null);
+ return;
}
super.eUnset(featureID);
}
@@ -285,19 +314,20 @@ public class StakeholderImpl extends ADElementImpl implements Stakeholder {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case Iso42010Package.STAKEHOLDER__CONCERNS:
- return concerns != null && !concerns.isEmpty();
- case Iso42010Package.STAKEHOLDER__VIEWPOINTS:
- return viewpoints != null && !viewpoints.isEmpty();
- case Iso42010Package.STAKEHOLDER__HAS_INTEREST_IN:
- return hasInterestIn != null;
+ case Iso42010Package.STAKEHOLDER__CONCERNS:
+ return concerns != null && !concerns.isEmpty();
+ case Iso42010Package.STAKEHOLDER__VIEWPOINTS:
+ return viewpoints != null && !viewpoints.isEmpty();
+ case Iso42010Package.STAKEHOLDER__HAS_INTEREST_IN:
+ return hasInterestIn != null;
}
return super.eIsSet(featureID);
}
-} //StakeholderImpl
+} // StakeholderImpl
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/impl/SystemImpl.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/impl/SystemImpl.java
index 2c9f04c02ce..e11ac39a338 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/impl/SystemImpl.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/impl/SystemImpl.java
@@ -1,15 +1,15 @@
/**
* 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
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- *
- *
+ *
+ *
*/
package org.eclipse.papyrus.infra.viewpoints.iso42010.impl;
@@ -40,9 +40,9 @@ import org.eclipse.papyrus.infra.viewpoints.iso42010.Stakeholder;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.SystemImpl#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.SystemImpl#getStakeholders <em>Stakeholders</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.SystemImpl#getExhibits <em>Exhibits</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.SystemImpl#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.SystemImpl#getStakeholders <em>Stakeholders</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.iso42010.impl.SystemImpl#getExhibits <em>Exhibits</em>}</li>
* </ul>
* </p>
*
@@ -53,6 +53,7 @@ public class SystemImpl extends MinimalEObjectImpl.Container implements org.ecli
* The default value of the '{@link #getName() <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getName()
* @generated
* @ordered
@@ -63,6 +64,7 @@ public class SystemImpl extends MinimalEObjectImpl.Container implements org.ecli
* The cached value of the '{@link #getName() <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getName()
* @generated
* @ordered
@@ -73,6 +75,7 @@ public class SystemImpl extends MinimalEObjectImpl.Container implements org.ecli
* The cached value of the '{@link #getStakeholders() <em>Stakeholders</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getStakeholders()
* @generated
* @ordered
@@ -83,6 +86,7 @@ public class SystemImpl extends MinimalEObjectImpl.Container implements org.ecli
* The cached value of the '{@link #getExhibits() <em>Exhibits</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getExhibits()
* @generated
* @ordered
@@ -92,6 +96,7 @@ public class SystemImpl extends MinimalEObjectImpl.Container implements org.ecli
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected SystemImpl() {
@@ -101,6 +106,7 @@ public class SystemImpl extends MinimalEObjectImpl.Container implements org.ecli
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -111,6 +117,7 @@ public class SystemImpl extends MinimalEObjectImpl.Container implements org.ecli
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public String getName() {
@@ -120,18 +127,21 @@ public class SystemImpl extends MinimalEObjectImpl.Container implements org.ecli
/**
* <!-- 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, Iso42010Package.SYSTEM__NAME, oldName, name));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EList<Stakeholder> getStakeholders() {
@@ -144,15 +154,17 @@ public class SystemImpl extends MinimalEObjectImpl.Container implements org.ecli
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public Architecture getExhibits() {
if (exhibits != null && exhibits.eIsProxy()) {
- InternalEObject oldExhibits = (InternalEObject)exhibits;
- exhibits = (Architecture)eResolveProxy(oldExhibits);
+ InternalEObject oldExhibits = (InternalEObject) exhibits;
+ exhibits = (Architecture) eResolveProxy(oldExhibits);
if (exhibits != oldExhibits) {
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, Iso42010Package.SYSTEM__EXHIBITS, oldExhibits, exhibits));
+ }
}
}
return exhibits;
@@ -161,6 +173,7 @@ public class SystemImpl extends MinimalEObjectImpl.Container implements org.ecli
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public Architecture basicGetExhibits() {
@@ -170,6 +183,7 @@ public class SystemImpl extends MinimalEObjectImpl.Container implements org.ecli
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public NotificationChain basicSetExhibits(Architecture newExhibits, NotificationChain msgs) {
@@ -177,7 +191,11 @@ public class SystemImpl extends MinimalEObjectImpl.Container implements org.ecli
exhibits = newExhibits;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Iso42010Package.SYSTEM__EXHIBITS, oldExhibits, newExhibits);
- if (msgs == null) msgs = notification; else msgs.add(notification);
+ if (msgs == null) {
+ msgs = notification;
+ } else {
+ msgs.add(notification);
+ }
}
return msgs;
}
@@ -185,37 +203,45 @@ public class SystemImpl extends MinimalEObjectImpl.Container implements org.ecli
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public void setExhibits(Architecture newExhibits) {
if (newExhibits != exhibits) {
NotificationChain msgs = null;
- if (exhibits != null)
- msgs = ((InternalEObject)exhibits).eInverseRemove(this, Iso42010Package.ARCHITECTURE__EXHIBITED_IN, Architecture.class, msgs);
- if (newExhibits != null)
- msgs = ((InternalEObject)newExhibits).eInverseAdd(this, Iso42010Package.ARCHITECTURE__EXHIBITED_IN, Architecture.class, msgs);
+ if (exhibits != null) {
+ msgs = ((InternalEObject) exhibits).eInverseRemove(this, Iso42010Package.ARCHITECTURE__EXHIBITED_IN, Architecture.class, msgs);
+ }
+ if (newExhibits != null) {
+ msgs = ((InternalEObject) newExhibits).eInverseAdd(this, Iso42010Package.ARCHITECTURE__EXHIBITED_IN, Architecture.class, msgs);
+ }
msgs = basicSetExhibits(newExhibits, msgs);
- if (msgs != null) msgs.dispatch();
+ if (msgs != null) {
+ msgs.dispatch();
+ }
}
- else if (eNotificationRequired())
+ else if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, Iso42010Package.SYSTEM__EXHIBITS, newExhibits, newExhibits));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
- case Iso42010Package.SYSTEM__STAKEHOLDERS:
- return ((InternalEList<InternalEObject>)(InternalEList<?>)getStakeholders()).basicAdd(otherEnd, msgs);
- case Iso42010Package.SYSTEM__EXHIBITS:
- if (exhibits != null)
- msgs = ((InternalEObject)exhibits).eInverseRemove(this, Iso42010Package.ARCHITECTURE__EXHIBITED_IN, Architecture.class, msgs);
- return basicSetExhibits((Architecture)otherEnd, msgs);
+ case Iso42010Package.SYSTEM__STAKEHOLDERS:
+ return ((InternalEList<InternalEObject>) (InternalEList<?>) getStakeholders()).basicAdd(otherEnd, msgs);
+ case Iso42010Package.SYSTEM__EXHIBITS:
+ if (exhibits != null) {
+ msgs = ((InternalEObject) exhibits).eInverseRemove(this, Iso42010Package.ARCHITECTURE__EXHIBITED_IN, Architecture.class, msgs);
+ }
+ return basicSetExhibits((Architecture) otherEnd, msgs);
}
return super.eInverseAdd(otherEnd, featureID, msgs);
}
@@ -223,15 +249,16 @@ public class SystemImpl extends MinimalEObjectImpl.Container implements org.ecli
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
- case Iso42010Package.SYSTEM__STAKEHOLDERS:
- return ((InternalEList<?>)getStakeholders()).basicRemove(otherEnd, msgs);
- case Iso42010Package.SYSTEM__EXHIBITS:
- return basicSetExhibits(null, msgs);
+ case Iso42010Package.SYSTEM__STAKEHOLDERS:
+ return ((InternalEList<?>) getStakeholders()).basicRemove(otherEnd, msgs);
+ case Iso42010Package.SYSTEM__EXHIBITS:
+ return basicSetExhibits(null, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
@@ -239,18 +266,21 @@ public class SystemImpl extends MinimalEObjectImpl.Container implements org.ecli
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case Iso42010Package.SYSTEM__NAME:
- return getName();
- case Iso42010Package.SYSTEM__STAKEHOLDERS:
- return getStakeholders();
- case Iso42010Package.SYSTEM__EXHIBITS:
- if (resolve) return getExhibits();
- return basicGetExhibits();
+ case Iso42010Package.SYSTEM__NAME:
+ return getName();
+ case Iso42010Package.SYSTEM__STAKEHOLDERS:
+ return getStakeholders();
+ case Iso42010Package.SYSTEM__EXHIBITS:
+ if (resolve) {
+ return getExhibits();
+ }
+ return basicGetExhibits();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -258,22 +288,23 @@ public class SystemImpl extends MinimalEObjectImpl.Container implements org.ecli
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case Iso42010Package.SYSTEM__NAME:
- setName((String)newValue);
- return;
- case Iso42010Package.SYSTEM__STAKEHOLDERS:
- getStakeholders().clear();
- getStakeholders().addAll((Collection<? extends Stakeholder>)newValue);
- return;
- case Iso42010Package.SYSTEM__EXHIBITS:
- setExhibits((Architecture)newValue);
- return;
+ case Iso42010Package.SYSTEM__NAME:
+ setName((String) newValue);
+ return;
+ case Iso42010Package.SYSTEM__STAKEHOLDERS:
+ getStakeholders().clear();
+ getStakeholders().addAll((Collection<? extends Stakeholder>) newValue);
+ return;
+ case Iso42010Package.SYSTEM__EXHIBITS:
+ setExhibits((Architecture) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -281,20 +312,21 @@ public class SystemImpl extends MinimalEObjectImpl.Container implements org.ecli
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case Iso42010Package.SYSTEM__NAME:
- setName(NAME_EDEFAULT);
- return;
- case Iso42010Package.SYSTEM__STAKEHOLDERS:
- getStakeholders().clear();
- return;
- case Iso42010Package.SYSTEM__EXHIBITS:
- setExhibits((Architecture)null);
- return;
+ case Iso42010Package.SYSTEM__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ case Iso42010Package.SYSTEM__STAKEHOLDERS:
+ getStakeholders().clear();
+ return;
+ case Iso42010Package.SYSTEM__EXHIBITS:
+ setExhibits((Architecture) null);
+ return;
}
super.eUnset(featureID);
}
@@ -302,17 +334,18 @@ public class SystemImpl extends MinimalEObjectImpl.Container implements org.ecli
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case Iso42010Package.SYSTEM__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
- case Iso42010Package.SYSTEM__STAKEHOLDERS:
- return stakeholders != null && !stakeholders.isEmpty();
- case Iso42010Package.SYSTEM__EXHIBITS:
- return exhibits != null;
+ case Iso42010Package.SYSTEM__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
+ case Iso42010Package.SYSTEM__STAKEHOLDERS:
+ return stakeholders != null && !stakeholders.isEmpty();
+ case Iso42010Package.SYSTEM__EXHIBITS:
+ return exhibits != null;
}
return super.eIsSet(featureID);
}
@@ -320,11 +353,14 @@ public class SystemImpl extends MinimalEObjectImpl.Container implements org.ecli
/**
* <!-- 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: ");
@@ -333,4 +369,4 @@ public class SystemImpl extends MinimalEObjectImpl.Container implements org.ecli
return result.toString();
}
-} //SystemImpl
+} // SystemImpl
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/util/Iso42010AdapterFactory.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/util/Iso42010AdapterFactory.java
index cbed837d81a..8108feaf0bb 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/util/Iso42010AdapterFactory.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/util/Iso42010AdapterFactory.java
@@ -1,15 +1,15 @@
/**
* 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
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- *
- *
+ *
+ *
*/
package org.eclipse.papyrus.infra.viewpoints.iso42010.util;
@@ -41,6 +41,7 @@ import org.eclipse.papyrus.infra.viewpoints.iso42010.Stakeholder;
* 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.infra.viewpoints.iso42010.Iso42010Package
* @generated
*/
@@ -49,6 +50,7 @@ public class Iso42010AdapterFactory extends AdapterFactoryImpl {
* The cached model package.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected static Iso42010Package modelPackage;
@@ -57,6 +59,7 @@ public class Iso42010AdapterFactory extends AdapterFactoryImpl {
* Creates an instance of the adapter factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public Iso42010AdapterFactory() {
@@ -70,6 +73,7 @@ public class Iso42010AdapterFactory 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
*/
@@ -79,7 +83,7 @@ public class Iso42010AdapterFactory extends AdapterFactoryImpl {
return true;
}
if (object instanceof EObject) {
- return ((EObject)object).eClass().getEPackage() == modelPackage;
+ return ((EObject) object).eClass().getEPackage() == modelPackage;
}
return false;
}
@@ -88,87 +92,105 @@ public class Iso42010AdapterFactory extends AdapterFactoryImpl {
* The switch that delegates to the <code>createXXX</code> methods.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected Iso42010Switch<Adapter> modelSwitch =
- new Iso42010Switch<Adapter>() {
- @Override
- public Adapter caseADElement(ADElement object) {
- return createADElementAdapter();
- }
- @Override
- public Adapter caseArchitectureDescription(ArchitectureDescription object) {
- return createArchitectureDescriptionAdapter();
- }
- @Override
- public Adapter caseStakeholder(Stakeholder object) {
- return createStakeholderAdapter();
- }
- @Override
- public Adapter caseArchitectureViewpoint(ArchitectureViewpoint object) {
- return createArchitectureViewpointAdapter();
- }
- @Override
- public Adapter caseModelKind(ModelKind object) {
- return createModelKindAdapter();
- }
- @Override
- public Adapter caseArchitectureModel(ArchitectureModel object) {
- return createArchitectureModelAdapter();
- }
- @Override
- public Adapter caseArchitectureView(ArchitectureView object) {
- return createArchitectureViewAdapter();
- }
- @Override
- public Adapter caseConcern(Concern object) {
- return createConcernAdapter();
- }
- @Override
- public Adapter caseSystem(org.eclipse.papyrus.infra.viewpoints.iso42010.System object) {
- return createSystemAdapter();
- }
- @Override
- public Adapter caseArchitecture(Architecture object) {
- return createArchitectureAdapter();
- }
- @Override
- public Adapter caseArchitectureRationale(ArchitectureRationale object) {
- return createArchitectureRationaleAdapter();
- }
- @Override
- public Adapter caseCorrespondence(Correspondence object) {
- return createCorrespondenceAdapter();
- }
- @Override
- public Adapter caseCorrespondenceRule(CorrespondenceRule object) {
- return createCorrespondenceRuleAdapter();
- }
- @Override
- public Adapter caseArchitectureDecision(ArchitectureDecision object) {
- return createArchitectureDecisionAdapter();
- }
- @Override
- public Adapter caseArchitectureFramework(ArchitectureFramework object) {
- return createArchitectureFrameworkAdapter();
- }
- @Override
- public Adapter defaultCase(EObject object) {
- return createEObjectAdapter();
- }
- };
+ new Iso42010Switch<Adapter>() {
+ @Override
+ public Adapter caseADElement(ADElement object) {
+ return createADElementAdapter();
+ }
+
+ @Override
+ public Adapter caseArchitectureDescription(ArchitectureDescription object) {
+ return createArchitectureDescriptionAdapter();
+ }
+
+ @Override
+ public Adapter caseStakeholder(Stakeholder object) {
+ return createStakeholderAdapter();
+ }
+
+ @Override
+ public Adapter caseArchitectureViewpoint(ArchitectureViewpoint object) {
+ return createArchitectureViewpointAdapter();
+ }
+
+ @Override
+ public Adapter caseModelKind(ModelKind object) {
+ return createModelKindAdapter();
+ }
+
+ @Override
+ public Adapter caseArchitectureModel(ArchitectureModel object) {
+ return createArchitectureModelAdapter();
+ }
+
+ @Override
+ public Adapter caseArchitectureView(ArchitectureView object) {
+ return createArchitectureViewAdapter();
+ }
+
+ @Override
+ public Adapter caseConcern(Concern object) {
+ return createConcernAdapter();
+ }
+
+ @Override
+ public Adapter caseSystem(org.eclipse.papyrus.infra.viewpoints.iso42010.System object) {
+ return createSystemAdapter();
+ }
+
+ @Override
+ public Adapter caseArchitecture(Architecture object) {
+ return createArchitectureAdapter();
+ }
+
+ @Override
+ public Adapter caseArchitectureRationale(ArchitectureRationale object) {
+ return createArchitectureRationaleAdapter();
+ }
+
+ @Override
+ public Adapter caseCorrespondence(Correspondence object) {
+ return createCorrespondenceAdapter();
+ }
+
+ @Override
+ public Adapter caseCorrespondenceRule(CorrespondenceRule object) {
+ return createCorrespondenceRuleAdapter();
+ }
+
+ @Override
+ public Adapter caseArchitectureDecision(ArchitectureDecision object) {
+ return createArchitectureDecisionAdapter();
+ }
+
+ @Override
+ public Adapter caseArchitectureFramework(ArchitectureFramework object) {
+ return createArchitectureFrameworkAdapter();
+ }
+
+ @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);
}
@@ -178,6 +200,7 @@ public class Iso42010AdapterFactory 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.infra.viewpoints.iso42010.ADElement
* @generated
@@ -192,6 +215,7 @@ public class Iso42010AdapterFactory 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.infra.viewpoints.iso42010.ArchitectureDescription
* @generated
@@ -206,6 +230,7 @@ public class Iso42010AdapterFactory 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.infra.viewpoints.iso42010.Stakeholder
* @generated
@@ -220,6 +245,7 @@ public class Iso42010AdapterFactory 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.infra.viewpoints.iso42010.ArchitectureViewpoint
* @generated
@@ -234,6 +260,7 @@ public class Iso42010AdapterFactory 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.infra.viewpoints.iso42010.ModelKind
* @generated
@@ -248,6 +275,7 @@ public class Iso42010AdapterFactory 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.infra.viewpoints.iso42010.ArchitectureModel
* @generated
@@ -262,6 +290,7 @@ public class Iso42010AdapterFactory 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.infra.viewpoints.iso42010.ArchitectureView
* @generated
@@ -276,6 +305,7 @@ public class Iso42010AdapterFactory 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.infra.viewpoints.iso42010.Concern
* @generated
@@ -290,6 +320,7 @@ public class Iso42010AdapterFactory 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.infra.viewpoints.iso42010.System
* @generated
@@ -304,6 +335,7 @@ public class Iso42010AdapterFactory 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.infra.viewpoints.iso42010.Architecture
* @generated
@@ -318,6 +350,7 @@ public class Iso42010AdapterFactory 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.infra.viewpoints.iso42010.ArchitectureRationale
* @generated
@@ -332,6 +365,7 @@ public class Iso42010AdapterFactory 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.infra.viewpoints.iso42010.Correspondence
* @generated
@@ -346,6 +380,7 @@ public class Iso42010AdapterFactory 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.infra.viewpoints.iso42010.CorrespondenceRule
* @generated
@@ -360,6 +395,7 @@ public class Iso42010AdapterFactory 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.infra.viewpoints.iso42010.ArchitectureDecision
* @generated
@@ -374,6 +410,7 @@ public class Iso42010AdapterFactory 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.infra.viewpoints.iso42010.ArchitectureFramework
* @generated
@@ -387,6 +424,7 @@ public class Iso42010AdapterFactory extends AdapterFactoryImpl {
* <!-- begin-user-doc -->
* This default implementation returns null.
* <!-- end-user-doc -->
+ *
* @return the new adapter.
* @generated
*/
@@ -394,4 +432,4 @@ public class Iso42010AdapterFactory extends AdapterFactoryImpl {
return null;
}
-} //Iso42010AdapterFactory
+} // Iso42010AdapterFactory
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/util/Iso42010Switch.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/util/Iso42010Switch.java
index f3e6e493fbc..fba2e41564e 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/util/Iso42010Switch.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.iso42010/src/org/eclipse/papyrus/infra/viewpoints/iso42010/util/Iso42010Switch.java
@@ -1,15 +1,15 @@
/**
* 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
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- *
- *
+ *
+ *
*/
package org.eclipse.papyrus.infra.viewpoints.iso42010.util;
@@ -37,13 +37,13 @@ import org.eclipse.papyrus.infra.viewpoints.iso42010.Stakeholder;
/**
* <!-- 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.infra.viewpoints.iso42010.Iso42010Package
* @generated
*/
@@ -52,6 +52,7 @@ public class Iso42010Switch<T> extends Switch<T> {
* The cached model package
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected static Iso42010Package modelPackage;
@@ -60,6 +61,7 @@ public class Iso42010Switch<T> extends Switch<T> {
* Creates an instance of the switch.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public Iso42010Switch() {
@@ -72,6 +74,7 @@ public class Iso42010Switch<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
@@ -85,111 +88,159 @@ public class Iso42010Switch<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 Iso42010Package.AD_ELEMENT: {
- ADElement adElement = (ADElement)theEObject;
- T result = caseADElement(adElement);
- if (result == null) result = defaultCase(theEObject);
- return result;
+ case Iso42010Package.AD_ELEMENT: {
+ ADElement adElement = (ADElement) theEObject;
+ T result = caseADElement(adElement);
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case Iso42010Package.ARCHITECTURE_DESCRIPTION: {
+ ArchitectureDescription architectureDescription = (ArchitectureDescription) theEObject;
+ T result = caseArchitectureDescription(architectureDescription);
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case Iso42010Package.STAKEHOLDER: {
+ Stakeholder stakeholder = (Stakeholder) theEObject;
+ T result = caseStakeholder(stakeholder);
+ if (result == null) {
+ result = caseADElement(stakeholder);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case Iso42010Package.ARCHITECTURE_VIEWPOINT: {
+ ArchitectureViewpoint architectureViewpoint = (ArchitectureViewpoint) theEObject;
+ T result = caseArchitectureViewpoint(architectureViewpoint);
+ if (result == null) {
+ result = caseADElement(architectureViewpoint);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case Iso42010Package.MODEL_KIND: {
+ ModelKind modelKind = (ModelKind) theEObject;
+ T result = caseModelKind(modelKind);
+ if (result == null) {
+ result = caseADElement(modelKind);
}
- case Iso42010Package.ARCHITECTURE_DESCRIPTION: {
- ArchitectureDescription architectureDescription = (ArchitectureDescription)theEObject;
- T result = caseArchitectureDescription(architectureDescription);
- if (result == null) result = defaultCase(theEObject);
- return result;
+ if (result == null) {
+ result = defaultCase(theEObject);
}
- case Iso42010Package.STAKEHOLDER: {
- Stakeholder stakeholder = (Stakeholder)theEObject;
- T result = caseStakeholder(stakeholder);
- if (result == null) result = caseADElement(stakeholder);
- if (result == null) result = defaultCase(theEObject);
- return result;
+ return result;
+ }
+ case Iso42010Package.ARCHITECTURE_MODEL: {
+ ArchitectureModel architectureModel = (ArchitectureModel) theEObject;
+ T result = caseArchitectureModel(architectureModel);
+ if (result == null) {
+ result = caseADElement(architectureModel);
}
- case Iso42010Package.ARCHITECTURE_VIEWPOINT: {
- ArchitectureViewpoint architectureViewpoint = (ArchitectureViewpoint)theEObject;
- T result = caseArchitectureViewpoint(architectureViewpoint);
- if (result == null) result = caseADElement(architectureViewpoint);
- if (result == null) result = defaultCase(theEObject);
- return result;
+ if (result == null) {
+ result = defaultCase(theEObject);
}
- case Iso42010Package.MODEL_KIND: {
- ModelKind modelKind = (ModelKind)theEObject;
- T result = caseModelKind(modelKind);
- if (result == null) result = caseADElement(modelKind);
- if (result == null) result = defaultCase(theEObject);
- return result;
+ return result;
+ }
+ case Iso42010Package.ARCHITECTURE_VIEW: {
+ ArchitectureView architectureView = (ArchitectureView) theEObject;
+ T result = caseArchitectureView(architectureView);
+ if (result == null) {
+ result = caseADElement(architectureView);
}
- case Iso42010Package.ARCHITECTURE_MODEL: {
- ArchitectureModel architectureModel = (ArchitectureModel)theEObject;
- T result = caseArchitectureModel(architectureModel);
- if (result == null) result = caseADElement(architectureModel);
- if (result == null) result = defaultCase(theEObject);
- return result;
+ if (result == null) {
+ result = defaultCase(theEObject);
}
- case Iso42010Package.ARCHITECTURE_VIEW: {
- ArchitectureView architectureView = (ArchitectureView)theEObject;
- T result = caseArchitectureView(architectureView);
- if (result == null) result = caseADElement(architectureView);
- if (result == null) result = defaultCase(theEObject);
- return result;
+ return result;
+ }
+ case Iso42010Package.CONCERN: {
+ Concern concern = (Concern) theEObject;
+ T result = caseConcern(concern);
+ if (result == null) {
+ result = caseADElement(concern);
}
- case Iso42010Package.CONCERN: {
- Concern concern = (Concern)theEObject;
- T result = caseConcern(concern);
- if (result == null) result = caseADElement(concern);
- if (result == null) result = defaultCase(theEObject);
- return result;
+ if (result == null) {
+ result = defaultCase(theEObject);
}
- case Iso42010Package.SYSTEM: {
- org.eclipse.papyrus.infra.viewpoints.iso42010.System system = (org.eclipse.papyrus.infra.viewpoints.iso42010.System)theEObject;
- T result = caseSystem(system);
- if (result == null) result = defaultCase(theEObject);
- return result;
+ return result;
+ }
+ case Iso42010Package.SYSTEM: {
+ org.eclipse.papyrus.infra.viewpoints.iso42010.System system = (org.eclipse.papyrus.infra.viewpoints.iso42010.System) theEObject;
+ T result = caseSystem(system);
+ if (result == null) {
+ result = defaultCase(theEObject);
}
- case Iso42010Package.ARCHITECTURE: {
- Architecture architecture = (Architecture)theEObject;
- T result = caseArchitecture(architecture);
- if (result == null) result = defaultCase(theEObject);
- return result;
+ return result;
+ }
+ case Iso42010Package.ARCHITECTURE: {
+ Architecture architecture = (Architecture) theEObject;
+ T result = caseArchitecture(architecture);
+ if (result == null) {
+ result = defaultCase(theEObject);
}
- case Iso42010Package.ARCHITECTURE_RATIONALE: {
- ArchitectureRationale architectureRationale = (ArchitectureRationale)theEObject;
- T result = caseArchitectureRationale(architectureRationale);
- if (result == null) result = caseADElement(architectureRationale);
- if (result == null) result = defaultCase(theEObject);
- return result;
+ return result;
+ }
+ case Iso42010Package.ARCHITECTURE_RATIONALE: {
+ ArchitectureRationale architectureRationale = (ArchitectureRationale) theEObject;
+ T result = caseArchitectureRationale(architectureRationale);
+ if (result == null) {
+ result = caseADElement(architectureRationale);
}
- case Iso42010Package.CORRESPONDENCE: {
- Correspondence correspondence = (Correspondence)theEObject;
- T result = caseCorrespondence(correspondence);
- if (result == null) result = defaultCase(theEObject);
- return result;
+ if (result == null) {
+ result = defaultCase(theEObject);
}
- case Iso42010Package.CORRESPONDENCE_RULE: {
- CorrespondenceRule correspondenceRule = (CorrespondenceRule)theEObject;
- T result = caseCorrespondenceRule(correspondenceRule);
- if (result == null) result = defaultCase(theEObject);
- return result;
+ return result;
+ }
+ case Iso42010Package.CORRESPONDENCE: {
+ Correspondence correspondence = (Correspondence) theEObject;
+ T result = caseCorrespondence(correspondence);
+ if (result == null) {
+ result = defaultCase(theEObject);
}
- case Iso42010Package.ARCHITECTURE_DECISION: {
- ArchitectureDecision architectureDecision = (ArchitectureDecision)theEObject;
- T result = caseArchitectureDecision(architectureDecision);
- if (result == null) result = caseADElement(architectureDecision);
- if (result == null) result = defaultCase(theEObject);
- return result;
+ return result;
+ }
+ case Iso42010Package.CORRESPONDENCE_RULE: {
+ CorrespondenceRule correspondenceRule = (CorrespondenceRule) theEObject;
+ T result = caseCorrespondenceRule(correspondenceRule);
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case Iso42010Package.ARCHITECTURE_DECISION: {
+ ArchitectureDecision architectureDecision = (ArchitectureDecision) theEObject;
+ T result = caseArchitectureDecision(architectureDecision);
+ if (result == null) {
+ result = caseADElement(architectureDecision);
}
- case Iso42010Package.ARCHITECTURE_FRAMEWORK: {
- ArchitectureFramework architectureFramework = (ArchitectureFramework)theEObject;
- T result = caseArchitectureFramework(architectureFramework);
- if (result == null) result = defaultCase(theEObject);
- return result;
+ if (result == null) {
+ result = defaultCase(theEObject);
}
- default: return defaultCase(theEObject);
+ return result;
+ }
+ case Iso42010Package.ARCHITECTURE_FRAMEWORK: {
+ ArchitectureFramework architectureFramework = (ArchitectureFramework) theEObject;
+ T result = caseArchitectureFramework(architectureFramework);
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ default:
+ return defaultCase(theEObject);
}
}
@@ -199,7 +250,9 @@ public class Iso42010Switch<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>AD Element</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -214,7 +267,9 @@ public class Iso42010Switch<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>Architecture Description</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -229,7 +284,9 @@ public class Iso42010Switch<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>Stakeholder</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -244,7 +301,9 @@ public class Iso42010Switch<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>Architecture Viewpoint</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -259,7 +318,9 @@ public class Iso42010Switch<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>Model Kind</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -274,7 +335,9 @@ public class Iso42010Switch<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>Architecture Model</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -289,7 +352,9 @@ public class Iso42010Switch<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>Architecture View</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -304,7 +369,9 @@ public class Iso42010Switch<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>Concern</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -319,7 +386,9 @@ public class Iso42010Switch<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>System</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -334,7 +403,9 @@ public class Iso42010Switch<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>Architecture</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -349,7 +420,9 @@ public class Iso42010Switch<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>Architecture Rationale</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -364,7 +437,9 @@ public class Iso42010Switch<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>Correspondence</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -379,7 +454,9 @@ public class Iso42010Switch<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>Correspondence Rule</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -394,7 +471,9 @@ public class Iso42010Switch<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>Architecture Decision</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -409,7 +488,9 @@ public class Iso42010Switch<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>Architecture Framework</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -424,7 +505,9 @@ public class Iso42010Switch<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
@@ -434,4 +517,4 @@ public class Iso42010Switch<T> extends Switch<T> {
return null;
}
-} //Iso42010Switch
+} // Iso42010Switch
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src-gen/org/eclipse/papyrus/infra/viewpoints/style/PapyrusViewStyle.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src-gen/org/eclipse/papyrus/infra/viewpoints/style/PapyrusViewStyle.java
index 34478ed661e..be585133b28 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src-gen/org/eclipse/papyrus/infra/viewpoints/style/PapyrusViewStyle.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src-gen/org/eclipse/papyrus/infra/viewpoints/style/PapyrusViewStyle.java
@@ -1,15 +1,15 @@
/**
* 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
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- *
- *
+ *
+ *
*/
package org.eclipse.papyrus.infra.viewpoints.style;
@@ -26,8 +26,8 @@ import org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusView;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.style.PapyrusViewStyle#getOwner <em>Owner</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.style.PapyrusViewStyle#getConfiguration <em>Configuration</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.style.PapyrusViewStyle#getOwner <em>Owner</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.style.PapyrusViewStyle#getConfiguration <em>Configuration</em>}</li>
* </ul>
* </p>
*
@@ -40,10 +40,10 @@ public interface PapyrusViewStyle extends Style {
* Returns the value of the '<em><b>Owner</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Owner</em>' reference isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Owner</em>' 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>' reference.
* @see #setOwner(EObject)
* @see org.eclipse.papyrus.infra.viewpoints.style.StylePackage#getPapyrusViewStyle_Owner()
@@ -56,7 +56,9 @@ public interface PapyrusViewStyle extends Style {
* Sets the value of the '{@link org.eclipse.papyrus.infra.viewpoints.style.PapyrusViewStyle#getOwner <em>Owner</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Owner</em>' reference.
+ *
+ * @param value
+ * the new value of the '<em>Owner</em>' reference.
* @see #getOwner()
* @generated
*/
@@ -66,10 +68,10 @@ public interface PapyrusViewStyle extends Style {
* Returns the value of the '<em><b>Configuration</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Configuration</em>' reference isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Configuration</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Configuration</em>' reference.
* @see #setConfiguration(PapyrusView)
* @see org.eclipse.papyrus.infra.viewpoints.style.StylePackage#getPapyrusViewStyle_Configuration()
@@ -82,7 +84,9 @@ public interface PapyrusViewStyle extends Style {
* Sets the value of the '{@link org.eclipse.papyrus.infra.viewpoints.style.PapyrusViewStyle#getConfiguration <em>Configuration</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Configuration</em>' reference.
+ *
+ * @param value
+ * the new value of the '<em>Configuration</em>' reference.
* @see #getConfiguration()
* @generated
*/
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src-gen/org/eclipse/papyrus/infra/viewpoints/style/StyleFactory.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src-gen/org/eclipse/papyrus/infra/viewpoints/style/StyleFactory.java
index acfb0771aac..0b76cfa08c6 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src-gen/org/eclipse/papyrus/infra/viewpoints/style/StyleFactory.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src-gen/org/eclipse/papyrus/infra/viewpoints/style/StyleFactory.java
@@ -1,15 +1,15 @@
/**
* 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
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- *
- *
+ *
+ *
*/
package org.eclipse.papyrus.infra.viewpoints.style;
@@ -20,6 +20,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.infra.viewpoints.style.StylePackage
* @generated
*/
@@ -28,6 +29,7 @@ public interface StyleFactory extends EFactory {
* The singleton instance of the factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
StyleFactory eINSTANCE = org.eclipse.papyrus.infra.viewpoints.style.impl.StyleFactoryImpl.init();
@@ -36,6 +38,7 @@ public interface StyleFactory extends EFactory {
* Returns a new object of class '<em>Papyrus View Style</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Papyrus View Style</em>'.
* @generated
*/
@@ -45,9 +48,10 @@ public interface StyleFactory extends EFactory {
* Returns the package supported by this factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the package supported by this factory.
* @generated
*/
StylePackage getStylePackage();
-} //StyleFactory
+} // StyleFactory
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src-gen/org/eclipse/papyrus/infra/viewpoints/style/StylePackage.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src-gen/org/eclipse/papyrus/infra/viewpoints/style/StylePackage.java
index e3882c37de1..f3bbaaafb34 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src-gen/org/eclipse/papyrus/infra/viewpoints/style/StylePackage.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src-gen/org/eclipse/papyrus/infra/viewpoints/style/StylePackage.java
@@ -1,15 +1,15 @@
/**
* 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
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- *
- *
+ *
+ *
*/
package org.eclipse.papyrus.infra.viewpoints.style;
@@ -23,13 +23,14 @@ import org.eclipse.gmf.runtime.notation.NotationPackage;
* 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 operation 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 operation of each class,</li>
+ * <li>each enum,</li>
+ * <li>and each data type</li>
* </ul>
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.viewpoints.style.StyleFactory
* @model kind="package"
* @generated
@@ -39,6 +40,7 @@ public interface StylePackage extends EPackage {
* The package name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
String eNAME = "style";
@@ -47,6 +49,7 @@ public interface StylePackage extends EPackage {
* The package namespace URI.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
String eNS_URI = "http://www.eclipse.org/papyrus/infra/viewpoints/policy/style";
@@ -55,6 +58,7 @@ public interface StylePackage extends EPackage {
* The package namespace name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
String eNS_PREFIX = "style";
@@ -63,6 +67,7 @@ public interface StylePackage extends EPackage {
* The singleton instance of the package.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
StylePackage eINSTANCE = org.eclipse.papyrus.infra.viewpoints.style.impl.StylePackageImpl.init();
@@ -71,6 +76,7 @@ public interface StylePackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.infra.viewpoints.style.impl.PapyrusViewStyleImpl <em>Papyrus View Style</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.viewpoints.style.impl.PapyrusViewStyleImpl
* @see org.eclipse.papyrus.infra.viewpoints.style.impl.StylePackageImpl#getPapyrusViewStyle()
* @generated
@@ -81,6 +87,7 @@ public interface StylePackage extends EPackage {
* The feature id for the '<em><b>Owner</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -90,6 +97,7 @@ public interface StylePackage extends EPackage {
* The feature id for the '<em><b>Configuration</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -99,6 +107,7 @@ public interface StylePackage extends EPackage {
* The number of structural features of the '<em>Papyrus View Style</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -108,6 +117,7 @@ public interface StylePackage extends EPackage {
* The number of operations of the '<em>Papyrus View Style</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -118,6 +128,7 @@ public interface StylePackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.infra.viewpoints.style.PapyrusViewStyle <em>Papyrus View Style</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Papyrus View Style</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.style.PapyrusViewStyle
* @generated
@@ -128,6 +139,7 @@ public interface StylePackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.infra.viewpoints.style.PapyrusViewStyle#getOwner <em>Owner</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference '<em>Owner</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.style.PapyrusViewStyle#getOwner()
* @see #getPapyrusViewStyle()
@@ -139,6 +151,7 @@ public interface StylePackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.infra.viewpoints.style.PapyrusViewStyle#getConfiguration <em>Configuration</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference '<em>Configuration</em>'.
* @see org.eclipse.papyrus.infra.viewpoints.style.PapyrusViewStyle#getConfiguration()
* @see #getPapyrusViewStyle()
@@ -150,6 +163,7 @@ public interface StylePackage 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
*/
@@ -159,13 +173,14 @@ public interface StylePackage 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 operation 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 operation of each class,</li>
+ * <li>each enum,</li>
+ * <li>and each data type</li>
* </ul>
* <!-- end-user-doc -->
+ *
* @generated
*/
interface Literals {
@@ -173,6 +188,7 @@ public interface StylePackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.infra.viewpoints.style.impl.PapyrusViewStyleImpl <em>Papyrus View Style</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.viewpoints.style.impl.PapyrusViewStyleImpl
* @see org.eclipse.papyrus.infra.viewpoints.style.impl.StylePackageImpl#getPapyrusViewStyle()
* @generated
@@ -183,6 +199,7 @@ public interface StylePackage extends EPackage {
* The meta object literal for the '<em><b>Owner</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference PAPYRUS_VIEW_STYLE__OWNER = eINSTANCE.getPapyrusViewStyle_Owner();
@@ -191,10 +208,11 @@ public interface StylePackage extends EPackage {
* The meta object literal for the '<em><b>Configuration</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference PAPYRUS_VIEW_STYLE__CONFIGURATION = eINSTANCE.getPapyrusViewStyle_Configuration();
}
-} //StylePackage
+} // StylePackage
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src-gen/org/eclipse/papyrus/infra/viewpoints/style/impl/PapyrusViewStyleImpl.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src-gen/org/eclipse/papyrus/infra/viewpoints/style/impl/PapyrusViewStyleImpl.java
index 528d31bacc6..90398e90d40 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src-gen/org/eclipse/papyrus/infra/viewpoints/style/impl/PapyrusViewStyleImpl.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src-gen/org/eclipse/papyrus/infra/viewpoints/style/impl/PapyrusViewStyleImpl.java
@@ -1,15 +1,15 @@
/**
* 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
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- *
- *
+ *
+ *
*/
package org.eclipse.papyrus.infra.viewpoints.style.impl;
@@ -33,8 +33,8 @@ import org.eclipse.papyrus.infra.viewpoints.style.StylePackage;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.style.impl.PapyrusViewStyleImpl#getOwner <em>Owner</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.style.impl.PapyrusViewStyleImpl#getConfiguration <em>Configuration</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.style.impl.PapyrusViewStyleImpl#getOwner <em>Owner</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.viewpoints.style.impl.PapyrusViewStyleImpl#getConfiguration <em>Configuration</em>}</li>
* </ul>
* </p>
*
@@ -45,6 +45,7 @@ public class PapyrusViewStyleImpl extends MinimalEObjectImpl.Container implement
* The cached value of the '{@link #getOwner() <em>Owner</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getOwner()
* @generated
* @ordered
@@ -55,6 +56,7 @@ public class PapyrusViewStyleImpl extends MinimalEObjectImpl.Container implement
* The cached value of the '{@link #getConfiguration() <em>Configuration</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getConfiguration()
* @generated
* @ordered
@@ -64,6 +66,7 @@ public class PapyrusViewStyleImpl extends MinimalEObjectImpl.Container implement
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected PapyrusViewStyleImpl() {
@@ -73,6 +76,7 @@ public class PapyrusViewStyleImpl extends MinimalEObjectImpl.Container implement
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -83,15 +87,17 @@ public class PapyrusViewStyleImpl extends MinimalEObjectImpl.Container implement
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EObject getOwner() {
if (owner != null && owner.eIsProxy()) {
- InternalEObject oldOwner = (InternalEObject)owner;
+ InternalEObject oldOwner = (InternalEObject) owner;
owner = eResolveProxy(oldOwner);
if (owner != oldOwner) {
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, StylePackage.PAPYRUS_VIEW_STYLE__OWNER, oldOwner, owner));
+ }
}
}
return owner;
@@ -100,6 +106,7 @@ public class PapyrusViewStyleImpl extends MinimalEObjectImpl.Container implement
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EObject basicGetOwner() {
@@ -109,27 +116,31 @@ public class PapyrusViewStyleImpl extends MinimalEObjectImpl.Container implement
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public void setOwner(EObject newOwner) {
EObject oldOwner = owner;
owner = newOwner;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, StylePackage.PAPYRUS_VIEW_STYLE__OWNER, oldOwner, owner));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public PapyrusView getConfiguration() {
if (configuration != null && configuration.eIsProxy()) {
- InternalEObject oldConfiguration = (InternalEObject)configuration;
- configuration = (PapyrusView)eResolveProxy(oldConfiguration);
+ InternalEObject oldConfiguration = (InternalEObject) configuration;
+ configuration = (PapyrusView) eResolveProxy(oldConfiguration);
if (configuration != oldConfiguration) {
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, StylePackage.PAPYRUS_VIEW_STYLE__CONFIGURATION, oldConfiguration, configuration));
+ }
}
}
return configuration;
@@ -138,6 +149,7 @@ public class PapyrusViewStyleImpl extends MinimalEObjectImpl.Container implement
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public PapyrusView basicGetConfiguration() {
@@ -147,29 +159,36 @@ public class PapyrusViewStyleImpl extends MinimalEObjectImpl.Container implement
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public void setConfiguration(PapyrusView newConfiguration) {
PapyrusView oldConfiguration = configuration;
configuration = newConfiguration;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, StylePackage.PAPYRUS_VIEW_STYLE__CONFIGURATION, oldConfiguration, configuration));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case StylePackage.PAPYRUS_VIEW_STYLE__OWNER:
- if (resolve) return getOwner();
- return basicGetOwner();
- case StylePackage.PAPYRUS_VIEW_STYLE__CONFIGURATION:
- if (resolve) return getConfiguration();
- return basicGetConfiguration();
+ case StylePackage.PAPYRUS_VIEW_STYLE__OWNER:
+ if (resolve) {
+ return getOwner();
+ }
+ return basicGetOwner();
+ case StylePackage.PAPYRUS_VIEW_STYLE__CONFIGURATION:
+ if (resolve) {
+ return getConfiguration();
+ }
+ return basicGetConfiguration();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -177,17 +196,18 @@ public class PapyrusViewStyleImpl extends MinimalEObjectImpl.Container implement
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case StylePackage.PAPYRUS_VIEW_STYLE__OWNER:
- setOwner((EObject)newValue);
- return;
- case StylePackage.PAPYRUS_VIEW_STYLE__CONFIGURATION:
- setConfiguration((PapyrusView)newValue);
- return;
+ case StylePackage.PAPYRUS_VIEW_STYLE__OWNER:
+ setOwner((EObject) newValue);
+ return;
+ case StylePackage.PAPYRUS_VIEW_STYLE__CONFIGURATION:
+ setConfiguration((PapyrusView) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -195,17 +215,18 @@ public class PapyrusViewStyleImpl extends MinimalEObjectImpl.Container implement
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case StylePackage.PAPYRUS_VIEW_STYLE__OWNER:
- setOwner((EObject)null);
- return;
- case StylePackage.PAPYRUS_VIEW_STYLE__CONFIGURATION:
- setConfiguration((PapyrusView)null);
- return;
+ case StylePackage.PAPYRUS_VIEW_STYLE__OWNER:
+ setOwner((EObject) null);
+ return;
+ case StylePackage.PAPYRUS_VIEW_STYLE__CONFIGURATION:
+ setConfiguration((PapyrusView) null);
+ return;
}
super.eUnset(featureID);
}
@@ -213,17 +234,18 @@ public class PapyrusViewStyleImpl extends MinimalEObjectImpl.Container implement
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case StylePackage.PAPYRUS_VIEW_STYLE__OWNER:
- return owner != null;
- case StylePackage.PAPYRUS_VIEW_STYLE__CONFIGURATION:
- return configuration != null;
+ case StylePackage.PAPYRUS_VIEW_STYLE__OWNER:
+ return owner != null;
+ case StylePackage.PAPYRUS_VIEW_STYLE__CONFIGURATION:
+ return configuration != null;
}
return super.eIsSet(featureID);
}
-} //PapyrusViewStyleImpl
+} // PapyrusViewStyleImpl
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src-gen/org/eclipse/papyrus/infra/viewpoints/style/impl/StyleFactoryImpl.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src-gen/org/eclipse/papyrus/infra/viewpoints/style/impl/StyleFactoryImpl.java
index 9d5b17843f8..e992e08ec22 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src-gen/org/eclipse/papyrus/infra/viewpoints/style/impl/StyleFactoryImpl.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src-gen/org/eclipse/papyrus/infra/viewpoints/style/impl/StyleFactoryImpl.java
@@ -1,15 +1,15 @@
/**
* 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
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- *
- *
+ *
+ *
*/
package org.eclipse.papyrus.infra.viewpoints.style.impl;
@@ -27,6 +27,7 @@ import org.eclipse.papyrus.infra.viewpoints.style.*;
* <!-- begin-user-doc -->
* An implementation of the model <b>Factory</b>.
* <!-- end-user-doc -->
+ *
* @generated
*/
public class StyleFactoryImpl extends EFactoryImpl implements StyleFactory {
@@ -34,16 +35,16 @@ public class StyleFactoryImpl extends EFactoryImpl implements StyleFactory {
* Creates the default factory implementation.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public static StyleFactory init() {
try {
- StyleFactory theStyleFactory = (StyleFactory)EPackage.Registry.INSTANCE.getEFactory(StylePackage.eNS_URI);
+ StyleFactory theStyleFactory = (StyleFactory) EPackage.Registry.INSTANCE.getEFactory(StylePackage.eNS_URI);
if (theStyleFactory != null) {
return theStyleFactory;
}
- }
- catch (Exception exception) {
+ } catch (Exception exception) {
EcorePlugin.INSTANCE.log(exception);
}
return new StyleFactoryImpl();
@@ -53,6 +54,7 @@ public class StyleFactoryImpl extends EFactoryImpl implements StyleFactory {
* Creates an instance of the factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public StyleFactoryImpl() {
@@ -62,20 +64,23 @@ public class StyleFactoryImpl extends EFactoryImpl implements StyleFactory {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public EObject create(EClass eClass) {
switch (eClass.getClassifierID()) {
- case StylePackage.PAPYRUS_VIEW_STYLE: return createPapyrusViewStyle();
- default:
- throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
+ case StylePackage.PAPYRUS_VIEW_STYLE:
+ return createPapyrusViewStyle();
+ default:
+ throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
}
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public PapyrusViewStyle createPapyrusViewStyle() {
@@ -86,15 +91,17 @@ public class StyleFactoryImpl extends EFactoryImpl implements StyleFactory {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public StylePackage getStylePackage() {
- return (StylePackage)getEPackage();
+ return (StylePackage) getEPackage();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @deprecated
* @generated
*/
@@ -103,4 +110,4 @@ public class StyleFactoryImpl extends EFactoryImpl implements StyleFactory {
return StylePackage.eINSTANCE;
}
-} //StyleFactoryImpl
+} // StyleFactoryImpl
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src-gen/org/eclipse/papyrus/infra/viewpoints/style/impl/StylePackageImpl.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src-gen/org/eclipse/papyrus/infra/viewpoints/style/impl/StylePackageImpl.java
index 4b166c9a502..00d0e142952 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src-gen/org/eclipse/papyrus/infra/viewpoints/style/impl/StylePackageImpl.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src-gen/org/eclipse/papyrus/infra/viewpoints/style/impl/StylePackageImpl.java
@@ -1,15 +1,15 @@
/**
* 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
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- *
- *
+ *
+ *
*/
package org.eclipse.papyrus.infra.viewpoints.style.impl;
@@ -28,26 +28,24 @@ import org.eclipse.papyrus.infra.viewpoints.style.StylePackage;
* <!-- begin-user-doc -->
* An implementation of the model <b>Package</b>.
* <!-- end-user-doc -->
+ *
* @generated
*/
public class StylePackageImpl extends EPackageImpl implements StylePackage {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass papyrusViewStyleEClass = 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.infra.viewpoints.style.StylePackage#eNS_URI
* @see #init()
@@ -60,27 +58,29 @@ public class StylePackageImpl extends EPackageImpl implements StylePackage {
/**
* <!-- 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 StylePackage#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 StylePackage#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 StylePackage init() {
- if (isInited) return (StylePackage)EPackage.Registry.INSTANCE.getEPackage(StylePackage.eNS_URI);
+ if (isInited) {
+ return (StylePackage) EPackage.Registry.INSTANCE.getEPackage(StylePackage.eNS_URI);
+ }
// Obtain or create and register package
- StylePackageImpl theStylePackage = (StylePackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof StylePackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new StylePackageImpl());
+ StylePackageImpl theStylePackage = (StylePackageImpl) (EPackage.Registry.INSTANCE.get(eNS_URI) instanceof StylePackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new StylePackageImpl());
isInited = true;
@@ -97,7 +97,7 @@ public class StylePackageImpl extends EPackageImpl implements StylePackage {
// Mark meta-data to indicate it can't be changed
theStylePackage.freeze();
-
+
// Update the registry and return the package
EPackage.Registry.INSTANCE.put(StylePackage.eNS_URI, theStylePackage);
return theStylePackage;
@@ -106,6 +106,7 @@ public class StylePackageImpl extends EPackageImpl implements StylePackage {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EClass getPapyrusViewStyle() {
@@ -115,46 +116,53 @@ public class StylePackageImpl extends EPackageImpl implements StylePackage {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getPapyrusViewStyle_Owner() {
- return (EReference)papyrusViewStyleEClass.getEStructuralFeatures().get(0);
+ return (EReference) papyrusViewStyleEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getPapyrusViewStyle_Configuration() {
- return (EReference)papyrusViewStyleEClass.getEStructuralFeatures().get(1);
+ return (EReference) papyrusViewStyleEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public StyleFactory getStyleFactory() {
- return (StyleFactory)getEFactoryInstance();
+ return (StyleFactory) 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
@@ -166,19 +174,23 @@ public class StylePackageImpl extends EPackageImpl implements StylePackage {
/**
* <!-- 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
@@ -187,9 +199,9 @@ public class StylePackageImpl extends EPackageImpl implements StylePackage {
setNsURI(eNS_URI);
// Obtain other dependent packages
- NotationPackage theNotationPackage = (NotationPackage)EPackage.Registry.INSTANCE.getEPackage(NotationPackage.eNS_URI);
- EcorePackage theEcorePackage = (EcorePackage)EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI);
- ConfigurationPackage theConfigurationPackage = (ConfigurationPackage)EPackage.Registry.INSTANCE.getEPackage(ConfigurationPackage.eNS_URI);
+ NotationPackage theNotationPackage = (NotationPackage) EPackage.Registry.INSTANCE.getEPackage(NotationPackage.eNS_URI);
+ EcorePackage theEcorePackage = (EcorePackage) EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI);
+ ConfigurationPackage theConfigurationPackage = (ConfigurationPackage) EPackage.Registry.INSTANCE.getEPackage(ConfigurationPackage.eNS_URI);
// Create type parameters
@@ -200,11 +212,13 @@ public class StylePackageImpl extends EPackageImpl implements StylePackage {
// Initialize classes, features, and operations; add parameters
initEClass(papyrusViewStyleEClass, PapyrusViewStyle.class, "PapyrusViewStyle", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getPapyrusViewStyle_Owner(), theEcorePackage.getEObject(), null, "owner", null, 1, 1, PapyrusViewStyle.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getPapyrusViewStyle_Configuration(), theConfigurationPackage.getPapyrusView(), null, "configuration", null, 1, 1, PapyrusViewStyle.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getPapyrusViewStyle_Owner(), theEcorePackage.getEObject(), null, "owner", null, 1, 1, PapyrusViewStyle.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
+ IS_ORDERED);
+ initEReference(getPapyrusViewStyle_Configuration(), theConfigurationPackage.getPapyrusView(), null, "configuration", null, 1, 1, PapyrusViewStyle.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
+ IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
// Create resource
createResource(eNS_URI);
}
-} //StylePackageImpl
+} // StylePackageImpl
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src-gen/org/eclipse/papyrus/infra/viewpoints/style/util/StyleAdapterFactory.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src-gen/org/eclipse/papyrus/infra/viewpoints/style/util/StyleAdapterFactory.java
index e5612e40605..7126edf3cb9 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src-gen/org/eclipse/papyrus/infra/viewpoints/style/util/StyleAdapterFactory.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src-gen/org/eclipse/papyrus/infra/viewpoints/style/util/StyleAdapterFactory.java
@@ -1,15 +1,15 @@
/**
* 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
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- *
- *
+ *
+ *
*/
package org.eclipse.papyrus.infra.viewpoints.style.util;
@@ -29,6 +29,7 @@ import org.eclipse.papyrus.infra.viewpoints.style.*;
* 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.infra.viewpoints.style.StylePackage
* @generated
*/
@@ -37,6 +38,7 @@ public class StyleAdapterFactory extends AdapterFactoryImpl {
* The cached model package.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected static StylePackage modelPackage;
@@ -45,6 +47,7 @@ public class StyleAdapterFactory extends AdapterFactoryImpl {
* Creates an instance of the adapter factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public StyleAdapterFactory() {
@@ -58,6 +61,7 @@ public class StyleAdapterFactory 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
*/
@@ -67,7 +71,7 @@ public class StyleAdapterFactory extends AdapterFactoryImpl {
return true;
}
if (object instanceof EObject) {
- return ((EObject)object).eClass().getEPackage() == modelPackage;
+ return ((EObject) object).eClass().getEPackage() == modelPackage;
}
return false;
}
@@ -76,35 +80,40 @@ public class StyleAdapterFactory extends AdapterFactoryImpl {
* The switch that delegates to the <code>createXXX</code> methods.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected StyleSwitch<Adapter> modelSwitch =
- new StyleSwitch<Adapter>() {
- @Override
- public Adapter casePapyrusViewStyle(PapyrusViewStyle object) {
- return createPapyrusViewStyleAdapter();
- }
- @Override
- public Adapter caseStyle(Style object) {
- return createStyleAdapter();
- }
- @Override
- public Adapter defaultCase(EObject object) {
- return createEObjectAdapter();
- }
- };
+ new StyleSwitch<Adapter>() {
+ @Override
+ public Adapter casePapyrusViewStyle(PapyrusViewStyle object) {
+ return createPapyrusViewStyleAdapter();
+ }
+
+ @Override
+ public Adapter caseStyle(Style object) {
+ return createStyleAdapter();
+ }
+
+ @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);
}
@@ -114,6 +123,7 @@ public class StyleAdapterFactory 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.infra.viewpoints.style.PapyrusViewStyle
* @generated
@@ -128,6 +138,7 @@ public class StyleAdapterFactory 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.runtime.notation.Style
* @generated
@@ -141,6 +152,7 @@ public class StyleAdapterFactory extends AdapterFactoryImpl {
* <!-- begin-user-doc -->
* This default implementation returns null.
* <!-- end-user-doc -->
+ *
* @return the new adapter.
* @generated
*/
@@ -148,4 +160,4 @@ public class StyleAdapterFactory extends AdapterFactoryImpl {
return null;
}
-} //StyleAdapterFactory
+} // StyleAdapterFactory
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src-gen/org/eclipse/papyrus/infra/viewpoints/style/util/StyleResourceFactoryImpl.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src-gen/org/eclipse/papyrus/infra/viewpoints/style/util/StyleResourceFactoryImpl.java
index 449f25ac575..db1121f5c78 100644
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src-gen/org/eclipse/papyrus/infra/viewpoints/style/util/StyleResourceFactoryImpl.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src-gen/org/eclipse/papyrus/infra/viewpoints/style/util/StyleResourceFactoryImpl.java
@@ -1,15 +1,15 @@
/**
* 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
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- *
- *
+ *
+ *
*/
package org.eclipse.papyrus.infra.viewpoints.style.util;
@@ -23,6 +23,7 @@ import org.eclipse.emf.ecore.resource.impl.ResourceFactoryImpl;
* <!-- begin-user-doc -->
* The <b>Resource Factory</b> associated with the package.
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.viewpoints.style.util.StyleResourceImpl
* @generated
*/
@@ -31,6 +32,7 @@ public class StyleResourceFactoryImpl extends ResourceFactoryImpl {
* Creates an instance of the resource factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public StyleResourceFactoryImpl() {
@@ -41,6 +43,7 @@ public class StyleResourceFactoryImpl extends ResourceFactoryImpl {
* Creates an instance of the resource.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -49,4 +52,4 @@ public class StyleResourceFactoryImpl extends ResourceFactoryImpl {
return result;
}
-} //StyleResourceFactoryImpl
+} // StyleResourceFactoryImpl
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src-gen/org/eclipse/papyrus/infra/viewpoints/style/util/StyleResourceImpl.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src-gen/org/eclipse/papyrus/infra/viewpoints/style/util/StyleResourceImpl.java
index c04cbb41a34..6749a31f61f 100644
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src-gen/org/eclipse/papyrus/infra/viewpoints/style/util/StyleResourceImpl.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src-gen/org/eclipse/papyrus/infra/viewpoints/style/util/StyleResourceImpl.java
@@ -1,15 +1,15 @@
/**
* 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
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- *
- *
+ *
+ *
*/
package org.eclipse.papyrus.infra.viewpoints.style.util;
@@ -21,6 +21,7 @@ import org.eclipse.emf.ecore.xmi.impl.XMIResourceImpl;
* <!-- begin-user-doc -->
* The <b>Resource </b> associated with the package.
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.viewpoints.style.util.StyleResourceFactoryImpl
* @generated
*/
@@ -29,18 +30,21 @@ public class StyleResourceImpl extends XMIResourceImpl {
* Creates an instance of the resource.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param uri the URI of the new resource.
+ *
+ * @param uri
+ * the URI of the new resource.
* @generated
*/
public StyleResourceImpl(URI uri) {
super(uri);
}
-
+
/**
* @generated NOT - use UUIDs rather than positions
*/
+ @Override
protected boolean useUUIDs() {
return true;
}
-} //StyleResourceImpl
+} // StyleResourceImpl
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src-gen/org/eclipse/papyrus/infra/viewpoints/style/util/StyleSwitch.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src-gen/org/eclipse/papyrus/infra/viewpoints/style/util/StyleSwitch.java
index 8dc58ae4491..5f96f5c234d 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src-gen/org/eclipse/papyrus/infra/viewpoints/style/util/StyleSwitch.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src-gen/org/eclipse/papyrus/infra/viewpoints/style/util/StyleSwitch.java
@@ -1,15 +1,15 @@
/**
* 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
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- *
- *
+ *
+ *
*/
package org.eclipse.papyrus.infra.viewpoints.style.util;
@@ -25,13 +25,13 @@ import org.eclipse.papyrus.infra.viewpoints.style.*;
/**
* <!-- 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.infra.viewpoints.style.StylePackage
* @generated
*/
@@ -40,6 +40,7 @@ public class StyleSwitch<T> extends Switch<T> {
* The cached model package
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected static StylePackage modelPackage;
@@ -48,6 +49,7 @@ public class StyleSwitch<T> extends Switch<T> {
* Creates an instance of the switch.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public StyleSwitch() {
@@ -60,6 +62,7 @@ public class StyleSwitch<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
@@ -73,20 +76,26 @@ public class StyleSwitch<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 StylePackage.PAPYRUS_VIEW_STYLE: {
- PapyrusViewStyle papyrusViewStyle = (PapyrusViewStyle)theEObject;
- T result = casePapyrusViewStyle(papyrusViewStyle);
- if (result == null) result = caseStyle(papyrusViewStyle);
- if (result == null) result = defaultCase(theEObject);
- return result;
+ case StylePackage.PAPYRUS_VIEW_STYLE: {
+ PapyrusViewStyle papyrusViewStyle = (PapyrusViewStyle) theEObject;
+ T result = casePapyrusViewStyle(papyrusViewStyle);
+ if (result == null) {
+ result = caseStyle(papyrusViewStyle);
}
- default: return defaultCase(theEObject);
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ default:
+ return defaultCase(theEObject);
}
}
@@ -96,7 +105,9 @@ public class StyleSwitch<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 View Style</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -111,7 +122,9 @@ public class StyleSwitch<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>Style</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -126,7 +139,9 @@ public class StyleSwitch<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
@@ -136,4 +151,4 @@ public class StyleSwitch<T> extends Switch<T> {
return null;
}
-} //StyleSwitch
+} // StyleSwitch
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/Activator.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/Activator.java
index 3b70edc5310..59401f6913d 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/Activator.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/Activator.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
@@ -42,6 +42,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;
@@ -53,6 +54,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;
@@ -61,7 +63,7 @@ public class Activator extends AbstractUIPlugin {
/**
* Returns the shared instance
- *
+ *
* @return the shared instance
*/
public static Activator getDefault() {
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/DynamicCommandHandler.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/DynamicCommandHandler.java
index c50c7553249..a5b03e8ed2b 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/DynamicCommandHandler.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/DynamicCommandHandler.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
@@ -22,7 +22,7 @@ import org.eclipse.core.commands.IHandlerListener;
/**
* Represents the default handler for commands about the creation of dynamic views.
* This class is used to activate the UI elements that rely on the corresponding commands.
- *
+ *
* @author Laurent Wouters
*/
public class DynamicCommandHandler implements IHandler {
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/DynamicContribution.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/DynamicContribution.java
index 088fcadb681..027dc7f2262 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/DynamicContribution.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/DynamicContribution.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
@@ -23,7 +23,7 @@ import org.eclipse.ui.actions.CompoundContributionItem;
/**
* Represent the dynamic contribution of a policy to some UI elements
- *
+ *
* @author Laurent Wouters
*/
public abstract class DynamicContribution extends CompoundContributionItem {
@@ -55,18 +55,21 @@ public abstract class DynamicContribution extends CompoundContributionItem {
/**
* Gets the current selection as an EObject
- *
+ *
* @return The current selection, or <code>null</code> if it is not an EObject
*/
protected EObject getSelection() {
IWorkbenchWindow window = PlatformUI.getWorkbench().getActiveWorkbenchWindow();
- if (window == null)
+ if (window == null) {
return null;
+ }
ISelection selection = window.getSelectionService().getSelection();
- if (selection == null)
+ if (selection == null) {
return null;
- if (selection.isEmpty())
+ }
+ if (selection.isEmpty()) {
return null;
+ }
if (selection instanceof IStructuredSelection) {
IStructuredSelection struct = (IStructuredSelection) selection;
Object obj = struct.getFirstElement();
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/IProfileHelper.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/IProfileHelper.java
index cf96c652625..46389941de9 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/IProfileHelper.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/IProfileHelper.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
@@ -22,14 +22,14 @@ import org.eclipse.emf.ecore.EPackage;
/**
* Represents a helper for the Policy Checker that is able to check the application of UML profiles
- *
+ *
* @author Laurent Wouters
*/
public interface IProfileHelper {
/**
* Gets a collection of the profiles (as EPackage-s) applied on the given model
- *
+ *
* @param model
* The model to inspect
* @return A collection of profiles (as EPackage)
@@ -38,7 +38,7 @@ public interface IProfileHelper {
/**
* Gets a collection of the stereotypes (as EClass-es) applied to the given object
- *
+ *
* @param object
* The object to inspect
* @return A collection of stereotypes (as EClass)
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/IViewTypeHelper.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/IViewTypeHelper.java
index 1efe4f7bdf4..a0f26353408 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/IViewTypeHelper.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/IViewTypeHelper.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
@@ -20,20 +20,20 @@ import org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusView;
/**
* Represents a helper for the handling of view creation commands
- *
+ *
* @author Laurent Wouters
*/
public interface IViewTypeHelper {
/**
* Determines whether the given type of view is supported by this helper
- *
+ *
* @return <code>true</code> if the type of view is supported by this helper
*/
boolean isSupported(EClass type);
/**
* Determines whether the given object represents a view that is supported by this helper
- *
+ *
* @param view
* The object to enquire
* @return <code>true</code> if the object represents a view supported by this helper
@@ -42,7 +42,7 @@ public interface IViewTypeHelper {
/**
* Gets the prototype for the given configuration element
- *
+ *
* @param configuration
* A view configuration element
* @return The associated prototype
@@ -51,7 +51,7 @@ public interface IViewTypeHelper {
/**
* Gets the prototype of the given view
- *
+ *
* @param view
* The view
* @return The prototype of the given view
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/ModelAddData.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/ModelAddData.java
index 96255381264..303335964be 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/ModelAddData.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/ModelAddData.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
@@ -25,7 +25,7 @@ import org.eclipse.papyrus.infra.viewpoints.configuration.PathElement;
/**
* Represents the set of data related to the insertion of a new model element in a view
- *
+ *
* @author Laurent Wouters
*/
public class ModelAddData {
@@ -38,7 +38,7 @@ public class ModelAddData {
/**
* Determines whether the insertion is permitted
- *
+ *
* @return <code>true</code> if it is permitted
*/
public boolean isPermitted() {
@@ -47,7 +47,7 @@ public class ModelAddData {
/**
* Determines whether an insertion path for the new element has been defined
- *
+ *
* @return <code>true</code> if an insertion path has been defined
*/
public boolean isPathDefined() {
@@ -56,7 +56,7 @@ public class ModelAddData {
/**
* Initializes this set of data without an insertion path
- *
+ *
* @param permit
* Is the insertion permitted?
*/
@@ -66,7 +66,7 @@ public class ModelAddData {
/**
* Initializes this set of data
- *
+ *
* @param permit
* Is the insertion permitted?
* @param insertionPath
@@ -76,14 +76,15 @@ public class ModelAddData {
this.permit = permit;
if (insertionPath != null && !insertionPath.isEmpty()) {
this.path = new ArrayList<EReference>(insertionPath.size());
- for (int i = 0; i != insertionPath.size(); i++)
+ for (int i = 0; i != insertionPath.size(); i++) {
path.add(insertionPath.get(i).getFeature());
+ }
}
}
/**
* Execute the insertion represented by this object on the given origin object
- *
+ *
* @param origin
* The origin object
* @param target
@@ -95,8 +96,9 @@ public class ModelAddData {
int index = 0;
while (index < path.size() - 1) {
current = buildPathStep(current, path.get(index));
- if (current == null)
+ if (current == null) {
return false;
+ }
index++;
}
EReference feature = path.get(path.size() - 1);
@@ -135,7 +137,7 @@ public class ModelAddData {
/**
* Executes a step in the insertion path
- *
+ *
* @param current
* The current object
* @param feature
@@ -148,7 +150,9 @@ public class ModelAddData {
// Try to create an instance of the type
EClass type = feature.getEReferenceType();
if (type.isAbstract())
+ {
return null; // Too bad, we can't fix this
+ }
EObject inst = EcoreUtil.create(type);
current.eSet(feature, inst);
setUndo(current, feature, null, inst);
@@ -162,7 +166,9 @@ public class ModelAddData {
// We have to create one
EClass type = feature.getEReferenceType();
if (type.isAbstract())
+ {
return null; // Too bad, we can't fix this
+ }
EObject inst = EcoreUtil.create(type);
list.add(inst);
setUndo(current, feature, null, inst);
@@ -174,7 +180,7 @@ public class ModelAddData {
/**
* Sets up the undo data if necessary
- *
+ *
* @param origin
* The modified object
* @param feature
@@ -185,8 +191,9 @@ public class ModelAddData {
* The target value
*/
private void setUndo(EObject origin, EReference feature, EObject previous, EObject next) {
- if (undoReference == null)
+ if (undoReference == null) {
return;
+ }
undoOrigin = origin;
undoReference = feature;
undoValuePrevious = previous;
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/ModelRuleConstraintEngine.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/ModelRuleConstraintEngine.java
index eb4675dba26..91b8612d9eb 100644
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/ModelRuleConstraintEngine.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/ModelRuleConstraintEngine.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
@@ -9,7 +9,7 @@
* Contributors:
* CEA LIST - Initial API and implementation
* Christian W. Damus (CEA) - bug 417409
- *
+ *
*****************************************************************************/
package org.eclipse.papyrus.infra.viewpoints.policy;
@@ -44,6 +44,7 @@ public class ModelRuleConstraintEngine extends DefaultConstraintEngine<ModelRule
/**
* {@inheritDoc}
*/
+ @Override
public void refresh() {
modelRule2Constraints.clear();
fireConstraintsChanged();
@@ -52,11 +53,11 @@ public class ModelRuleConstraintEngine extends DefaultConstraintEngine<ModelRule
public boolean matchesRule(ModelRule rule, EObject element) {
IStructuredSelection selection = new StructuredSelection(element);
List<Constraint> constraints = getConstraintsFor(rule);
- if(constraints == null || constraints.size() == 0) {
+ if (constraints == null || constraints.size() == 0) {
return true;
}
for (Constraint c : constraints) {
- try {
+ try {
if (!(c.match(selection))) {
return false;
}
@@ -69,7 +70,7 @@ public class ModelRuleConstraintEngine extends DefaultConstraintEngine<ModelRule
/**
* Initialize and return the list of constraints for a given rule
- *
+ *
* @param rule
* the rule to check
* @return the list of constraints for the specified rule or an empty list if no rule is registered for the rule
@@ -84,7 +85,7 @@ public class ModelRuleConstraintEngine extends DefaultConstraintEngine<ModelRule
/**
* Initialize constraints for a given rule
- *
+ *
* @param rule
* the rule that contains the constraints
* @return the list of constraints for the given rule or an empty list if no constraints were found for the given rule
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/NotationUtils.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/NotationUtils.java
index 4496a957801..565d649b69c 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/NotationUtils.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/NotationUtils.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* 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,28 +26,29 @@ import org.eclipse.ui.PlatformUI;
/**
* Helper methods for the .notation related resources
- *
+ *
* @author Laurent Wouters
*/
public class NotationUtils {
/**
* Gets the roots of the notations resources related to the given object
- *
+ *
* @param element
* The object from which to retrieve the notation resources
* @return An iterator of notation resources' roots, or <code>null</code> if none cannot be resolved
*/
public static Iterator<EObject> getNotationRoots(EObject element) {
Iterator<Resource> notations = getNotationResources(element);
- if (notations == null)
+ if (notations == null) {
return null;
+ }
return new RootsIterator(notations);
}
/**
* Represents an iterator on all the roots of the notations resources of a ResourceSet
- *
+ *
* @author Laurent Wouters
*/
private static class RootsIterator implements Iterator<EObject> {
@@ -56,33 +57,40 @@ public class NotationUtils {
public RootsIterator(Iterator<Resource> notations) {
this.notations = notations;
- if (notations.hasNext())
+ if (notations.hasNext()) {
inner = notations.next().getAllContents();
+ }
}
public boolean hasNext() {
- if (inner == null)
+ if (inner == null) {
return false;
- if (inner.hasNext())
+ }
+ if (inner.hasNext()) {
return true;
+ }
while (notations.hasNext()) {
inner = notations.next().getAllContents();
- if (inner.hasNext())
+ if (inner.hasNext()) {
return true;
+ }
}
inner = null;
return false;
}
public EObject next() {
- if (inner == null)
+ if (inner == null) {
return null;
- if (inner.hasNext())
+ }
+ if (inner.hasNext()) {
return inner.next();
+ }
while (notations.hasNext()) {
inner = notations.next().getAllContents();
- if (inner.hasNext())
+ if (inner.hasNext()) {
return inner.next();
+ }
}
inner = null;
return null;
@@ -96,15 +104,16 @@ public class NotationUtils {
/**
* Gets the notation resources related to the given object
- *
+ *
* @param element
* The object from which to retrieve the notation resources
* @return An iterator of notation resources, or <code>null</code> if none cannot be resolved
*/
public static Iterator<Resource> getNotationResources(EObject element) {
Iterator<Resource> result = tryGetNotationResources(element);
- if (result != null)
+ if (result != null) {
return result;
+ }
IAdaptable input = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().getInput();
if (input != null) {
EObject obj = (EObject) input.getAdapter(EObject.class);
@@ -115,23 +124,25 @@ public class NotationUtils {
/**
* Tries to get the notation resources related to the given object
- *
+ *
* @param element
* The object from which to retrieve the notation resources
* @return An iterator of notation resources, or <code>null</code> if none cannot be resolved
*/
private static Iterator<Resource> tryGetNotationResources(EObject element) {
- if (element == null)
+ if (element == null) {
return null;
- if (element.eResource() == null)
+ }
+ if (element.eResource() == null) {
return null;
+ }
return new NotationsIterator(element.eResource().getResourceSet());
}
/**
* Represents an iterator over the notation resources of a ResourceSet
- *
+ *
* @author Laurent Wouters
*/
private static class NotationsIterator implements Iterator<Resource> {
@@ -149,8 +160,9 @@ public class NotationUtils {
while (cursor < resources.size()) {
Resource resource = resources.get(cursor++);
String uri = resource.getURI().toString();
- if (uri.endsWith(".notation"))
+ if (uri.endsWith(".notation")) {
return resource;
+ }
}
return null;
}
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/PolicyChecker.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/PolicyChecker.java
index b7b51ba2e86..7014fcbc65f 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/PolicyChecker.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/PolicyChecker.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* 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
@@ -53,7 +53,7 @@ import org.eclipse.papyrus.infra.viewpoints.iso42010.Stakeholder;
/**
* The <code>PolicyChecker</code> enforces the viewpoints configuration as a policy in the user interface
- *
+ *
* @author Laurent Wouters
*/
public class PolicyChecker {
@@ -99,7 +99,7 @@ public class PolicyChecker {
/**
* Loads a built-in configuration
- *
+ *
* @param name
* The name of the configuration
* @return The loaded configuration
@@ -112,17 +112,19 @@ public class PolicyChecker {
/**
* Loads a viewpoints configuration from the given location.
- *
+ *
* @param location
* The location from where to load the configuration
* @return The loaded configuration, or <code>null</code> if the operation failed
*/
public static PapyrusConfiguration loadConfigurationFrom(String location) {
try {
- if (location == null)
+ if (location == null) {
return null;
- if (location.isEmpty())
+ }
+ if (location.isEmpty()) {
return null;
+ }
URI uri = null;
if (location.startsWith("platform:/")) {
uri = URI.createURI(location);
@@ -131,8 +133,9 @@ public class PolicyChecker {
}
location = uri.toString();
PapyrusConfiguration config = CONFIGURATIONS_CACHE.get(location);
- if (config != null)
+ if (config != null) {
return config;
+ }
Resource res = CONFIGURATIONS_RESOURCE_SET.getResource(uri, true);
config = (PapyrusConfiguration) res.getContents().get(0);
CONFIGURATIONS_CACHE.put(location, config);
@@ -144,7 +147,7 @@ public class PolicyChecker {
/**
* Gets the default configuration
- *
+ *
* @return The default configuration
*/
public static PapyrusConfiguration getDefaultConfiguration() {
@@ -157,7 +160,7 @@ public class PolicyChecker {
/**
* Gets the viewpoints contributing to the given viewpoint
- *
+ *
* @param viewpoint
* A viewpoint
* @return A collection of the other viewpoints contributing to the given one
@@ -177,25 +180,29 @@ public class PolicyChecker {
/**
* Gets the configurations contributing to the given configuration
- *
+ *
* @param config
* A configuration
* @return A collection of the contributing configurations
*/
private static Collection<PapyrusConfiguration> getContributionsTo(PapyrusConfiguration config) {
- if (CONTRIBUTIONS_CACHE == null)
+ if (CONTRIBUTIONS_CACHE == null) {
loadContributions();
+ }
Collection<PapyrusConfiguration> result = CONTRIBUTIONS_CACHE.get(config);
- if (result != null)
+ if (result != null) {
return result;
+ }
result = new ArrayList<PapyrusConfiguration>();
CONTRIBUTIONS_CACHE.put(config, result);
for (Map.Entry<String, PapyrusConfiguration> entry : CONFIGURATIONS_CACHE.entrySet()) {
if (entry.getValue() == config) {
Collection<String> contribURIs = CONTRIBUTIONS_DEFINITON.get(entry.getKey());
- if (contribURIs != null)
- for (String uri : contribURIs)
+ if (contribURIs != null) {
+ for (String uri : contribURIs) {
result.add(loadConfigurationFrom(uri));
+ }
+ }
return result;
}
}
@@ -233,7 +240,7 @@ public class PolicyChecker {
/**
* Gets the canonical (absolute) URI from a potentially plugin-relative URI
- *
+ *
* @param plugin
* The container plugin
* @param uri
@@ -241,15 +248,16 @@ public class PolicyChecker {
* @return The canonical (absolute) URI
*/
private static String getCanonicalURI(String plugin, String uri) {
- if (uri.startsWith(PreferenceConstants.P_CONF_PATH_SCHEME_PLUGIN_VALUE))
+ if (uri.startsWith(PreferenceConstants.P_CONF_PATH_SCHEME_PLUGIN_VALUE)) {
return uri;
+ }
return PreferenceConstants.P_CONF_PATH_SCHEME_PLUGIN_VALUE + plugin + "/" + uri;
}
/**
* Gets the preference store for the viewpoints-related preferences
- *
+ *
* @return The preference store for the viewpoints-related preferences
*/
public static IPreferenceStore getPreferences() {
@@ -264,18 +272,19 @@ public class PolicyChecker {
/**
* Gets the policy checker currently enforcing the viewpoints configuration
- *
+ *
* @return The current policy checker
*/
public static PolicyChecker getCurrent() {
- if (currentPolicyChecker == null)
+ if (currentPolicyChecker == null) {
currentPolicyChecker = new PolicyChecker();
+ }
return currentPolicyChecker;
}
/**
* Sets the policy checker currently enforcing the viewpoints configuration
- *
+ *
* @param pc
* The new policy checker
*/
@@ -316,7 +325,7 @@ public class PolicyChecker {
/**
* Gets the configuration enforced by this object
- *
+ *
* @return The configuration
*/
public PapyrusConfiguration getConfiguration() {
@@ -325,7 +334,7 @@ public class PolicyChecker {
/**
* Gets the stakeholder represented by this object
- *
+ *
* @return The stakeholder
*/
public Stakeholder getStakeholder() {
@@ -334,7 +343,7 @@ public class PolicyChecker {
/**
* Gets the viewpoint enforced by this object
- *
+ *
* @return The enforced viewpoint
*/
public PapyrusViewpoint getViewpoint() {
@@ -360,12 +369,14 @@ public class PolicyChecker {
} else {
String scheme = store.getString(PreferenceConstants.P_CONF_PATH_SCHEME);
String path = store.getString(PreferenceConstants.P_CONF_PATH);
- if (PreferenceConstants.P_CONF_PATH_SCHEME_WORKSPACE_VALUE.equals(scheme))
+ if (PreferenceConstants.P_CONF_PATH_SCHEME_WORKSPACE_VALUE.equals(scheme)) {
path = PreferenceConstants.P_CONF_PATH_SCHEME_WORKSPACE_VALUE + path;
+ }
this.configuration = loadConfigurationFrom(path);
}
- if (this.configuration == null)
+ if (this.configuration == null) {
this.configuration = CONFIG_BUILTIN_DEFAULT;
+ }
if (prefViewpoint != null && !prefViewpoint.isEmpty()) {
for (Stakeholder stakeholder : this.configuration.getStakeholders()) {
@@ -386,7 +397,7 @@ public class PolicyChecker {
/**
* Initializes this policy checker with the default configuration and viewpoint
- *
+ *
* @param oneViewPerElem
* Force only one type of view per model element
*/
@@ -401,7 +412,7 @@ public class PolicyChecker {
/**
* Initializes this policy checker with the given configuration and viewpoint
- *
+ *
* @param config
* The configuration to enforce
* @param viewpoint
@@ -430,13 +441,14 @@ public class PolicyChecker {
private void buildApplicableViewpoints() {
applicableViewpoints = new ArrayList<PapyrusViewpoint>();
buildApplicableViewpoints(selectedViewpoint);
- for (PapyrusViewpoint vp : getContributionsTo(selectedViewpoint))
+ for (PapyrusViewpoint vp : getContributionsTo(selectedViewpoint)) {
buildApplicableViewpoints(vp);
+ }
}
/**
* Builds the <code>applicableViewpoints</code> member from the given viewpoint by adding it, as well as its parent
- *
+ *
* @param from
* The top viewpoint
*/
@@ -450,7 +462,7 @@ public class PolicyChecker {
/**
* Determines whether the given element can be the root of a view owned by the given object
- *
+ *
* @param element
* The possible root element
* @param owner
@@ -460,20 +472,24 @@ public class PolicyChecker {
* @return <code>true</code> if the element can be the root
*/
public boolean canHaveNewView(EObject element, EObject owner, ViewPrototype prototype) {
- if (prototype == null)
+ if (prototype == null) {
return false;
- if (!matchesProfiles(prototype.configuration, profileHelper.getAppliedProfiles(owner)))
+ }
+ if (!matchesProfiles(prototype.configuration, profileHelper.getAppliedProfiles(owner))) {
return false;
- if (!matchesProfiles(prototype.configuration, profileHelper.getAppliedProfiles(element)))
+ }
+ if (!matchesProfiles(prototype.configuration, profileHelper.getAppliedProfiles(element))) {
return false;
- if (!matchesCreationRoot(prototype.configuration, element, profileHelper.getAppliedStereotypes(element), prototype.getViewCountOn(element)))
+ }
+ if (!matchesCreationRoot(prototype.configuration, element, profileHelper.getAppliedStereotypes(element), prototype.getViewCountOn(element))) {
return false;
+ }
return true;
}
/**
* Gets the insertion data of the given element in the given diagram
- *
+ *
* @param diagram
* The diagram
* @param parent
@@ -484,17 +500,19 @@ public class PolicyChecker {
*/
public ModelAddData getChildAddData(Diagram diagram, EObject parent, EObject child) {
ViewPrototype prototype = ViewPrototype.get(diagram);
- if (prototype == null)
+ if (prototype == null) {
// This diagram is not in the current policy
return new ModelAddData(false);
+ }
PapyrusDiagram config = (PapyrusDiagram) prototype.configuration;
Collection<EClass> stereotypes = profileHelper.getAppliedStereotypes(child);
while (config != null) {
for (ChildRule rule : config.getChildRules()) {
int result = allows(rule, parent.eClass(), child.eClass(), stereotypes);
- if (result != RESULT_UNKNOWN)
+ if (result != RESULT_UNKNOWN) {
return new ModelAddData((result == RESULT_PERMIT), rule.getInsertionPath());
+ }
}
config = (PapyrusDiagram) config.getParent();
}
@@ -503,7 +521,7 @@ public class PolicyChecker {
/**
* Gets the insertion data of the given element in the given diagram
- *
+ *
* @param diagram
* The diagram
* @param parentType
@@ -514,16 +532,18 @@ public class PolicyChecker {
*/
public ModelAddData getChildAddData(Diagram diagram, EClass parentType, EClass childType) {
ViewPrototype prototype = ViewPrototype.get(diagram);
- if (prototype == null)
+ if (prototype == null) {
// This diagram is not in the current policy
return new ModelAddData(false);
+ }
PapyrusDiagram config = (PapyrusDiagram) prototype.configuration;
while (config != null) {
for (ChildRule rule : config.getChildRules()) {
int result = allows(rule, parentType, childType, new ArrayList<EClass>(0));
- if (result != RESULT_UNKNOWN)
+ if (result != RESULT_UNKNOWN) {
return new ModelAddData((result == RESULT_PERMIT), rule.getInsertionPath());
+ }
}
config = (PapyrusDiagram) config.getParent();
}
@@ -532,7 +552,7 @@ public class PolicyChecker {
/**
* Determines whether the given diagram can have the palette element with the given entry ID
- *
+ *
* @param diagram
* The diagram
* @param entryID
@@ -541,16 +561,18 @@ public class PolicyChecker {
*/
public boolean isInPalette(Diagram diagram, String entryID) {
ViewPrototype prototype = ViewPrototype.get(diagram);
- if (prototype == null)
+ if (prototype == null) {
// This diagram is not in the current policy
return false;
+ }
PapyrusDiagram config = (PapyrusDiagram) prototype.configuration;
while (config != null) {
for (PaletteRule rule : config.getPaletteRules()) {
int result = allows(rule, entryID);
- if (result != RESULT_UNKNOWN)
+ if (result != RESULT_UNKNOWN) {
return (result == RESULT_PERMIT);
+ }
}
config = (PapyrusDiagram) config.getParent();
}
@@ -559,7 +581,7 @@ public class PolicyChecker {
/**
* Determines whether the given view configuration element is part of the current viewpoint
- *
+ *
* @param config
* A view configuration element
* @return <code>true</code> if the element is part of the current viewpoint
@@ -568,8 +590,9 @@ public class PolicyChecker {
for (PapyrusViewpoint viewpoint : applicableViewpoints) {
for (ModelKind kind : viewpoint.getModelKinds()) {
PapyrusView view = (PapyrusView) kind;
- if (EcoreUtil.equals(view, config))
+ if (EcoreUtil.equals(view, config)) {
return true;
+ }
}
}
return false;
@@ -577,7 +600,7 @@ public class PolicyChecker {
/**
* Gets a collection of all the view prototypes allowed by the active policy
- *
+ *
* @return A collection of view prototypes
*/
public Collection<ViewPrototype> getAllPrototypes() {
@@ -586,8 +609,9 @@ public class PolicyChecker {
for (ModelKind kind : viewpoint.getModelKinds()) {
PapyrusView view = (PapyrusView) kind;
ViewPrototype proto = ViewPrototype.get(view);
- if (proto != null)
+ if (proto != null) {
result.add(proto);
+ }
}
}
return result;
@@ -595,7 +619,7 @@ public class PolicyChecker {
/**
* Gets a list of the prototypes that can be instantiated with the given element as owner according to the policy
- *
+ *
* @param element
* The element to test
* @return A list of the prototypes that can be instantiated
@@ -607,15 +631,18 @@ public class PolicyChecker {
for (PapyrusViewpoint viewpoint : applicableViewpoints) {
for (ModelKind kind : viewpoint.getModelKinds()) {
PapyrusView view = (PapyrusView) kind;
- if (!matchesProfiles(view, profiles))
+ if (!matchesProfiles(view, profiles)) {
continue;
+ }
ViewPrototype proto = ViewPrototype.get(view);
- if (proto == null)
+ if (proto == null) {
continue;
+ }
int count = proto.getOwnedViewCount(element);
OwningRule rule = matchesCreationOwner(view, element, stereotypes, count);
- if (rule == null)
+ if (rule == null) {
continue;
+ }
if (rule.getNewModelPath() != null && !rule.getNewModelPath().isEmpty()) {
// Auto-created root => always OK
result.add(proto);
@@ -634,7 +661,7 @@ public class PolicyChecker {
/**
* Gets the owning rule relevant for the given view prototype and owner
- *
+ *
* @param prototype
* The view prototype
* @param owner
@@ -650,7 +677,7 @@ public class PolicyChecker {
/**
* Tries to match a view configuration from the given info
- *
+ *
* @param implem
* The implementation ID
* @param owner
@@ -663,8 +690,9 @@ public class PolicyChecker {
for (PapyrusViewpoint viewpoint : applicableViewpoints) {
for (ModelKind kind : viewpoint.getModelKinds()) {
PapyrusView view = (PapyrusView) kind;
- if (matches(view, implem, owner, root))
+ if (matches(view, implem, owner, root)) {
return view;
+ }
}
}
return null;
@@ -672,7 +700,7 @@ public class PolicyChecker {
/**
* Tries to match a view configuration with the given info
- *
+ *
* @param view
* A view configuration
* @param implem
@@ -684,28 +712,34 @@ public class PolicyChecker {
* @return <code>true</code> if the configuration matches
*/
private boolean matches(PapyrusView view, String implem, EObject owner, EObject root) {
- if (!ViewPrototype.isNatural(view))
+ if (!ViewPrototype.isNatural(view)) {
return false;
- if (!view.getImplementationID().equals(implem))
+ }
+ if (!view.getImplementationID().equals(implem)) {
return false;
+ }
if (owner != null) {
- if (!matchesProfiles(view, profileHelper.getAppliedProfiles(owner)))
+ if (!matchesProfiles(view, profileHelper.getAppliedProfiles(owner))) {
return false;
- if (!matchesExistingOwner(view, owner, profileHelper.getAppliedStereotypes(owner)))
+ }
+ if (!matchesExistingOwner(view, owner, profileHelper.getAppliedStereotypes(owner))) {
return false;
+ }
}
if (root != null) {
- if (!matchesProfiles(view, profileHelper.getAppliedProfiles(root)))
+ if (!matchesProfiles(view, profileHelper.getAppliedProfiles(root))) {
return false;
- if (!matchesExistingRoot(view, root, profileHelper.getAppliedStereotypes(root)))
+ }
+ if (!matchesExistingRoot(view, root, profileHelper.getAppliedStereotypes(root))) {
return false;
+ }
}
return true;
}
/**
* Checks whether the given set of profiles matches the requirements of the given view
- *
+ *
* @param view
* The view to check against
* @param profiles
@@ -715,9 +749,11 @@ public class PolicyChecker {
private boolean matchesProfiles(PapyrusView view, Collection<EPackage> profiles) {
PapyrusView current = view;
while (current != null) {
- for (EPackage profile : view.getProfiles())
- if (!profiles.contains(profile))
+ for (EPackage profile : view.getProfiles()) {
+ if (!profiles.contains(profile)) {
return false;
+ }
+ }
current = current.getParent();
}
return true;
@@ -725,7 +761,7 @@ public class PolicyChecker {
/**
* Checks whether the given type of owning element with applied stereotypes is allowed for the given view
- *
+ *
* @param view
* The view to check against
* @param type
@@ -739,10 +775,12 @@ public class PolicyChecker {
while (current != null) {
for (OwningRule rule : current.getOwningRules()) {
int result = allows(rule, owner, stereotypes);
- if (result == RESULT_DENY)
+ if (result == RESULT_DENY) {
return false;
- if (result == RESULT_PERMIT)
+ }
+ if (result == RESULT_PERMIT) {
return true;
+ }
}
current = current.getParent();
}
@@ -751,7 +789,7 @@ public class PolicyChecker {
/**
* Checks whether the given view can be owned by an element of the given type, applied with the given stereotypes if the cardinality is already the given amount
- *
+ *
* @param view
* The view to check against
* @param owner
@@ -767,10 +805,12 @@ public class PolicyChecker {
while (current != null) {
for (OwningRule rule : current.getOwningRules()) {
int allow = allows(rule, owner, stereotypes);
- if (allow == RESULT_DENY)
+ if (allow == RESULT_DENY) {
return null;
- if (allow == RESULT_UNKNOWN)
+ }
+ if (allow == RESULT_UNKNOWN) {
continue;
+ }
int multiplicity = rule.getMultiplicity();
if (multiplicity == -1 || count < multiplicity) {
if (allows(rule, owner)) {
@@ -785,7 +825,7 @@ public class PolicyChecker {
/**
* Checks whether the given type of root element with applied stereotypes is allowed for the given view
- *
+ *
* @param view
* The view to check against
* @param root
@@ -799,10 +839,12 @@ public class PolicyChecker {
while (current != null) {
for (ModelRule rule : current.getModelRules()) {
int result = allows(rule, root, stereotypes);
- if (result == RESULT_DENY)
+ if (result == RESULT_DENY) {
return false;
- if (result == RESULT_PERMIT)
+ }
+ if (result == RESULT_PERMIT) {
return true;
+ }
}
current = current.getParent();
}
@@ -811,7 +853,7 @@ public class PolicyChecker {
/**
* Checks whether the given view can have the given root element of the given type, applied with the given stereotypes if the cardinality is already the given amount
- *
+ *
* @param view
* The view to check against
* @param root
@@ -827,13 +869,16 @@ public class PolicyChecker {
while (current != null) {
for (ModelRule rule : current.getModelRules()) {
int allow = allows(rule, root, stereotypes);
- if (allow == RESULT_DENY)
+ if (allow == RESULT_DENY) {
return false;
- if (allow == RESULT_UNKNOWN)
+ }
+ if (allow == RESULT_UNKNOWN) {
continue;
+ }
int multiplicity = (oneViewPerElem ? 1 : rule.getMultiplicity());
- if (multiplicity == -1 || count < multiplicity)
+ if (multiplicity == -1 || count < multiplicity) {
return true;
+ }
}
current = current.getParent();
}
@@ -842,7 +887,7 @@ public class PolicyChecker {
/**
* Checks an owner's type against a rule
- *
+ *
* @param rule
* The owning rule
* @param owner
@@ -855,9 +900,11 @@ public class PolicyChecker {
EClass c = rule.getElement();
if (c == null || c.isSuperTypeOf(owner.eClass())) {
// matching type => check the application of the required stereotypes
- for (EClass stereotype : rule.getStereotypes())
- if (!stereotypes.contains(stereotype))
+ for (EClass stereotype : rule.getStereotypes()) {
+ if (!stereotypes.contains(stereotype)) {
return RESULT_UNKNOWN;
+ }
+ }
return rule.isPermit() ? RESULT_PERMIT : RESULT_DENY;
} else {
// type is not matching => unknown
@@ -867,7 +914,7 @@ public class PolicyChecker {
/**
* Checks whether the given owning rule will allow to derive an auto-created root
- *
+ *
* @param rule
* The owning rule
* @param owner
@@ -876,16 +923,19 @@ public class PolicyChecker {
*/
private boolean allows(OwningRule rule, EObject owner) {
List<ModelAutoCreate> list = rule.getNewModelPath();
- if (list == null || list.isEmpty())
+ if (list == null || list.isEmpty()) {
return true;
+ }
EObject current = owner;
for (ModelAutoCreate elem : list) {
EReference ref = elem.getFeature();
- if (ref.isMany())
+ if (ref.isMany()) {
return true;
+ }
Object e = current.eGet(ref);
- if (e == null)
+ if (e == null) {
return true;
+ }
current = (EObject) e;
}
return false;
@@ -893,7 +943,7 @@ public class PolicyChecker {
/**
* Checks a root element's type against a rule
- *
+ *
* @param rule
* The modeling rule
* @param element
@@ -907,14 +957,14 @@ public class PolicyChecker {
if (c == null || c.isSuperTypeOf(element.eClass())) {
// matching type => check the application of the required stereotypes
// each stereotype required to match the model rule should be applied on the element
- for (EClass stereotype : rule.getStereotypes()){
+ for (EClass stereotype : rule.getStereotypes()) {
if (!stereotypes.contains(stereotype)) {
return RESULT_UNKNOWN;
}
}
// check the rule
boolean ruleMatches = RuleConstraintManager.getInstance().matchRule(rule, element);
- if(!ruleMatches) {
+ if (!ruleMatches) {
return RESULT_UNKNOWN;
}
return rule.isPermit() ? RESULT_PERMIT : RESULT_DENY;
@@ -926,7 +976,7 @@ public class PolicyChecker {
/**
* Checks a child insertion against a rule
- *
+ *
* @param rule
* The insertion rule
* @param origin
@@ -943,9 +993,11 @@ public class PolicyChecker {
if ((ce == null || ce.isSuperTypeOf(element))
&& (co == null || co.isSuperTypeOf(origin))) {
// matching type => check the application of the required stereotypes
- for (EClass stereotype : rule.getStereotypes())
- if (!stereotypes.contains(stereotype))
+ for (EClass stereotype : rule.getStereotypes()) {
+ if (!stereotypes.contains(stereotype)) {
return RESULT_UNKNOWN;
+ }
+ }
return rule.isPermit() ? RESULT_PERMIT : RESULT_DENY;
} else {
// type is not matching => unknown
@@ -955,7 +1007,7 @@ public class PolicyChecker {
/**
* Checks a palette element against a rule
- *
+ *
* @param rule
* The palette rule
* @param toolID
@@ -968,8 +1020,9 @@ public class PolicyChecker {
applies = applies || (elem.length() == 0);
applies = applies || (elem != null && elem.equals(toolID));
applies = applies || (elem != null && elem.endsWith("*") && toolID.startsWith(elem.substring(0, elem.length() - 1)));
- if (applies)
+ if (applies) {
return rule.isPermit() ? RESULT_PERMIT : RESULT_DENY;
+ }
return RESULT_UNKNOWN;
}
}
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/PreferenceConstants.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/PreferenceConstants.java
index 1e433ad793e..45d8c58f211 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/PreferenceConstants.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/PreferenceConstants.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
@@ -15,7 +15,7 @@ package org.eclipse.papyrus.infra.viewpoints.policy;
/**
* Contains all the constants for the management of the viewpoints-related configuration preferences
- *
+ *
* @author Laurent Wouters
*/
public class PreferenceConstants {
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/PreferenceInitializer.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/PreferenceInitializer.java
index 7d9613edc3f..8f4194fc1be 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/PreferenceInitializer.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/PreferenceInitializer.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,7 @@ import org.eclipse.jface.preference.IPreferenceStore;
/**
* Initializes the default preferences for the viewpoints
- *
+ *
* @author Laurent Wouters
*/
public class PreferenceInitializer extends AbstractPreferenceInitializer {
@@ -28,6 +28,7 @@ public class PreferenceInitializer extends AbstractPreferenceInitializer {
*
* @see org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer#initializeDefaultPreferences()
*/
+ @Override
public void initializeDefaultPreferences() {
IPreferenceStore store = Activator.getDefault().getPreferenceStore();
store.setDefault(PreferenceConstants.P_CONF_TYPE, PreferenceConstants.P_CONF_TYPE_EXTENSION_VALUE);
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/ProfileUtils.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/ProfileUtils.java
index de66e9d2aaf..8e1cb3a40bb 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/ProfileUtils.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/ProfileUtils.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
@@ -30,7 +30,7 @@ import org.eclipse.emf.ecore.EPackage;
/**
* Helper class for the ProfileHelper extension point
- *
+ *
* @author Laurent Wouters
*/
class ProfileUtils {
@@ -41,7 +41,7 @@ class ProfileUtils {
/**
* Gets a instance of the <code>IProfileHelper</code> interface
- *
+ *
* @return an instance of <code>IProfileHelper</code>
*/
public static IProfileHelper getProfileHelper() {
@@ -54,8 +54,9 @@ class ProfileUtils {
for (int j = 0; j != elements.length; j++) {
try {
IProfileHelper instance = (IProfileHelper) elements[j].createExecutableExtension("class");
- if (instance != null)
+ if (instance != null) {
return instance;
+ }
} catch (CoreException e) {
}
}
@@ -65,7 +66,7 @@ class ProfileUtils {
/**
* Represents a default implementation of the profile helper
- *
+ *
* @author Laurent Wouters
*/
private static class DefaultProfileHelper implements IProfileHelper {
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/RuleConstraintManager.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/RuleConstraintManager.java
index af7d7c2b984..dc4275b5656 100644
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/RuleConstraintManager.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/RuleConstraintManager.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* 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
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/UnavailableViewPrototype.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/UnavailableViewPrototype.java
index 5cd38dda91e..663897e863a 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/UnavailableViewPrototype.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/UnavailableViewPrototype.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
@@ -23,7 +23,7 @@ import org.eclipse.papyrus.infra.viewpoints.configuration.Category;
/**
* Represents a view prototype that is not available in the current viewpoints configuration
- *
+ *
* @author Laurent Wouters
*/
public class UnavailableViewPrototype extends ViewPrototype {
@@ -136,7 +136,7 @@ public class UnavailableViewPrototype extends ViewPrototype {
public EObject getRootOf(EObject view) {
return null;
}
-
+
/**
* @see org.eclipse.papyrus.infra.viewpoints.policy.ViewPrototype#getCategories()
*
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/ViewPrototype.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/ViewPrototype.java
index 68db4eac93e..7b4ea6c23ad 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/ViewPrototype.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/ViewPrototype.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.swt.graphics.Image;
/**
* Represents a prototype of view in Papyrus
- *
+ *
* @author Laurent Wouters
*/
public abstract class ViewPrototype {
@@ -75,7 +75,7 @@ public abstract class ViewPrototype {
/**
* Retrieves the helpers from the extensions
- *
+ *
* @return The helpers
*/
private static Collection<IViewTypeHelper> getCommandHelpers() {
@@ -89,8 +89,9 @@ public abstract class ViewPrototype {
for (int j = 0; j != elements.length; j++) {
try {
IViewTypeHelper instance = (IViewTypeHelper) elements[j].createExecutableExtension("class");
- if (instance != null)
+ if (instance != null) {
result.add(instance);
+ }
} catch (CoreException e) {
}
}
@@ -100,7 +101,7 @@ public abstract class ViewPrototype {
/**
* Determines whether the given configuration element applies on a natural view
- *
+ *
* @param config
* The configuration element
* @return <code>true</code> if the configuration applies on a natural view
@@ -111,21 +112,23 @@ public abstract class ViewPrototype {
/**
* Determines whether the given object is a supported view object
- *
+ *
* @param object
* The object to inspect
* @return <code>true</code> if the object is a supported view
*/
public static boolean isViewObject(EObject object) {
- for (IViewTypeHelper helper : HELPERS)
- if (helper.isSupported(object))
+ for (IViewTypeHelper helper : HELPERS) {
+ if (helper.isSupported(object)) {
return true;
+ }
+ }
return false;
}
/**
* Gets the prototype for the given configuration element
- *
+ *
* @param config
* The configuration element
* @return The prototype
@@ -134,23 +137,25 @@ public abstract class ViewPrototype {
for (IViewTypeHelper helper : HELPERS) {
if (helper.isSupported(config.eClass())) {
ViewPrototype proto = helper.getPrototypeFor(config);
- if (proto != null)
+ if (proto != null) {
return proto;
+ }
}
}
- if (config instanceof PapyrusDiagram)
+ if (config instanceof PapyrusDiagram) {
return UNAVAILABLE_DIAGRAM;
- else if (config instanceof PapyrusTable)
+ } else if (config instanceof PapyrusTable) {
return UNAVAILABLE_TABLE;
- else if (config instanceof PapyrusSyncTable)
+ } else if (config instanceof PapyrusSyncTable) {
return UNAVAILABLE_TABLE;
- else
+ } else {
return UNAVAILABLE_VIEW;
+ }
}
/**
* Gets the prototype for the the given object representing a view
- *
+ *
* @param view
* The view for which a prototype is expected
* @return The view's prototype
@@ -159,8 +164,9 @@ public abstract class ViewPrototype {
for (IViewTypeHelper helper : HELPERS) {
if (helper.isSupported(view)) {
ViewPrototype proto = helper.getPrototypeOf(view);
- if (proto != null)
+ if (proto != null) {
return proto;
+ }
}
}
return UNAVAILABLE_VIEW;
@@ -168,7 +174,7 @@ public abstract class ViewPrototype {
/**
* Gets the prototype for the given implementation identifier
- *
+ *
* @param implem
* The implementation ID
* @param owner
@@ -179,9 +185,10 @@ public abstract class ViewPrototype {
*/
public static ViewPrototype get(String implem, EObject owner, EObject root) {
PapyrusView view = PolicyChecker.getCurrent().getViewFrom(implem, owner, root);
- if (view == null)
+ if (view == null) {
// The given implementation has been inhibited by the current viewpoint configuration
return UNAVAILABLE_VIEW;
+ }
return get(view);
}
@@ -193,7 +200,7 @@ public abstract class ViewPrototype {
/**
* Constructor.
- *
+ *
* @param configuration
* The configuration element
*/
@@ -203,7 +210,7 @@ public abstract class ViewPrototype {
/**
* Gets the configuration element for this view prototype
- *
+ *
* @return The configuration element
*/
public PapyrusView getConfiguration() {
@@ -212,7 +219,7 @@ public abstract class ViewPrototype {
/**
* Gets whether the represented view is the raw implementation
- *
+ *
* @return <code>true</code> if this is a natural view
*/
public boolean isNatural() {
@@ -221,7 +228,7 @@ public abstract class ViewPrototype {
/**
* Gets the ID of the implementation of this prototype
- *
+ *
* @return The implementation ID
*/
public String getImplementation() {
@@ -230,7 +237,7 @@ public abstract class ViewPrototype {
/**
* Gets the label
- *
+ *
* @return The label
*/
public String getLabel() {
@@ -239,7 +246,7 @@ public abstract class ViewPrototype {
/**
* Gets the full label that is qualified with its possible root elements
- *
+ *
* @return The full label
*/
public String getFullLabel() {
@@ -270,7 +277,7 @@ public abstract class ViewPrototype {
/**
* Gets the qualified name of this prototype
- *
+ *
* @return The qualified name
*/
public String getQualifiedName() {
@@ -280,7 +287,7 @@ public abstract class ViewPrototype {
/**
* Gets the URI of this prototype's icon
- *
+ *
* @return The icon's URI
*/
public String getIconURI() {
@@ -289,7 +296,7 @@ public abstract class ViewPrototype {
/**
* Gets the image descriptor of this prototype's icon
- *
+ *
* @return The icon's descriptor
*/
public ImageDescriptor getIconDescriptor() {
@@ -304,7 +311,7 @@ public abstract class ViewPrototype {
/**
* Gets the image of this prototype's icon
- *
+ *
* @return The icon's image
*/
public Image getIcon() {
@@ -313,7 +320,7 @@ public abstract class ViewPrototype {
/**
* Gets the categories of this view prototype
- *
+ *
* @return The prototype's categories
*/
public Collection<Category> getCategories() {
@@ -322,14 +329,14 @@ public abstract class ViewPrototype {
/**
* Determines whether the instances of this prototype can change owners
- *
+ *
* @return <code>true</code> if the owner is reassignable
*/
public abstract boolean isOwnerReassignable();
/**
* Create a new view from this prototype with the given owner
- *
+ *
* @param owner
* The new view's owner
* @return <code>true</code> if the instantiation succeeded
@@ -338,7 +345,7 @@ public abstract class ViewPrototype {
/**
* Create a new view from this prototype with the given owner and name
- *
+ *
* @param owner
* The new view's owner
* @param name
@@ -349,7 +356,7 @@ public abstract class ViewPrototype {
/**
* Gets the command for moving the given view to a new owner (target)
- *
+ *
* @param view
* The view to be moved
* @param target
@@ -360,7 +367,7 @@ public abstract class ViewPrototype {
/**
* Gets the command for changing the root element of the given view to a new element (target)
- *
+ *
* @param view
* The view to change root
* @param target
@@ -371,7 +378,7 @@ public abstract class ViewPrototype {
/**
* Gets the object owning the given view
- *
+ *
* @param view
* The view
* @return The view's owner
@@ -380,7 +387,7 @@ public abstract class ViewPrototype {
/**
* Gets the object which is the root element of the given view
- *
+ *
* @param view
* The view
* @return The views's root element
@@ -389,7 +396,7 @@ public abstract class ViewPrototype {
/**
* Represents a comparator of prototypes
- *
+ *
* @author Laurent Wouters
*/
public static class Comp implements Comparator<ViewPrototype> {
@@ -425,7 +432,7 @@ public abstract class ViewPrototype {
/**
* Gets the number of views of this type owned by a given object
- *
+ *
* @param element
* The object to count views for
* @param prototype
@@ -435,15 +442,17 @@ public abstract class ViewPrototype {
public int getOwnedViewCount(EObject element) {
int count = 0;
Iterator<EObject> roots = NotationUtils.getNotationRoots(element);
- if (roots == null)
+ if (roots == null) {
return count;
+ }
while (roots.hasNext()) {
EObject view = roots.next();
ViewPrototype proto = ViewPrototype.get(view);
if (this == proto) {
EObject owner = proto.getOwnerOf(view);
- if (EcoreUtil.equals(owner, element))
+ if (EcoreUtil.equals(owner, element)) {
count++;
+ }
}
}
return count;
@@ -451,7 +460,7 @@ public abstract class ViewPrototype {
/**
* Gets the number of views of this type on a given object
- *
+ *
* @param element
* The object to count views on
* @param prototype
@@ -461,15 +470,17 @@ public abstract class ViewPrototype {
public int getViewCountOn(EObject element) {
int count = 0;
Iterator<EObject> roots = NotationUtils.getNotationRoots(element);
- if (roots == null)
+ if (roots == null) {
return count;
+ }
while (roots.hasNext()) {
EObject view = roots.next();
ViewPrototype proto = ViewPrototype.get(view);
if (this == proto) {
EObject root = proto.getRootOf(view);
- if (EcoreUtil.equals(root, element))
+ if (EcoreUtil.equals(root, element)) {
count++;
+ }
}
}
return count;
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/ViewPrototypeContentProvider.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/ViewPrototypeContentProvider.java
index fd99c56354a..08f6efec195 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/ViewPrototypeContentProvider.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/ViewPrototypeContentProvider.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
@@ -35,7 +35,7 @@ import org.eclipse.swt.graphics.Image;
/**
* Content provider of ViewPrototypes
- *
+ *
* @author Laurent Wouters
*
*/
@@ -60,18 +60,24 @@ public class ViewPrototypeContentProvider implements ITreeContentProvider {
@Override
public String getText(Object element) {
- if (element instanceof Category)
+ if (element instanceof Category) {
return "Category " + ((Category) element).getName();
- if (element instanceof ViewPrototype)
+ }
+ if (element instanceof ViewPrototype) {
return ((ViewPrototype) element).getLabel();
- if (element instanceof PapyrusViewpoint)
+ }
+ if (element instanceof PapyrusViewpoint) {
return "Available in viewpoint: " + ((PapyrusViewpoint) element).getName();
- if (element instanceof EPackage)
+ }
+ if (element instanceof EPackage) {
return "Required profile: " + ((EPackage) element).getNsURI();
- if (element instanceof ModelRule)
+ }
+ if (element instanceof ModelRule) {
return getText((ModelRule) element);
- if (element instanceof OwningRule)
+ }
+ if (element instanceof OwningRule) {
return getText((OwningRule) element);
+ }
return element.toString();
}
@@ -79,8 +85,9 @@ public class ViewPrototypeContentProvider implements ITreeContentProvider {
StringBuilder builder = new StringBuilder("Possible root: ");
boolean first = true;
for (EClass ste : rule.getStereotypes()) {
- if (!first)
+ if (!first) {
builder.append(", ");
+ }
builder.append("<<");
builder.append(ste.getEPackage().getNsPrefix());
builder.append("::");
@@ -89,8 +96,9 @@ public class ViewPrototypeContentProvider implements ITreeContentProvider {
first = false;
}
if (rule.getElement() != null) {
- if (!first)
+ if (!first) {
builder.append(" ");
+ }
builder.append(rule.getElement().getEPackage().getNsPrefix());
builder.append("::");
builder.append(rule.getElement().getName());
@@ -102,8 +110,9 @@ public class ViewPrototypeContentProvider implements ITreeContentProvider {
StringBuilder builder = new StringBuilder("Possible owner: ");
boolean first = true;
for (EClass ste : rule.getStereotypes()) {
- if (!first)
+ if (!first) {
builder.append(", ");
+ }
builder.append("<<");
builder.append(ste.getEPackage().getNsPrefix());
builder.append("::");
@@ -112,8 +121,9 @@ public class ViewPrototypeContentProvider implements ITreeContentProvider {
first = false;
}
if (rule.getElement() != null) {
- if (!first)
+ if (!first) {
builder.append(" ");
+ }
builder.append(rule.getElement().getEPackage().getNsPrefix());
builder.append("::");
builder.append(rule.getElement().getName());
@@ -123,18 +133,24 @@ public class ViewPrototypeContentProvider implements ITreeContentProvider {
@Override
public Image getImage(Object element) {
- if (element instanceof Category)
+ if (element instanceof Category) {
return imageCategory;
- if (element instanceof ViewPrototype)
+ }
+ if (element instanceof ViewPrototype) {
return ((ViewPrototype) element).getIcon();
- if (element instanceof PapyrusViewpoint)
+ }
+ if (element instanceof PapyrusViewpoint) {
return imageViewpoint;
- if (element instanceof EPackage)
+ }
+ if (element instanceof EPackage) {
return imageProfile;
- if (element instanceof ModelRule)
+ }
+ if (element instanceof ModelRule) {
return imageModel;
- if (element instanceof OwningRule)
+ }
+ if (element instanceof OwningRule) {
return imageOwner;
+ }
return null;
}
}
@@ -156,7 +172,7 @@ public class ViewPrototypeContentProvider implements ITreeContentProvider {
/**
* Creates the provider
- *
+ *
* @param views
* The views to provide
*/
@@ -201,8 +217,9 @@ public class ViewPrototypeContentProvider implements ITreeContentProvider {
private Object[] getChildren(ViewPrototype view) {
- if (view.getConfiguration() == null)
+ if (view.getConfiguration() == null) {
return new String[0];
+ }
List<Object> data = new ArrayList<Object>();
data.add(view.getConfiguration().eContainer());
data.addAll(view.getConfiguration().getProfiles());
@@ -217,15 +234,17 @@ public class ViewPrototypeContentProvider implements ITreeContentProvider {
* @see org.eclipse.jface.viewers.ITreeContentProvider#getChildren(java.lang.Object)
*/
public Object[] getChildren(Object element) {
- if (element == treeRoot)
+ if (element == treeRoot) {
return categories.toArray();
+ }
if (element instanceof Category) {
- List<ViewPrototype> protos = new ArrayList<ViewPrototype>(views.get((Category) element));
+ List<ViewPrototype> protos = new ArrayList<ViewPrototype>(views.get(element));
Collections.sort(protos, new ViewPrototype.Comp());
return protos.toArray();
}
- if (element instanceof ViewPrototype)
+ if (element instanceof ViewPrototype) {
return getChildren((ViewPrototype) element);
+ }
return new Object[0];
}
@@ -235,10 +254,12 @@ public class ViewPrototypeContentProvider implements ITreeContentProvider {
* @see org.eclipse.jface.viewers.ITreeContentProvider#getParent(java.lang.Object)
*/
public Object getParent(Object element) {
- if (element == treeRoot)
+ if (element == treeRoot) {
return null;
- if (element instanceof Category)
+ }
+ if (element instanceof Category) {
return treeRoot;
+ }
return null;
}
@@ -248,12 +269,15 @@ public class ViewPrototypeContentProvider implements ITreeContentProvider {
* @see org.eclipse.jface.viewers.ITreeContentProvider#hasChildren(java.lang.Object)
*/
public boolean hasChildren(Object element) {
- if (element == treeRoot)
+ if (element == treeRoot) {
return true;
- if (element instanceof Category)
+ }
+ if (element instanceof Category) {
return true;
- if (element instanceof ViewPrototype)
+ }
+ if (element instanceof ViewPrototype) {
return true;
+ }
return false;
}
}
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/ViewpointExplorer.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/ViewpointExplorer.java
index 0198e5d56fb..0777c93553f 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/ViewpointExplorer.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/ViewpointExplorer.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
@@ -25,7 +25,7 @@ import org.eclipse.ui.part.ViewPart;
/**
* Eclipse view for the user to explore the current viewpoint
- *
+ *
* @author Laurent Wouters
*
*/
@@ -42,6 +42,7 @@ public class ViewpointExplorer extends ViewPart {
*
* @see org.eclipse.ui.part.WorkbenchPart#createPartControl(org.eclipse.swt.widgets.Composite)
*/
+ @Override
public void createPartControl(Composite parent) {
GridLayout gridLayout = new GridLayout();
gridLayout.numColumns = 1;
@@ -71,7 +72,7 @@ public class ViewpointExplorer extends ViewPart {
/**
* Gets the viewer sorter for this dialog
- *
+ *
* @return A viewer sorter
*/
private ViewerSorter getViewerSorter() {
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/WeightedConfiguration.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/WeightedConfiguration.java
index 97483b33144..253099990e8 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/WeightedConfiguration.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/WeightedConfiguration.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
@@ -28,7 +28,7 @@ import org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusConfiguration;
/**
* Represents a Papyrus viewpoints configuration associated to a priority
- *
+ *
* @author Laurent Wouters
*/
public class WeightedConfiguration {
@@ -43,7 +43,7 @@ public class WeightedConfiguration {
/**
* Gets the URI of the is configuration
- *
+ *
* @return The configuration's URI
*/
public String getURI() {
@@ -52,25 +52,27 @@ public class WeightedConfiguration {
/**
* Gets the Papyrus configuration represented by this object
- *
+ *
* @return A Papyrus Configuration
*/
public PapyrusConfiguration getConfiguration() {
- if (this.config == null)
+ if (this.config == null) {
this.config = PolicyChecker.loadConfigurationFrom(uri);
+ }
return this.config;
}
/**
* Initializes the configuration from the given configuration element
- *
+ *
* @param config
* The extension point configuration element
*/
private WeightedConfiguration(String plugin, IConfigurationElement config) {
this.uri = config.getAttribute("file");
- if (!this.uri.startsWith(PreferenceConstants.P_CONF_PATH_SCHEME_PLUGIN_VALUE))
+ if (!this.uri.startsWith(PreferenceConstants.P_CONF_PATH_SCHEME_PLUGIN_VALUE)) {
this.uri = PreferenceConstants.P_CONF_PATH_SCHEME_PLUGIN_VALUE + plugin + "/" + this.uri;
+ }
try {
this.priority = Integer.parseInt(config.getAttribute("priority"));
} catch (NumberFormatException ex) {
@@ -80,7 +82,7 @@ public class WeightedConfiguration {
/**
* Represents a comparator for weighted configurations
- *
+ *
* @author Laurent Wouters
*/
private static class Comparator implements java.util.Comparator<WeightedConfiguration>, Serializable {
@@ -99,7 +101,7 @@ public class WeightedConfiguration {
/**
* Gets the configuration with the top priority
- *
+ *
* @return The appropriate configuration, or <code>null</code> if none was found
*/
public static WeightedConfiguration getTopConfiguration() {
@@ -111,13 +113,16 @@ public class WeightedConfiguration {
for (int i = 0; i != extensions.length; i++) {
String plugin = extensions[i].getContributor().getName();
IConfigurationElement[] elements = extensions[i].getConfigurationElements();
- for (int j = 0; j != elements.length; j++)
- if (elements[j].getName().equals("configuration"))
+ for (int j = 0; j != elements.length; j++) {
+ if (elements[j].getName().equals("configuration")) {
configs.add(new WeightedConfiguration(plugin, elements[j]));
+ }
+ }
}
Collections.sort(configs, new Comparator());
- if (configs.size() == 0)
+ if (configs.size() == 0) {
return null;
+ }
return configs.get(0);
}
}
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/query/IsContainedByProfileQuery.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/query/IsContainedByProfileQuery.java
index a3cee987c4b..eb58c6e3087 100644
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/query/IsContainedByProfileQuery.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/query/IsContainedByProfileQuery.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* 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
@@ -21,7 +21,7 @@ import org.eclipse.papyrus.infra.emf.utils.EMFHelper;
/**
* Query to check that an element is contained directly or indirectly by a profile
- *
+ *
* @author Remi Schnekenburger
*/
public class IsContainedByProfileQuery implements JavaQuery {
@@ -31,43 +31,43 @@ public class IsContainedByProfileQuery implements JavaQuery {
*/
public boolean match(Object selection) {
EObject eObject = null;
- if(selection instanceof IStructuredSelection) {
- Object o = ((IStructuredSelection)selection).getFirstElement();
- if(o instanceof EObject) {
- eObject = (EObject)o;
+ if (selection instanceof IStructuredSelection) {
+ Object o = ((IStructuredSelection) selection).getFirstElement();
+ if (o instanceof EObject) {
+ eObject = (EObject) o;
}
} else {
// try to edapt into eobject
eObject = EMFHelper.getEObject(selection);
}
-
+
return hasProfileInHierarchy(eObject);
}
protected boolean hasProfileInHierarchy(EObject eObject) {
- if(eObject == null) {
+ if (eObject == null) {
return false;
}
- if(isProfileMetaclass(eObject)) {
+ if (isProfileMetaclass(eObject)) {
return true;
}
-
+
// ask to its container recursively
return hasProfileInHierarchy(eObject.eContainer());
}
protected boolean isProfileMetaclass(EObject eObject) {
EClass eclass = eObject.eClass();
- if(eclass==null) {
+ if (eclass == null) {
return false;
}
-
+
String eclassName = eclass.getName();
- if("Profile".equals(eclassName)) {
+ if ("Profile".equals(eclassName)) {
return true;
}
return false;
-
+
}
}
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.preferences/src/org/eclipse/papyrus/infra/viewpoints/preferences/Activator.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.preferences/src/org/eclipse/papyrus/infra/viewpoints/preferences/Activator.java
index 1157df96e8c..7f3a858877f 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.preferences/src/org/eclipse/papyrus/infra/viewpoints/preferences/Activator.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.preferences/src/org/eclipse/papyrus/infra/viewpoints/preferences/Activator.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
@@ -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/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.preferences/src/org/eclipse/papyrus/infra/viewpoints/preferences/ResourceFieldEditor.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.preferences/src/org/eclipse/papyrus/infra/viewpoints/preferences/ResourceFieldEditor.java
index ccdfd070ce5..9a713cb0b02 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.preferences/src/org/eclipse/papyrus/infra/viewpoints/preferences/ResourceFieldEditor.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.preferences/src/org/eclipse/papyrus/infra/viewpoints/preferences/ResourceFieldEditor.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
@@ -37,10 +37,11 @@ import org.eclipse.ui.model.WorkbenchLabelProvider;
/**
* Represents the preference field for the custom configuration selection
+ *
* @author Laurent Wouters
*/
public class ResourceFieldEditor extends StringButtonFieldEditor {
-
+
/**
* Absolute path selection mode
*/
@@ -53,106 +54,125 @@ public class ResourceFieldEditor extends StringButtonFieldEditor {
* Plugin's resource selection mode
*/
public static final int MODE_PLUGIN = 2;
-
- protected String[] extensions;
- protected int mode;
-
- /**
- * Initializes this field
- * @param name The field's name
- * @param labelText The displayed label
- * @param parent The parent component
- */
- public ResourceFieldEditor(String name, String labelText, Composite parent) {
- init(name, labelText);
- this.extensions = new String[] { "*.configuration" };
- this.mode = 0;
- setErrorMessage(JFaceResources.getString("FileFieldEditor.errorMessage"));//$NON-NLS-1$
- setChangeButtonText(JFaceResources.getString("openBrowse"));//$NON-NLS-1$
- createControl(parent);
- }
-
- /**
- * Changes the field mode
- * @param mode The new mode
- */
- public void setMode(int mode) {
- this.mode = mode;
- }
- /* (non-Javadoc)
- * Method declared on StringButtonFieldEditor.
- * Opens the file chooser dialog and returns the selected file.
- */
- protected String changePressed() {
- switch (mode) {
- case MODE_FILE:
- return selectFile();
- case MODE_WORKSPACE:
- return selectInWorkspace();
- case MODE_PLUGIN:
- return selectInPlugin();
- default:
- return selectFile();
- }
- }
-
- private String selectFile() {
- FileDialog dialog = new FileDialog(getShell(), SWT.OPEN | SWT.SHEET);
- dialog.setFilterExtensions(extensions);
- String value = getTextControl().getText();
- if (value != null && !value.isEmpty())
- dialog.setFileName(value);
- value = dialog.open();
- if (value != null) {
- value = value.trim();
- if (value.length() > 0) {
- File f = new File(value);
+ protected String[] extensions;
+ protected int mode;
+
+ /**
+ * Initializes this field
+ *
+ * @param name
+ * The field's name
+ * @param labelText
+ * The displayed label
+ * @param parent
+ * The parent component
+ */
+ public ResourceFieldEditor(String name, String labelText, Composite parent) {
+ init(name, labelText);
+ this.extensions = new String[] { "*.configuration" };
+ this.mode = 0;
+ setErrorMessage(JFaceResources.getString("FileFieldEditor.errorMessage"));//$NON-NLS-1$
+ setChangeButtonText(JFaceResources.getString("openBrowse"));//$NON-NLS-1$
+ createControl(parent);
+ }
+
+ /**
+ * Changes the field mode
+ *
+ * @param mode
+ * The new mode
+ */
+ public void setMode(int mode) {
+ this.mode = mode;
+ }
+
+ /*
+ * (non-Javadoc)
+ * Method declared on StringButtonFieldEditor.
+ * Opens the file chooser dialog and returns the selected file.
+ */
+ @Override
+ protected String changePressed() {
+ switch (mode) {
+ case MODE_FILE:
+ return selectFile();
+ case MODE_WORKSPACE:
+ return selectInWorkspace();
+ case MODE_PLUGIN:
+ return selectInPlugin();
+ default:
+ return selectFile();
+ }
+ }
+
+ private String selectFile() {
+ FileDialog dialog = new FileDialog(getShell(), SWT.OPEN | SWT.SHEET);
+ dialog.setFilterExtensions(extensions);
+ String value = getTextControl().getText();
+ if (value != null && !value.isEmpty()) {
+ dialog.setFileName(value);
+ }
+ value = dialog.open();
+ if (value != null) {
+ value = value.trim();
+ if (value.length() > 0) {
+ File f = new File(value);
return f.getAbsolutePath();
}
- }
- return null;
- }
-
- private String selectInWorkspace() {
- ElementTreeSelectionDialog dialog = new ElementTreeSelectionDialog(getShell(), new WorkbenchLabelProvider(), new BaseWorkbenchContentProvider());
- dialog.setTitle("Configuration Selection");
- dialog.setMessage("Select the custom configuration resource:");
- dialog.setInput(ResourcesPlugin.getWorkspace().getRoot());
- dialog.setValidator(new ISelectionStatusValidator() {
+ }
+ return null;
+ }
+
+ private String selectInWorkspace() {
+ ElementTreeSelectionDialog dialog = new ElementTreeSelectionDialog(getShell(), new WorkbenchLabelProvider(), new BaseWorkbenchContentProvider());
+ dialog.setTitle("Configuration Selection");
+ dialog.setMessage("Select the custom configuration resource:");
+ dialog.setInput(ResourcesPlugin.getWorkspace().getRoot());
+ dialog.setValidator(new ISelectionStatusValidator() {
public IStatus validate(Object[] selection) {
- if (selection == null || selection.length == 0)
+ if (selection == null || selection.length == 0) {
return new Status(IStatus.ERROR, Activator.PLUGIN_ID, "No selected item!");
- if (selection.length > 1)
+ }
+ if (selection.length > 1) {
return new Status(IStatus.ERROR, Activator.PLUGIN_ID, "Only one item should be selected!");
- if (!(selection[0] instanceof IFile))
+ }
+ if (!(selection[0] instanceof IFile)) {
return new Status(IStatus.ERROR, Activator.PLUGIN_ID, "The selected item is not a configuration file!");
- IFile file = (IFile)selection[0];
- if (!file.getName().endsWith(".configuration"))
+ }
+ IFile file = (IFile) selection[0];
+ if (!file.getName().endsWith(".configuration")) {
return new Status(IStatus.ERROR, Activator.PLUGIN_ID, "The selected item is not a configuration file!");
+ }
return new Status(IStatus.OK, Activator.PLUGIN_ID, "");
}
- });
- int value = dialog.open();
- if (value != ElementTreeSelectionDialog.OK)
- return null;
- IFile file = (IFile)dialog.getFirstResult();
- return PreferenceConstants.P_CONF_PATH_SCHEME_WORKSPACE_VALUE + file.getProject().getName() + "/" + file.getProjectRelativePath().toString();
- }
-
- private String selectInPlugin() {
- PluginsContentDialog dialog = new PluginsContentDialog(getShell(), new PluginsContentSelectionValidator() {
- public boolean isValid(Plugin plugin) { return false; }
+ });
+ int value = dialog.open();
+ if (value != Window.OK) {
+ return null;
+ }
+ IFile file = (IFile) dialog.getFirstResult();
+ return PreferenceConstants.P_CONF_PATH_SCHEME_WORKSPACE_VALUE + file.getProject().getName() + "/" + file.getProjectRelativePath().toString();
+ }
+
+ private String selectInPlugin() {
+ PluginsContentDialog dialog = new PluginsContentDialog(getShell(), new PluginsContentSelectionValidator() {
+ public boolean isValid(Plugin plugin) {
+ return false;
+ }
+
public boolean isValid(PluginEntry entry) {
return entry.getName().endsWith(".configuration");
}
- }, "Viewpoints configuration selection", "Select a configuration resource (*.configuration):");
- int result = dialog.open();
- if (result != Window.OK)
- return null;
- PluginEntry entry = (PluginEntry)dialog.getSelection();
- if (entry == null)
- return null;
- return entry.getLogicalPath();
- }
+ }, "Viewpoints configuration selection", "Select a configuration resource (*.configuration):");
+ int result = dialog.open();
+ if (result != Window.OK) {
+ return null;
+ }
+ PluginEntry entry = (PluginEntry) dialog.getSelection();
+ if (entry == null) {
+ return null;
+ }
+ return entry.getLogicalPath();
+ }
}
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.preferences/src/org/eclipse/papyrus/infra/viewpoints/preferences/UpdatableComboBoxFieldEditor.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.preferences/src/org/eclipse/papyrus/infra/viewpoints/preferences/UpdatableComboBoxFieldEditor.java
index bae2b26b952..5648b49b268 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.preferences/src/org/eclipse/papyrus/infra/viewpoints/preferences/UpdatableComboBoxFieldEditor.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.preferences/src/org/eclipse/papyrus/infra/viewpoints/preferences/UpdatableComboBoxFieldEditor.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
@@ -29,6 +29,7 @@ import org.eclipse.swt.widgets.Control;
/**
* Represents a preference combo field, which content can be updated
+ *
* @author Laurent Wouters
*/
public class UpdatableComboBoxFieldEditor extends FieldEditor {
@@ -38,12 +39,16 @@ public class UpdatableComboBoxFieldEditor extends FieldEditor {
private EObject prefValue;
private List<EObject> data;
private EAttribute attribute;
-
+
/**
* Initializes the field
- * @param preference The target preference
- * @param label The displayed label
- * @param parent The parent component
+ *
+ * @param preference
+ * The target preference
+ * @param label
+ * The displayed label
+ * @param parent
+ * The parent component
*/
public UpdatableComboBoxFieldEditor(String preference, String label, Composite parent) {
init(preference, label);
@@ -52,6 +57,7 @@ public class UpdatableComboBoxFieldEditor extends FieldEditor {
this.widget = new Combo(parent, SWT.READ_ONLY);
this.widget.setFont(parent.getFont());
this.widget.addSelectionListener(new SelectionAdapter() {
+ @Override
public void widgetSelected(SelectionEvent evt) {
EObject oldValue = prefValue;
prefValue = null;
@@ -65,51 +71,62 @@ public class UpdatableComboBoxFieldEditor extends FieldEditor {
}
}
setPresentsDefaultValue(false);
- fireValueChanged(VALUE, oldValue, prefValue);
+ fireValueChanged(VALUE, oldValue, prefValue);
}
});
createControl(parent);
}
-
+
/**
* Gets the selected value
+ *
* @return The selection
*/
- public EObject getSelection() { return prefValue; }
-
+ public EObject getSelection() {
+ return prefValue;
+ }
+
/**
* Sets the selected value
- * @param obj The selection as an EObject
+ *
+ * @param obj
+ * The selection as an EObject
*/
public void setSelection(EObject obj) {
prefValue = obj;
widget.setText(getLabelFor(prefValue));
}
-
+
/**
* Sets the selected value
- * @param value The selection as its display value
+ *
+ * @param value
+ * The selection as its display value
*/
public void setSelection(String value) {
load(value);
}
-
-
+
+
/**
* Changes the content of the combo
- * @param data The new data
- * @param attribute The attribute used to get readable text from the data
+ *
+ * @param data
+ * The new data
+ * @param attribute
+ * The attribute used to get readable text from the data
*/
public void setContent(List<? extends EObject> data, EAttribute attribute) {
this.data = new ArrayList<EObject>(data);
this.attribute = attribute;
widget.removeAll();
- for (EObject obj : this.data)
+ for (EObject obj : this.data) {
widget.add(getLabelFor(obj));
+ }
prefValue = this.data.get(0);
widget.setText(getLabelFor(prefValue));
}
-
+
/**
* Removes all content
*/
@@ -118,20 +135,24 @@ public class UpdatableComboBoxFieldEditor extends FieldEditor {
prefValue = null;
widget.removeAll();
}
-
+
/**
* Gets the string representation of the given object
- * @param object An object
+ *
+ * @param object
+ * An object
* @return Its string representation
*/
private String getValueFor(EObject object) {
Object value = object.eGet(attribute);
return (value == null ? null : value.toString());
}
-
+
/**
* Gets the display string of the given object
- * @param object An object
+ *
+ * @param object
+ * An object
* @return The display string
*/
private String getLabelFor(EObject object) {
@@ -139,16 +160,22 @@ public class UpdatableComboBoxFieldEditor extends FieldEditor {
return (value == null ? null : value.toString());
}
- /* (non-Javadoc)
+ /*
+ * (non-Javadoc)
+ *
* @see org.eclipse.jface.preference.FieldEditor#adjustForNumColumns(int)
*/
+ @Override
protected void adjustForNumColumns(int numColumns) {
return;
}
- /* (non-Javadoc)
+ /*
+ * (non-Javadoc)
+ *
* @see org.eclipse.jface.preference.FieldEditor#doFillIntoGrid(org.eclipse.swt.widgets.Composite, int)
*/
+ @Override
protected void doFillIntoGrid(Composite parent, int numColumns) {
int comboC = 1;
if (numColumns > 1) {
@@ -157,29 +184,36 @@ public class UpdatableComboBoxFieldEditor extends FieldEditor {
GridData gd = new GridData();
gd.horizontalSpan = 1;
label.setLayoutData(gd);
-
+
gd = new GridData();
gd.horizontalSpan = comboC;
gd.horizontalAlignment = GridData.FILL;
widget.setLayoutData(gd);
}
- /* (non-Javadoc)
+ /*
+ * (non-Javadoc)
+ *
* @see org.eclipse.jface.preference.FieldEditor#doLoad()
*/
+ @Override
protected void doLoad() {
load(getPreferenceStore().getString(getPreferenceName()));
}
- /* (non-Javadoc)
+ /*
+ * (non-Javadoc)
+ *
* @see org.eclipse.jface.preference.FieldEditor#doLoadDefault()
*/
+ @Override
protected void doLoadDefault() {
load(getPreferenceStore().getDefaultString(getPreferenceName()));
}
-
+
/**
* Loads the display data from the given value for selection
+ *
* @param value
*/
private void load(String value) {
@@ -201,9 +235,12 @@ public class UpdatableComboBoxFieldEditor extends FieldEditor {
}
}
- /* (non-Javadoc)
+ /*
+ * (non-Javadoc)
+ *
* @see org.eclipse.jface.preference.FieldEditor#doStore()
*/
+ @Override
protected void doStore() {
if (prefValue == null) {
getPreferenceStore().setToDefault(getPreferenceName());
@@ -212,19 +249,23 @@ public class UpdatableComboBoxFieldEditor extends FieldEditor {
getPreferenceStore().setValue(getPreferenceName(), getValueFor(prefValue));
}
- /* (non-Javadoc)
+ /*
+ * (non-Javadoc)
+ *
* @see org.eclipse.jface.preference.FieldEditor#getNumberOfControls()
*/
+ @Override
public int getNumberOfControls() {
return 2;
}
-
+
/*
* (non-Javadoc)
*
* @see org.eclipse.jface.preference.FieldEditor#setEnabled(boolean,
- * org.eclipse.swt.widgets.Composite)
+ * org.eclipse.swt.widgets.Composite)
*/
+ @Override
public void setEnabled(boolean enabled, Composite parent) {
super.setEnabled(enabled, parent);
widget.setEnabled(enabled);
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.preferences/src/org/eclipse/papyrus/infra/viewpoints/preferences/ViewpointsPreferencePage.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.preferences/src/org/eclipse/papyrus/infra/viewpoints/preferences/ViewpointsPreferencePage.java
index 8383de38e26..ce372fafb22 100755
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.preferences/src/org/eclipse/papyrus/infra/viewpoints/preferences/ViewpointsPreferencePage.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.preferences/src/org/eclipse/papyrus/infra/viewpoints/preferences/ViewpointsPreferencePage.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
@@ -39,14 +39,15 @@ import org.eclipse.ui.IWorkbenchPreferencePage;
/**
* Represents the preference page for the viewpoints configuration
+ *
* @author Laurent Wouters
*/
public class ViewpointsPreferencePage extends FieldEditorPreferencePage implements IWorkbenchPreferencePage {
-
+
private PapyrusConfiguration currentConfig;
private boolean customConfig;
private String scheme;
-
+
private RadioGroupFieldEditor fieldType;
private ComboFieldEditor fieldScheme;
private ResourceFieldEditor fieldPath;
@@ -56,50 +57,52 @@ public class ViewpointsPreferencePage extends FieldEditorPreferencePage implemen
private Label labelConfig;
private Group groupCustom;
private Group groupVP;
-
+
public ViewpointsPreferencePage() {
super(GRID);
setPreferenceStore(PolicyChecker.getPreferences());
setDescription("Preference page for the configuration of Papyrus viewpoints");
}
-
+
/**
* Creates the field editors. Field editors are abstractions of
* the common GUI blocks needed to manipulate various types
* of preferences. Each field editor knows how to save and
* restore itself.
*/
+ @Override
public void createFieldEditors() {
IPreferenceStore store = getPreferenceStore();
currentConfig = PolicyChecker.getCurrent().getConfiguration();
String valueType = store.getString(PreferenceConstants.P_CONF_TYPE);
scheme = store.getString(PreferenceConstants.P_CONF_PATH_SCHEME);
- if (scheme == null || scheme.isEmpty())
+ if (scheme == null || scheme.isEmpty()) {
scheme = PreferenceConstants.P_CONF_PATH_SCHEME_FILE_VALUE;
-
- fieldType = new RadioGroupFieldEditor(PreferenceConstants.P_CONF_TYPE, "Configuration selection:", 1, new String[][]{
- { PreferenceConstants.P_CONF_TYPE_DEFAULT_LABEL, PreferenceConstants.P_CONF_TYPE_DEFAULT_VALUE },
- { PreferenceConstants.P_CONF_TYPE_EXTENSION_LABEL, PreferenceConstants.P_CONF_TYPE_EXTENSION_VALUE },
- { PreferenceConstants.P_CONF_TYPE_USER_DEFINED_LABEL, PreferenceConstants.P_CONF_TYPE_USER_DEFINED_VALUE}
+ }
+
+ fieldType = new RadioGroupFieldEditor(PreferenceConstants.P_CONF_TYPE, "Configuration selection:", 1, new String[][] {
+ { PreferenceConstants.P_CONF_TYPE_DEFAULT_LABEL, PreferenceConstants.P_CONF_TYPE_DEFAULT_VALUE },
+ { PreferenceConstants.P_CONF_TYPE_EXTENSION_LABEL, PreferenceConstants.P_CONF_TYPE_EXTENSION_VALUE },
+ { PreferenceConstants.P_CONF_TYPE_USER_DEFINED_LABEL, PreferenceConstants.P_CONF_TYPE_USER_DEFINED_VALUE }
}, getFieldEditorParent(), true);
-
+
GridData gd = new GridData();
gd.horizontalSpan = 3;
gd.horizontalAlignment = GridData.FILL;
Composite rest = new Composite(getFieldEditorParent(), SWT.SHADOW_NONE);
rest.setLayout(new FillLayout(SWT.VERTICAL));
rest.setLayoutData(gd);
-
+
groupCustom = new Group(rest, SWT.SHADOW_ETCHED_IN);
groupCustom.setText(PreferenceConstants.P_CONF_TYPE_USER_DEFINED_LABEL + ":");
-
- fieldScheme = new ComboFieldEditor(PreferenceConstants.P_CONF_PATH_SCHEME, "Access scheme:", new String[][]{
+
+ fieldScheme = new ComboFieldEditor(PreferenceConstants.P_CONF_PATH_SCHEME, "Access scheme:", new String[][] {
{ PreferenceConstants.P_CONF_PATH_SCHEME_FILE_LABEL, PreferenceConstants.P_CONF_PATH_SCHEME_FILE_VALUE },
{ PreferenceConstants.P_CONF_PATH_SCHEME_WORKSPACE_LABEL, PreferenceConstants.P_CONF_PATH_SCHEME_WORKSPACE_VALUE },
{ PreferenceConstants.P_CONF_PATH_SCHEME_PLUGIN_LABEL, PreferenceConstants.P_CONF_PATH_SCHEME_PLUGIN_VALUE }
}, groupCustom);
fieldScheme.setEnabled(PreferenceConstants.P_CONF_TYPE_USER_DEFINED_VALUE.equals(valueType), groupCustom);
-
+
fieldPath = new ResourceFieldEditor(PreferenceConstants.P_CONF_PATH, "&Path:", groupCustom);
fieldPath.setMode(0);
fieldPath.setEnabled(PreferenceConstants.P_CONF_TYPE_USER_DEFINED_VALUE.equals(valueType), groupCustom);
@@ -110,51 +113,52 @@ public class ViewpointsPreferencePage extends FieldEditorPreferencePage implemen
} else if (PreferenceConstants.P_CONF_PATH_SCHEME_PLUGIN_VALUE.equals(scheme)) {
fieldPath.setMode(ResourceFieldEditor.MODE_PLUGIN);
}
-
+
groupVP = new Group(rest, SWT.SHADOW_ETCHED_IN);
groupVP.setText("Viewpoint selection:");
-
+
gd = new GridData();
gd.horizontalSpan = 1;
Label titleConf = new Label(groupVP, SWT.LEFT);
titleConf.setText("Configuration:");
titleConf.setLayoutData(gd);
-
+
gd = new GridData();
gd.horizontalSpan = 1;
gd.horizontalAlignment = GridData.FILL;
labelConfig = new Label(groupVP, SWT.LEFT);
- if (PreferenceConstants.P_CONF_TYPE_DEFAULT_VALUE.equals(valueType))
+ if (PreferenceConstants.P_CONF_TYPE_DEFAULT_VALUE.equals(valueType)) {
labelConfig.setText("Builtin");
- else if (PreferenceConstants.P_CONF_TYPE_EXTENSION_VALUE.equals(valueType)) {
+ } else if (PreferenceConstants.P_CONF_TYPE_EXTENSION_VALUE.equals(valueType)) {
WeightedConfiguration config = WeightedConfiguration.getTopConfiguration();
labelConfig.setText((config == null) ? "No suitable configuration" : config.getURI());
- } else if (PreferenceConstants.P_CONF_TYPE_USER_DEFINED_VALUE.equals(valueType))
+ } else if (PreferenceConstants.P_CONF_TYPE_USER_DEFINED_VALUE.equals(valueType)) {
labelConfig.setText(store.getString(PreferenceConstants.P_CONF_PATH));
+ }
labelConfig.setLayoutData(gd);
-
+
gd = new GridData();
gd.horizontalSpan = 1;
Label labelMulti = new Label(groupVP, SWT.LEFT);
labelMulti.setText("Multiplicity:");
labelMulti.setLayoutData(gd);
fieldForceMultiplicity = new BooleanFieldEditor(PreferenceConstants.P_FORCE_MULTIPLICITY, PreferenceConstants.P_FORCE_MULTIPLICITY_LABEL, groupVP);
-
-
+
+
fieldStakeholder = new UpdatableComboBoxFieldEditor(PreferenceConstants.P_STAKEHOLDER, "&Stakeholder:", groupVP);
fieldStakeholder.setContent(currentConfig.getStakeholders(), Iso42010Package.Literals.AD_ELEMENT__NAME);
-
+
fieldViewpoint = new UpdatableComboBoxFieldEditor(PreferenceConstants.P_VIEWPOINT, "&Viewpoint:", groupVP);
fieldViewpoint.setContent(PolicyChecker.getCurrent().getStakeholder().getViewpoints(), Iso42010Package.Literals.AD_ELEMENT__NAME);
-
+
addField(fieldType);
addField(fieldScheme);
addField(fieldPath);
addField(fieldStakeholder);
addField(fieldViewpoint);
-
+
}
-
+
@Override
protected void checkState() {
super.checkState();
@@ -166,11 +170,11 @@ public class ViewpointsPreferencePage extends FieldEditorPreferencePage implemen
setValid(true);
}
}
-
+
@Override
- protected void performDefaults() {
+ protected void performDefaults() {
super.performDefaults();
- customConfig = false;
+ customConfig = false;
WeightedConfiguration config = WeightedConfiguration.getTopConfiguration();
currentConfig = (config != null ? config.getConfiguration() : PolicyChecker.getDefaultConfiguration());
fieldPath.setStringValue("");
@@ -185,20 +189,23 @@ public class ViewpointsPreferencePage extends FieldEditorPreferencePage implemen
fieldStakeholder.clearContent();
fieldViewpoint.clearContent();
}
- }
+ }
@Override
- public boolean performOk() {
+ public boolean performOk() {
boolean result = super.performOk();
- if (!result)
+ if (!result) {
return false;
- if (currentConfig == null || fieldViewpoint.getSelection() == null || fieldStakeholder.getSelection() == null)
+ }
+ if (currentConfig == null || fieldViewpoint.getSelection() == null || fieldStakeholder.getSelection() == null) {
return false;
- PolicyChecker newPolicy = new PolicyChecker(currentConfig, (PapyrusViewpoint)fieldViewpoint.getSelection(), fieldForceMultiplicity.getBooleanValue());
+ }
+ PolicyChecker newPolicy = new PolicyChecker(currentConfig, (PapyrusViewpoint) fieldViewpoint.getSelection(), fieldForceMultiplicity.getBooleanValue());
PolicyChecker.setCurrent(newPolicy);
- return true;
- }
-
+ return true;
+ }
+
+ @Override
public void propertyChange(PropertyChangeEvent event) {
super.propertyChange(event);
if (event.getSource() == fieldType) {
@@ -211,23 +218,23 @@ public class ViewpointsPreferencePage extends FieldEditorPreferencePage implemen
onChangeStakeholder(event);
}
checkState();
- }
-
+ }
+
private void onChangeType(PropertyChangeEvent event) {
currentConfig = null;
if (PreferenceConstants.P_CONF_TYPE_DEFAULT_VALUE.equals(event.getNewValue())) {
- customConfig = false;
+ customConfig = false;
currentConfig = PolicyChecker.getDefaultConfiguration();
fieldPath.setStringValue("");
labelConfig.setText("Builtin default");
} else if (PreferenceConstants.P_CONF_TYPE_EXTENSION_VALUE.equals(event.getNewValue())) {
- customConfig = false;
+ customConfig = false;
WeightedConfiguration config = WeightedConfiguration.getTopConfiguration();
currentConfig = (config != null ? config.getConfiguration() : PolicyChecker.getDefaultConfiguration());
fieldPath.setStringValue("");
labelConfig.setText((config == null) ? "Builtin default" : config.getURI());
} else if (PreferenceConstants.P_CONF_TYPE_USER_DEFINED_VALUE.equals(event.getNewValue())) {
- customConfig = true;
+ customConfig = true;
labelConfig.setText("...");
}
fieldPath.setEnabled(customConfig, groupCustom);
@@ -241,7 +248,7 @@ public class ViewpointsPreferencePage extends FieldEditorPreferencePage implemen
fieldViewpoint.clearContent();
}
}
-
+
private void onChangeScheme(PropertyChangeEvent event) {
scheme = event.getNewValue().toString();
fieldPath.setStringValue("");
@@ -253,10 +260,11 @@ public class ViewpointsPreferencePage extends FieldEditorPreferencePage implemen
fieldPath.setMode(ResourceFieldEditor.MODE_PLUGIN);
}
}
-
+
private void onChangePath(PropertyChangeEvent event) {
- if (!customConfig)
+ if (!customConfig) {
return;
+ }
String path = event.getNewValue().toString();
currentConfig = null;
if (path != null && !path.isEmpty()) {
@@ -278,18 +286,21 @@ public class ViewpointsPreferencePage extends FieldEditorPreferencePage implemen
fieldViewpoint.clearContent();
}
}
-
+
private void onChangeStakeholder(PropertyChangeEvent event) {
Object value = event.getNewValue();
if (value != null) {
- Stakeholder stakeholder = (Stakeholder)value;
+ Stakeholder stakeholder = (Stakeholder) value;
fieldViewpoint.setContent(stakeholder.getViewpoints(), Iso42010Package.Literals.AD_ELEMENT__NAME);
}
}
-
-
- /* (non-Javadoc)
+
+
+ /*
+ * (non-Javadoc)
+ *
* @see org.eclipse.ui.IWorkbenchPreferencePage#init(org.eclipse.ui.IWorkbench)
*/
- public void init(IWorkbench workbench) { }
+ public void init(IWorkbench workbench) {
+ }
} \ No newline at end of file

Back to the top