Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCamille Letavernier2014-02-03 12:28:44 +0000
committerCamille Letavernier2014-02-03 12:28:44 +0000
commitc814b500c7064b593d028e2589c3889b0e1bdfc0 (patch)
treeaa05b9ce77cc946ace081cf7bf61148bc79372c1 /extraplugins
parent7a4fb9607229c4f30c7691ddf56f06dcc2af21cd (diff)
downloadorg.eclipse.papyrus-c814b500c7064b593d028e2589c3889b0e1bdfc0.tar.gz
org.eclipse.papyrus-c814b500c7064b593d028e2589c3889b0e1bdfc0.tar.xz
org.eclipse.papyrus-c814b500c7064b593d028e2589c3889b0e1bdfc0.zip
417396: [CSS] The CSS Engine shall support label visibility & mask
https://bugs.eclipse.org/bugs/show_bug.cgi?id=417396 - Adapt RobotML to the new MaskManaged API
Diffstat (limited to 'extraplugins')
-rw-r--r--extraplugins/robotml/org.eclipse.papyrus.robotml.diagram.common/src/org/eclipse/papyrus/robotml/diagram/common/editpolicies/CustomPropertyLabelEditPolicy.java11
1 files changed, 7 insertions, 4 deletions
diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml.diagram.common/src/org/eclipse/papyrus/robotml/diagram/common/editpolicies/CustomPropertyLabelEditPolicy.java b/extraplugins/robotml/org.eclipse.papyrus.robotml.diagram.common/src/org/eclipse/papyrus/robotml/diagram/common/editpolicies/CustomPropertyLabelEditPolicy.java
index 5c2329a8118..185007f4e2d 100644
--- a/extraplugins/robotml/org.eclipse.papyrus.robotml.diagram.common/src/org/eclipse/papyrus/robotml/diagram/common/editpolicies/CustomPropertyLabelEditPolicy.java
+++ b/extraplugins/robotml/org.eclipse.papyrus.robotml.diagram.common/src/org/eclipse/papyrus/robotml/diagram/common/editpolicies/CustomPropertyLabelEditPolicy.java
@@ -1,6 +1,6 @@
/*****************************************************************************
* Copyright (c) 2013 CEA LIST.
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -13,17 +13,20 @@ package org.eclipse.papyrus.robotml.diagram.common.editpolicies;
-import org.eclipse.papyrus.uml.diagram.composite.custom.edit.policies.PropertyLabelEditPolicy;
+import java.util.Arrays;
+import java.util.Collection;
+
+import org.eclipse.papyrus.uml.diagram.common.editpolicies.PropertyLabelEditPolicy;
import org.eclipse.papyrus.uml.tools.utils.ICustomAppearence;
public class CustomPropertyLabelEditPolicy extends PropertyLabelEditPolicy {
- public final static int DEFAULT_ROBOTML_PROPERTY = ICustomAppearence.DISP_NAME | ICustomAppearence.DISP_TYPE;
+ public final static Collection<String> DEFAULT_ROBOTML_PROPERTY = Arrays.asList(ICustomAppearence.DISP_NAME, ICustomAppearence.DISP_TYPE);
@Override
- public int getDefaultDisplayValue() {
+ public Collection<String> getDefaultDisplayValue() {
// TODO Auto-generated method stub
return DEFAULT_ROBOTML_PROPERTY;
}

Back to the top