Interface EntryPage
-
- All Known Implementing Classes:
DefaultEntryPage
,DrawerEntryPage
public interface EntryPage
AnEntryPage
displays properties of aPaletteEntry
. Listeners can be added to a page
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
apply()
This method is called when changes made to properties need to be reflected in the model.void
createControl(Composite parent, PaletteEntry entry)
Creates the Control that displays the properties of the given entry.Control
getControl()
Returns the Panel (Control) that displays the properties of the entry.void
setPageContainer(EntryPageContainer pageContainer)
Sets the page container for this page.
-
-
-
Method Detail
-
setPageContainer
void setPageContainer(EntryPageContainer pageContainer)
Sets the page container for this page. This page will report its errors to the given page container.- Parameters:
pageContainer
- TheEntryPageContainer
to which this page can report errors
-
apply
void apply()
This method is called when changes made to properties need to be reflected in the model.
-
createControl
void createControl(Composite parent, PaletteEntry entry)
Creates the Control that displays the properties of the given entry. This method will only be called once. The parent Composite's Font is set to the Workbench Dialog Font. The page's Controls should use the Workbench Dialog Font where appropriate.- Parameters:
parent
- The Composite in which the Control has to be createdentry
- The entry whose properties have to be displayed
-
getControl
Control getControl()
Returns the Panel (Control) that displays the properties of the entry. This is the same Control that was created increateControl(Composite,PaletteEntry)
.- Returns:
- the Control that displays the properties of the entry
- See Also:
createControl(Composite, PaletteEntry)
-
-