|
Eclipse GEF 2.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.eclipse.gef.ui.palette.customize.DefaultEntryPage | +--org.eclipse.gef.ui.palette.customize.DrawerEntryPage
The default entry page for drawers.
Constructor Summary | |
DrawerEntryPage()
|
Method Summary | |
void |
createControl(Composite parent,
PaletteEntry entry)
Creates the Control that displays the properties of the given entry. |
protected Button |
createOpenDrawerInitiallyOption(Composite panel)
Creates the button that provides the option to pin a drawer open at start-up. |
protected Button |
createPinDrawerInitiallyOption(Composite panel)
Creates the button that provides the option to have a drawer open at start-up. |
protected PaletteDrawer |
getDrawer()
Convenience method that provides access to the PaletteDrawer. |
protected void |
handleOpenSelected(boolean selection)
This method is invoked when the selection state of the option to open drawer at start-up is toggled. |
protected void |
handlePinSelected(boolean selection)
This method is invoked when the selection state of the option to pin a drawer open at start-up is toggled. |
Methods inherited from class org.eclipse.gef.ui.palette.customize.DefaultEntryPage |
apply, createDescText, createHiddenCheckBox, createLabel, createNameText, createText, getControl, getEntry, getMessage, getPageContainer, getPermission, handleDescriptionChanged, handleHiddenSelected, handleNameChanged, setPageContainer |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DrawerEntryPage()
Method Detail |
public void createControl(Composite parent, PaletteEntry entry)
EntryPage
createControl
in interface EntryPage
createControl
in class DefaultEntryPage
EntryPage.createControl(Composite,
PaletteEntry)
protected Button createOpenDrawerInitiallyOption(Composite panel)
panel
- The parent Composite
protected Button createPinDrawerInitiallyOption(Composite panel)
panel
- The parent Composite
protected PaletteDrawer getDrawer()
protected void handleOpenSelected(boolean selection)
It sets the initial state of the drawer accordingly.
selection
- true
if that option is now selectedprotected void handlePinSelected(boolean selection)
It sets the initial state of the drawer accordingly.
selection
- true
if that option is now selected
|
Eclipse GEF 2.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |