|
RSE Release 3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.rse.ui.view.ContextObject
public class ContextObject
This class is used by tree views to pass context information from the views to the view providers and model adapters for queries. The context information consists of a model object and it may optionally contain the associated filter reference a subsystem. Context objects are created transiently and are only used to aid in providing filter information during a query.
Constructor Summary | |
---|---|
ContextObject(Object modelObject)
|
|
ContextObject(Object modelObject,
ISubSystem subSystem)
|
|
ContextObject(Object modelObject,
ISubSystem subSystem,
ISystemFilterReference filterReference)
|
Method Summary | |
---|---|
ISystemFilterReference |
getFilterReference()
Gets the associated filter reference for the corresponding model object |
IAdaptable |
getModelObject()
Gets the model object for which this context applies |
ISubSystem |
getSubSystem()
Gets the associated subsystem for the corresponding model object |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ContextObject(Object modelObject, ISubSystem subSystem, ISystemFilterReference filterReference)
public ContextObject(Object modelObject, ISubSystem subSystem)
public ContextObject(Object modelObject)
Method Detail |
---|
public ISystemFilterReference getFilterReference()
IContextObject
getFilterReference
in interface IContextObject
public ISubSystem getSubSystem()
IContextObject
getSubSystem
in interface IContextObject
public IAdaptable getModelObject()
IContextObject
getModelObject
in interface IContextObject
|
RSE Release 3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |