|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.birt.core.ui.frameworks.taskwizard.SimpleTask
org.eclipse.birt.core.ui.frameworks.taskwizard.CompoundTask
org.eclipse.birt.core.ui.frameworks.taskwizard.TreeCompoundTask
public class TreeCompoundTask
Compound task realized for tree navigator.
Field Summary | |
---|---|
protected Composite |
cmpSubtaskContainer
|
protected static java.lang.String |
INDEX_SEPARATOR
|
protected NavTree |
navTree
|
Fields inherited from class org.eclipse.birt.core.ui.frameworks.taskwizard.CompoundTask |
---|
sCurrentTaskSheet |
Fields inherited from class org.eclipse.birt.core.ui.frameworks.taskwizard.SimpleTask |
---|
container, context, topControl |
Constructor Summary | |
---|---|
TreeCompoundTask(java.lang.String sLabel,
boolean needHistory)
Constructor |
Method Summary | |
---|---|
protected boolean |
containSubtask(java.lang.String sSubtaskPath)
|
protected Composite |
createContainer(Composite parent)
Creates the UI in the right of tree navigator |
void |
createControl(Composite parent)
|
protected void |
createSubtaskArea(Composite parent,
ISubtaskSheet subtask)
|
protected Composite |
createTitleArea(Composite parent)
Creates the compound task's title area. |
void |
dispose()
|
protected TreeItem |
getDefaultSelection()
|
NavTree |
getNavigatorTree()
|
protected java.lang.String |
getPopupSelection()
|
protected ISubtaskSheet |
getSubtask(java.lang.String sSubtaskPath)
|
protected java.lang.String |
getSubtaskSelection()
|
protected java.lang.String |
getTitleAreaString()
|
protected void |
populateSubtasks()
|
void |
setPopupSelection(java.lang.String popupName)
Stores the last popup selection to open in the next time. |
protected void |
setSubtaskSelection(java.lang.String subtaskPath)
|
void |
switchTo(java.lang.String sSubtaskPath)
|
protected void |
switchTo(java.lang.String sSubtaskPath,
boolean needSelection)
|
protected void |
switchToDefaultItem()
|
void |
switchToTreeItem(TreeItem treeItem)
Switches to the specified subtask and sets the selection |
void |
updateTree()
Updates left tree which contains all page nodes. |
protected void |
updateTreeItem()
|
Methods inherited from class org.eclipse.birt.core.ui.frameworks.taskwizard.CompoundTask |
---|
addSubtask, getCurrentSubtask, removeSubtask |
Methods inherited from class org.eclipse.birt.core.ui.frameworks.taskwizard.SimpleTask |
---|
addError, getContext, getControl, getDescription, getErrorMessage, getErrors, getImage, getMessage, getTitle, performHelp, removeError, setContext, setDescription, setErrorHints, setImageDescriptor, setTitle, setUIProvider, setVisible |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Composite cmpSubtaskContainer
protected NavTree navTree
protected static final java.lang.String INDEX_SEPARATOR
Constructor Detail |
---|
public TreeCompoundTask(java.lang.String sLabel, boolean needHistory)
sLabel
- Title of this taskneedHistory
- Indicates whether history and navigation bar are neededMethod Detail |
---|
public void createControl(Composite parent)
createControl
in class SimpleTask
protected void switchToDefaultItem()
protected TreeItem getDefaultSelection()
protected Composite createContainer(Composite parent)
parent
- parent composite
protected Composite createTitleArea(Composite parent)
parent
- the SWT parent for the title area composite.
protected java.lang.String getTitleAreaString()
protected void populateSubtasks()
protected void updateTreeItem()
public void updateTree()
protected ISubtaskSheet getSubtask(java.lang.String sSubtaskPath)
getSubtask
in class CompoundTask
protected boolean containSubtask(java.lang.String sSubtaskPath)
containSubtask
in class CompoundTask
protected void switchTo(java.lang.String sSubtaskPath, boolean needSelection)
public void switchTo(java.lang.String sSubtaskPath)
switchTo
in class CompoundTask
public void switchToTreeItem(TreeItem treeItem)
treeItem
- Tree item corresponded to the subtaskprotected void createSubtaskArea(Composite parent, ISubtaskSheet subtask)
public NavTree getNavigatorTree()
public void setPopupSelection(java.lang.String popupName)
popupName
- popup key registered in the subtask.protected java.lang.String getPopupSelection()
protected void setSubtaskSelection(java.lang.String subtaskPath)
protected java.lang.String getSubtaskSelection()
public void dispose()
dispose
in class CompoundTask
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |