Project: com.ibm.rational.teamapi.scout

com.ibm.rational.teamapi.scout
Class DefaultPropertySource

java.lang.Object
  extended by com.ibm.rational.teamapi.scout.DefaultPropertySource
All Implemented Interfaces:
org.eclipse.ui.views.properties.IPropertySource
Direct Known Subclasses:
ResourceSource, ResourceSource.ArraySource, ResourceSource.ListSource, ResourceSource.PropertySource

public abstract class DefaultPropertySource
extends java.lang.Object
implements org.eclipse.ui.views.properties.IPropertySource

An abstract class providing a null implementation for the methods of IPropertySource used for editing a property.


Constructor Summary
DefaultPropertySource()
           
 
Method Summary
 java.lang.Object getEditableValue()
          Returns null, indicating editing is not possible
 boolean isPropertySet(java.lang.Object id)
          Returns false, indicating value is not edited
 void resetPropertyValue(java.lang.Object id)
          Does nothing
 void setPropertyValue(java.lang.Object id, java.lang.Object value)
          Does nothing
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.ui.views.properties.IPropertySource
getPropertyDescriptors, getPropertyValue
 

Constructor Detail

DefaultPropertySource

public DefaultPropertySource()
Method Detail

getEditableValue

public java.lang.Object getEditableValue()
Returns null, indicating editing is not possible

Specified by:
getEditableValue in interface org.eclipse.ui.views.properties.IPropertySource

isPropertySet

public boolean isPropertySet(java.lang.Object id)
Returns false, indicating value is not edited

Specified by:
isPropertySet in interface org.eclipse.ui.views.properties.IPropertySource

resetPropertyValue

public void resetPropertyValue(java.lang.Object id)
Does nothing

Specified by:
resetPropertyValue in interface org.eclipse.ui.views.properties.IPropertySource

setPropertyValue

public void setPropertyValue(java.lang.Object id,
                             java.lang.Object value)
Does nothing

Specified by:
setPropertyValue in interface org.eclipse.ui.views.properties.IPropertySource

Generated Thu 30-Oct-2008 05:19 PM

Copyright © IBM 2008. All rights reserved.