Remote Systems
v6.4.1

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

java.lang.Object
  extended bycom.ibm.etools.systems.core.ui.uda.SystemUDTreeViewNewItem

public class SystemUDTreeViewNewItem
extends Object

This represent a tree-node for "New" items


Field Summary
static String copyright
           
 
Constructor Summary
SystemUDTreeViewNewItem(boolean _executable, String _label, int _domain, boolean _wwActionsDialog)
          Constructor
 
Method Summary
 int getDomain()
          Get the domain this represents
static SystemUDTreeViewNewItem getOnlyNewItem(boolean wwActionsDialog, String newNodeLabel)
          Return singleton instance of root new item that does not have children.
static SystemUDTreeViewNewItem getOnlyNewItem(int domain, boolean wwActionsDialog, String newNodeLabel)
          Return non-singleton instance of root new item that does not have children.
static SystemUDTreeViewNewItem getRootNewItem(boolean wwActionsDialog, String newNodeLabel)
          Return singleon instance of new item that does have children.
 boolean isExecutable()
          Is this executable?
 boolean isWorkWithActionsDialog()
          Is this the work with actions dialog (true) or the work with types dialog (false)
 String toString()
          Return the label
 
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

SystemUDTreeViewNewItem

public SystemUDTreeViewNewItem(boolean _executable,
                               String _label,
                               int _domain,
                               boolean _wwActionsDialog)
Constructor

Parameters:
_executable - -> true if this is a leaf node
_label - -> label to show the user, in the tre
_domain - -> domain this represents
_wwActionsDialog - -> true if this is for the ww user actions dialog, false for the ww named types dialog
Method Detail

toString

public String toString()
Return the label


isExecutable

public boolean isExecutable()
Is this executable? Ie, should it launch a "New" wizard?


isWorkWithActionsDialog

public boolean isWorkWithActionsDialog()
Is this the work with actions dialog (true) or the work with types dialog (false)


getDomain

public int getDomain()
Get the domain this represents


getRootNewItem

public static SystemUDTreeViewNewItem getRootNewItem(boolean wwActionsDialog,
                                                     String newNodeLabel)
Return singleon instance of new item that does have children. This is used for the first element when domains are supported.

Parameters:
wwActionsDialog - true if called from dialog
newNodeLabel - the translated label for the node.

getOnlyNewItem

public static SystemUDTreeViewNewItem getOnlyNewItem(boolean wwActionsDialog,
                                                     String newNodeLabel)
Return singleton instance of root new item that does not have children. This is used for the first element when domains are not supported.

Parameters:
wwActionsDialog - true if called from dialog
newNodeLabel - the translated label for the node.

getOnlyNewItem

public static SystemUDTreeViewNewItem getOnlyNewItem(int domain,
                                                     boolean wwActionsDialog,
                                                     String newNodeLabel)
Return non-singleton instance of root new item that does not have children. This is used for the first element when domains are supported internally, but externally only one is used.

Parameters:
domain - - the domain to use
wwActionsDialog - - true if called from dialog
newNodeLabel - - the translated label for the node

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.