net.officefloor.eclipse.tool.demo
Class MoveActiveShellMacro
java.lang.Object
net.officefloor.eclipse.tool.demo.MoveActiveShellMacro
- All Implemented Interfaces:
- Macro, MacroSource
public class MoveActiveShellMacro
- extends Object
- implements MacroSource, Macro
MacroSource to source a Macro to move the active window (
Shell).
- Author:
- Daniel Sagenschneider
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TITLE_BAR_HEIGHT
public static final int TITLE_BAR_HEIGHT
- Height of the title bar.
- See Also:
- Constant Field Values
MENU_BAR_HEIGHT
public static final int MENU_BAR_HEIGHT
- Height of the menu bar.
- See Also:
- Constant Field Values
MOUSE_OFFSET_WIDTH
public static final int MOUSE_OFFSET_WIDTH
- Offset into width for mouse to move the
Shell.
- See Also:
- Constant Field Values
MoveActiveShellMacro
public MoveActiveShellMacro()
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayName in interface MacroSource
sourceMacro
public void sourceMacro(MacroSourceContext context)
- Specified by:
sourceMacro in interface MacroSource
getDisplayLabel
public String getDisplayLabel()
- Specified by:
getDisplayLabel in interface Macro
getStartingMouseLocation
public Point getStartingMouseLocation()
- Specified by:
getStartingMouseLocation in interface Macro
setConfigurationMemento
public void setConfigurationMemento(String memento)
- Specified by:
setConfigurationMemento in interface Macro
getConfigurationMemento
public String getConfigurationMemento()
- Specified by:
getConfigurationMemento in interface Macro
getMacroTasks
public MacroTask[] getMacroTasks()
- Specified by:
getMacroTasks in interface Macro
Copyright © 2005-2012. All Rights Reserved.