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
Answertopia.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.core.subsystems
Class AbstractResource


java.lang.Object
  extended by 
org.eclipse.rse.core.subsystems.AbstractResource
All Implemented Interfaces:
IAdaptable
Direct Known Subclasses:
TerminalElement

public abstract class AbstractResource
extends Object
implements IAdaptable

This class can be used as the base class for model objects that represent remote resources returned from the subsystem via resolveFilterStrings. Its advantages are:

  • It already implements IAdaptable.
  • It already maintains the reference to the owning subsystem, which simplifies action processing.


Constructor Summary
AbstractResource ()
          Constructor.
AbstractResource ( ISubSystem parentSubSystem)
          Default constructor
 
Method Summary
  Object getAdapter ( Class adapter)
           
  ISubSystem getSubSystem ()
          Returns the parent SubSystem which produced this remote resource.
 void setSubSystem ( ISubSystem parentSubSystem)
          Resets the parent SubSystem.
 
Methods inherited from class java.lang. Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractResource

public AbstractResource(
ISubSystem parentSubSystem)
Default constructor


AbstractResource

public AbstractResource()
Constructor.

See Also:
setSubSystem(ISubSystem)
Method Detail

getAdapter

public 
Object getAdapter(
Class adapter)
Specified by:
getAdapter in interface IAdaptable
See Also:
IAdaptable.getAdapter(Class)

getSubSystem

public 
ISubSystem getSubSystem()
Returns the parent SubSystem which produced this remote resource.

Returns:
SubSystem

setSubSystem

public void setSubSystem(
ISubSystem parentSubSystem)
Resets the parent SubSystem.

Parameters:
parentSubSystem - The parentSubSystem to set

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