|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object CppParser com.ibm.etools.iseries.parsers.ISeriesEditorCPPParser
public class ISeriesEditorCPPParser
The main purpose of this parser is to enable templates for CPP
Field Summary | |
---|---|
protected ISeriesCompileEditManager |
_compileEditManager
|
protected QSYSErrorMarkerListener |
_compileErrorMarkerListener
|
protected String |
_compileMarkNames
|
protected LpexSourceViewerConfiguration |
_defaultSourceViewerConfiguration
The default source viewer configuration. |
protected LpexTextEditor |
_editor
|
protected SystemTextEditorHelpHandler |
_helpHandler
|
protected LpexView |
_view
|
Fields inherited from interface com.ibm.etools.systems.editor.ISystemTextEditorSourceViewerConfigurationContributor |
---|
Copyright |
Fields inherited from interface com.ibm.etools.systems.editor.ISystemTextEditorContextContributor |
---|
Copyright |
Fields inherited from interface com.ibm.etools.systems.editor.ISystemTextEditorHelpContributor |
---|
Copyright |
Constructor Summary | |
---|---|
ISeriesEditorCPPParser(LpexView view)
|
Method Summary | |
---|---|
void |
cleanupMenu(ITextEditor editor,
IMenuManager menuManager)
Removes the Source and Compile menu items |
void |
cleanupPopupMenu(ITextEditor editor,
IMenuManager menuManager)
There are no common popup menu items. |
void |
cleanupToolBar(ITextEditor editor,
IToolBarManager toolBarManager)
removes the next and previous error toolbar buttons |
void |
contributeToMenu(ITextEditor editor,
IMenuManager menuManager)
Contributes basic actions to source menu bar Subclasses should override to contribute menu bar items and call super. |
void |
contributeToPopupMenu(ITextEditor editor,
IMenuManager menuManager)
Contributes popup menu bar items. |
void |
contributeToToolBar(ITextEditor editor,
IToolBarManager toolBarManager)
Subclasses override to contribute tool bar items. |
void |
copyCompileErrorInfo(LpexView secondaryView)
Used to copy the compile message markers from the primary view to the newly opened secondary view. |
protected void |
doShowErrorsAction(LpexView view)
Filter view>Errors action |
void |
finishedSaving(ITextEditor editor)
Method finishedSaving Does nothing for the ILE CPP Parser |
LpexTextEditor |
getEditor()
|
SystemTextEditorHelpHandler |
getHelpHandler()
Returns the help handler for this parser. |
LpexLanguageHelp |
getLpexLanguageHelpHandler()
Declared in ISystemTextEditorHelpContributor |
LpexSourceViewerConfiguration |
getSourceViewerConfiguration()
Returns the source viewer configuration. |
protected void |
initParser()
initialize parser |
boolean |
isExtensionKeyword(com.ibm.lpex.cc.Token token)
|
void |
parseElement(int element)
Incremental parse. |
void |
saving(ITextEditor editor)
Method saving. |
void |
setCompileErrorInfo(ISeriesCompileEditManager compileEditManager,
String markNames,
QSYSErrorMarkerListener errorMarkerListener)
Used to set the compile information to be used when splitting a view so that errors appear in the splits. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected LpexSourceViewerConfiguration _defaultSourceViewerConfiguration
protected LpexView _view
protected SystemTextEditorHelpHandler _helpHandler
protected LpexTextEditor _editor
protected String _compileMarkNames
protected QSYSErrorMarkerListener _compileErrorMarkerListener
protected ISeriesCompileEditManager _compileEditManager
Constructor Detail |
---|
public ISeriesEditorCPPParser(LpexView view)
Method Detail |
---|
protected void initParser()
protected void doShowErrorsAction(LpexView view)
view
- public LpexSourceViewerConfiguration getSourceViewerConfiguration()
getSourceViewerConfiguration
in interface ISystemTextEditorSourceViewerConfigurationContributor
public void saving(ITextEditor editor)
saving
in interface ISystemTextEditorContextContributor
public void cleanupMenu(ITextEditor editor, IMenuManager menuManager)
subclasses which add other toolbar menus should subclass and call super
cleanupMenu
in interface ISystemTextEditorContextContributor
ISystemTextEditorContextContributor.cleanupMenu(ITextEditor, IMenuManager)
public void cleanupPopupMenu(ITextEditor editor, IMenuManager menuManager)
subclasses which add other popup menu items should subclass and call super
cleanupPopupMenu
in interface ISystemTextEditorContextContributor
ISystemTextEditorContextContributor.cleanupPopupMenu(ITextEditor, IMenuManager)
public void cleanupToolBar(ITextEditor editor, IToolBarManager toolBarManager)
subclasses which add other toolbar buttons should subclass and call super
cleanupToolBar
in interface ISystemTextEditorContextContributor
ISystemTextEditorContextContributor.cleanupToolBar(ITextEditor, IToolBarManager)
public void contributeToMenu(ITextEditor editor, IMenuManager menuManager)
contributeToMenu
in interface ISystemTextEditorContextContributor
public void contributeToPopupMenu(ITextEditor editor, IMenuManager menuManager)
contributeToPopupMenu
in interface ISystemTextEditorContextContributor
public void finishedSaving(ITextEditor editor)
finishedSaving
in interface ISystemTextEditorContextContributor
ISystemTextEditorContextContributor.finishedSaving(ITextEditor)
public void contributeToToolBar(ITextEditor editor, IToolBarManager toolBarManager)
contributeToToolBar
in interface ISystemTextEditorContextContributor
public LpexLanguageHelp getLpexLanguageHelpHandler()
getLpexLanguageHelpHandler
in interface ISystemTextEditorHelpContributor
public SystemTextEditorHelpHandler getHelpHandler()
public boolean isExtensionKeyword(com.ibm.lpex.cc.Token token)
public LpexTextEditor getEditor()
public void parseElement(int element)
element
- an element affected by a committed change in this viewpublic void setCompileErrorInfo(ISeriesCompileEditManager compileEditManager, String markNames, QSYSErrorMarkerListener errorMarkerListener)
IISeriesCompileErrorInfoViewHandler
setCompileErrorInfo
in interface IISeriesCompileErrorInfoViewHandler
markNames
- the list of names of marks in the primary viewpublic void copyCompileErrorInfo(LpexView secondaryView)
IISeriesCompileErrorInfoViewHandler
copyCompileErrorInfo
in interface IISeriesCompileErrorInfoViewHandler
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |