|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.ui.internal.ide.dialogs.ResourceTreeAndListGroup
com.ibm.etools.systems.core.ui.SystemFileTreeAndListGroup
This is a private-use subclass of the internal Eclipse ResourceTreeAndListGroup composite widget. This is for selecting multiple local or remote files. It contains a checkbox tree on the left for selecting the folder, and a checkbox list on the right for selecting the files.
We subclass this to add some slight additional functionality, including support for refreshing the contents.
Field Summary | |
---|---|
static String |
copyright
|
Constructor Summary | |
---|---|
SystemFileTreeAndListGroup(Composite parent,
ITreeContentProvider treeContentProvider,
ILabelProvider treeLabelProvider,
IStructuredContentProvider listContentProvider,
ILabelProvider listLabelProvider,
int style,
int width,
int height)
Constructor when there is no initial content |
|
SystemFileTreeAndListGroup(Composite parent,
Object rootObject,
ITreeContentProvider treeContentProvider,
ILabelProvider treeLabelProvider,
IStructuredContentProvider listContentProvider,
ILabelProvider listLabelProvider,
int style,
int width,
int height)
Constructor when there is initial content |
Method Summary | |
---|---|
void |
clearAll()
Clear the contents |
void |
refresh()
Refesh all the contents of the checkbox viewers |
void |
refreshFiles()
Refesh the contents of the file-selection checkbox viewer. |
void |
selectionChanged(SelectionChangedEvent event)
Handle the selection of an item in the tree viewer. |
void |
setRoot(Object newRoot)
Set the root of the widget to be new Root. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String copyright
Constructor Detail |
public SystemFileTreeAndListGroup(Composite parent, Object rootObject, ITreeContentProvider treeContentProvider, ILabelProvider treeLabelProvider, IStructuredContentProvider listContentProvider, ILabelProvider listLabelProvider, int style, int width, int height)
parent
- org.eclipse.swt.widgets.CompositerootObject
- java.lang.ObjecttreeContentProvider
- supplies the folders for the treetreeLabelProvider
- supplies the names and icons of the folders for the treelistContentProvider
- supplies the files for the treelistLabelProvider
- supplies the names and icons for the files for the liststyle
- intwidth
- intheight
- intpublic SystemFileTreeAndListGroup(Composite parent, ITreeContentProvider treeContentProvider, ILabelProvider treeLabelProvider, IStructuredContentProvider listContentProvider, ILabelProvider listLabelProvider, int style, int width, int height)
parent
- org.eclipse.swt.widgets.CompositetreeContentProvider
- supplies the folders for the treetreeLabelProvider
- supplies the names and icons of the folders for the treelistContentProvider
- supplies the files for the treelistLabelProvider
- supplies the names and icons for the files for the liststyle
- intwidth
- intheight
- intMethod Detail |
public void refresh()
public void refreshFiles()
public void selectionChanged(SelectionChangedEvent event)
public void setRoot(Object newRoot)
newRoot
- public void clearAll()
|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |