Package org.eclipse.gef

Examples of org.eclipse.gef.GraphicalViewer


   *
   *
   * @return
   */
  protected final EditPart getFirstSelectedEditPart() {
    GraphicalViewer viewer = ((WebflowEditor) getWorkbenchPart()).getGraphViewer();
    List list = viewer.getSelectedEditParts();
    if (!list.isEmpty()) {
      return (EditPart) list.get(0);
    }
    return null;
  }
View Full Code Here

TOP

Related Classes of org.eclipse.gef.GraphicalViewer

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.