| org.eclipse.pde.internal.ui.editor.PDESection org.eclipse.pde.internal.ui.editor.StructuredViewerSection
All known Subclasses: org.eclipse.pde.internal.ui.editor.TableSection, org.eclipse.pde.internal.ui.editor.TreeSection,
Method Summary | |
protected void | buttonSelected(int index) | public boolean | canDragCopy(Object[] sourceObjects) | public boolean | canDragLink(Object[] sourceObjects) | public boolean | canDragMove(Object[] sourceObjects) | public boolean | canDropCopy(Object targetObject, Object[] sourceObjects, int targetLocation) | public boolean | canDropLink(Object targetObject, Object[] sourceObjects, int targetLocation) | public boolean | canDropMove(Object targetObject, Object[] sourceObjects, int targetLocation) | public boolean | canPaste(Clipboard clipboard) | protected boolean | canPaste(Object targetObject, Object[] sourceObjects) | protected boolean | canSelect() | protected Composite | createClientContainer(Composite parent, int span, FormToolkit toolkit) | abstract protected StructuredViewerPart | createViewerPart(String[] buttonLabels) | protected void | createViewerPartControl(Composite parent, int style, int span, FormToolkit toolkit) | public void | doDragRemove(Object[] sourceObjects) | public void | doDropCopy(Object targetObject, Object[] sourceObjects, int targetLocation) | public void | doDropLink(Object targetObject, Object[] sourceObjects, int targetLocation) | public void | doDropMove(Object targetObject, Object[] sourceObjects, int targetLocation) | protected void | doPaste() | protected void | doPaste(Object targetObject, Object[] sourceObjects) | protected void | doSelect(boolean select) | protected void | fillContextMenu(IMenuManager manager) | protected int | getArrayIndex(Object[] array, Object object) | protected Object[] | getDragSourceObjects() | protected Transfer[] | getDragTransfers() | protected Transfer[] | getDropTransfers() | protected int | getNewSelectionIndex(int thisIndex, int length) | public StructuredViewerPart | getStructuredViewerPart() | public int | getSupportedDNDOperations() | protected ISelection | getViewerSelection() | protected void | initializeDragAndDrop() | protected boolean | isDragAndDropEnabled() | public void | setFocus() |
StructuredViewerSection | public StructuredViewerSection(PDEFormPage formPage, Composite parent, int style, String[] buttonLabels)(Code) | | Constructor for StructuredViewerSection.
Parameters: formPage - |
StructuredViewerSection | public StructuredViewerSection(PDEFormPage formPage, Composite parent, int style, boolean titleBar, String[] buttonLabels)(Code) | | Constructor for StructuredViewerSection.
Parameters: formPage - |
buttonSelected | protected void buttonSelected(int index)(Code) | | |
canDragCopy | public boolean canDragCopy(Object[] sourceObjects)(Code) | | |
canDragLink | public boolean canDragLink(Object[] sourceObjects)(Code) | | |
canDragMove | public boolean canDragMove(Object[] sourceObjects)(Code) | | |
canDropCopy | public boolean canDropCopy(Object targetObject, Object[] sourceObjects, int targetLocation)(Code) | | |
canDropLink | public boolean canDropLink(Object targetObject, Object[] sourceObjects, int targetLocation)(Code) | | |
canDropMove | public boolean canDropMove(Object targetObject, Object[] sourceObjects, int targetLocation)(Code) | | |
canPaste | public boolean canPaste(Clipboard clipboard)(Code) | | |
canPaste | protected boolean canPaste(Object targetObject, Object[] sourceObjects)(Code) | | Parameters: targetObject - Parameters: sourceObjects - |
canSelect | protected boolean canSelect()(Code) | | |
createClientContainer | protected Composite createClientContainer(Composite parent, int span, FormToolkit toolkit)(Code) | | |
createViewerPartControl | protected void createViewerPartControl(Composite parent, int style, int span, FormToolkit toolkit)(Code) | | |
doDragRemove | public void doDragRemove(Object[] sourceObjects)(Code) | | |
doDropCopy | public void doDropCopy(Object targetObject, Object[] sourceObjects, int targetLocation)(Code) | | |
doDropLink | public void doDropLink(Object targetObject, Object[] sourceObjects, int targetLocation)(Code) | | |
doDropMove | public void doDropMove(Object targetObject, Object[] sourceObjects, int targetLocation)(Code) | | |
doPaste | protected void doPaste()(Code) | | |
doPaste | protected void doPaste(Object targetObject, Object[] sourceObjects)(Code) | | Parameters: targetObject - Parameters: sourceObjects - |
doSelect | protected void doSelect(boolean select)(Code) | | Parameters: select - |
fillContextMenu | protected void fillContextMenu(IMenuManager manager)(Code) | | |
getDragSourceObjects | protected Object[] getDragSourceObjects()(Code) | | The original source objects (dragged) |
getDragTransfers | protected Transfer[] getDragTransfers()(Code) | | |
getDropTransfers | protected Transfer[] getDropTransfers()(Code) | | |
getNewSelectionIndex | protected int getNewSelectionIndex(int thisIndex, int length)(Code) | | Given the index of TreeViewer item and the size of the array of its immediate
siblings, gets the index of the desired new selection as follows:
- if this is the only item, return -1 (meaning select the parent)
- if this is the last item, return the index of the predecessor
- otherwise, return the index of the successor
Parameters: thisIndex - the item's index Parameters: length - the array lengthnew selection index or -1 for parent
|
getSupportedDNDOperations | public int getSupportedDNDOperations()(Code) | | |
getViewerSelection | protected ISelection getViewerSelection()(Code) | | |
initializeDragAndDrop | protected void initializeDragAndDrop()(Code) | | |
isDragAndDropEnabled | protected boolean isDragAndDropEnabled()(Code) | | |
setFocus | public void setFocus()(Code) | | |
|
|