| org.eclipse.pde.internal.ui.editor.TreeSection org.eclipse.pde.internal.ui.editor.toc.TocTreeSection
TocTreeSection | public class TocTreeSection extends TreeSection (Code) | | TocTreeSection - The section that displays the TOC
tree structure and any buttons used to manipulate it.
This is the main section that the user will interact
with the TOC through.
|
TocTreeSection | public TocTreeSection(PDEFormPage formPage, Composite parent)(Code) | | Constructs a new TOC tree section.
Parameters: formPage - The page that will hold this new tree section Parameters: parent - The parent composite in the page that will contain the section widgets |
buttonSelected | protected void buttonSelected(int index)(Code) | | |
createClient | protected void createClient(Section section, FormToolkit toolkit)(Code) | | |
createTreeViewer | protected TreeViewer createTreeViewer(Composite parent, int style)(Code) | | |
dispose | public void dispose()(Code) | | |
doGlobalAction | public boolean doGlobalAction(String actionId)(Code) | | |
fillContextMenu | protected void fillContextMenu(IMenuManager manager)(Code) | | |
fireSelection | public void fireSelection()(Code) | | Fire a selection change event and refresh the viewer's selection
|
getSelection | public ISelection getSelection()(Code) | | the selection of the tree section |
handleDoubleClick | protected void handleDoubleClick(IStructuredSelection selection)(Code) | | |
handleDrag | public void handleDrag(List itemsDragged)(Code) | | Handle the dragging of objects out of this TOC.
Parameters: itemsDragged - The items dragged out of the TOC |
handleRemove | public void handleRemove(List itemsToRemove)(Code) | | Remove the items listed from the TOC.
Parameters: itemsToRemove - The list of items to remove from the TOC |
openFile | public IFile openFile(String path, boolean isTOCFile)(Code) | | |
performDrop | public boolean performDrop(Object currentTarget, Object dropped, int location)(Code) | | Perform a drop of the specified objects on the target in the widget
Parameters: currentTarget - The object that the drop will occur near/on Parameters: dropped - The dropped objects Parameters: location - The location of the drop relative to the target true iff the drop was successful |
refresh | public void refresh()(Code) | | |
selectionChanged | protected void selectionChanged(IStructuredSelection selection)(Code) | | |
setFormInput | public boolean setFormInput(Object object)(Code) | | |
setSelection | public void setSelection(ISelection selection)(Code) | | Parameters: selection - the new selection for the tree section |
updateButtons | public void updateButtons()(Code) | | Update the buttons in the section based on the current selection
|
Fields inherited from org.eclipse.pde.internal.ui.editor.TreeSection | protected boolean fHandleDefaultButton(Code)(Java Doc)
|
|
|