Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.rse.ui.view.errorlist
Class QSYSErrorListViewPart

java.lang.Object
  extended by ViewPart
      extended by com.ibm.etools.iseries.rse.ui.view.errorlist.QSYSErrorListViewPart
All Implemented Interfaces:
IIBMiConstants

public class QSYSErrorListViewPart
extends ViewPart
implements IIBMiConstants

Rupen Mardirossian {IBM) - [66159] initPullDownActions now calls updateRestoreState() instead of updateStates() for autoinsertaction. Rupen Mardirossian {IBM) - [66600] initPullDownActions now restores checked states of autoInsert. savePullDownActions now saves checked states of autoInsert. (Added check keys)


Field Summary
static String Copyright
           
static String ID
           
 
Fields inherited from interface com.ibm.etools.iseries.rse.ui.IIBMiConstants
copyright, ICON_ACTION_NEWDTAARA_WIZ, ICON_ACTION_NEWDTAARA_WIZ_ID, ICON_ACTION_NEWDTAARA_WIZ_ROOT, ICON_ACTION_NEWDTAQ_WIZ, ICON_ACTION_NEWDTAQ_WIZ_ID, ICON_ACTION_NEWDTAQ_WIZ_ROOT, ICON_ACTION_NEWLIB_WIZ, ICON_ACTION_NEWLIB_WIZ_ID, ICON_ACTION_NEWLIB_WIZ_ROOT, ICON_ACTION_NEWMBR_WIZ, ICON_ACTION_NEWMBR_WIZ_ID, ICON_ACTION_NEWMBR_WIZ_ROOT, ICON_ACTION_NEWMSG_WIZ, ICON_ACTION_NEWMSG_WIZ_ID, ICON_ACTION_NEWMSG_WIZ_ROOT, ICON_ACTION_NEWMSGFILE_WIZ, ICON_ACTION_NEWMSGFILE_WIZ_ID, ICON_ACTION_NEWMSGFILE_WIZ_ROOT, ICON_ACTION_NEWOBJ_WIZ, ICON_ACTION_NEWOBJ_WIZ_ID, ICON_ACTION_NEWOBJ_WIZ_ROOT, ICON_ACTION_NEWSRCFILE_WIZ, ICON_ACTION_NEWSRCFILE_WIZ_ID, ICON_ACTION_NEWSRCFILE_WIZ_ROOT, ICON_CMD_FILTER_CMD, ICON_CMD_FILTER_CMD_ID, ICON_CMD_FILTER_CMD_ROOT, ICON_ERRORLIST_DELETED_LINE, ICON_ERRORLIST_DELETED_LINE_ID, ICON_ERRORLIST_DELETED_LINE_ROOT, ICON_ERRORLIST_GO_BACK, ICON_ERRORLIST_GO_BACK_DISABLE, ICON_ERRORLIST_GO_BACK_DISABLE_ID, ICON_ERRORLIST_GO_BACK_DISABLE_ROOT, ICON_ERRORLIST_GO_BACK_ID, ICON_ERRORLIST_GO_BACK_ROOT, ICON_ERRORLIST_GO_FORWARD, ICON_ERRORLIST_GO_FORWARD_DISABLE, ICON_ERRORLIST_GO_FORWARD_DISABLE_ID, ICON_ERRORLIST_GO_FORWARD_DISABLE_ROOT, ICON_ERRORLIST_GO_FORWARD_ID, ICON_ERRORLIST_GO_FORWARD_ROOT, ICON_ERRORLIST_MODIFIED_LINE, ICON_ERRORLIST_MODIFIED_LINE_ID, ICON_ERRORLIST_MODIFIED_LINE_ROOT, ICON_ERRORLIST_REMOVE, ICON_ERRORLIST_REMOVE_ALL, ICON_ERRORLIST_REMOVE_ALL_DISABLE, ICON_ERRORLIST_REMOVE_ALL_DISABLE_ID, ICON_ERRORLIST_REMOVE_ALL_DISABLE_ROOT, ICON_ERRORLIST_REMOVE_ALL_ID, ICON_ERRORLIST_REMOVE_ALL_ROOT, ICON_ERRORLIST_REMOVE_DISABLE, ICON_ERRORLIST_REMOVE_DISABLE_ID, ICON_ERRORLIST_REMOVE_DISABLE_ROOT, ICON_ERRORLIST_REMOVE_ID, ICON_ERRORLIST_REMOVE_ROOT, ICON_ERRORLIST_SEVERITY_ERROR, ICON_ERRORLIST_SEVERITY_ERROR_ID, ICON_ERRORLIST_SEVERITY_ERROR_ROOT, ICON_ERRORLIST_SEVERITY_INFORMATION, ICON_ERRORLIST_SEVERITY_INFORMATION_ID, ICON_ERRORLIST_SEVERITY_INFORMATION_ROOT, ICON_ERRORLIST_SEVERITY_SEVERE, ICON_ERRORLIST_SEVERITY_SEVERE_ID, ICON_ERRORLIST_SEVERITY_SEVERE_ROOT, ICON_ERRORLIST_SEVERITY_TERMINATING, ICON_ERRORLIST_SEVERITY_TERMINATING_ID, ICON_ERRORLIST_SEVERITY_TERMINATING_ROOT, ICON_ERRORLIST_SEVERITY_WARNING, ICON_ERRORLIST_SEVERITY_WARNING_ID, ICON_ERRORLIST_SEVERITY_WARNING_ROOT, ICON_EXT, ICON_JOB_FILTER_JOB, ICON_JOB_FILTER_JOB_ID, ICON_JOB_FILTER_JOB_ROOT, ICON_JOBSUBSYSTEM, ICON_JOBSUBSYSTEM_ID, ICON_JOBSUBSYSTEM_ROOT, ICON_NFS_ACTION_REFRESH, ICON_NFS_ACTION_REFRESH_DISABLE, ICON_NFS_ACTION_REFRESH_DISABLE_ID, ICON_NFS_ACTION_REFRESH_DISABLE_ROOT, ICON_NFS_ACTION_REFRESH_ID, ICON_NFS_ACTION_REFRESH_ROOT, ICON_NFS_ACTION_TABLEVIEW_UP, ICON_NFS_ACTION_TABLEVIEW_UP_DISABLED, ICON_NFS_ACTION_TABLEVIEW_UP_DISABLED_ID, ICON_NFS_ACTION_TABLEVIEW_UP_DISABLED_ROOT, ICON_NFS_ACTION_TABLEVIEW_UP_ID, ICON_NFS_ACTION_TABLEVIEW_UP_ROOT, ICON_NFS_FILTER_LIBLIST, ICON_NFS_FILTER_LIBLIST_ID, ICON_NFS_FILTER_LIBLIST_ROOT, ICON_NFS_FILTER_LIBRARY, ICON_NFS_FILTER_LIBRARY_ID, ICON_NFS_FILTER_LIBRARY_ROOT, ICON_NFS_FILTER_MEMBER, ICON_NFS_FILTER_MEMBER_ID, ICON_NFS_FILTER_MEMBER_ROOT, ICON_NFS_FILTER_OBJECT, ICON_NFS_FILTER_OBJECT_ID, ICON_NFS_FILTER_OBJECT_ROOT, ICON_NFS_FLD_TYPE_BIN, ICON_NFS_FLD_TYPE_BIN_ID, ICON_NFS_FLD_TYPE_BIN_ROOT, ICON_NFS_FLD_TYPE_CHAR, ICON_NFS_FLD_TYPE_CHAR_ID, ICON_NFS_FLD_TYPE_CHAR_ROOT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_TYPE_USRSPC, ICON_NFS_OBJ_TYPE_USRSPC_ID, ICON_NFS_OBJ_TYPE_USRSPC_ROOT, ICON_NFS_RCD_TYPE_NORMAL, ICON_NFS_RCD_TYPE_NORMAL_ID, ICON_NFS_RCD_TYPE_NORMAL_ROOT, ICON_NULL_FIELD, ICON_NULL_FIELD_ID, ICON_NULL_FIELD_OBJ, ICON_NULL_FIELD_OBJ_ID, ICON_NULL_FIELD_OBJ_ROOT, ICON_NULL_FIELD_ROOT, ICON_RELATIVE_PATH_DLCL16, ICON_RELATIVE_PATH_ELCL16, ICON_RELATIVE_PATH_ETOOL16, ICON_RELATIVE_PATH_FULL, ICON_RELATIVE_PATH_OBJ16, ICON_RELATIVE_PATH_WIZBAN, ICON_SHOW_IN_ERROR_LIST, ICON_SHOW_IN_ERROR_LIST_D, ICON_SHOW_IN_ERROR_LIST_D_ID, ICON_SHOW_IN_ERROR_LIST_D_ROOT, ICON_SHOW_IN_ERROR_LIST_ID, ICON_SHOW_IN_ERROR_LIST_ROOT, ICON_SUFFIX, ICON_SYSTEM_ASUBPROC, ICON_SYSTEM_ASUBPROC_ID, ICON_SYSTEM_ASUBPROC_ROOT, ICON_SYSTEM_CODE, ICON_SYSTEM_CODE_ID, ICON_SYSTEM_CODE_ROOT, ICON_SYSTEM_CODEDSU, ICON_SYSTEM_CODEDSU_ID, ICON_SYSTEM_CODEDSU_ROOT, ICON_SYSTEM_FILTER_WWLIBS, ICON_SYSTEM_FILTER_WWLIBS_ID, ICON_SYSTEM_FILTER_WWLIBS_ROOT, ICON_SYSTEM_FILTER_WWMBRS, ICON_SYSTEM_FILTER_WWMBRS_ID, ICON_SYSTEM_FILTER_WWMBRS_ROOT, ICON_SYSTEM_FILTER_WWOBJS, ICON_SYSTEM_FILTER_WWOBJS_ID, ICON_SYSTEM_FILTER_WWOBJS_ROOT, ICON_SYSTEM_INTERJOB, ICON_SYSTEM_INTERJOB_ID, ICON_SYSTEM_INTERJOB_ROOT, ICON_SYSTEM_JOB, ICON_SYSTEM_JOB_ID, ICON_SYSTEM_JOB_ROOT, ICON_SYSTEM_JOBACTIVE, ICON_SYSTEM_JOBACTIVE_ID, ICON_SYSTEM_JOBACTIVE_ROOT, ICON_SYSTEM_JOBQUEUED, ICON_SYSTEM_JOBQUEUED_ID, ICON_SYSTEM_JOBQUEUED_ROOT, ICON_SYSTEM_KEYFIELD, ICON_SYSTEM_KEYFIELD_ID, ICON_SYSTEM_KEYFIELD_ROOT, ICON_SYSTEM_MESSAGE_ID, ICON_SYSTEM_MESSAGESEVERE_ID, ICON_SYSTEM_NEWDTAARA, ICON_SYSTEM_NEWDTAARA_ID, ICON_SYSTEM_NEWDTAARA_ROOT, ICON_SYSTEM_NEWDTAQ, ICON_SYSTEM_NEWDTAQ_ID, ICON_SYSTEM_NEWDTAQ_ROOT, ICON_SYSTEM_NEWLIBRARY, ICON_SYSTEM_NEWLIBRARY_ID, ICON_SYSTEM_NEWLIBRARY_ROOT, ICON_SYSTEM_NEWMEMBER, ICON_SYSTEM_NEWMEMBER_ID, ICON_SYSTEM_NEWMEMBER_ROOT, ICON_SYSTEM_NEWMSG, ICON_SYSTEM_NEWMSG_ID, ICON_SYSTEM_NEWMSG_ROOT, ICON_SYSTEM_NEWMSGFILE, ICON_SYSTEM_NEWMSGFILE_ID, ICON_SYSTEM_NEWMSGFILE_ROOT, ICON_SYSTEM_NEWSRCFILE, ICON_SYSTEM_NEWSRCFILE_ID, ICON_SYSTEM_NEWSRCFILE_ROOT, ICON_SYSTEM_RUN, ICON_SYSTEM_RUN_ID, ICON_SYSTEM_RUN_ROOT, ICON_SYSTEM_SERVERJOB, ICON_SYSTEM_SERVERJOB_ID, ICON_SYSTEM_SERVERJOB_ROOT, PLUGIN_ID, PREFIX, RSE_TEMP_LIB, RUN_IN_BATCH, RUN_IN_BATCH_CMD_PREFIX, RUN_IN_INTERACTIVE, RUN_IN_INTERACTIVE_CMD_PREFIX, RUN_IN_RSESERVER, RUN_IN_RSESERVER_CMD_PREFIX, RUN_IN_RSESERVERMULTITHREADED, RUN_IN_RSESERVERMULTITHREADED_CMD_PREFIX, validJobNameChars, VARIANTS
 
Constructor Summary
QSYSErrorListViewPart()
          Constructor for AS400ErrorListView
 
Method Summary
 void addActions()
          Adds the actions that we need
 void autoClearOldMessages()
          handle clearing old messages in the editor
 void autoInsertMessages()
          Inserts messages automatically into the editor based on the preference for auto-insertion
 void configure(IFile file, String remoteEvfQSYSPath)
          Configure the view
 void createPartControl(Composite parent)
           
 void dispose()
           
 void doCopyMessages()
          Copy the selected messages to the clipboard
 IEditorPart doOpenMessage(Object selectedElement)
          Open the selected message
 IEditorPart doOpenMessage(Object selectedElement, boolean openIfClosed)
          Opens the selected message
 void doRemoveMessages()
          Remove selected messages
 void doShowMessageHelp()
          Show help for the selected message
 Object[] getAllElements()
          Get all elements.
 Table getCurrentTable()
          Get the underlying table widget
 TableViewer getCurrentTableViewer()
          Get the underlying table viewer
 IFile getFile(IPath path)
          Get the file
 boolean getInsertAllMessage()
          Retrieves whether or not insert all messages is enabled
 boolean getInsertOpenMessage()
          retrieves the setting for insert messages into open editor
 QSYSErrorListViewMessageAction getMessageAction()
          Returns the Message Level action.
 String getMessageLevel()
          Get the message level
 boolean getRemoveAddressedErrors()
          retreive setting for removing addressed errors
 boolean getRemoveOldErrors()
          Retreives whether or not old errors should be removed when an events file is loaded in the error list view
 IWorkspaceRoot getRoot()
          Get the workspace root
 QSYSErrorListViewSeverityAction getSevAction()
          Returns the Show severity action.
 boolean getShowError()
          Get whether to show error messages
 boolean getShowInformation()
          Get whether to show information messages
 boolean getShowSevere()
          Get whether to show severe messages
 boolean getShowTerminating()
          Get whether to show terminating messages
 boolean getShowWarning()
          Get whether to show warning messages
 IWorkspace getWorkspace()
          Get the workspace
 void goBack()
          Go back
 void goForward()
          Go forward
protected  void initPullDownActions(IDialogSettings settings)
          Initializes pull down action states.
 void menuAboutToShow(IMenuManager manager)
          Notifies this listener that the menu is about to be shown by the given menu manager.
 void refresh()
          Refreshes the current viewer
 void remove(IFile file)
          removes the specified events file from the view
 void removeAll()
           
 void removeCurrent()
          Method removeCurrent.
 void removeMarker(IMarker marker, LpexView view)
          Removes the message from the editor and the error list for the specified marker
 void savePullDownActions(IDialogSettings settings)
          Saves pull down action states.
 void setFocus()
           
 void setInsertAllMessages(boolean value)
          Sets the setting for insert messages into open editor
 void setInsertOpenMessages(boolean value)
          Sets whether or not messages should be inserted for open members
 void setMessageLevel(String messageLevel)
          Set the message level
 void setRemoveAddressedErrors(boolean value)
          Sets whether or not addressed errors should be automatically removed
 void setRemoveOldErrors(boolean value)
          Sets whether or not old errors should be removed when an events file is loaded in the error list view
 void setShowError(boolean showError)
          Set whether to show error messages
 void setShowInformation(boolean showInformation)
          Set whether to show information messages
 void setShowSevere(boolean showSevere)
          Set whether to show severe messages
 void setShowTerminating(boolean showTerminating)
          Set whether to show terminating messages
 void setShowWarning(boolean showWarning)
          Set whether to show warning messages
 void showTable(IResource resource)
          Create a table and an appropriate viewer
 void widgetDisposed(DisposeEvent e)
          Used to cleanup when a menu is disposed.
 
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

ID

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

QSYSErrorListViewPart

public QSYSErrorListViewPart()
Constructor for AS400ErrorListView

Method Detail

setFocus

public void setFocus()
See Also:
WorkbenchPart#setFocus()

doCopyMessages

public void doCopyMessages()
Copy the selected messages to the clipboard


doOpenMessage

public IEditorPart doOpenMessage(Object selectedElement)
Open the selected message


doOpenMessage

public IEditorPart doOpenMessage(Object selectedElement,
                                 boolean openIfClosed)
Opens the selected message

Parameters:
selectedElement - the selected marker
openIfClosed - whether or not editor should be opened
Since:
7.1

doRemoveMessages

public void doRemoveMessages()
Remove selected messages


doShowMessageHelp

public void doShowMessageHelp()
Show help for the selected message


createPartControl

public void createPartControl(Composite parent)
See Also:
WorkbenchPart#createPartControl(Composite)

initPullDownActions

protected void initPullDownActions(IDialogSettings settings)
Initializes pull down action states.

Parameters:
settings - the dialog settings from which to restore states.

savePullDownActions

public void savePullDownActions(IDialogSettings settings)
Saves pull down action states.

Parameters:
settings - the dialog settings in which to store states.

addActions

public void addActions()
Adds the actions that we need


showTable

public void showTable(IResource resource)
Create a table and an appropriate viewer


getAllElements

public Object[] getAllElements()
Get all elements.


remove

public void remove(IFile file)
removes the specified events file from the view


configure

public void configure(IFile file,
                      String remoteEvfQSYSPath)
Configure the view


getFile

public IFile getFile(IPath path)
Get the file


goBack

public void goBack()
Go back


goForward

public void goForward()
Go forward


getWorkspace

public IWorkspace getWorkspace()
Get the workspace


getRoot

public IWorkspaceRoot getRoot()
Get the workspace root


getCurrentTable

public Table getCurrentTable()
Get the underlying table widget


getCurrentTableViewer

public TableViewer getCurrentTableViewer()
Get the underlying table viewer


setShowInformation

public void setShowInformation(boolean showInformation)
Set whether to show information messages

Parameters:
true - if information messages should be shown, false otherwise

getShowInformation

public boolean getShowInformation()
Get whether to show information messages

Returns:
true if information message should be shown, false otherwise

setShowWarning

public void setShowWarning(boolean showWarning)
Set whether to show warning messages

Parameters:
true - if warning messages should be shown, false otherwise

getShowWarning

public boolean getShowWarning()
Get whether to show warning messages

Returns:
true if warning messages should be shown, false otherwise

setShowError

public void setShowError(boolean showError)
Set whether to show error messages

Parameters:
true - if error messages should be shown, false otherwise

getShowError

public boolean getShowError()
Get whether to show error messages

Returns:
true if error messages should be shown, false otherwise

setShowSevere

public void setShowSevere(boolean showSevere)
Set whether to show severe messages

Parameters:
true - if severe messages should be shown, false otherwise

getShowSevere

public boolean getShowSevere()
Get whether to show severe messages

Returns:
true if severe messages should be shown, false otherwise

setShowTerminating

public void setShowTerminating(boolean showTerminating)
Set whether to show terminating messages

Parameters:
true - if terminating messages should be shown, false otherwise

getShowTerminating

public boolean getShowTerminating()
Get whether to show terminating messages

Returns:
true if terminating messages should be shown, false otherwise

refresh

public void refresh()
Refreshes the current viewer


getMessageLevel

public String getMessageLevel()
Get the message level

Returns:
the message level

setMessageLevel

public void setMessageLevel(String messageLevel)
Set the message level

Parameters:
the - message level

dispose

public void dispose()
See Also:
WorkbenchPart#dispose()

removeCurrent

public void removeCurrent()
Method removeCurrent. Removes the current events file from the viewer and deletes it


removeAll

public void removeAll()

getMessageAction

public QSYSErrorListViewMessageAction getMessageAction()
Returns the Message Level action.

Returns:
the message level action.

getSevAction

public QSYSErrorListViewSeverityAction getSevAction()
Returns the Show severity action.

Returns:
the show severity action.

menuAboutToShow

public void menuAboutToShow(IMenuManager manager)
Notifies this listener that the menu is about to be shown by the given menu manager.

Parameters:
manager - the menu manager
See Also:
IMenuListener

widgetDisposed

public void widgetDisposed(DisposeEvent e)
Used to cleanup when a menu is disposed.

Since:
6.0
See Also:
57720

getRemoveOldErrors

public boolean getRemoveOldErrors()
Retreives whether or not old errors should be removed when an events file is loaded in the error list view

Returns:
true to auto-remove old errors, false otherwise
Since:
7.1

setRemoveOldErrors

public void setRemoveOldErrors(boolean value)
Sets whether or not old errors should be removed when an events file is loaded in the error list view

Parameters:
value - true to auto-remove old errors, false otherwise
Since:
7.1

autoClearOldMessages

public void autoClearOldMessages()
handle clearing old messages in the editor

Since:
7.1

getRemoveAddressedErrors

public boolean getRemoveAddressedErrors()
retreive setting for removing addressed errors

Returns:
true if errors should be automatically removed, false otherwise
Since:
7.1

setRemoveAddressedErrors

public void setRemoveAddressedErrors(boolean value)
Sets whether or not addressed errors should be automatically removed

Parameters:
value - true to remove the errors, false otherwise
Since:
7.1

removeMarker

public void removeMarker(IMarker marker,
                         LpexView view)
Removes the message from the editor and the error list for the specified marker

Parameters:
marker - the marker to remove
view - the view to remove the message from
Since:
7.1

setInsertOpenMessages

public void setInsertOpenMessages(boolean value)
Sets whether or not messages should be inserted for open members

Parameters:
value - true to insert into open members, false otherwise.
Since:
7.1

getInsertOpenMessage

public boolean getInsertOpenMessage()
retrieves the setting for insert messages into open editor

Returns:
tru if the menu option is checked, false otherwise

setInsertAllMessages

public void setInsertAllMessages(boolean value)
Sets the setting for insert messages into open editor

Parameters:
value - true to insert all messages, false otherwise

getInsertAllMessage

public boolean getInsertAllMessage()
Retrieves whether or not insert all messages is enabled

Returns:
true if the error list is to auto-insert all messages and open member if necessary

autoInsertMessages

public void autoInsertMessages()
Inserts messages automatically into the editor based on the preference for auto-insertion


Rational Developer for Power Systems Software
V7.6

Copyright 2011 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.