Class PerspectiveSwitcher
java.lang.Object
org.eclipse.e4.ui.workbench.addons.perspectiveswitcher.PerspectiveSwitcher
Class to handle perspective switching in the UI.
-
Field Summary
Modifier and TypeFieldDescriptionprotected Point
protected boolean
protected ToolItem
protected Shell
protected IEventBroker
The eventIEventBroker
.static final String
The ID of the perspective switcher -
Constructor Summary
-
Method Summary
-
Field Details
-
PERSPECTIVE_SWITCHER_ID
The ID of the perspective switcher- See Also:
-
eventBroker
The eventIEventBroker
. -
downPos
-
dragItem
-
dragging
protected boolean dragging -
dragShell
-
-
Constructor Details
-
PerspectiveSwitcher
public PerspectiveSwitcher()
-
-
Method Details
-
getItemFor
- Parameters:
persp
- the perspective- Returns:
- the tool item
-