Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSopot Cela2013-10-21 07:59:02 +0000
committerSopot Cela2013-10-21 07:59:02 +0000
commitd4467f6804860df70d29b6335c0516b8eea11390 (patch)
treed1cdde2911c60aa96e768d25f16e5d812c56d0da
parent90ef916018302237f4c6400465fc49489ddacb55 (diff)
downloadorg.eclipse.e4.tools-d4467f6804860df70d29b6335c0516b8eea11390.tar.gz
org.eclipse.e4.tools-d4467f6804860df70d29b6335c0516b8eea11390.tar.xz
org.eclipse.e4.tools-d4467f6804860df70d29b6335c0516b8eea11390.zip
Bug 416109 - Context menu for Perspective -> Controls does not contain
Placeholder
-rw-r--r--bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/component/virtual/VPerspectiveControlEditor.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/component/virtual/VPerspectiveControlEditor.java b/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/component/virtual/VPerspectiveControlEditor.java
index 347d3363..b2cce6db 100644
--- a/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/component/virtual/VPerspectiveControlEditor.java
+++ b/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/component/virtual/VPerspectiveControlEditor.java
@@ -100,6 +100,12 @@ public class VPerspectiveControlEditor extends AbstractComponentEditor {
handleAdd(AdvancedPackageImpl.Literals.AREA);
}
});
+ actions.add(new Action(Messages.PerspectiveEditor_AddPlaceholder, createImageDescriptor(ResourceProvider.IMG_Placeholder)) {
+ @Override
+ public void run() {
+ handleAdd(AdvancedPackageImpl.Literals.PLACEHOLDER);
+ }
+ });
}
@Override

Back to the top