Package org.eclipse.draw2d

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


    }

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

    public ProcessDefinition getDefinition() {
        return definition;
View Full Code Here


        Diagram diagram = designEditor.getDiagram();
        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

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.