Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Signed-off-by: Erle Czar Mantos <[email protected]>
  • Loading branch information
Erle Czar Mantos authored and Erle Czar Mantos committed Nov 29, 2016
1 parent 505e984 commit fc09ba0
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
Binary file added bundles/org.eclipse.vorto.core.ui/icons/add_obj.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand All @@ -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() {
Expand All @@ -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() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand All @@ -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() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand All @@ -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() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit fc09ba0

Please sign in to comment.