Examples of OutlineReticle


Examples of org.openpnp.gui.components.reticle.OutlineReticle

            placementSelectionActionGroup
                .setEnabled(getSelectedPlacement() != null);
           
                        Placement placement = getSelectedPlacement();
                        if (placement != null) {
                            Reticle reticle = new OutlineReticle(placement.getPart().getPackage().getOutline());
                            MainFrame.cameraPanel.getSelectedCameraView().setReticle(BoardsPanel.this.getClass().getName(), reticle);
                        }
                        else {
                            MainFrame.cameraPanel.getSelectedCameraView().removeReticle(BoardsPanel.this.getClass().getName());
                        }           
View Full Code Here

Examples of org.openpnp.gui.components.reticle.OutlineReticle

        deletePartAction.setEnabled(part != null);
       
            CameraView cameraView = MainFrame.cameraPanel.getSelectedCameraView();
            if (cameraView != null) {
                  if (part != null) {
                      Reticle reticle = new OutlineReticle(part.getPackage().getOutline());
                      MainFrame.cameraPanel.getSelectedCameraView().setReticle(PartsPanel.this.getClass().getName(), reticle);
                  }
                  else {
                      MainFrame.cameraPanel.getSelectedCameraView().removeReticle(PartsPanel.this.getClass().getName());
                  }                                      
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.