Package org.eclipse.draw2d

Examples of org.eclipse.draw2d.IFigure.revalidate()


        }
    }

    public void refresh() {
        IFigure figure = (IFigure) getAdapter(IFigure.class);
        figure.revalidate();
        figure.repaint();
        figure.invalidateTree();
    }

    public ProcessDefinition getDefinition() {
View Full Code Here


  {
    Iterator iter = initialStates.keySet().iterator();
    while (iter.hasNext())
    {
      IFigure f = ((IFigure) iter.next());
      f.revalidate();
      f.setVisible(true);
    }
    //$TODO instead of performing a final normal layout, what about setting progress=1.0?
    initialStates = null;
    finalStates = null;
View Full Code Here

          else
          {
            containerFigure.add(updateFigure, index);
          }
        }
        containerFigure.revalidate();
      }
    }
    else if (!updateShape.visible() && updateFigure != null)
    {
      // remove it
View Full Code Here

    else if (!updateShape.visible() && updateFigure != null)
    {
      // remove it
      updateShape.removeFigure();
      containerFigure.remove(updateFigure);
      containerFigure.revalidate();
    }
    return true;   
  }
 
  public static Object getLayoutConstraint(ShapePresentation childShapePresentation, ShapeLayoutDef layoutDef)
View Full Code Here

        if (cc != null && diagram != null) {
          GraphicsAlgorithm ga = diagram.getGraphicsAlgorithm();
          if (ga != null){
            ga.setForeground(GraphitiUi.getGaService().manageColor(diagram, cc));
            gridFigure.repaint();
            gridFigure.revalidate();
            designEditor.getDiagramBehavior().refreshContent();
          }
        }
      }
    }
View Full Code Here

  static void end() {
    Iterator<IFigure> iter = initialStates.keySet().iterator();
    while (iter.hasNext()) {
      IFigure f = iter.next();
      f.revalidate();
      f.setVisible(true);
    }
    // $TODO instead of performing a final normal layout, what about setting
    // progress=1.0?
    initialStates = null;
View Full Code Here

     */
    static void end() {
        Iterator iter = initialStates.keySet().iterator();
        while (iter.hasNext()) {
            IFigure f = ((IFigure) iter.next());
            f.revalidate();
            f.setVisible(true);
        }
        //$TODO instead of performing a final normal layout, what about setting
        // progress=1.0?
        initialStates = null;
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.