|
Eclipse Platform Release 3.7 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.ui.databinding.WorkbenchProperties
public class WorkbenchProperties
Factory methods for creating properties for the Workbench.
Examples:
WorkbenchProperties.singleSelection().observe(
getSite().getService(ISelectionService.class))
| Constructor Summary | |
|---|---|
WorkbenchProperties()
|
|
| Method Summary | |
|---|---|
static IValueProperty |
adaptedValue(Class adapter)
Returns a value property which observes the source object as the adapted type, using the platform adapter manager. |
static IListProperty |
multipleSelection()
Returns a property for observing the elements of a structured selection as exposed by ISelectionService. |
static IListProperty |
multipleSelection(String partId,
boolean postSelection)
Returns a property for observing the elements of a structured selection as exposed by ISelectionService. |
static IValueProperty |
singleSelection()
Returns a property for observing the first element of a structured selection as exposed by ISelectionService. |
static IValueProperty |
singleSelection(String partId,
boolean postSelection)
Returns a property for observing the first element of a structured selection as exposed by ISelectionService. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WorkbenchProperties()
| Method Detail |
|---|
public static IValueProperty adaptedValue(Class adapter)
null.
adapter - the adapter class
public static IValueProperty singleSelection()
ISelectionService.
public static IValueProperty singleSelection(String partId,
boolean postSelection)
ISelectionService.
partId - the part id, or null if the selection can be from
any partpostSelection - true if the selection should be delayed for
keyboard-triggered selections
public static IListProperty multipleSelection()
ISelectionService.
public static IListProperty multipleSelection(String partId,
boolean postSelection)
ISelectionService.
partId - the part id, or null if the selection can be from
any partpostSelection - true if the selection should be delayed for
keyboard-triggered selections
|
Eclipse Platform Release 3.7 |
|||||||||
| 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, 2011. All rights reserved.