|
Eclipse Platform Release 3.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jface.databinding.viewers.ViewerSupport
public class ViewerSupport
Helper methods for binding observables to a StructuredViewer
or
AbstractTableViewer
.
Constructor Summary | |
---|---|
ViewerSupport()
|
Method Summary | |
---|---|
static void |
bind(AbstractTreeViewer viewer,
Object input,
IListProperty childrenProperty,
IValueProperty labelProperty)
Binds the viewer to the specified input, using the specified children property to generate child nodes, and the specified label property to generate labels. |
static void |
bind(AbstractTreeViewer viewer,
Object input,
IListProperty childrenProperty,
IValueProperty[] labelProperties)
Binds the viewer to the specified input, using the specified children property to generate child nodes, and the specified label properties to generate labels. |
static void |
bind(AbstractTreeViewer viewer,
Object input,
ISetProperty childrenProperty,
IValueProperty labelProperty)
Binds the viewer to the specified input, using the specified children property to generate child nodes, and the specified label property to generate labels. |
static void |
bind(AbstractTreeViewer viewer,
Object input,
ISetProperty childrenProperty,
IValueProperty[] labelProperties)
Binds the viewer to the specified input, using the specified children property to generate child nodes, and the specified label properties to generate labels. |
static void |
bind(StructuredViewer viewer,
IObservableList input,
IValueProperty labelProperty)
Binds the viewer to the specified input, using the specified label property to generate labels. |
static void |
bind(StructuredViewer viewer,
IObservableList input,
IValueProperty[] labelProperties)
Binds the viewer to the specified input, using the specified label properties to generate labels. |
static void |
bind(StructuredViewer viewer,
IObservableSet input,
IValueProperty labelProperty)
Binds the viewer to the specified input, using the specified label property to generate labels. |
static void |
bind(StructuredViewer viewer,
IObservableSet input,
IValueProperty[] labelProperties)
Binds the viewer to the specified input, using the specified label properties to generate labels. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ViewerSupport()
Method Detail |
---|
public static void bind(StructuredViewer viewer, IObservableList input, IValueProperty labelProperty)
viewer
- the viewer to set upinput
- the input to set on the viewerlabelProperty
- the property to use for labelspublic static void bind(StructuredViewer viewer, IObservableList input, IValueProperty[] labelProperties)
viewer
- the viewer to set upinput
- the input to set on the viewerlabelProperties
- the respective properties to use for labels in each of the
viewer's columnspublic static void bind(StructuredViewer viewer, IObservableSet input, IValueProperty labelProperty)
viewer
- the viewer to set upinput
- the input to set on the viewerlabelProperty
- the property to use for labelspublic static void bind(StructuredViewer viewer, IObservableSet input, IValueProperty[] labelProperties)
viewer
- the viewer to set upinput
- the input to set on the viewerlabelProperties
- the respective properties to use for labels in each of the
viewer's columnspublic static void bind(AbstractTreeViewer viewer, Object input, IListProperty childrenProperty, IValueProperty labelProperty)
viewer
- the tree viewer to set upinput
- the input to set on the viewerchildrenProperty
- the property to use as the children of an elementlabelProperty
- the property to use for labelspublic static void bind(AbstractTreeViewer viewer, Object input, IListProperty childrenProperty, IValueProperty[] labelProperties)
viewer
- the tree viewer to set upinput
- the input to set on the viewerchildrenProperty
- the property to use as the children of an elementlabelProperties
- the respective properties to use for labels in each of the
viewer's columnspublic static void bind(AbstractTreeViewer viewer, Object input, ISetProperty childrenProperty, IValueProperty labelProperty)
viewer
- the tree viewer to set upinput
- the input to set on the viewerchildrenProperty
- the property to use as the children of an elementlabelProperty
- the property to use for labelspublic static void bind(AbstractTreeViewer viewer, Object input, ISetProperty childrenProperty, IValueProperty[] labelProperties)
viewer
- the tree viewer to set upinput
- the input to set on the viewerchildrenProperty
- the property to use as the children of an elementlabelProperties
- the respective properties to use for labels in each of the
viewer's columns
|
Eclipse Platform Release 3.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2010. All rights reserved.