RSE
Release 3.4

org.eclipse.rse.ui.widgets.services
Class RSEModelServiceElement

java.lang.Object
  extended by org.eclipse.rse.ui.widgets.services.ServiceElement
      extended by org.eclipse.rse.ui.widgets.services.RSEModelServiceElement
Direct Known Subclasses:
ConnectorServiceElement, ServerLauncherPropertiesServiceElement

public abstract class RSEModelServiceElement
extends ServiceElement


Field Summary
protected  ServiceElement[] _allChildren
           
protected  IRSEModelObject _modelObject
           
protected  PropertySetServiceElement[] _propertySetElements
           
protected  IPropertySet[] _propertySets
           
 
Fields inherited from class org.eclipse.rse.ui.widgets.services.ServiceElement
_childChanged, _host, _isSelected, _parent
 
Constructor Summary
RSEModelServiceElement(IHost host, ServiceElement parent, IRSEModelObject modelObject)
           
 
Method Summary
 void commit()
           
 ServiceElement[] getChildren()
           
 String getDescription()
           
 String getName()
           
 PropertyElement[] getProperties()
           
 PropertySetServiceElement[] getPropertySets()
           
 boolean hasChildren()
           
 boolean hasProperties()
           
 boolean hasPropertySets()
           
protected abstract  ServiceElement[] internalGetChildren()
           
protected abstract  boolean internalHasChildren()
           
 void refreshProperties()
           
 void revert()
           
 
Methods inherited from class org.eclipse.rse.ui.widgets.services.ServiceElement
childChanged, getHost, getImage, getParent, isSelected, setParent, setSelected, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_modelObject

protected IRSEModelObject _modelObject

_propertySets

protected IPropertySet[] _propertySets

_propertySetElements

protected PropertySetServiceElement[] _propertySetElements

_allChildren

protected ServiceElement[] _allChildren
Constructor Detail

RSEModelServiceElement

public RSEModelServiceElement(IHost host,
                              ServiceElement parent,
                              IRSEModelObject modelObject)
Method Detail

hasPropertySets

public boolean hasPropertySets()

getPropertySets

public PropertySetServiceElement[] getPropertySets()

getName

public String getName()
Specified by:
getName in class ServiceElement

getDescription

public String getDescription()
Specified by:
getDescription in class ServiceElement

hasChildren

public final boolean hasChildren()
Specified by:
hasChildren in class ServiceElement

getChildren

public final ServiceElement[] getChildren()
Specified by:
getChildren in class ServiceElement

hasProperties

public boolean hasProperties()
Specified by:
hasProperties in class ServiceElement

getProperties

public PropertyElement[] getProperties()
Specified by:
getProperties in class ServiceElement

commit

public void commit()
Specified by:
commit in class ServiceElement

revert

public void revert()
Specified by:
revert in class ServiceElement

refreshProperties

public void refreshProperties()

internalGetChildren

protected abstract ServiceElement[] internalGetChildren()

internalHasChildren

protected abstract boolean internalHasChildren()

RSE
Release 3.4

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