getSingleSelection(ISelection selection) Returns the single selected object contained in the passed
selectionEvent, or null if the selectionEvent contains
either 0 or 2+ selected objects.
storeExpandedCategories() Stores the collection of currently-expanded categories in this page's
dialog store, in order to recreate this page's state in the next instance
of this page.
protected void
storeSelectedCheatSheet() Stores the currently-selected category and cheatsheet in this page's
dialog store, in order to recreate this page's state in the next instance
of this page.
Expands the cheatsheet categories in this page's category viewer that
were expanded last time this page was used. If a category that was
previously expanded no longer exists then it is ignored.
Selects the cheatsheet category and cheatsheet in this page that were
selected last time this page was used. If a category or cheatsheet that
was previously selected no longer exists then it is ignored.
selectionChanged
public void selectionChanged(SelectionChangedEvent selectionEvent)(Code)
The user selected either new cheatsheet category(s) or cheatsheet
element(s). Proceed accordingly.
Parameters: newSelection - ISelection
setDialogSettings
public void setDialogSettings(IDialogSettings settings)(Code)
Set the dialog store to use for widget value storage and retrieval
Parameters: settings - IDialogSettings
Stores the collection of currently-expanded categories in this page's
dialog store, in order to recreate this page's state in the next instance
of this page.
Stores the currently-selected category and cheatsheet in this page's
dialog store, in order to recreate this page's state in the next instance
of this page.