public abstract class ViatraViewersPartSupport
extends java.lang.Object
WorkbenchPart
s wishing to use
VIATRA Viewers.
Supports:
- "forward reveal" mode, i.e. listen to global selection changes and attempt to show the corresponding
contents inside the owner (through the callback "filteredSelectionChanged")Modifier and Type | Field and Description |
---|---|
ViewersComponentConfiguration |
configuration
The configuration DTO.
|
protected org.eclipse.ui.IWorkbenchPart |
owner
The "owner" of this support instance.
|
Constructor and Description |
---|
ViatraViewersPartSupport(org.eclipse.ui.IWorkbenchPart _owner,
ViewersComponentConfiguration _config)
Constructs a new support instance.
|
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Dispose the support instance.
|
protected void |
init()
Initialize the support instance.
|
protected abstract void |
onSelectionChanged(java.util.List<java.lang.Object> object) |
protected org.eclipse.ui.IWorkbenchPart owner
public ViewersComponentConfiguration configuration
public ViatraViewersPartSupport(org.eclipse.ui.IWorkbenchPart _owner, ViewersComponentConfiguration _config)
protected void init()
public void dispose()
IWorkbenchPart
it starting to dispose itself.protected abstract void onSelectionChanged(java.util.List<java.lang.Object> object)