Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.edit.cobol
Class ISeriesEditorCobolILEMarkElementProperties

java.lang.Object
  extended by com.ibm.etools.iseries.edit.cobol.ISeriesEditorCobolILEMarkElementProperties

public class ISeriesEditorCobolILEMarkElementProperties
extends Object

This class encapsulates property sheet properties for MarkElement. This will display properties for the MarkElement when selected in the readme editor's content outline.


Field Summary
static String Copyright
           
protected  ISeriesEditorCobolILEMarkElement element
           
protected static String PROPERTY_LENGTH
           
protected static String PROPERTY_LINECOUNT
           
protected static String PROPERTY_START
           
 
Constructor Summary
ISeriesEditorCobolILEMarkElementProperties(ISeriesEditorCobolILEMarkElement element)
          TextElementProperties constructor.
 
Method Summary
 Object getEditableValue()
          Returns an editable version of the object.
 IPropertyDescriptor[] getPropertyDescriptors()
          Returns a list of property descriptors for all properties supported by MarkElement.
 Object getPropertyValue(Object name)
          Returns the value for the property with a given name.
 boolean isPropertySet(Object property)
          Answers true if the value of the specified property for this object has been changed from the default.
 void resetPropertyValue(Object property)
          Resets the specified property's value to its default value.
 void setPropertyValue(Object name, Object value)
          Sets the new value for the property with a given name.
 
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

element

protected ISeriesEditorCobolILEMarkElement element

PROPERTY_LINECOUNT

protected static final String PROPERTY_LINECOUNT
See Also:
Constant Field Values

PROPERTY_START

protected static final String PROPERTY_START
See Also:
Constant Field Values

PROPERTY_LENGTH

protected static final String PROPERTY_LENGTH
See Also:
Constant Field Values
Constructor Detail

ISeriesEditorCobolILEMarkElementProperties

public ISeriesEditorCobolILEMarkElementProperties(ISeriesEditorCobolILEMarkElement element)
TextElementProperties constructor.

Parameters:
element - the element whose properties this instance represents
Method Detail

getEditableValue

public Object getEditableValue()
Returns an editable version of the object.

Returns:
an editable version of the object

getPropertyDescriptors

public IPropertyDescriptor[] getPropertyDescriptors()
Returns a list of property descriptors for all properties supported by MarkElement.

Returns:
a list of property descriptors

getPropertyValue

public Object getPropertyValue(Object name)
Returns the value for the property with a given name.

Parameters:
name - the name to return a value for
Returns:
a value for the property with the given name

isPropertySet

public boolean isPropertySet(Object property)
Answers true if the value of the specified property for this object has been changed from the default.

Parameters:
property - the property to check
Returns:
whether the value of the property has been changed

resetPropertyValue

public void resetPropertyValue(Object property)
Resets the specified property's value to its default value.

Parameters:
property - the property to reset

setPropertyValue

public void setPropertyValue(Object name,
                             Object value)
Sets the new value for the property with a given name.

Parameters:
name - the name of the property to set
value - the value of the property to set

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.