iSeries Remote Systems
v6.0.0

com.ibm.etools.iseries.core.ui.dialogs
Class ISeriesHostMessageDialog

java.lang.Object
  extended byorg.eclipse.jface.window.Window
      extended byorg.eclipse.jface.dialogs.Dialog
          extended byorg.eclipse.jface.dialogs.IconAndMessageDialog
              extended byorg.eclipse.jface.dialogs.ErrorDialog
                  extended bycom.ibm.etools.systems.core.ui.messages.SystemMessageDialog
                      extended bycom.ibm.etools.iseries.core.ui.dialogs.ISeriesHostMessageDialog

public class ISeriesHostMessageDialog
extends com.ibm.etools.systems.core.ui.messages.SystemMessageDialog

Since:
5.1 This class can be used to automatically download and display a message from a message file on an iSeries host

Nested Class Summary
 
Nested classes inherited from class org.eclipse.jface.window.Window
Window.IExceptionHandler
 
Field Summary
static String Copyright
           
 
Fields inherited from class com.ibm.etools.systems.core.ui.messages.SystemMessageDialog
BUTTON_ID, copyright
 
Fields inherited from class org.eclipse.jface.dialogs.ErrorDialog
AUTOMATED_MODE
 
Fields inherited from class org.eclipse.jface.dialogs.IconAndMessageDialog
imageLabel, messageLabel
 
Fields inherited from class org.eclipse.jface.dialogs.Dialog
blockedHandler, buttonBar, dialogArea, DLG_IMG_ERROR, DLG_IMG_INFO, DLG_IMG_MESSAGE_ERROR, DLG_IMG_MESSAGE_INFO, DLG_IMG_MESSAGE_WARNING, DLG_IMG_QUESTION, DLG_IMG_WARNING, ELLIPSIS
 
Fields inherited from class org.eclipse.jface.window.Window
CANCEL, OK
 
Constructor Summary
ISeriesHostMessageDialog(Shell shell, ISeriesConnection connection, String library, String file, String msgId)
          Constructor for the dialog
ISeriesHostMessageDialog(Shell shell, ISeriesHostMessage msg)
          Constructor for the dialog
 
Methods inherited from class com.ibm.etools.systems.core.ui.messages.SystemMessageDialog
buttonPressed, createButtonsForButtonBar, createDialogArea, createDropDownList2, displayErrorMessage, displayErrorMessage, displayErrorMessage, displayExceptionMessage, displayHostErrorMessage, displayHostErrorMessage, displayHostWarningMessage, displayHostWarningMessage, displayMessage, displayMessage, getButtonPressedId, getDefaultShell, getExceptionMessage, open, openQuestion, openQuestionNoException, openWithDetails, openWithDetails, openYesNoCancel, setButtonIndex, setButtons, setException, show, showExceptionMessage
 
Methods inherited from class org.eclipse.jface.dialogs.ErrorDialog
close, configureShell, createDialogAndButtonArea, createDropDownList, getImage, openError, openError, shouldDisplay
 
Methods inherited from class org.eclipse.jface.dialogs.IconAndMessageDialog
createButtonBar, createContents, createMessageArea, getErrorImage, getInfoImage, getMessageLabelStyle, getQuestionImage, getWarningImage
 
Methods inherited from class org.eclipse.jface.dialogs.Dialog
applyDialogFont, cancelPressed, convertHeightInCharsToPixels, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, convertWidthInCharsToPixels, create, createButton, dialogFontIsDefault, getBlockedHandler, getButton, getButtonBar, getCancelButton, getDialogArea, getImage, getOKButton, initializeBounds, initializeDialogUnits, okPressed, setBlockedHandler, setButtonLayoutData, setButtonLayoutFormData, shortenText
 
Methods inherited from class org.eclipse.jface.window.Window
canHandleShellCloseEvent, constrainShellSize, createShell, getConstrainedShellBounds, getContents, getDefaultImage, getDefaultImages, getInitialLocation, getInitialSize, getLayout, getParentShell, getReturnCode, getShell, getShellListener, getShellStyle, getWindowManager, handleFontChange, handleShellCloseEvent, setBlockOnOpen, setDefaultImage, setDefaultImages, setExceptionHandler, setReturnCode, setShellStyle, setWindowManager
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Copyright

public static final String Copyright
See Also:
Constant Field Values
Constructor Detail

ISeriesHostMessageDialog

public ISeriesHostMessageDialog(Shell shell,
                                ISeriesConnection connection,
                                String library,
                                String file,
                                String msgId)
                         throws com.ibm.etools.systems.core.messages.IndicatorException,
                                com.ibm.etools.systems.core.messages.SystemMessageException
Constructor for the dialog

Parameters:
shell - the parent shell
connection - the connection to retrieve the message from
library - the library ofthe message file
file - the message file name
msgId - the message id

ISeriesHostMessageDialog

public ISeriesHostMessageDialog(Shell shell,
                                ISeriesHostMessage msg)
Constructor for the dialog

Parameters:
shell - the parent shell
msg - the message to display

iSeries Remote Systems
v6.0.0

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.