|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.ui.part.WorkbenchPart
org.eclipse.ui.part.ViewPart
org.eclipse.contribution.visualiser.views.Menu
The Menu part of the Visualiser. Displays Markup kinds, colour selection buttons and checkboxes.
Field Summary |
Fields inherited from interface org.eclipse.ui.IWorkbenchPart |
PROP_TITLE |
Constructor Summary | |
Menu()
The constructor. |
Method Summary | |
void |
createPartControl(org.eclipse.swt.widgets.Composite parent)
This is a callback that allows us to create the composite and initialize it. |
void |
dispose()
Dispose of the menu when closed. |
void |
ensureUptodate()
The main method - adds aspect names to the menu. |
boolean |
getActive(IMarkupKind kind)
Get the active state of a kind (IE is the checkbox checked). |
boolean |
getActive(java.lang.String kindName)
Get the active state of a kind by name(IE is the checkbox checked). |
protected void |
onlyShow(java.util.List names)
Select the checkboxes whose names are in the given List then update the visualiser |
void |
reset()
Reset the up-to-date state of this view |
void |
setFocus()
Passing the focus request to the viewer's control. |
void |
setVisMarkupProvider(IMarkupProvider vmp)
Set the current IMarkupProvider |
Methods inherited from class org.eclipse.ui.part.ViewPart |
getViewSite, init, init, saveState, setContentDescription, setInitializationData, setPartName |
Methods inherited from class org.eclipse.ui.part.WorkbenchPart |
addPropertyListener, firePropertyChange, getAdapter, getConfigurationElement, getContentDescription, getDefaultImage, getPartName, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener, setSite, setTitle, setTitleImage, setTitleToolTip, showBusy |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.ui.IWorkbenchPart |
addPropertyListener, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener |
Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
getAdapter |
Constructor Detail |
public Menu()
Method Detail |
public void setVisMarkupProvider(IMarkupProvider vmp)
vmp
- public void createPartControl(org.eclipse.swt.widgets.Composite parent)
protected void onlyShow(java.util.List names)
public boolean getActive(IMarkupKind kind)
kind
- - the kind
public boolean getActive(java.lang.String kindName)
kindName
- - the kind name
public void reset()
public void ensureUptodate()
public void setFocus()
public void dispose()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |