Examples of RootEditPart


Examples of org.eclipse.gef.RootEditPart

    return keyHandler;
  }

  private IContentOutlinePage getContentOutline() {
    if (contentOutline == null && getGraphicalViewer() != null) {
      RootEditPart rootEditPart = getGraphicalViewer().getRootEditPart();
      if (rootEditPart instanceof ScalableFreeformRootEditPart) {
        contentOutline = new SpringConfigGraphOutlinePage((ScalableFreeformRootEditPart) rootEditPart);
      }
    }
    return contentOutline;
View Full Code Here

Examples of org.eclipse.gef.RootEditPart

   * Returns the outline view.
   * @return the overview
   */
  protected GraphOutlinePage getOutlinePage() {
    if (outlinePage == null && getGraphicalViewer() != null) {
      RootEditPart rootEditPart = getGraphicalViewer().getRootEditPart();
      if (rootEditPart instanceof ScalableRootEditPart) {
        outlinePage = new GraphOutlinePage((ScalableRootEditPart) rootEditPart);
      }
    }
    return outlinePage;
View Full Code Here

Examples of org.eclipse.gef.RootEditPart

      setContents(diagram);
    }

    protected void initializeOverview() {
      LightweightSystem lws = new LightweightSystem(overview);
      RootEditPart rep = getGraphicalViewer().getRootEditPart();
      if (rep instanceof ScalableRootEditPart) {
        ScalableRootEditPart root = (ScalableRootEditPart) rep;
        thumbnail = new ScrollableThumbnail((Viewport) root.getFigure());
        thumbnail.setBorder(new MarginBorder(3));
        thumbnail.setSource(root
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.