Eclipse GEF
2.1

org.eclipse.gef
Interface GraphicalViewer

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

public interface GraphicalViewer
extends EditPartViewer

Specializes EditPartViewer adding the ability to hit-test Handles.

See Also:
GraphicalViewerImpl

Nested Class Summary
 
Nested classes inherited from class org.eclipse.gef.EditPartViewer
EditPartViewer.Conditional
 
Method Summary
 Handle findHandleAt(Point p)
          Returns the Handle at the specified Point.
 
Methods inherited from interface org.eclipse.gef.EditPartViewer
addDragSourceListener, addDropTargetListener, appendSelection, createControl, deselect, deselectAll, findObjectAt, findObjectAtExcluding, findObjectAtExcluding, flush, getContents, getContextMenu, getControl, getEditDomain, getEditPartFactory, getEditPartRegistry, getFocusEditPart, getKeyHandler, getRootEditPart, getSelectedEditParts, getVisualPartMap, registerAccessibleEditPart, removeDragSourceListener, removeDropTargetListener, reveal, select, setContents, setContents, setContextMenu, setControl, setCursor, setEditDomain, setEditPartFactory, setFocus, setKeyHandler, setRootEditPart, setRouteEventsToEditDomain, unregisterAccessibleEditPart
 
Methods inherited from interface org.eclipse.jface.viewers.ISelectionProvider
addSelectionChangedListener, getSelection, removeSelectionChangedListener, setSelection
 

Method Detail

findHandleAt

public Handle findHandleAt(Point p)
Returns the Handle at the specified Point. Returns null if no handle exists at the given Point. The specified point should be relative to the client area for this Viewer's Control.

Parameters:
p - the location relative to the Control's client area
Returns:
Handle null or a Handle

Eclipse GEF
2.1

Copyright (c) IBM Corp. and others 2000, 2003. All Rights Reserved.