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.widgets.services
Class ServiceElement

java.lang.Object
  extended by 
org.eclipse.rse.ui.widgets.services.ServiceElement
Direct Known Subclasses:
FactoryServiceElement, PropertySetServiceElement, RootServiceElement, RSEModelServiceElement, ServiceServiceElement

public abstract class ServiceElement
extends Object


Field Summary
protected  boolean _childChanged
          Indicates whether a child of this element has changed this is used to determine whether or not a commit is required
protected   IHost _host
           
protected  boolean _isSelected
           
protected   ServiceElement _parent
           
 
Constructor Summary
ServiceElement ( IHost host, ServiceElement parent)
           
 
Method Summary
 void childChanged ( ServiceElement element)
           
abstract  void commit ()
           
abstract   ServiceElement[] getChildren ()
           
abstract   String getDescription ()
           
  IHost getHost ()
           
  Image getImage ()
           
abstract   String getName ()
           
  ServiceElement getParent ()
           
abstract   PropertyElement[] getProperties ()
           
abstract  boolean hasChildren ()
           
abstract  boolean hasProperties ()
           
 boolean isSelected ()
           
abstract  void revert ()
           
 void setParent ( ServiceElement parent)
           
 void setSelected (boolean flag)
           
  String toString ()
           
 
Methods inherited from class java.lang. Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_host

protected 
IHost _host

_parent

protected 
ServiceElement _parent

_isSelected

protected boolean _isSelected

_childChanged

protected boolean _childChanged
Indicates whether a child of this element has changed this is used to determine whether or not a commit is required

Since:
3.1
Constructor Detail

ServiceElement

public ServiceElement(
IHost host,
                      
ServiceElement parent)
Method Detail

getImage

public 
Image getImage()

getHost

public 
IHost getHost()

childChanged

public void childChanged(
ServiceElement element)

setParent

public void setParent(
ServiceElement parent)

getParent

public 
ServiceElement getParent()

setSelected

public void setSelected(boolean flag)

isSelected

public boolean isSelected()

toString

public 
String toString()
Overrides:
toString in class Object

hasProperties

public abstract boolean hasProperties()

getProperties

public abstract 
PropertyElement[] getProperties()

getName

public abstract 
String getName()

getDescription

public abstract 
String getDescription()

hasChildren

public abstract boolean hasChildren()

getChildren

public abstract 
ServiceElement[] getChildren()

commit

public abstract void commit()

revert

public abstract void revert()

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