Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.projects.core
Class PropertyExtensionPointManager

java.lang.Object
  extended by com.ibm.etools.iseries.projects.core.PropertyExtensionPointManager

public class PropertyExtensionPointManager
extends Object

Manages all iSeries Project perspective extension points.


Field Summary
static String Copyright
           
 
Method Summary
static PropertyExtensionPointManager getInstance()
          Return singleton instance
static String getLogString(IConfigurationElement element)
          Utility method to return a string to display in .log warnings when we have a bad contribution.
 boolean hasKey(QualifiedName key)
          Is there a key loaded by the given name
 List<PropertyDefinition> loadPropertyKeys(String resourceType, String sharedScope)
          Return the list of property definitions defined for the given parameters
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Copyright

public static final String Copyright
See Also:
Constant Field Values
Method Detail

getInstance

public static PropertyExtensionPointManager getInstance()
Return singleton instance


loadPropertyKeys

public List<PropertyDefinition> loadPropertyKeys(String resourceType,
                                                 String sharedScope)
Return the list of property definitions defined for the given parameters

Parameters:
resourceType - - the type of IBM i resource
sharedScope - - the scope to which the property should be shared with others
Returns:
a list of PropertyDefinition or an empty list if none have been loaded.

hasKey

public boolean hasKey(QualifiedName key)
Is there a key loaded by the given name

Parameters:
key - a QualifiedName with the qualifier being the contributing plugin
Returns:
true if an extension defining a property by the given qualified name has already been loaded.

getLogString

public static String getLogString(IConfigurationElement element)
Utility method to return a string to display in .log warnings when we have a bad contribution.


Rational Developer for Power Systems Software
V7.6

Copyright 2011 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.