Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

RSE
Release 3.0

org.eclipse.rse.ui.view
Class ContextObject

java.lang.Object
  extended by 
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.


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

ContextObject

public ContextObject(
Object modelObject,
                     
ISubSystem subSystem,
                     
ISystemFilterReference filterReference)

ContextObject

public ContextObject(
Object modelObject,
                     
ISubSystem subSystem)

ContextObject

public ContextObject(
Object modelObject)
Method Detail

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

RSE
Release 3.0

Copyright (c) IBM Corporation and others 2000, 2008. All Rights Reserved.

 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire