RSE
Release 3.3

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.3

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