MessageSvc Class

com.bea.ide.core
MessageSvc Class

public class MessageSvc

    extends Object

This service is used to display information to the user. It will be further developed in M2.


Hierarchy
Object
  MessageSvc

Nested Class Summary

public static interfaceMessageSvc.I
           The interface for the message service

Field Summary

protected static MessageSvc.I
instance
Static instance of the service interface
public static final int
LEVEL_DEBUG
debug message.
public static final int
LEVEL_ERROR
error message, notify the user
public static final int
LEVEL_FATAL
fatal error, ide should shut down
public static final int
LEVEL_INFO
informational message only
public static final int
LEVEL_WARNING
warning message, notify the user, not serious
 

Constructor Summary

MessageSvc()

 

Method Summary

public static void
displayError(String sError)
public static void
displayInfo(String sError)
public static void
displayWarning(String sError)
public static MessageSvc.I
get()
Obtain the service interface.
 
Methods from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
   

Field Detail

instance

protected static MessageSvc.I instance
Static instance of the service interface


LEVEL_DEBUG

public static final int LEVEL_DEBUG
debug message. not generally displayed


LEVEL_ERROR

public static final int LEVEL_ERROR
error message, notify the user


LEVEL_FATAL

public static final int LEVEL_FATAL
fatal error, ide should shut down


LEVEL_INFO

public static final int LEVEL_INFO
informational message only


LEVEL_WARNING

public static final int LEVEL_WARNING
warning message, notify the user, not serious

 

Constructor Detail

MessageSvc

public MessageSvc()
 

Method Detail

displayError(String) Method

public static void displayError(String sError)

displayInfo(String) Method

public static void displayInfo(String sError)

displayWarning(String) Method

public static void displayWarning(String sError)

get() Method

public static MessageSvc.I get()
Obtain the service interface. Value is cached in the instance variable after the first use.