Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcletavernie2013-06-21 09:14:19 +0000
committercletavernie2013-06-21 09:14:19 +0000
commit7899a7b91861b1c391591888c33e2000134f0452 (patch)
tree452f3713fc2fc2e758f248a9bab5475f368abd0d /extraplugins
parent1e39fa93be59b403be79eee91987c980aa5abf48 (diff)
downloadorg.eclipse.papyrus-7899a7b91861b1c391591888c33e2000134f0452.tar.gz
org.eclipse.papyrus-7899a7b91861b1c391591888c33e2000134f0452.tar.xz
org.eclipse.papyrus-7899a7b91861b1c391591888c33e2000134f0452.zip
411233: [Releng] Add RobotML to Releng
https://bugs.eclipse.org/bugs/show_bug.cgi?id=411233
Diffstat (limited to 'extraplugins')
-rw-r--r--extraplugins/robotml/org.eclipse.papyrus.robotml.diagram.common/META-INF/MANIFEST.MF1
-rw-r--r--extraplugins/robotml/org.eclipse.papyrus.robotml.diagram.common/src/org/eclipse/papyrus/robotml/diagram/common/utils/RobotmlSelectionTester.java7
-rw-r--r--extraplugins/robotml/org.eclipse.papyrus.robotml.modelexplorer/plugin.properties2
3 files changed, 5 insertions, 5 deletions
diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml.diagram.common/META-INF/MANIFEST.MF b/extraplugins/robotml/org.eclipse.papyrus.robotml.diagram.common/META-INF/MANIFEST.MF
index 32a846a6b25..c0b5a85620b 100644
--- a/extraplugins/robotml/org.eclipse.papyrus.robotml.diagram.common/META-INF/MANIFEST.MF
+++ b/extraplugins/robotml/org.eclipse.papyrus.robotml.diagram.common/META-INF/MANIFEST.MF
@@ -9,7 +9,6 @@ Require-Bundle: org.eclipse.core.runtime,
org.eclipse.uml2.uml;bundle-version="4.1.0",
org.eclipse.papyrus.uml.tools.utils;bundle-version="0.10.0",
org.eclipse.core.expressions,
- org.eclipse.papyrus.editor;bundle-version="0.10.0",
org.eclipse.papyrus.robotml;bundle-version="0.10.0",
org.eclipse.papyrus.uml.properties;bundle-version="0.10.0",
org.eclipse.papyrus.uml.diagram.common;bundle-version="0.10.0",
diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml.diagram.common/src/org/eclipse/papyrus/robotml/diagram/common/utils/RobotmlSelectionTester.java b/extraplugins/robotml/org.eclipse.papyrus.robotml.diagram.common/src/org/eclipse/papyrus/robotml/diagram/common/utils/RobotmlSelectionTester.java
index e1f1419400d..4f0bebf5341 100644
--- a/extraplugins/robotml/org.eclipse.papyrus.robotml.diagram.common/src/org/eclipse/papyrus/robotml/diagram/common/utils/RobotmlSelectionTester.java
+++ b/extraplugins/robotml/org.eclipse.papyrus.robotml.diagram.common/src/org/eclipse/papyrus/robotml/diagram/common/utils/RobotmlSelectionTester.java
@@ -15,7 +15,7 @@ import org.eclipse.core.expressions.PropertyTester;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.jface.viewers.ISelection;
import org.eclipse.papyrus.RobotML.RobotMLPackage;
-import org.eclipse.papyrus.editor.PapyrusMultiDiagramEditor;
+import org.eclipse.papyrus.infra.core.editor.IMultiDiagramEditor;
import org.eclipse.papyrus.infra.core.resource.NotFoundException;
import org.eclipse.papyrus.infra.core.services.ServiceException;
import org.eclipse.papyrus.infra.emf.utils.ServiceUtilsForSelection;
@@ -37,7 +37,7 @@ import org.eclipse.uml2.uml.util.UMLUtil;
public class RobotmlSelectionTester extends PropertyTester {
/** Tester ID for UML Model nature */
- public final static String IS_ROBOTML_MODEL = "isRobotmlModel"; //$NON-NLS-N$
+ public final static String IS_ROBOTML_MODEL = "isRobotmlModel";
//public static String ROBOTML_ID = "RobotML";
@@ -51,9 +51,10 @@ public class RobotmlSelectionTester extends PropertyTester {
// Ensure Papyrus is the active editor
IEditorPart editor = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().getActiveEditor();
- if((editor == null) || (!(editor instanceof PapyrusMultiDiagramEditor))) {
+ if((editor == null) || (!(editor instanceof IMultiDiagramEditor))) {
return false;
}
+
Object currentValue = null;
if(IS_ROBOTML_MODEL.equals(property)) {
currentValue = testRobotmlModelNature(receiver);
diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml.modelexplorer/plugin.properties b/extraplugins/robotml/org.eclipse.papyrus.robotml.modelexplorer/plugin.properties
index b959a7d816c..234106c3ef1 100644
--- a/extraplugins/robotml/org.eclipse.papyrus.robotml.modelexplorer/plugin.properties
+++ b/extraplugins/robotml/org.eclipse.papyrus.robotml.modelexplorer/plugin.properties
@@ -1,3 +1,3 @@
#Properties file for org.eclipse.papyrus.robotml.modelexplorer
Bundle-Vendor = Eclipse Modeling Project
-Bundle-Name = org.eclipse.papyrus.robotml.modelexplorer (Incubation) \ No newline at end of file
+Bundle-Name = RobotML ModelExplorer (Incubation) \ No newline at end of file

Back to the top