public static class SelectionToolWithDoubleClick extends SelectionTool{
@Override
protected boolean handleDoubleClick( int button ) {
if (getTargetEditPart() instanceof BoxPart) {
BoxPart part = (BoxPart) getTargetEditPart();
BoxAction defaultAction = part.getDefaultAction();
if( defaultAction!=null ){
defaultAction.run();
return true;
}
}