Search in sources :

Example 1 with InputTool

use of com.intellij.designer.designSurface.tools.InputTool in project intellij-community by JetBrains.

the class DecorationLayer method findTargetTool.

@Nullable
public InputTool findTargetTool(int x, int y) {
    List<RadComponent> selection = myArea.getSelection();
    for (RadComponent component : selection) {
        ComponentDecorator decorator = getDecorator(component, selection);
        InputTool tracker = decorator.findTargetTool(this, component, x, y);
        if (tracker != null) {
            return tracker;
        }
    }
    return null;
}
Also used : InputTool(com.intellij.designer.designSurface.tools.InputTool) RadComponent(com.intellij.designer.model.RadComponent) Nullable(org.jetbrains.annotations.Nullable)

Aggregations

InputTool (com.intellij.designer.designSurface.tools.InputTool)1 RadComponent (com.intellij.designer.model.RadComponent)1 Nullable (org.jetbrains.annotations.Nullable)1