Skip to content

Commit

Permalink
Removed "Refactor with ID" actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-gomes committed Jun 20, 2018
1 parent 69618ed commit 720f0ba
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 160 deletions.
13 changes: 0 additions & 13 deletions src/main/java/gov/nasa/jpl/mbee/mdk/MDKConfigurator.java
Original file line number Diff line number Diff line change
Expand Up @@ -119,19 +119,6 @@ private void addElementActions(ActionsManager manager, Element e, List<Element>
Stereotype classview = Utils.getViewClassStereotype(project);
Stereotype elementGroupStereotype = Utils.getElementGroupStereotype(project);

// top-level context menu: Refactor With ID
ActionsCategory refactorWithIDActionCat = myCategory(manager, "Refactor With ID", "Refactor With ID");
if (e instanceof com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Class & !(e instanceof com.nomagic.uml2.ext.magicdraw.components.mdbasiccomponents.Component)) {
if (manager.getActionFor(ClassToComponentRefactorWithIDAction.DEFAULT_ID) == null) {
refactorWithIDActionCat.addAction(new ClassToComponentRefactorWithIDAction(es));
}
}
if (e instanceof com.nomagic.uml2.ext.magicdraw.components.mdbasiccomponents.Component) {
if (manager.getActionFor(ComponentToClassRefactorWithIDAction.DEFAULT_ID) == null) {
refactorWithIDActionCat.addAction(new ComponentToClassRefactorWithIDAction(es));
}
}

ActionsCategory modelLoad = myCategory(manager, "MMSContext", "MMS");
if (!TicketUtils.isTicketSet(project)) {
ActionsCategory login = getCategory(manager, "LoginOption", "LoginOption", modelLoad);
Expand Down

This file was deleted.

This file was deleted.

0 comments on commit 720f0ba

Please sign in to comment.