org.eclipse.rse.ui.view
Class ContextObject
java.lang.Object
org.eclipse.rse.ui.view.ContextObject
-
All Implemented Interfaces:
-
IContextObject
-
public class ContextObject
- extends
Object
- implements
IContextObject
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.
Methods inherited from class java.lang.
Object
|
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait
|
ContextObject
public ContextObject(
Object modelObject,
ISubSystem subSystem,
ISystemFilterReference filterReference)
ContextObject
public ContextObject(
Object modelObject,
ISubSystem subSystem)
ContextObject
public ContextObject(
Object modelObject)
getFilterReference
public
ISystemFilterReference getFilterReference()
-
Description copied from interface:
IContextObject
- Gets the associated filter reference for the corresponding model object
-
-
Specified by:
-
getFilterReference
in interface
IContextObject
-
-
Returns:
- the associated filter reference
getSubSystem
public
ISubSystem getSubSystem()
-
Description copied from interface:
IContextObject
- Gets the associated subsystem for the corresponding model object
-
-
Specified by:
-
getSubSystem
in interface
IContextObject
-
-
Returns:
- the associated subsystem
getModelObject
public
IAdaptable getModelObject()
-
Description copied from interface:
IContextObject
- Gets the model object for which this context applies
-
-
Specified by:
-
getModelObject
in interface
IContextObject
-
-
Returns:
- the model object
Copyright (c) IBM Corporation and others 2000, 2008. All Rights Reserved.