Remote Systems
v6.4.1

com.ibm.etools.systems.core.ui.uda
Class SystemUDActionElement

java.lang.Object
  extended bycom.ibm.etools.systems.core.ui.uda.SystemXMLElementWrapper
      extended bycom.ibm.etools.systems.core.ui.uda.SystemUDActionElement
All Implemented Interfaces:
IAdaptable, ISystemUDAConstants

public class SystemUDActionElement
extends SystemXMLElementWrapper

Represents a single user defined action, as an adaptable eclipse-friendly object


Field Summary
static String copyright
           
 
Fields inherited from class com.ibm.etools.systems.core.ui.uda.SystemXMLElementWrapper
elm
 
Fields inherited from interface com.ibm.etools.systems.core.ui.uda.ISystemUDAConstants
NAME_ATTR, ORIGINAL_NAME_ATTR, RELEASE_ATTR, XE_DOMAIN, XE_DOMNAME, XE_DOMTYPE
 
Constructor Summary
SystemUDActionElement(Element e, SystemUDActionManager am, SystemProfile profile, int domainType)
          Constructor
 
Method Summary
 boolean getCollect()
          Return value of the "Collect" attribute
 String getCommand()
          Return value of the "Command" sub-tag, which is the current command value
 String getComment()
          Return value of the "Comment" sub-tag
 Object getData()
          Return data as set by setData
 String[] getFileTypes()
          Return value of the "FileTypes" sub-tag
 Image getImage()
          Return image to use for this item, in tree views
 String getInitCommand()
          Get the initial command value
 String getLabel()
          Return the value of this node's "Name" attribute, but with "..." appended if the action is a prompting action.
 boolean getPrompt()
          Return value of the "Prompt" attribute
 boolean getRefresh()
          Return value of the "Refresh" attribute
 boolean getShow()
          Return value of the "Show" attribute
 boolean getSingleSelection()
          Return value of the "Single Selection" attribute
 String getTagName()
          Return our tag name
 boolean isGeneric()
          Is this action's file types a generic value
 void setCollect(boolean b)
          Set the value of the "Collect" attribute
 void setCommand(String s)
          Set the value of the "Command" sub-tag.
 void setComment(String s)
          Set the value of the "Comment" sub-tag
 void setData(Object data)
          Set data.
 void setFileTypes(String[] sa)
          Set the value of the "FileTypes" sub-tag
 void setInitCommand(String s)
          Set the initial command value
 void setPrompt(boolean b)
          Set the value of the "Prompt" attribute
 void setRefresh(boolean b)
          Set the value of the "Refresh" attribute
 void setShow(boolean b)
          Set the value of the "Show" attribute
 void setSingleSelection(boolean b)
          Set the value of the "Single Selection Only" attribute
 
Methods inherited from class com.ibm.etools.systems.core.ui.uda.SystemXMLElementWrapper
deleteElement, findChildByName, getAdapter, getAttribute, getBooleanAttribute, getBooleanAttribute, getChildren, getChildren, getChildren, getChildTag, getDocument, getDomain, getElement, getExistingNames, getExistingNames, getExistingNames, getManager, getName, getOriginalName, getParentDomainElement, getParentElement, getProfile, getTextNode, getVendor, isDomain, isIBM, isUserChanged, setAttribute, setBooleanAttribute, setIBM, setName, setTextNode, setUserChanged, setVendor, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

copyright

public static final String copyright
See Also:
Constant Field Values
Constructor Detail

SystemUDActionElement

public SystemUDActionElement(Element e,
                             SystemUDActionManager am,
                             SystemProfile profile,
                             int domainType)
Constructor

Parameters:
e - - The actual xml document element for this action
am - - The subsystemFactory-specific manager of actions
profile - - The system profile which owns this action
domainType - - The integer representation of the domain this is in (or this is, for a domain element)
Method Detail

getLabel

public String getLabel()
Return the value of this node's "Name" attribute, but with "..." appended if the action is a prompting action. This is used for popup menu labels.


getImage

public Image getImage()
Return image to use for this item, in tree views

Specified by:
getImage in class SystemXMLElementWrapper

getTagName

public String getTagName()
Return our tag name

Specified by:
getTagName in class SystemXMLElementWrapper

getComment

public String getComment()
Return value of the "Comment" sub-tag


getCommand

public String getCommand()
Return value of the "Command" sub-tag, which is the current command value


getPrompt

public boolean getPrompt()
Return value of the "Prompt" attribute


getRefresh

public boolean getRefresh()
Return value of the "Refresh" attribute


getShow

public boolean getShow()
Return value of the "Show" attribute


getCollect

public boolean getCollect()
Return value of the "Collect" attribute


getSingleSelection

public boolean getSingleSelection()
Return value of the "Single Selection" attribute


getFileTypes

public String[] getFileTypes()
Return value of the "FileTypes" sub-tag


setComment

public void setComment(String s)
Set the value of the "Comment" sub-tag


setCommand

public void setCommand(String s)
Set the value of the "Command" sub-tag.


setPrompt

public void setPrompt(boolean b)
Set the value of the "Prompt" attribute


setRefresh

public void setRefresh(boolean b)
Set the value of the "Refresh" attribute


setShow

public void setShow(boolean b)
Set the value of the "Show" attribute


setCollect

public void setCollect(boolean b)
Set the value of the "Collect" attribute


setSingleSelection

public void setSingleSelection(boolean b)
Set the value of the "Single Selection Only" attribute


setFileTypes

public void setFileTypes(String[] sa)
Set the value of the "FileTypes" sub-tag


isGeneric

public boolean isGeneric()
Is this action's file types a generic value


setInitCommand

public void setInitCommand(String s)
Set the initial command value


getInitCommand

public String getInitCommand()
Get the initial command value


setData

public void setData(Object data)
Set data. Useful when used in context like trees.


getData

public Object getData()
Return data as set by setData


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.