GEF v2.0

org.eclipse.gef
Interface GraphicalViewer

All Superinterfaces:
EditPartViewer, ISelectionProvider
All Known Subinterfaces:
PaletteViewer
All Known Implementing Classes:
GraphicalViewerImpl

public interface GraphicalViewer
extends EditPartViewer

Specializes EditPartViewer adding the ability to hit-test Handles.


Method Summary
 Handle findHandleAt(Point p)
          Finds the view handle at the point specified by x,y.
 
Methods inherited from interface org.eclipse.gef.EditPartViewer
addDragSourceListener, addDropTargetListener, appendSelection, createControl, deselect, deselectAll, dispose, findObjectAt, findObjectAtExcluding, flush, getContents, getControl, getEditDomain, getEditPartFactory, getEditPartRegistry, getFocusEditPart, getKeyHandler, getRootEditPart, getSelectedEditParts, getVisualPartMap, registerAccessibleEditPart, select, setContents, setContents, setContextMenuProvider, setControl, setCursor, setEditDomain, setEditPartFactory, setFocus, setKeyHandler, setRootEditPart, setRouteEventsToEditor, unregisterAccessibleEditPart
 
Methods inherited from interface org.eclipse.jface.viewers.ISelectionProvider
addSelectionChangedListener, getSelection, removeSelectionChangedListener, setSelection
 

Method Detail

findHandleAt

public Handle findHandleAt(Point p)
Finds the view handle at the point specified by x,y. If there is not a handle at this position, null is returned.
Parameters:
p - Point the location on the View
Returns:
Handle The handle at the point or null if no handle is found

GEF v2.0