Package org.openpnp.gui.support

Examples of org.openpnp.gui.support.ActionGroup


  public JobPanel(Configuration configuration, MainFrame frame, MachineControlsPanel machineControlsPanel) {
    this.configuration = configuration;
    this.frame = frame;
    this.machineControlsPanel = machineControlsPanel;
   
    jobSaveActionGroup = new ActionGroup(saveJobAction, saveJobAsAction);
    jobSaveActionGroup.setEnabled(false);

    boardLocationSelectionActionGroup = new ActionGroup(removeBoardAction,
        captureCameraBoardLocationAction,
        captureToolBoardLocationAction, newPlacementAction,
        moveCameraToBoardLocationAction, moveToolToBoardLocationAction,
        twoPointLocateBoardLocationAction);
    boardLocationSelectionActionGroup.setEnabled(false);

    placementSelectionActionGroup = new ActionGroup(removePlacementAction,
        captureCameraPlacementLocation, captureToolPlacementLocation,
        moveCameraToPlacementLocation, moveToolToPlacementLocation);
    placementSelectionActionGroup.setEnabled(false);

    boardLocationsTableModel = new BoardLocationsTableModel(configuration);
View Full Code Here


      .userNodeForPackage(BoardsPanel.class);

  public BoardsPanel(Configuration configuration) {
    this.configuration = configuration;

    boardSelectionActionGroup = new ActionGroup(newPlacementAction);
    boardSelectionActionGroup.setEnabled(false);

    placementSelectionActionGroup = new ActionGroup(removePlacementAction);
    placementSelectionActionGroup.setEnabled(false);

    boardsTableModel = new BoardsTableModel(configuration);
    placementsTableModel = new PlacementsTableModel(configuration);
View Full Code Here

    table.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
   
    configurationPanel = new JPanel();
    configurationPanel.setBorder(new TitledBorder(null, "Configuration", TitledBorder.LEADING, TitledBorder.TOP, null, null));

    feederSelectedActionGroup = new ActionGroup(deleteFeederAction,
        feedFeederAction, showPartAction);

    table.getSelectionModel().addListSelectionListener(
        new ListSelectionListener() {
          @Override
View Full Code Here

TOP

Related Classes of org.openpnp.gui.support.ActionGroup

Copyright © 2018 www.massapicom. 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.