com.metamatrix.console.ui.views.deploy.util
Class DeployPkgUtils

java.lang.Object
  extended by com.metamatrix.console.ui.views.deploy.util.DeployPkgUtils
All Implemented Interfaces:
PropertyConstants

public final class DeployPkgUtils
extends java.lang.Object
implements PropertyConstants

Version:
1.0
Author:
Dan Florian

Field Summary
static java.lang.String[] DEPLOY_HDRS
           
static int DEPLOY_PROD_COL
           
static int DEPLOY_PSC_COL
           
static javax.swing.border.EmptyBorder EMPTY_BORDER
           
static int ENABLED_COL
           
static int ESSENTIAL_COL
           
static int HOST_COL
           
static int PROCESS_COL
           
static int PRODUCT_COL
           
static java.lang.String PROPS
           
static int PSC_COL
           
static java.lang.String[] PSC_SERV_DEF_HDRS
           
static int SERV_COL
           
 
Fields inherited from interface com.metamatrix.console.ui.views.deploy.util.PropertyConstants
ESSENTIAL_PROP
 
Method Summary
static LabelWidget createLabel(java.lang.String theStringId)
           
static TextFieldWidget createTextField(java.lang.String theType)
           
static boolean equivalent(java.lang.String theOne, java.lang.String theOther)
          Compares to strings with null and the empty string being equal.
static boolean getBoolean(java.lang.String theKey)
           
static javax.swing.Icon getIcon(java.lang.String theKey)
           
static int getInt(java.lang.String theKey, int theDefault)
           
static int getMnemonic(java.lang.String theKey)
           
static java.lang.Object getObject(java.lang.String theKey)
           
static java.lang.String getString(java.lang.String theKey)
           
static java.lang.String getString(java.lang.String theKey, boolean theReturnNullFlag)
           
static java.lang.String getString(java.lang.String theKey, java.lang.Object[] theArgs)
           
static void loadDeployments(Configuration theConfiguration, DefaultTableModel theModel, ConnectionInfo connection)
           
static void loadPscServiceDefintions(Configuration theConfiguration, DefaultTableModel theModel, ConnectionInfo connection)
           
static DefaultTableModel setup(TableWidget theTable, java.lang.String[] theHeaders, int theVisibleRows, int[] theEditableColumns)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROPS

public static final java.lang.String PROPS
See Also:
Constant Field Values

EMPTY_BORDER

public static final javax.swing.border.EmptyBorder EMPTY_BORDER

DEPLOY_HDRS

public static final java.lang.String[] DEPLOY_HDRS

HOST_COL

public static final int HOST_COL
See Also:
Constant Field Values

PROCESS_COL

public static final int PROCESS_COL
See Also:
Constant Field Values

DEPLOY_PROD_COL

public static final int DEPLOY_PROD_COL
See Also:
Constant Field Values

DEPLOY_PSC_COL

public static final int DEPLOY_PSC_COL
See Also:
Constant Field Values

PSC_SERV_DEF_HDRS

public static final java.lang.String[] PSC_SERV_DEF_HDRS

PRODUCT_COL

public static final int PRODUCT_COL
See Also:
Constant Field Values

PSC_COL

public static final int PSC_COL
See Also:
Constant Field Values

SERV_COL

public static final int SERV_COL
See Also:
Constant Field Values

ENABLED_COL

public static final int ENABLED_COL
See Also:
Constant Field Values

ESSENTIAL_COL

public static final int ESSENTIAL_COL
See Also:
Constant Field Values
Method Detail

createLabel

public static LabelWidget createLabel(java.lang.String theStringId)

createTextField

public static TextFieldWidget createTextField(java.lang.String theType)

getBoolean

public static boolean getBoolean(java.lang.String theKey)

getIcon

public static javax.swing.Icon getIcon(java.lang.String theKey)

getInt

public static int getInt(java.lang.String theKey,
                         int theDefault)

getMnemonic

public static int getMnemonic(java.lang.String theKey)

getObject

public static java.lang.Object getObject(java.lang.String theKey)

getString

public static java.lang.String getString(java.lang.String theKey)

getString

public static java.lang.String getString(java.lang.String theKey,
                                         boolean theReturnNullFlag)

getString

public static java.lang.String getString(java.lang.String theKey,
                                         java.lang.Object[] theArgs)

equivalent

public static boolean equivalent(java.lang.String theOne,
                                 java.lang.String theOther)
Compares to strings with null and the empty string being equal.

Parameters:
theOne - the first string being compared
theOther - the second string being compared
Returns:
true if both strings are equivalent

loadDeployments

public static void loadDeployments(Configuration theConfiguration,
                                   DefaultTableModel theModel,
                                   ConnectionInfo connection)
                            throws ExternalException
Throws:
ExternalException

loadPscServiceDefintions

public static void loadPscServiceDefintions(Configuration theConfiguration,
                                            DefaultTableModel theModel,
                                            ConnectionInfo connection)
                                     throws ExternalException
Throws:
ExternalException

setup

public static DefaultTableModel setup(TableWidget theTable,
                                      java.lang.String[] theHeaders,
                                      int theVisibleRows,
                                      int[] theEditableColumns)


Copyright © 2009. All Rights Reserved.