|
Eclipse Platform Release 3.5 |
|||||||||
| 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,
org.eclipse.core.databinding.property.list.IListProperty childrenProperty,
org.eclipse.core.databinding.property.value.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,
org.eclipse.core.databinding.property.list.IListProperty childrenProperty,
org.eclipse.core.databinding.property.value.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,
org.eclipse.core.databinding.property.set.ISetProperty childrenProperty,
org.eclipse.core.databinding.property.value.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,
org.eclipse.core.databinding.property.set.ISetProperty childrenProperty,
org.eclipse.core.databinding.property.value.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,
org.eclipse.core.databinding.property.value.IValueProperty labelProperty)
Binds the viewer to the specified input, using the specified label property to generate labels. |
static void |
bind(StructuredViewer viewer,
IObservableList input,
org.eclipse.core.databinding.property.value.IValueProperty[] labelProperties)
Binds the viewer to the specified input, using the specified label properties to generate labels. |
static void |
bind(StructuredViewer viewer,
IObservableSet input,
org.eclipse.core.databinding.property.value.IValueProperty labelProperty)
Binds the viewer to the specified input, using the specified label property to generate labels. |
static void |
bind(StructuredViewer viewer,
IObservableSet input,
org.eclipse.core.databinding.property.value.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,
org.eclipse.core.databinding.property.value.IValueProperty labelProperty)
viewer - the viewer to set upinput - the input to set on the viewerlabelProperty - the property to use for labels
public static void bind(StructuredViewer viewer,
IObservableList input,
org.eclipse.core.databinding.property.value.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 columns
public static void bind(StructuredViewer viewer,
IObservableSet input,
org.eclipse.core.databinding.property.value.IValueProperty labelProperty)
viewer - the viewer to set upinput - the input to set on the viewerlabelProperty - the property to use for labels
public static void bind(StructuredViewer viewer,
IObservableSet input,
org.eclipse.core.databinding.property.value.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 columns
public static void bind(AbstractTreeViewer viewer,
Object input,
org.eclipse.core.databinding.property.list.IListProperty childrenProperty,
org.eclipse.core.databinding.property.value.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 labels
public static void bind(AbstractTreeViewer viewer,
Object input,
org.eclipse.core.databinding.property.list.IListProperty childrenProperty,
org.eclipse.core.databinding.property.value.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
public static void bind(AbstractTreeViewer viewer,
Object input,
org.eclipse.core.databinding.property.set.ISetProperty childrenProperty,
org.eclipse.core.databinding.property.value.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 labels
public static void bind(AbstractTreeViewer viewer,
Object input,
org.eclipse.core.databinding.property.set.ISetProperty childrenProperty,
org.eclipse.core.databinding.property.value.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.5 |
|||||||||
| 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, 2008. All rights reserved.