diff --git a/bundles/org.eclipse.vorto.core.ui/icons/add_obj.gif b/bundles/org.eclipse.vorto.core.ui/icons/add_obj.gif new file mode 100644 index 0000000000..252d7ebcb8 Binary files /dev/null and b/bundles/org.eclipse.vorto.core.ui/icons/add_obj.gif differ diff --git a/bundles/org.eclipse.vorto.perspective/src/org/eclipse/vorto/perspective/view/DatatypeTreeViewer.java b/bundles/org.eclipse.vorto.perspective/src/org/eclipse/vorto/perspective/view/DatatypeTreeViewer.java index 51b47f1744..bfd37f6527 100644 --- a/bundles/org.eclipse.vorto.perspective/src/org/eclipse/vorto/perspective/view/DatatypeTreeViewer.java +++ b/bundles/org.eclipse.vorto.perspective/src/org/eclipse/vorto/perspective/view/DatatypeTreeViewer.java @@ -70,7 +70,7 @@ public void menuAboutToShow(IMenuManager manager) { if (model.getId().getModelType() == ModelType.Datatype) { menuMgr.add(ShareModelAction.newInstance(treeViewer, model)); menuMgr.add(DeleteModelAction.newInstance(localModelWorkspace, treeViewer, model)); - menuMgr.add(new ProjectAction("New Mapping Model",ImageUtil.getImage("add_exc.gif"),treeViewer.getLocalModelWorkspace()) { + menuMgr.add(new ProjectAction("New Mapping Model",ImageUtil.getImage("add_obj.gif"),treeViewer.getLocalModelWorkspace()) { @Override public void doAction() { openMappingWizard(); @@ -79,7 +79,7 @@ public void doAction() { } } - manager.add(new ProjectAction("New Entity", ImageUtil.getImage("add_exc.gif"), + manager.add(new ProjectAction("New Entity", ImageUtil.getImage("add_obj.gif"), treeViewer.getLocalModelWorkspace()) { @Override public void doAction() { @@ -93,7 +93,7 @@ public void doAction() { } }); - manager.add(new ProjectAction("New Enum", ImageUtil.getImage("add_exc.gif"), + manager.add(new ProjectAction("New Enum", ImageUtil.getImage("add_obj.gif"), treeViewer.getLocalModelWorkspace()) { @Override public void doAction() { diff --git a/bundles/org.eclipse.vorto.perspective/src/org/eclipse/vorto/perspective/view/FunctionblockTreeViewer.java b/bundles/org.eclipse.vorto.perspective/src/org/eclipse/vorto/perspective/view/FunctionblockTreeViewer.java index 4a59533b35..29ba1e5796 100644 --- a/bundles/org.eclipse.vorto.perspective/src/org/eclipse/vorto/perspective/view/FunctionblockTreeViewer.java +++ b/bundles/org.eclipse.vorto.perspective/src/org/eclipse/vorto/perspective/view/FunctionblockTreeViewer.java @@ -69,7 +69,7 @@ public void menuAboutToShow(IMenuManager manager) { menuMgr.add(generatorMenuMgr); menuMgr.add(ShareModelAction.newInstance(treeViewer, model)); menuMgr.add(DeleteModelAction.newInstance(localModelWorkspace, treeViewer, model)); - menuMgr.add(new ProjectAction("New Mapping Model",ImageUtil.getImage("add_exc.gif"),treeViewer.getLocalModelWorkspace()) { + menuMgr.add(new ProjectAction("New Mapping Model",ImageUtil.getImage("add_obj.gif"),treeViewer.getLocalModelWorkspace()) { @Override public void doAction() { openMappingWizard(); @@ -78,7 +78,7 @@ public void doAction() { } } - manager.add(new ProjectAction("New Functionblock", ImageUtil.getImage("add_exc.gif"), + manager.add(new ProjectAction("New Functionblock", ImageUtil.getImage("add_obj.gif"), treeViewer.getLocalModelWorkspace()) { @Override public void doAction() { diff --git a/bundles/org.eclipse.vorto.perspective/src/org/eclipse/vorto/perspective/view/InfomodelTreeViewer.java b/bundles/org.eclipse.vorto.perspective/src/org/eclipse/vorto/perspective/view/InfomodelTreeViewer.java index 875bb369dc..ce725c0efe 100644 --- a/bundles/org.eclipse.vorto.perspective/src/org/eclipse/vorto/perspective/view/InfomodelTreeViewer.java +++ b/bundles/org.eclipse.vorto.perspective/src/org/eclipse/vorto/perspective/view/InfomodelTreeViewer.java @@ -69,7 +69,7 @@ public void menuAboutToShow(IMenuManager manager) { menuMgr.add(ShareModelAction.newInstance(treeViewer, model)); menuMgr.add(DeleteModelAction.newInstance(localModelWorkspace, treeViewer, model)); - menuMgr.add(new ProjectAction("New Mapping Model",ImageUtil.getImage("add_exc.gif"),treeViewer.getLocalModelWorkspace()) { + menuMgr.add(new ProjectAction("New Mapping Model",ImageUtil.getImage("add_obj.gif"),treeViewer.getLocalModelWorkspace()) { @Override public void doAction() { openMappingWizard(); @@ -78,7 +78,7 @@ public void doAction() { } } - manager.add(new ProjectAction("New Information Model", ImageUtil.getImage("add_exc.gif"), + manager.add(new ProjectAction("New Information Model", ImageUtil.getImage("add_obj.gif"), treeViewer.getLocalModelWorkspace()) { @Override public void doAction() { diff --git a/bundles/org.eclipse.vorto.perspective/src/org/eclipse/vorto/perspective/view/ProjectSelectionViewPart.java b/bundles/org.eclipse.vorto.perspective/src/org/eclipse/vorto/perspective/view/ProjectSelectionViewPart.java index 697e730574..54c4edeea2 100644 --- a/bundles/org.eclipse.vorto.perspective/src/org/eclipse/vorto/perspective/view/ProjectSelectionViewPart.java +++ b/bundles/org.eclipse.vorto.perspective/src/org/eclipse/vorto/perspective/view/ProjectSelectionViewPart.java @@ -198,7 +198,7 @@ public void refreshCurrent() { private ComboViewer createProjectSelectionViewer(final Composite container, String labelStr) { Button newProjectButton = new Button(container, SWT.NONE); - newProjectButton.setImage(ImageUtil.getImage("add_exc.gif")); + newProjectButton.setImage(ImageUtil.getImage("add_obj.gif")); newProjectButton.setToolTipText("Add a new Vorto Project"); newProjectButton.addListener(SWT.Selection, new Listener() { public void handleEvent(Event e) {