if (e.isPopupTrigger()) {
eventType += WorkspaceActionEvent.POPUP_TRIGGER;
}
WorkspaceActionEvent event = new WorkspaceActionEvent(node, eventType, e.getX(), e.getY(), e.getComponent());
List<IWorkspaceNodeActionListener> nodeEventListeners = WorkspaceController.getCurrentModeExtension().getIOController()
.getNodeActionListeners(node.getClass(), eventType);
if (nodeEventListeners != null) {
for (IWorkspaceNodeActionListener listener : nodeEventListeners) {
if (event.isConsumed()) {
break;
}
listener.handleAction(event);
}
}
if (!event.isConsumed() && node instanceof IWorkspaceNodeActionListener) {
((IWorkspaceNodeActionListener) node).handleAction(event);
}
} else {
if (e.getButton() == MouseEvent.BUTTON3) {