Project: com.ibm.rational.teamapi.scout

com.ibm.rational.teamapi.scout
Class ResourceSource.ResourcePropertyDescriptor

java.lang.Object
  extended by org.eclipse.ui.views.properties.PropertyDescriptor
      extended by com.ibm.rational.teamapi.scout.ResourceSource.ResourcePropertyDescriptor
All Implemented Interfaces:
org.eclipse.ui.views.properties.IPropertyDescriptor
Enclosing class:
ResourceSource

static class ResourceSource.ResourcePropertyDescriptor
extends org.eclipse.ui.views.properties.PropertyDescriptor

A PropertyDescriptor for CM API resource properties.


Field Summary
(package private)  java.lang.String[] m_filter_flags
          The value of getFilterFlags()
(package private)  javax.wvcm.PropertyNameList.PropertyName m_propertyName
          The PropertyName for the property
 
Constructor Summary
ResourceSource.ResourcePropertyDescriptor(com.ibm.rational.wvcm.stp.StpPropertyException property, com.ibm.rational.wvcm.stp.StpResource parent)
          Constructs a PropertyDescriptor for a PropertyException received while attempting to retrieve a StpProperty from a proxy.
ResourceSource.ResourcePropertyDescriptor(com.ibm.rational.wvcm.stp.StpProperty property, com.ibm.rational.wvcm.stp.StpResource parent)
          Constructs a PropertyDescriptor for a StpProperty successfully retrieved from a proxy.
 
Method Summary
 java.lang.String getCategory()
          Returns the Namespace of the PropertyName for the property to use as a category for organizing the properties of the resource.
 java.lang.String[] getFilterFlags()
          Returns ADVANCED_PROPERTY_FLAGS for properties that could not be read from the resource; null otherwise;
 
Methods inherited from class org.eclipse.ui.views.properties.PropertyDescriptor
createPropertyEditor, getAlwaysIncompatible, getDescription, getDisplayName, getHelpContextIds, getId, getLabelProvider, getValidator, isCompatibleWith, isLabelProviderSet, setAlwaysIncompatible, setCategory, setDescription, setFilterFlags, setHelpContextIds, setLabelProvider, setValidator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_propertyName

javax.wvcm.PropertyNameList.PropertyName m_propertyName
The PropertyName for the property


m_filter_flags

java.lang.String[] m_filter_flags
The value of getFilterFlags()

Constructor Detail

ResourceSource.ResourcePropertyDescriptor

ResourceSource.ResourcePropertyDescriptor(com.ibm.rational.wvcm.stp.StpProperty property,
                                          com.ibm.rational.wvcm.stp.StpResource parent)
Constructs a PropertyDescriptor for a StpProperty successfully retrieved from a proxy. If the VALUE meta-property of the StpProperty is inaccessible, the property is marked as one for expert viewing only.

Parameters:
property - The StpProperty
parent - The resource from which the StpProperty came.

ResourceSource.ResourcePropertyDescriptor

ResourceSource.ResourcePropertyDescriptor(com.ibm.rational.wvcm.stp.StpPropertyException property,
                                          com.ibm.rational.wvcm.stp.StpResource parent)
Constructs a PropertyDescriptor for a PropertyException received while attempting to retrieve a StpProperty from a proxy. The property is marked as one for expert viewing only.

Parameters:
property - The PropertyException
parent - The resource from which the StpProperty came.
Method Detail

getCategory

public java.lang.String getCategory()
Returns the Namespace of the PropertyName for the property to use as a category for organizing the properties of the resource.

Specified by:
getCategory in interface org.eclipse.ui.views.properties.IPropertyDescriptor
Overrides:
getCategory in class org.eclipse.ui.views.properties.PropertyDescriptor
Returns:
A String containing the simple name of the namespace of the property name.

getFilterFlags

public java.lang.String[] getFilterFlags()
Returns ADVANCED_PROPERTY_FLAGS for properties that could not be read from the resource; null otherwise;

Specified by:
getFilterFlags in interface org.eclipse.ui.views.properties.IPropertyDescriptor
Overrides:
getFilterFlags in class org.eclipse.ui.views.properties.PropertyDescriptor
See Also:
PropertyDescriptor.getFilterFlags()

Generated Thu 30-Oct-2008 05:19 PM

Copyright © IBM 2008. All rights reserved.