Remote Systems
v6.4.1

com.ibm.etools.systems.core.ui.view
Class SystemInheritableTextPropertyDescriptor

java.lang.Object
  extended byPropertyDescriptor
      extended bycom.ibm.etools.systems.core.ui.view.SystemInheritableTextPropertyDescriptor

public class SystemInheritableTextPropertyDescriptor
extends PropertyDescriptor

A variation of the Eclipse-supplied TextPropertyDescriptor for displaying text string properties that are inheritable.

See Also:
Serialized Form

Field Summary
static String copyright
           
 
Constructor Summary
SystemInheritableTextPropertyDescriptor(Object id, String displayName)
          Creates a property descriptor with the given id, display name
 
Method Summary
 CellEditor createPropertyEditor(Composite parent)
          Return an instance of SystemInheritableTextCellEditor, unless our editable property is false, in which case we return null;
 boolean getEditable()
          Query the allow-editing value.
 String getEntryFieldToolTipText()
          Gets the entryFieldToolTipText
 String getToggleButtonToolTipText()
          Gets the toggleButtonToolTipText
 void setEditable(boolean allow)
          Call this with false in special circumstances to user's disable ability to edit this value.
 void setEntryFieldToolTipText(String entryFieldToolTipText)
          Sets the entryFieldToolTipText
 void setToggleButtonToolTipText(String toggleButtonToolTipText)
          Sets the toggleButtonToolTipText
 
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
Constructor Detail

SystemInheritableTextPropertyDescriptor

public SystemInheritableTextPropertyDescriptor(Object id,
                                               String displayName)
Creates a property descriptor with the given id, display name

Parameters:
id - the id of the property
displayName - the name to display for the property
Method Detail

setEditable

public void setEditable(boolean allow)
Call this with false in special circumstances to user's disable ability to edit this value. Default is true

See Also:
getEditable()

getEditable

public boolean getEditable()
Query the allow-editing value. Default is true.


createPropertyEditor

public CellEditor createPropertyEditor(Composite parent)
Return an instance of SystemInheritableTextCellEditor, unless our editable property is false, in which case we return null;


getToggleButtonToolTipText

public String getToggleButtonToolTipText()
Gets the toggleButtonToolTipText

Returns:
Returns a String

setToggleButtonToolTipText

public void setToggleButtonToolTipText(String toggleButtonToolTipText)
Sets the toggleButtonToolTipText

Parameters:
toggleButtonToolTipText - The toggleButtonToolTipText to set

getEntryFieldToolTipText

public String getEntryFieldToolTipText()
Gets the entryFieldToolTipText

Returns:
Returns a String

setEntryFieldToolTipText

public void setEntryFieldToolTipText(String entryFieldToolTipText)
Sets the entryFieldToolTipText

Parameters:
entryFieldToolTipText - The entryFieldToolTipText to set

Remote Systems
v6.4.1

Copyright © 2005 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.