Package org.eclipse.gef.editparts
Class AbstractGraphicalEditPart.DefaultAccessibleAnchorProvider
- java.lang.Object
-
- org.eclipse.gef.editparts.AbstractGraphicalEditPart.DefaultAccessibleAnchorProvider
-
- All Implemented Interfaces:
AccessibleAnchorProvider
- Enclosing class:
- AbstractGraphicalEditPart
protected class AbstractGraphicalEditPart.DefaultAccessibleAnchorProvider extends java.lang.Object implements AccessibleAnchorProvider
The default implementation ofAccessibleAnchorProviderreturned inAbstractGraphicalEditPart.getAdapter(Class). This implementation creates an accessible location located along the right edge of the EditPart's Figure.- Since:
- 2.0
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDefaultAccessibleAnchorProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.ListgetSourceAnchorLocations()Returns a list of Points in absolute coordinates where source anchors are located.java.util.ListgetTargetAnchorLocations()Returns a list of Points in absolute coordinates where target anchors are located.
-
-
-
Method Detail
-
getSourceAnchorLocations
public java.util.List getSourceAnchorLocations()
Description copied from interface:AccessibleAnchorProviderReturns a list of Points in absolute coordinates where source anchors are located. Tools that work with connections should use these locations when operating in accesible keyboard modes.- Specified by:
getSourceAnchorLocationsin interfaceAccessibleAnchorProvider- Returns:
- A list of absolute locations (Points relative to the Viewer's Control)
- See Also:
AccessibleAnchorProvider.getSourceAnchorLocations()
-
getTargetAnchorLocations
public java.util.List getTargetAnchorLocations()
Description copied from interface:AccessibleAnchorProviderReturns a list of Points in absolute coordinates where target anchors are located. Tools that work with connections should use these locations when operating in accesible keyboard modes.- Specified by:
getTargetAnchorLocationsin interfaceAccessibleAnchorProvider- Returns:
- A list of absolute locations (Points relative to the Viewer's Control)
- See Also:
AccessibleAnchorProvider.getTargetAnchorLocations()
-
-