Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMickael ADAM2016-03-07 16:54:08 +0000
committerGerrit Code Review @ Eclipse.org2016-04-07 09:57:57 +0000
commit5df37a81b7f4ae85b68c68796746f1a21e90471e (patch)
tree02944bda16b2272cd54322ec7fdb9667228d517b /plugins/views
parentbcefd72afb86afb2d248d413b4131eeb4e650c71 (diff)
downloadorg.eclipse.papyrus-5df37a81b7f4ae85b68c68796746f1a21e90471e.tar.gz
org.eclipse.papyrus-5df37a81b7f4ae85b68c68796746f1a21e90471e.tar.xz
org.eclipse.papyrus-5df37a81b7f4ae85b68c68796746f1a21e90471e.zip
Bug 487199 - [NewChild] A action shall be available to deploy
creationMenuModel from project explorer https://bugs.eclipse.org/bugs/show_bug.cgi?id=487199 - Adds deploy/undeploy action on creationmenumodel files. - Adds methods to load/unload folders programmatically. - Tests of deploy/undeploy + test of extension point - update plugin requirement model and update - adds generated images Change-Id: I79ab475a3933f281037754b69fe7b1e3ef56d6c5 Signed-off-by: Mickael ADAM <mickael.adam@ALL4TEC.net>
Diffstat (limited to 'plugins/views')
-rw-r--r--plugins/views/modelexplorer/org.eclipse.papyrus.views.modelexplorer.newchild/src/org/eclipse/papyrus/views/modelexplorer/newchild/ModelExplorerDynamicNewChild.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/views/modelexplorer/org.eclipse.papyrus.views.modelexplorer.newchild/src/org/eclipse/papyrus/views/modelexplorer/newchild/ModelExplorerDynamicNewChild.java b/plugins/views/modelexplorer/org.eclipse.papyrus.views.modelexplorer.newchild/src/org/eclipse/papyrus/views/modelexplorer/newchild/ModelExplorerDynamicNewChild.java
index 1f755ab7414..08de7f9324b 100644
--- a/plugins/views/modelexplorer/org.eclipse.papyrus.views.modelexplorer.newchild/src/org/eclipse/papyrus/views/modelexplorer/newchild/ModelExplorerDynamicNewChild.java
+++ b/plugins/views/modelexplorer/org.eclipse.papyrus.views.modelexplorer.newchild/src/org/eclipse/papyrus/views/modelexplorer/newchild/ModelExplorerDynamicNewChild.java
@@ -16,9 +16,9 @@
package org.eclipse.papyrus.views.modelexplorer.newchild;
-import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
+import java.util.List;
import java.util.Map;
import org.eclipse.emf.ecore.EObject;
@@ -65,7 +65,7 @@ public class ModelExplorerDynamicNewChild extends org.eclipse.papyrus.infra.newc
cacheMap.put(eObject, adviceCache);
CreationMenuFactory creationMenuFactory = new ModelExplorerMenuFactory(editingDomain);
- ArrayList<Folder> folders = creationMenuRegistry.getRootFolder();
+ List<Folder> folders = creationMenuRegistry.getRootFolder();
Iterator<Folder> iterFolder = folders.iterator();
while (iterFolder.hasNext()) {
Folder currentFolder = iterFolder.next();

Back to the top