|
Rational Developer for i 7.5.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectViewPart
com.ibm.etools.iseries.rse.ui.view.errorlist.QSYSErrorListViewPart
public class QSYSErrorListViewPart
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
|
| 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 |
|---|
public static final String Copyright
public static final String ID
| Constructor Detail |
|---|
public QSYSErrorListViewPart()
| Method Detail |
|---|
public void setFocus()
WorkbenchPart#setFocus()public void doCopyMessages()
public IEditorPart doOpenMessage(Object selectedElement)
public IEditorPart doOpenMessage(Object selectedElement,
boolean openIfClosed)
selectedElement - the selected markeropenIfClosed - whether or not editor should be openedpublic void doRemoveMessages()
public void doShowMessageHelp()
public void createPartControl(Composite parent)
WorkbenchPart#createPartControl(Composite)protected void initPullDownActions(IDialogSettings settings)
settings - the dialog settings from which to restore states.public void savePullDownActions(IDialogSettings settings)
settings - the dialog settings in which to store states.public void addActions()
public void showTable(IResource resource)
public Object[] getAllElements()
public void remove(IFile file)
public void configure(IFile file,
String remoteEvfQSYSPath)
public IFile getFile(IPath path)
public void goBack()
public void goForward()
public IWorkspace getWorkspace()
public IWorkspaceRoot getRoot()
public Table getCurrentTable()
public TableViewer getCurrentTableViewer()
public void setShowInformation(boolean showInformation)
true - if information messages should be shown, false otherwisepublic boolean getShowInformation()
public void setShowWarning(boolean showWarning)
true - if warning messages should be shown, false otherwisepublic boolean getShowWarning()
public void setShowError(boolean showError)
true - if error messages should be shown, false otherwisepublic boolean getShowError()
public void setShowSevere(boolean showSevere)
true - if severe messages should be shown, false otherwisepublic boolean getShowSevere()
public void setShowTerminating(boolean showTerminating)
true - if terminating messages should be shown, false otherwisepublic boolean getShowTerminating()
public void refresh()
public String getMessageLevel()
public void setMessageLevel(String messageLevel)
the - message levelpublic void dispose()
WorkbenchPart#dispose()public void removeCurrent()
public void removeAll()
public QSYSErrorListViewMessageAction getMessageAction()
public QSYSErrorListViewSeverityAction getSevAction()
public void menuAboutToShow(IMenuManager manager)
manager - the menu managerIMenuListenerpublic void widgetDisposed(DisposeEvent e)
widgetDisposed in interface DisposeListener57720public boolean getRemoveOldErrors()
public void setRemoveOldErrors(boolean value)
value - true to auto-remove old errors, false otherwisepublic void autoClearOldMessages()
public boolean getRemoveAddressedErrors()
public void setRemoveAddressedErrors(boolean value)
value - true to remove the errors, false otherwise
public void removeMarker(IMarker marker,
LpexView view)
marker - the marker to removeview - the view to remove the message frompublic void setInsertOpenMessages(boolean value)
value - true to insert into open members, false otherwise.public boolean getInsertOpenMessage()
public void setInsertAllMessages(boolean value)
value - true to insert all messages, false otherwisepublic boolean getInsertAllMessage()
public void autoInsertMessages()
|
Rational Developer for i 7.5.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||