|
Runtime | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.gmf.runtime.diagram.ui.util.SelectInDiagramHelper
Helper for selecting an element on a diagram. Works for closed diagrams when you open the diagram first. You can use View's getDiagram() to determine the diagram to open. getDiagram() returns itself if the View is a Diagram.
| Method Summary | |
static DiagramEditor |
activateDiagram(Diagram diagram)
Activate the diagram if it's already open. |
static void |
exposeLocation(FigureCanvas canvas,
Point location)
This api will expose the diagram at the location given in absolute co-ordinates. |
static void |
selectElement(View view)
Select the View element from the DiagramEditor. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static DiagramEditor activateDiagram(Diagram diagram)
diagram - Diagram to activate
public static void selectElement(View view)
view - View to select
public static void exposeLocation(FigureCanvas canvas,
Point location)
canvas - location -
|
Runtime | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.