diff options
author | Christian W. Damus | 2015-04-20 20:12:38 +0000 |
---|---|---|
committer | Christian W. Damus | 2015-04-20 20:18:02 +0000 |
commit | 8c1b5c4709a9ac998b970d7f2549f16ee1ef67ac (patch) | |
tree | 390625634719b05049d88f981f94857566790942 /plugins/infra/gmfdiag/css/org.eclipse.papyrus.infra.gmfdiag.css.properties/src | |
parent | 8dcd28a11cae2d689f3b33f493b10ba68f83fac2 (diff) | |
download | org.eclipse.papyrus-8c1b5c4709a9ac998b970d7f2549f16ee1ef67ac.tar.gz org.eclipse.papyrus-8c1b5c4709a9ac998b970d7f2549f16ee1ef67ac.tar.xz org.eclipse.papyrus-8c1b5c4709a9ac998b970d7f2549f16ee1ef67ac.zip |
Bug 433206: Papyrus shall enable local synchronization between graphical element and element in the model
https://bugs.eclipse.org/bugs/show_bug.cgi?id=433206
Document the 'canonical' CSS property.
Ensure a sensible drop command label, now that every drop operation always shows a menu.
Diffstat (limited to 'plugins/infra/gmfdiag/css/org.eclipse.papyrus.infra.gmfdiag.css.properties/src')
-rw-r--r-- | plugins/infra/gmfdiag/css/org.eclipse.papyrus.infra.gmfdiag.css.properties/src/org/eclipse/papyrus/infra/gmfdiag/css/properties/dnd/StyleSheetDropStrategy.java | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/plugins/infra/gmfdiag/css/org.eclipse.papyrus.infra.gmfdiag.css.properties/src/org/eclipse/papyrus/infra/gmfdiag/css/properties/dnd/StyleSheetDropStrategy.java b/plugins/infra/gmfdiag/css/org.eclipse.papyrus.infra.gmfdiag.css.properties/src/org/eclipse/papyrus/infra/gmfdiag/css/properties/dnd/StyleSheetDropStrategy.java index 1e6ff8d1e38..9ef460fbcda 100644 --- a/plugins/infra/gmfdiag/css/org.eclipse.papyrus.infra.gmfdiag.css.properties/src/org/eclipse/papyrus/infra/gmfdiag/css/properties/dnd/StyleSheetDropStrategy.java +++ b/plugins/infra/gmfdiag/css/org.eclipse.papyrus.infra.gmfdiag.css.properties/src/org/eclipse/papyrus/infra/gmfdiag/css/properties/dnd/StyleSheetDropStrategy.java @@ -125,7 +125,13 @@ public class StyleSheetDropStrategy extends TransactionalDropStrategy { AddCSSStyleSheetCommand command = new AddCSSStyleSheetCommand(domain, targetView, CSSStyles.CSS_DIAGRAM_STYLESHEETS_KEY, NotationPackage.Literals.EOBJECT_LIST_VALUE_STYLE, NotationPackage.Literals.EOBJECT_LIST_VALUE_STYLE__EOBJECT_LIST_VALUE, - ref); + ref) { + + @Override + public String getLabel() { + return StyleSheetDropStrategy.this.getLabel(); + } + }; compound.add(EMFtoGEFCommandWrapper.wrap(command)); } |