Examples of singleSelect()


Examples of org.openbp.cockpit.modeler.drawing.WorkspaceDrawingView.singleSelect()

        }

        if (flavor [i].equals(ModelerFlavors.FIGURE))
        {
          Figure figure = (Figure) ie.getSafeTransferData(flavor [i]);
          workspaceView.singleSelect(figure);
        }

        if (flavor [i].equals(ModelerFlavors.PARAM_FIGURE))
        {
          final ParamFigure paramFigure = (ParamFigure) ie.getSafeTransferData(flavor [i]);
View Full Code Here

Examples of org.openbp.cockpit.modeler.drawing.WorkspaceDrawingView.singleSelect()

      ProcessElementContainer pec = modeler.getDrawing().getFigureByQualifier(qualifier);
      if (pec != null)
      {
        WorkspaceDrawingView view = modeler.getDrawingView();
        view.singleSelect(pec);
      }

      return EVENT_CONSUMED;
    }
View Full Code Here

Examples of org.openbp.cockpit.modeler.drawing.WorkspaceDrawingView.singleSelect()

      // or the item to show doesn't exist in this process
      return EVENT_IGNORED;
    }

    WorkspaceDrawingView view = modeler.getDrawingView();
    view.singleSelect(pec);

    return modeler.getPluginComponent().isShowing() ? EVENT_CONSUMED : EVENT_IGNORED;
  }

  /**
 
View Full Code Here

Examples of org.openbp.cockpit.modeler.drawing.WorkspaceDrawingView.singleSelect()

      autoConnector.autoConnectAll();
    }

    // Select the new element
    WorkspaceDrawingView workspaceView = modeler.getDrawingView();
    workspaceView.singleSelect(addedFigure);

    if (addedFigure instanceof NodeFigure && ((NodeFigure) addedFigure).isCreatedFromScratch())
    {
      // Show the in place editor for all nodes that have been just created
      // (don't show for existing items that have been dragged from the compoennt browser)
View Full Code Here

Examples of org.openbp.cockpit.modeler.drawing.WorkspaceDrawingView.singleSelect()

    AutoConnector autoConnector = new AutoConnector(modeler, newSocket);
    autoConnector.autoConnectAll();

    // Select the new element
    WorkspaceDrawingView workspaceView = modeler.getDrawingView();
    workspaceView.singleSelect(newSocket);

    modeler.getToolSupport().displayInPlaceEditor(newSocket);

    return modeler.getPluginComponent().isShowing() ? EVENT_CONSUMED : EVENT_IGNORED;
  }
View Full Code Here

Examples of org.openbp.cockpit.modeler.drawing.WorkspaceDrawingView.singleSelect()

    ParamFigure newParam = (ParamFigure) je.getObject();

    // Select the new element
    WorkspaceDrawingView workspaceView = modeler.getDrawingView();
    workspaceView.singleSelect(newParam);

    modeler.getToolSupport().displayInPlaceEditor(newParam);

    return modeler.getPluginComponent().isShowing() ? EVENT_CONSUMED : EVENT_IGNORED;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.