Examples of IEditTool


Examples of es.iiia.shapeeditor.tools.IEditTool

  @Override
  public void setActiveEditor(IEditorPart part) {
    super.setActiveEditor(part);
   
    if (part instanceof ShapeEditor) {
      IEditTool cmd = ((ShapeEditor) part).getCurrentTool();
     
      lineAction.setChecked(cmd instanceof CreateLineTool);
      polyLineAction.setChecked(cmd instanceof CreatePolyLineTool);
      curvesAction.setChecked(cmd instanceof CreateCurveTool);
      modifyVerticesAction.setChecked(cmd instanceof ModifyVerticesTool);
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.