private static IAction createAction(final String commandId) {
    final AdvisorActionInfo info = getActionInfo(commandId);
    if (info != null) {
      final IAction action =
          new Action(info.getDisplayName()) {
            @Override
            public void run() {
              AdvisorActionFactory.executeAction(info.getId(), true);
            }
          };

      ImageDescriptor desc = AdvisorActionFactory.getImageDesciptor(info.getId());
      if (desc != null) {
        action.setImageDescriptor(desc);
      }

      return action;
    }

    return null;
  }
 public static void executeAction(String id, boolean synchronous) {
   AdvisorActionFactory.executeAction(id, null, synchronous);
 }
 public static void executeAction(TeiidDesignerActionHandler actionHandler, boolean synchronous) {
   AdvisorActionFactory.executeAction(actionHandler.getId(), synchronous);
 }