Package org.openbp.cockpit.modeler.drawing

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


          process.setSkinName(skin.getName());
          drawing.setProcess(process);

          currentModeler.endUndo();

          view.redraw();

          if (currentModeler.getPluginComponent().isShowing())
          {
            currentModeler.focusPlugin();
          }
View Full Code Here


      double scaleFactor = view.getScaleFactor();
      scaleFactor *= (100d + diff) / 100;
      view.setScaleFactor(scaleFactor);

      // ((Trackable) editor).centerTrackerAt (center);
      view.redraw();
    }
  }

  public void deactivate()
  {
View Full Code Here

    {
      double factor = ((Double) je.getObject()).doubleValue();

      WorkspaceDrawingView view = modeler.getDrawingView();
      view.setScaleFactor(factor);
      view.redraw();
      view.revalidate();

      modeler.focusPlugin();

      return EVENT_CONSUMED;
View Full Code Here

    // Clear the selection in order to prevent having invisible objects selected
    view.clearSelection();

    // Redraw to reflect the changes
    view.redraw();

    return EVENT_HANDLED;
  }

  /**
 
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.