Package es.iiia.shapeeditor.tools

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

Related Classes of es.iiia.shapeeditor.tools.IEditTool

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.