RSE
Release 3.0

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

java.lang.Object
  extended by org.eclipse.rse.ui.widgets.services.ServiceElement
      extended by org.eclipse.rse.ui.widgets.services.PropertySetServiceElement
All Implemented Interfaces:
IPropertySource

public class PropertySetServiceElement
extends ServiceElement
implements IPropertySource


Field Summary
protected  IPropertySet _originalPropertySet
           
protected  PropertyElement[] _properties
           
protected  IPropertySet _propertySet
           
 
Fields inherited from class org.eclipse.rse.ui.widgets.services.ServiceElement
_childChanged, _host, _isSelected, _parent
 
Constructor Summary
PropertySetServiceElement(IHost host, ServiceElement parent, IPropertySet propertySet)
           
 
Method Summary
 void commit()
           
 ServiceElement[] getChildren()
           
 String getDescription()
           
 Object getEditableValue()
           
 Image getImage()
           
 String getName()
           
 IPropertySet getOriginalProperySet()
           
 PropertyElement[] getProperties()
           
 IPropertyDescriptor[] getPropertyDescriptors()
           
 IPropertySet getPropertySet()
           
 Object getPropertyValue(Object id)
           
 boolean hasChildren()
           
 boolean hasProperties()
           
 boolean isPropertySet(Object id)
           
 void refreshProperties()
           
 void resetPropertyValue(Object id)
           
 void revert()
           
 void setPropertyValue(Object id, Object value)
           
 
Methods inherited from class org.eclipse.rse.ui.widgets.services.ServiceElement
childChanged, getHost, getParent, isSelected, setParent, setSelected, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_properties

protected PropertyElement[] _properties

_propertySet

protected IPropertySet _propertySet

_originalPropertySet

protected IPropertySet _originalPropertySet
Constructor Detail

PropertySetServiceElement

public PropertySetServiceElement(IHost host,
                                 ServiceElement parent,
                                 IPropertySet propertySet)
Method Detail

getOriginalProperySet

public IPropertySet getOriginalProperySet()

getPropertySet

public IPropertySet getPropertySet()

getImage

public Image getImage()
Overrides:
getImage in class ServiceElement

getName

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

getDescription

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

hasChildren

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

getChildren

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

refreshProperties

public void refreshProperties()

hasProperties

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

getProperties

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

getPropertyDescriptors

public IPropertyDescriptor[] getPropertyDescriptors()
Specified by:
getPropertyDescriptors in interface IPropertySource

getPropertyValue

public Object getPropertyValue(Object id)
Specified by:
getPropertyValue in interface IPropertySource

isPropertySet

public boolean isPropertySet(Object id)
Specified by:
isPropertySet in interface IPropertySource

resetPropertyValue

public void resetPropertyValue(Object id)
Specified by:
resetPropertyValue in interface IPropertySource

setPropertyValue

public void setPropertyValue(Object id,
                             Object value)
Specified by:
setPropertyValue in interface IPropertySource

getEditableValue

public Object getEditableValue()
Specified by:
getEditableValue in interface IPropertySource

commit

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

revert

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

RSE
Release 3.0

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