cern::laser::guiplatform::util::Constants Class Reference

Collaboration diagram for cern::laser::guiplatform::util::Constants:
Collaboration graph
[legend]

List of all members.

Static Public Member Functions

static final String[] getDisplayColumnNames ()
static final String[] getPropertyNames ()
static final String[] getColumnsToDisplay ()
static final String[] getColumnsToDisplayInSearch ()
static int getDefaultWorkingMode ()

Static Public Attributes

static final String ALARM_WORKSPACE_NAME = "alarmconsole"
static final String ALARM_LOGIN_MODE_NAME = "login"
static final String ALARM_LIST_MODE_NAME = "alarmlist"
static final String ALARM_DETAILS_MODE_NAME = "alarmdetails"
static final String INSTANT_LIST_MODE_NAME = "instantlist"
static final String OUTPUT_MODE_NAME = "output"
static final String OUTPUT_TOP_COPOMONENT_NAME = "Output"
static final String ENABLE_COLUMN_ICON_PATH
static final String DISABLE_COLUMN_ICON_PATH
static final int LOGIN_WINDOW_HEIGHT = 300
static final int LOGIN_WINDOW_WIDTH = 415
static final String ACTIVE_LISTENER_KEY = "ACTIVE_LIST_LISTENER"
static final String INHIBIT_LISTENER_KEY = "INHIBIT_LIST_LISTENER"
static final String MASKED_LISTENER_KEY = "MASKED_LIST_LISTENER"
static final String HIGHLITED_LISTENER_KEY = "AUTO_HIGHLITED_LIST_LISTENER"
static final String INSTANT_LISTENER_KEY = "INSTANT_LIST_LISTENER"
static final String SEARCH_LISTENER_KEY = "SEARCH_LISTENER_KEY"
static final int TEST_WORKING_MODE = 1000
static final int BUSINESS_LAYER_WORKING_MODE = 2000
static final String DEFAULT_CONFIGURATION_NAME
static final String RECENTLY_APPLIED_CONFIGURATION
static final String GUEST_USER_NAME = "GUEST"
static final String GUEST_USER_PASSWORD = "guest"
static final int SEARCH_WINDOW_MODE_ARCHIVE_SEARCH = 1
static final int SEARCH_WINDOW_MODE_GET_ALARMINFO = 2
static final int SEARCH_WINDOW_MODE_SEARCH_ACTIVE_LIST = 3

Private Member Functions

 Constants ()

Static Private Attributes

static final String[] propertyNames
static final String[] otherThanActvieExplPropNames
static final String[] displayColumnNames

Detailed Description

This class stores constant variables.

Author:
pawlowsk

Constructor & Destructor Documentation

cern::laser::guiplatform::util::Constants::Constants (  )  [inline, private]

Member Function Documentation

static final String [] cern::laser::guiplatform::util::Constants::getColumnsToDisplay (  )  [inline, static]

This method returns AlarmBean property names, for explorers like InhibitList explorer

References otherThanActvieExplPropNames.

static final String [] cern::laser::guiplatform::util::Constants::getColumnsToDisplayInSearch (  )  [inline, static]

This method returns AlarmBean property names, for search explorer

References otherThanActvieExplPropNames.

static int cern::laser::guiplatform::util::Constants::getDefaultWorkingMode (  )  [inline, static]

This method returns default working mode, that is, console is connected to test alarm generator, or to business layer

References BUSINESS_LAYER_WORKING_MODE.

static final String [] cern::laser::guiplatform::util::Constants::getDisplayColumnNames (  )  [inline, static]

This method returns dispaly names for AlarmBean property names

References displayColumnNames.

static final String [] cern::laser::guiplatform::util::Constants::getPropertyNames (  )  [inline, static]

This method returns AlarmBean property names

References propertyNames.


Member Data Documentation

final String cern::laser::guiplatform::util::Constants::ACTIVE_LISTENER_KEY = "ACTIVE_LIST_LISTENER" [static]

this variable should be used when listener wants to listen for active list (as parameter for AlarmNodeManager active list

alarm details mode name

alarm list mode name

login mode name

alaram workspace name

This variable indicates that console is conneted to business layer

Referenced by getDefaultWorkingMode().

Initial value:
        "NOT SAVED DEFAULT CONFIGURATION"

This is default configuration name, this name should be always changed by user. This variable is used for creating ConsoleConfigurationWindow when does not have any configurations or when user does not have default configuration Basically this is empty configuration

Initial value:
 
        "cern/laser/guiplatform/images/status_lock.gif"

disable dispaly column name (icon path)

Initial value:
 
        new String [] { 
            
            NbBundle.getMessage(Constants.class, "date_displayName"), 
            NbBundle.getMessage(Constants.class, "time_displayName"), 
            NbBundle.getMessage(Constants.class, "FAULT_FAMILY_displayName"), 
            NbBundle.getMessage(Constants.class, "FAULT_MEMBER_displayName"), 
            NbBundle.getMessage(Constants.class, "FAULT_CODE_displayName"), 
            NbBundle.getMessage(Constants.class, "SYSTEM_NAME_displayName"), 
            NbBundle.getMessage(Constants.class, "IDENTIFIER_displayName"), 
            NbBundle.getMessage(Constants.class, "PRIORITY_displayName"), 
            
            NbBundle.getMessage(Constants.class, "PROBLEM_DESCRIPTION_displayName"), 
            NbBundle.getMessage(Constants.class, "SOURCE_NAME_displayName"), 
                        }

displayable columns names for each property

Referenced by getDisplayColumnNames().

Initial value:
 
        "cern/laser/guiplatform/images/status_unlocked.gif"

enable display column name (icon path)

Login and password of hidden user - guest user

final String cern::laser::guiplatform::util::Constants::HIGHLITED_LISTENER_KEY = "AUTO_HIGHLITED_LIST_LISTENER" [static]

this variable should be used when listener wants to listen for auto highlited list (as parameter for AlarmNodeManager auto highlited list

final String cern::laser::guiplatform::util::Constants::INHIBIT_LISTENER_KEY = "INHIBIT_LIST_LISTENER" [static]

this variable should be used when listener wants to listen for inhibit list (as parameter for AlarmNodeManager inhibit list

instant list mode name

final String cern::laser::guiplatform::util::Constants::INSTANT_LISTENER_KEY = "INSTANT_LIST_LISTENER" [static]

this variable should be used when listener wants to listen for instant list (as parameter for AlarmNodeManager highlited list

login window height

login window width

final String cern::laser::guiplatform::util::Constants::MASKED_LISTENER_KEY = "MASKED_LIST_LISTENER" [static]

this variable should be used when listener wants to listen for masked list (as parameter for AlarmNodeManager masked list

Initial value:
        new String [] { "identifier", "systemName", "problemDescription"}

property names for explorers different than active list

Referenced by getColumnsToDisplay(), and getColumnsToDisplayInSearch().

output mode name

Deprecated:
never use

output TopComponent name

Initial value:
 
        new String[] {
                      "date",
                      "time",
                      "faultFamily", 
                      "faultMember",
                      "faultCode", 
                      "systemName",
                      "identifier", 
                      "priority", 
                      
                      "problemDescription",
                      "sourceName",
        }

AlarmBean property names used for actvie list explorer

Referenced by getPropertyNames().

Initial value:
 
        "NOT SAVED RECENTLY LOADED CONFIGURATION"

This is recently applied onfiguratoin by user, when user clicks Apply and new configuration should be created

final String cern::laser::guiplatform::util::Constants::SEARCH_LISTENER_KEY = "SEARCH_LISTENER_KEY" [static]

Modes in which Search Window can be opened

This variable indicates that console is conneted to test alarm generator


The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2