Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcletavernie2012-06-12 09:38:45 +0000
committercletavernie2012-06-12 09:38:45 +0000
commitab075a676e47231c2a0bf4962e72082a6e091f7b (patch)
tree3f1bec8cddbbe3a361a3b1a8d7d9268c0701a315 /extraplugins/migration/org.eclipse.papyrus.migration.properties.model
parent0aa4b7b333f4a363a208abed5035b5ad3a2b0302 (diff)
downloadorg.eclipse.papyrus-ab075a676e47231c2a0bf4962e72082a6e091f7b.tar.gz
org.eclipse.papyrus-ab075a676e47231c2a0bf4962e72082a6e091f7b.tar.xz
org.eclipse.papyrus-ab075a676e47231c2a0bf4962e72082a6e091f7b.zip
382325: [Migration] Papyrus should provide a tool to migrate the properties views from 0.8.X to 0.9.X
https://bugs.eclipse.org/bugs/show_bug.cgi?id=382325
Diffstat (limited to 'extraplugins/migration/org.eclipse.papyrus.migration.properties.model')
-rw-r--r--extraplugins/migration/org.eclipse.papyrus.migration.properties.model/plugin.xml31
1 files changed, 9 insertions, 22 deletions
diff --git a/extraplugins/migration/org.eclipse.papyrus.migration.properties.model/plugin.xml b/extraplugins/migration/org.eclipse.papyrus.migration.properties.model/plugin.xml
index d9b80ad915f..8ae9c999f37 100644
--- a/extraplugins/migration/org.eclipse.papyrus.migration.properties.model/plugin.xml
+++ b/extraplugins/migration/org.eclipse.papyrus.migration.properties.model/plugin.xml
@@ -15,19 +15,6 @@
<handler
class="org.eclipse.papyrus.migration.properties.model.handler.MigrationHandler"
commandId="org.eclipse.papyrus.views.properties.model.migration.migrate_0.9">
- <activeWhen>
- <with
- variable="selection">
- <iterate
- ifEmpty="false"
- operator="and">
- <test
- property="extension"
- value="ctx">
- </test>
- </iterate>
- </with>
- </activeWhen>
</handler>
</extension>
<extension
@@ -40,18 +27,18 @@
icon="icons/Customization.gif"
style="push">
<visibleWhen
- checkEnabled="true">
- <with
- variable="selection">
- <iterate
- ifEmpty="false"
- operator="and">
+ checkEnabled="false">
+ <iterate
+ ifEmpty="false"
+ operator="and">
+ <adapt
+ type="org.eclipse.core.resources.IResource">
<test
- property="extension"
+ property="org.eclipse.core.resources.extension"
value="ctx">
</test>
- </iterate>
- </with>
+ </adapt>
+ </iterate>
</visibleWhen>
</command>
</menuContribution>

Back to the top