IDataPaletteViewDriver.IDataPaletteViewContext Interface

com.bea.ide.ui.palette
IDataPaletteViewDriver.IDataPaletteViewContext Interface

public static interface IDataPaletteViewDriver.IDataPaletteViewContext

Interface to provide access to the view context of the data palette. The view context enables palette drivers to interact with the palette view.

Enclosing interface

IDataPaletteViewDriver

Method Summary

public IActionContainer
getContainer(String path)
Returns the action container with the specified path.
public void
refresh()
Requests a refresh on the view.
public void
refresh(IActionContainer palette)
Requests a refresh on the view.

Method Detail

getContainer(String) Method

public IActionContainer getContainer(String path)
Returns the action container with the specified path.

Parameters

path
String path of the container desired, null for the root. Use backslash or forward slashes to delimit heirarchy.

Returns

the IActionContainer matching the requested path, may be null.

refresh() Method

public void refresh()
Requests a refresh on the view. Calling this method will result in the data palette view calling the driver's populate method.


refresh(IActionContainer) Method

public void refresh(IActionContainer palette)
Requests a refresh on the view. Calling this method will result in the data palette view rebuilding it's display using the specified container.

Parameters

palette
the action container to display.