if ((e.getClickCount() != 2) || (e.getButton() != MouseEvent.BUTTON1)
|| (cursorType == Cursor.SE_RESIZE_CURSOR)) {
return false;
}
final ExternalResource activeView = getModel(e);
NodeModel node = null;
//get node from mouse click
for (int i = 0; i < e.getComponent().getParent().getComponentCount(); i++) {
if (e.getComponent().getParent().getComponent(i) instanceof MainView) {
final MainView mv = (MainView) e.getComponent().getParent().getComponent(i);
node = mv.getNodeView().getModel();
break;
}
}
if (node == null) {
node = Controller.getCurrentModeController().getMapController().getSelectedNode();
}
final MapModel map = node.getMap();
URI absoluteUri = activeView.getAbsoluteUri(map);
if(absoluteUri == null)
return false;
final String sActUri = absoluteUri.toString();
if (!sActUri.matches(".*_[0-9]{2}\\.[a-zA-Z0-9]*")) {