Skip to content
Snippets Groups Projects
Commit 765eb5f8 authored by Dominique Blouin's avatar Dominique Blouin
Browse files

Issue #66: Make communication pattern mapping button part of core

functions
parent 77cf1903
No related branches found
No related tags found
No related merge requests found
......@@ -144,11 +144,16 @@ public class TMLArchiDiagramToolBar extends TToolBar implements ActionListener
/*button = this.add(mgui.actions[TGUIAction.TMLARCHI_EVENT_ARTIFACT]);
button.addMouseListener(mgui.mouseHandler);*/
// Issue #66: CP mapping now part of core functions
this.addSeparator();
button = this.add( mgui.actions[ TGUIAction.TMLARCHI_CPNODE ] );
button.addMouseListener( mgui.mouseHandler );
if (MainGUI.experimentalOn) {
this.addSeparator();
button = this.add(mgui.actions[TGUIAction.TMLARCHI_CPNODE]);
button.addMouseListener(mgui.mouseHandler);
if ( MainGUI.experimentalOn ) {
// this.addSeparator();
// button = this.add(mgui.actions[TGUIAction.TMLARCHI_CPNODE]);
// button.addMouseListener(mgui.mouseHandler);
button = this.add(mgui.actions[TGUIAction.TMLARCHI_PORT_ARTIFACT]);
button.addMouseListener(mgui.mouseHandler);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment