Search in sources :

Example 6 with LocationRequest

use of org.eclipse.gef.requests.LocationRequest in project archi by archimatetool.

the class SelectionTool method updateHoverRequest.

/**
 * Updates the location of the hover request.
 */
protected void updateHoverRequest() {
    LocationRequest request = (LocationRequest) getTargetHoverRequest();
    request.setLocation(getLocation());
}
Also used : LocationRequest(org.eclipse.gef.requests.LocationRequest)

Aggregations

LocationRequest (org.eclipse.gef.requests.LocationRequest)6 Point (org.eclipse.draw2d.geometry.Point)4 EditPart (org.eclipse.gef.EditPart)1 ActionRegistry (org.eclipse.gef.ui.actions.ActionRegistry)1 IAction (org.eclipse.jface.action.IAction)1 MouseAdapter (org.eclipse.swt.events.MouseAdapter)1 MouseEvent (org.eclipse.swt.events.MouseEvent)1 Tree (org.eclipse.swt.widgets.Tree)1 IEditorPart (org.eclipse.ui.IEditorPart)1 IWorkbench (org.eclipse.ui.IWorkbench)1 IWorkbenchWindow (org.eclipse.ui.IWorkbenchWindow)1 XSDSchemaDirectiveAdapter (org.eclipse.wst.xsd.ui.internal.adapters.XSDSchemaDirectiveAdapter)1 XSDSimpleTypeDefinitionAdapter (org.eclipse.wst.xsd.ui.internal.adapters.XSDSimpleTypeDefinitionAdapter)1 TypeReferenceDirectEditManager (org.eclipse.wst.xsd.ui.internal.adt.design.directedit.TypeReferenceDirectEditManager)1 IGraphElement (org.eclipse.wst.xsd.ui.internal.adt.design.editparts.model.IGraphElement)1 IFieldFigure (org.eclipse.wst.xsd.ui.internal.adt.design.figures.IFieldFigure)1 IADTObject (org.eclipse.wst.xsd.ui.internal.adt.facade.IADTObject)1 XSDSchemaDirective (org.eclipse.xsd.XSDSchemaDirective)1 XSDSimpleTypeDefinition (org.eclipse.xsd.XSDSimpleTypeDefinition)1 XSDImportImpl (org.eclipse.xsd.impl.XSDImportImpl)1