Package org.eclipse.gef

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


   * 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

      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

Related Classes of org.eclipse.gef.RootEditPart

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.