| ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Provides access to the current IdeMessageManager and defines two
static methods for printing messages in the default message page or in a modal dialog.
| Field Summary | |
private static IdeMessageManagerFactory | myFactory |
private static IdeMessageManager | myIdeMessageManager |
| Method Summary | |
static IdeMessageManager | createMessageManager()Creates new new IdeMessageManager. |
static IdeMessageManager | getMessageManager()Returns IdeMessageManager. |
static IdeMessageManagerFactory | getMessageManagerFactory()Return factory which is used to create new IdeMessageManager. |
static void | printMessage(int type, String text, String sourceURL, String helpURL)Prints the specified message in the default message page or in a modal dialog, providing additional information. |
static void | printMessage(int type, String text)Prints the specified message text in the default message page or in a modal dialog. |
protected static void | setMessageManager(IdeMessageManager manager)Sets the current IdeMessageManager. |
protected static void | setMessageManagerFactory(IdeMessageManagerFactory factory)Specifies IdeMessageManagerFactory. |
| Field Detail |
private static IdeMessageManagerFactory myFactory
private static IdeMessageManager myIdeMessageManager
| Method Detail |
public static IdeMessageManager createMessageManager()
IdeMessageManager.IdeMessageManager.public static IdeMessageManager getMessageManager()
IdeMessageManager. For example:
import com.togethersoft.openapi.ide.message.IdeMessageManger;
import com.togethersoft.openapi.ide.message.IdeMessageMangerAccess;
...
IdeMessageManager messageManager = IdeMessageManagerAccess.getMessageManager();IdeMessageManagerpublic static IdeMessageManagerFactory getMessageManagerFactory()
IdeMessageManager.public static void printMessage(int type, String text, String sourceURL, String helpURL)
IdeMessageManagerAccess.printMessage(type, text, sourceURL, helpURL);
getMessageManager().getDefaultPage().printMessage(type, text, sourceURL, helpURL);
int type of the message. Some of the types are defined in the
IdeMessageType interface.String text of the messageString with the URL that contains important data (a source file etc.)String with the URL help that contains helppublic static void printMessage(int type, String text)
text in the default message page or in a modal dialog.
IdeMessageManagerAccess.printMessage(type, text);
IdeMessageManagerAccess.getMessageManager().getDefaultPage().printMessage(type, text);
int type of the message. Some of the types are defined in the
IdeMessageType interface.String text of the messageprotected static void setMessageManager(IdeMessageManager manager)
IdeMessageManager. There can be only one instance of it.IdeMessageManager instance which needs to be set as the current managerprotected static void setMessageManagerFactory(IdeMessageManagerFactory factory)
IdeMessageManagerFactory. This method can be called only once.| Association Links |
to Class com.togethersoft.openapi.ide.message.IdeMessageManagerFactory
| ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||