else if (action.equals(normalString)) { setMode(OutLink.NORMAL_MODE); com.cosylab.vdct.events.CommandManager.getInstance().execute("RepaintWorkspace"); } else if (action.equals(invisibleString)) { setMode(OutLink.INVISIBLE_MODE); com.cosylab.vdct.events.CommandManager.getInstance().execute("RepaintWorkspace"); } else if (action.equals(inputString)) { setMode(OutLink.EXTERNAL_INPUT_MODE); com.cosylab.vdct.events.CommandManager.getInstance().execute("RepaintWorkspace"); } else if (action.equals(outputString)) { setMode(OutLink.EXTERNAL_OUTPUT_MODE); com.cosylab.vdct.events.CommandManager.getInstance().execute("RepaintWorkspace"); }
		public void actionPerformed(ActionEvent e) {			String action = e.getActionCommand();			if (action.equals(descriptionString)) {				setDescription();				com.cosylab.vdct.events.CommandManager.getInstance().execute("RepaintWorkspace");			}			else if (action.equals(addConnectorString)) {				addConnector();				com.cosylab.vdct.events.CommandManager.getInstance().execute("RepaintWorkspace");			}			else if (action.equals(removeConnectorString)) {				bypass();				com.cosylab.vdct.events.CommandManager.getInstance().execute("RepaintWorkspace");			}					}