net.officefloor.eclipse.common.editor
Class CommonFlyoutPreferences

java.lang.Object
  extended by net.officefloor.eclipse.common.editor.CommonFlyoutPreferences
All Implemented Interfaces:
org.eclipse.gef.ui.palette.FlyoutPaletteComposite.FlyoutPreferences

public class CommonFlyoutPreferences
extends Object
implements org.eclipse.gef.ui.palette.FlyoutPaletteComposite.FlyoutPreferences

Implementation of FlyoutPaletteComposite.FlyoutPreferences for common use.

Author:
Daniel Sagenschneider

Field Summary
protected  int dockLocation
          Docking location of palette.
protected  int paletteState
          State of the palette.
protected  int paletteWidth
          Palette width initially set by default.
 
Constructor Summary
CommonFlyoutPreferences()
           
 
Method Summary
 int getDockLocation()
           
 int getPaletteState()
           
 int getPaletteWidth()
           
 void setDockLocation(int location)
           
 void setPaletteState(int state)
           
 void setPaletteWidth(int width)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dockLocation

protected int dockLocation
Docking location of palette.


paletteState

protected int paletteState
State of the palette.


paletteWidth

protected int paletteWidth
Palette width initially set by default.

Constructor Detail

CommonFlyoutPreferences

public CommonFlyoutPreferences()
Method Detail

getDockLocation

public int getDockLocation()
Specified by:
getDockLocation in interface org.eclipse.gef.ui.palette.FlyoutPaletteComposite.FlyoutPreferences

getPaletteState

public int getPaletteState()
Specified by:
getPaletteState in interface org.eclipse.gef.ui.palette.FlyoutPaletteComposite.FlyoutPreferences

getPaletteWidth

public int getPaletteWidth()
Specified by:
getPaletteWidth in interface org.eclipse.gef.ui.palette.FlyoutPaletteComposite.FlyoutPreferences

setDockLocation

public void setDockLocation(int location)
Specified by:
setDockLocation in interface org.eclipse.gef.ui.palette.FlyoutPaletteComposite.FlyoutPreferences

setPaletteState

public void setPaletteState(int state)
Specified by:
setPaletteState in interface org.eclipse.gef.ui.palette.FlyoutPaletteComposite.FlyoutPreferences

setPaletteWidth

public void setPaletteWidth(int width)
Specified by:
setPaletteWidth in interface org.eclipse.gef.ui.palette.FlyoutPaletteComposite.FlyoutPreferences


Copyright © 2005-2013. All Rights Reserved.