diff options
author | Christian W. Damus | 2016-02-11 02:48:20 +0000 |
---|---|---|
committer | Gerrit Code Review @ Eclipse.org | 2016-02-12 15:31:41 +0000 |
commit | ecd4928b327f5561364c5068c9ff5f1668e92d13 (patch) | |
tree | 7c34f46cf82a1d65ac753fa92c2a5d55371b8dba /extraplugins/dsml.validation | |
parent | 751a204d74e15eb2db6b41c937691fc56dcc1252 (diff) | |
download | org.eclipse.papyrus-ecd4928b327f5561364c5068c9ff5f1668e92d13.tar.gz org.eclipse.papyrus-ecd4928b327f5561364c5068c9ff5f1668e92d13.tar.xz org.eclipse.papyrus-ecd4928b327f5561364c5068c9ff5f1668e92d13.zip |
Bug 485220: [Architecture] Provide a more modular architecture
https://bugs.eclipse.org/bugs/show_bug.cgi?id=485220
Factor UI dependencies out of the UML Element Types bundle. This includes
moving some advices that interact with the user into a new
org.eclipse.papyrus.uml.service.types.ui bundle.
Pull up the PasteCommandService and IPasteCommandProvider API into the
Infra Diagram layer where the extension point is defined. Deprecate the
old API in the UML layer.
Introduce a service for participation of languages in CSS styling:
* styling reset actions in the Reset Style command
* access to semantic model classes and properties to make available to CSS
Factor PapyrusObservableValue and cohorts out of the UML Tools bundle
into the Infra Layer for more general reuse and to relieve the
Diagram Infrastructure layer of UML dependencies. The old API remains as
deprecated.
Remove the Infra Diagram Layer dependency on UML Layer for property
testers governing deletion in the diagram. Includes introduction of
a new IGraphicalDeletionHelper OSGi service for delegation of the
determination of whether an element can be deleted from the diagram and
replacement of the XML expression properties
* org.eclipse.papyrus.uml.diagram.common.isSemanticDeletion
* org.eclipse.papyrus.uml.diagram.common.isReadOnly
by
* org.eclipse.papyrus.infra.gmfdiag.common.isSemanticDeletion
* org.eclipse.papyrus.infra.gmfdiag.common.canDelete
(where the latter is the negation of the property that it supersedes)
Extract UML dependencies from the Diagram Outline and CSS Editor bundles.
Remove unused MDTUtil APIs that referenced a UML-specific annotation.
Move the Diagram Infrastructure CSS Palette bundle into the UML layer because it
serves to provide extensions on the Palette Service, which is an overtly
UML-specific capability.
All client APIs for the Properties View are moved from
org.eclipse.papyrus.views.properties bundle to a new
org.eclipse.papyrus.infra.properties.ui bundle. This
includes renaming of:
* extension points
* label-provider contexts
* XWT namespaces
Add an "all UI tests" suite.
Define a componentized hierarchical build layout of the main plug-ins
Change-Id: I43f8f3644857a18b69715f5a2f1da9b1cf286d67
Diffstat (limited to 'extraplugins/dsml.validation')
3 files changed, 70 insertions, 70 deletions
diff --git a/extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation.properties/META-INF/MANIFEST.MF b/extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation.properties/META-INF/MANIFEST.MF index 351238e0b6b..fddfe1dfc4b 100644 --- a/extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation.properties/META-INF/MANIFEST.MF +++ b/extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation.properties/META-INF/MANIFEST.MF @@ -1,13 +1,13 @@ -Manifest-Version: 1.0
-Require-Bundle: org.eclipse.ui,
- org.eclipse.core.runtime,
- org.eclipse.papyrus.views.properties;bundle-version="1.2.0"
-Bundle-Vendor: %providerName
-Bundle-ActivationPolicy: lazy
-Bundle-Version: 1.2.0.qualifier
-Bundle-Localization: plugin
-Bundle-Name: %pluginName
-Bundle-ManifestVersion: 2
-Bundle-Activator: org.eclipse.papyrus.dsml.validation.properties.Activator
-Bundle-SymbolicName: org.eclipse.papyrus.dsml.validation.properties;singleton:=true
-Bundle-RequiredExecutionEnvironment: J2SE-1.5
+Manifest-Version: 1.0 +Require-Bundle: org.eclipse.ui, + org.eclipse.core.runtime, + org.eclipse.papyrus.infra.properties.ui;bundle-version="1.2.0" +Bundle-Vendor: %providerName +Bundle-ActivationPolicy: lazy +Bundle-Version: 1.2.0.qualifier +Bundle-Localization: plugin +Bundle-Name: %pluginName +Bundle-ManifestVersion: 2 +Bundle-Activator: org.eclipse.papyrus.dsml.validation.properties.Activator +Bundle-SymbolicName: org.eclipse.papyrus.dsml.validation.properties;singleton:=true +Bundle-RequiredExecutionEnvironment: J2SE-1.5 diff --git a/extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation.properties/propertyView/dsmlvalidationproperties/ui/MultipleValidationRule.xwt b/extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation.properties/propertyView/dsmlvalidationproperties/ui/MultipleValidationRule.xwt index ec177345ea4..33d488b341e 100644 --- a/extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation.properties/propertyView/dsmlvalidationproperties/ui/MultipleValidationRule.xwt +++ b/extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation.properties/propertyView/dsmlvalidationproperties/ui/MultipleValidationRule.xwt @@ -1,25 +1,25 @@ -<?xml version="1.0" encoding="UTF-8"?>
-<Composite xmlns="http://www.eclipse.org/xwt/presentation"
- xmlns:j="clr-namespace:java.lang" xmlns:x="http://www.eclipse.org/xwt"
- xmlns:ppe="clr-namespace:org.eclipse.papyrus.views.properties.widgets"
- xmlns:ppel="clr-namespace:org.eclipse.papyrus.views.properties.widgets.layout">
- <Composite.layout>
- <ppel:PropertiesLayout></ppel:PropertiesLayout>
- </Composite.layout>
- <Composite>
- <Composite.layout>
- <ppel:PropertiesLayout numColumns="2"></ppel:PropertiesLayout>
- </Composite.layout>
- <ppe:BooleanRadio input="{Binding}"
- property="PapyrusDSMLValidationRule:ValidationRule:isEnabledByDefault"></ppe:BooleanRadio>
- </Composite>
- <Composite>
- <Composite.layout>
- <ppel:PropertiesLayout numColumns="1"></ppel:PropertiesLayout>
- </Composite.layout>
- <ppe:EnumCombo input="{Binding}"
- property="PapyrusDSMLValidationRule:ValidationRule:severity"></ppe:EnumCombo>
- <ppe:EnumCombo input="{Binding}"
- property="PapyrusDSMLValidationRule:ValidationRule:mode"></ppe:EnumCombo>
- </Composite>
+<?xml version="1.0" encoding="UTF-8"?> +<Composite xmlns="http://www.eclipse.org/xwt/presentation" + xmlns:j="clr-namespace:java.lang" xmlns:x="http://www.eclipse.org/xwt" + xmlns:ppe="clr-namespace:org.eclipse.papyrus.infra.properties.ui.widgets" + xmlns:ppel="clr-namespace:org.eclipse.papyrus.infra.properties.ui.widgets.layout"> + <Composite.layout> + <ppel:PropertiesLayout></ppel:PropertiesLayout> + </Composite.layout> + <Composite> + <Composite.layout> + <ppel:PropertiesLayout numColumns="2"></ppel:PropertiesLayout> + </Composite.layout> + <ppe:BooleanRadio input="{Binding}" + property="PapyrusDSMLValidationRule:ValidationRule:isEnabledByDefault"></ppe:BooleanRadio> + </Composite> + <Composite> + <Composite.layout> + <ppel:PropertiesLayout numColumns="1"></ppel:PropertiesLayout> + </Composite.layout> + <ppe:EnumCombo input="{Binding}" + property="PapyrusDSMLValidationRule:ValidationRule:severity"></ppe:EnumCombo> + <ppe:EnumCombo input="{Binding}" + property="PapyrusDSMLValidationRule:ValidationRule:mode"></ppe:EnumCombo> + </Composite> </Composite>
\ No newline at end of file diff --git a/extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation.properties/propertyView/dsmlvalidationproperties/ui/SingleValidationRule.xwt b/extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation.properties/propertyView/dsmlvalidationproperties/ui/SingleValidationRule.xwt index bf78e906d27..d70d844caef 100644 --- a/extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation.properties/propertyView/dsmlvalidationproperties/ui/SingleValidationRule.xwt +++ b/extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation.properties/propertyView/dsmlvalidationproperties/ui/SingleValidationRule.xwt @@ -1,34 +1,34 @@ -<?xml version="1.0" encoding="UTF-8"?>
-<Composite
- xmlns:ppel="clr-namespace:org.eclipse.papyrus.views.properties.widgets.layout"
- xmlns:j="clr-namespace:java.lang" xmlns:ppe="clr-namespace:org.eclipse.papyrus.views.properties.widgets"
- xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt">
- <Composite.layout>
- <ppel:PropertiesLayout></ppel:PropertiesLayout>
- </Composite.layout>
- <Composite>
- <Composite.layout>
- <ppel:PropertiesLayout numColumns="1"></ppel:PropertiesLayout>
- </Composite.layout>
- <ppe:StringEditor input="{Binding}"
- property="PapyrusDSMLValidationRule:ValidationRule:message"></ppe:StringEditor>
- <ppe:StringEditor input="{Binding}"
- property="PapyrusDSMLValidationRule:ValidationRule:description"></ppe:StringEditor>
- </Composite>
- <Composite>
- <Composite.layout>
- <ppel:PropertiesLayout numColumns="2"></ppel:PropertiesLayout>
- </Composite.layout>
- <ppe:BooleanRadio input="{Binding}"
- property="PapyrusDSMLValidationRule:ValidationRule:isEnabledByDefault"></ppe:BooleanRadio>
- </Composite>
- <Composite>
- <Composite.layout>
- <ppel:PropertiesLayout numColumns="1"></ppel:PropertiesLayout>
- </Composite.layout>
- <ppe:EnumCombo input="{Binding}"
- property="PapyrusDSMLValidationRule:ValidationRule:severity"></ppe:EnumCombo>
- <ppe:EnumCombo input="{Binding}"
- property="PapyrusDSMLValidationRule:ValidationRule:mode"></ppe:EnumCombo>
- </Composite>
+<?xml version="1.0" encoding="UTF-8"?> +<Composite + xmlns:ppel="clr-namespace:org.eclipse.papyrus.infra.properties.ui.widgets.layout" + xmlns:j="clr-namespace:java.lang" xmlns:ppe="clr-namespace:org.eclipse.papyrus.infra.properties.ui.widgets" + xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt"> + <Composite.layout> + <ppel:PropertiesLayout></ppel:PropertiesLayout> + </Composite.layout> + <Composite> + <Composite.layout> + <ppel:PropertiesLayout numColumns="1"></ppel:PropertiesLayout> + </Composite.layout> + <ppe:StringEditor input="{Binding}" + property="PapyrusDSMLValidationRule:ValidationRule:message"></ppe:StringEditor> + <ppe:StringEditor input="{Binding}" + property="PapyrusDSMLValidationRule:ValidationRule:description"></ppe:StringEditor> + </Composite> + <Composite> + <Composite.layout> + <ppel:PropertiesLayout numColumns="2"></ppel:PropertiesLayout> + </Composite.layout> + <ppe:BooleanRadio input="{Binding}" + property="PapyrusDSMLValidationRule:ValidationRule:isEnabledByDefault"></ppe:BooleanRadio> + </Composite> + <Composite> + <Composite.layout> + <ppel:PropertiesLayout numColumns="1"></ppel:PropertiesLayout> + </Composite.layout> + <ppe:EnumCombo input="{Binding}" + property="PapyrusDSMLValidationRule:ValidationRule:severity"></ppe:EnumCombo> + <ppe:EnumCombo input="{Binding}" + property="PapyrusDSMLValidationRule:ValidationRule:mode"></ppe:EnumCombo> + </Composite> </Composite>
\ No newline at end of file |