Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.rse.ui
Class IBMiIFSEditorProfile

java.lang.Object
  extended by com.ibm.etools.systems.editor.SystemTextEditorProfileDefault
      extended by com.ibm.etools.systems.editor.SystemTextEditorProfileUniversal
          extended by com.ibm.etools.iseries.rse.ui.IBMiIFSEditorProfile
All Implemented Interfaces:
com.ibm.etools.systems.editor.internal.ISystemTextEditorConstants, ISystemTextEditorProfile

public class IBMiIFSEditorProfile
extends SystemTextEditorProfileUniversal


Field Summary
protected  DebugEditorActionContributor _dbgEdContributor
           
static String Copyright
           
 
Fields inherited from class com.ibm.etools.systems.editor.SystemTextEditorProfileDefault
DEFAULT_COMPILE_MESSAGE_CLASS_NAME, SEQUENCE_FALSE, SEQUENCE_TRUE, SEQUENCE_UNKNOWN
 
Fields inherited from interface com.ibm.etools.systems.editor.internal.ISystemTextEditorConstants
AUTOSAVE_FREQ_ERROR, AUTOSAVE_FREQ_LABEL, AUTOSAVE_FREQ_TOOLTIP, AUTOSAVE_LABEL, AUTOSAVE_PROGRESS, AUTOSAVE_PROGRESS_JOBNAME, AUTOSAVE_TOOLTIP, copyright, PLUGIN_ID, PREFIX, RESID_PREFIX, RESID_PREFIX_PREFERENCES, RESID_PREFIX_PROGRESS, SYSTEM_TEXT_BROWSER_ID, SYSTEM_TEXT_EDITOR_ID
 
Constructor Summary
IBMiIFSEditorProfile()
           
 
Method Summary
 void addDebugEditorMenuActions(IMenuManager menu, boolean isDebuggable, int currentElement)
          Add debug editor menu actions associated with this profile.
 void addDebugEditorRulerActions(IMenuManager menu, boolean isDebuggable, int currentElement)
          Add debug editor ruler actions associated with this profile.
 void createDebugMenuActions(LpexTextEditor editor)
          Create debug menu actions associated with this profile
 void createDebugRulerActions(LpexTextEditor editor, IVerticalRuler ruler)
          Create debug ruler actions associated with this profile.
 IAction getBreakpointRulerAction(LpexTextEditor editor)
          Returns the appropriate breakpoint ruler action associated with this profile.
 IAnnotationModel getDebuggerMarkerAnnotationModel(IResource resource, IEditorInput input)
          Get the debugger marker annotation model for this resource in this profile.
 String getTitle(LpexTextEditor editor)
          Get the title to display in the editor
 int hasSequenceNumbers(IFile file)
          Always returns SEQUENCE_FALSE, as IFS should never contain sequence numbers.
 void initializeLpexView(LpexTextEditor editor, LpexView lpexView)
          This is the profile for the "IFS" type
 boolean isTargetDebuggable(IDebugTarget dbgtarget)
          Determine if the specified target is debuggable.
 void resetMarkers(LpexTextEditor editor)
          Reset markers associated with the resource being edited.
 
Methods inherited from class com.ibm.etools.systems.editor.SystemTextEditorProfileUniversal
isLocal, performSaveAs, performSaveAs, updateProfile
 
Methods inherited from class com.ibm.etools.systems.editor.SystemTextEditorProfileDefault
createContextMenuManager, doSave, editorContextMenuAboutToShow, fileHasSequenceNumbers, getCompileMessageClassBitMask, getCompileMessageClassName, hasSequenceNumbers, initializeAsSEU, isEditorInputIncludedInContextMenu, isUniqueContextMenuManagerRequired, setCompileMessageClassBitMask, setCompileMessageClassName, updateProfile
 
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

_dbgEdContributor

protected DebugEditorActionContributor _dbgEdContributor
Constructor Detail

IBMiIFSEditorProfile

public IBMiIFSEditorProfile()
Method Detail

resetMarkers

public void resetMarkers(LpexTextEditor editor)
Reset markers associated with the resource being edited.

Specified by:
resetMarkers in interface ISystemTextEditorProfile
Overrides:
resetMarkers in class SystemTextEditorProfileDefault

getBreakpointRulerAction

public IAction getBreakpointRulerAction(LpexTextEditor editor)
Returns the appropriate breakpoint ruler action associated with this profile.

Specified by:
getBreakpointRulerAction in interface ISystemTextEditorProfile
Overrides:
getBreakpointRulerAction in class SystemTextEditorProfileDefault
Returns:
the breakpoint ruler action, null if there is no such action

createDebugRulerActions

public void createDebugRulerActions(LpexTextEditor editor,
                                    IVerticalRuler ruler)
Create debug ruler actions associated with this profile.

Specified by:
createDebugRulerActions in interface ISystemTextEditorProfile
Overrides:
createDebugRulerActions in class SystemTextEditorProfileDefault

createDebugMenuActions

public void createDebugMenuActions(LpexTextEditor editor)
Create debug menu actions associated with this profile

Specified by:
createDebugMenuActions in interface ISystemTextEditorProfile
Overrides:
createDebugMenuActions in class SystemTextEditorProfileDefault

addDebugEditorMenuActions

public void addDebugEditorMenuActions(IMenuManager menu,
                                      boolean isDebuggable,
                                      int currentElement)
Add debug editor menu actions associated with this profile. If the source is not debuggable, leave out the debug actions

Specified by:
addDebugEditorMenuActions in interface ISystemTextEditorProfile
Overrides:
addDebugEditorMenuActions in class SystemTextEditorProfileDefault

addDebugEditorRulerActions

public void addDebugEditorRulerActions(IMenuManager menu,
                                       boolean isDebuggable,
                                       int currentElement)
Add debug editor ruler actions associated with this profile. If the source is not debuggable, leave out the debug actions

Specified by:
addDebugEditorRulerActions in interface ISystemTextEditorProfile
Overrides:
addDebugEditorRulerActions in class SystemTextEditorProfileDefault

isTargetDebuggable

public boolean isTargetDebuggable(IDebugTarget dbgtarget)
Determine if the specified target is debuggable. Returns true if the target is debuggable.

Specified by:
isTargetDebuggable in interface ISystemTextEditorProfile
Overrides:
isTargetDebuggable in class SystemTextEditorProfileDefault

getDebuggerMarkerAnnotationModel

public IAnnotationModel getDebuggerMarkerAnnotationModel(IResource resource,
                                                         IEditorInput input)
Get the debugger marker annotation model for this resource in this profile. Returns an annotation model

Specified by:
getDebuggerMarkerAnnotationModel in interface ISystemTextEditorProfile
Overrides:
getDebuggerMarkerAnnotationModel in class SystemTextEditorProfileDefault

initializeLpexView

public void initializeLpexView(LpexTextEditor editor,
                               LpexView lpexView)
This is the profile for the "IFS" type

Specified by:
initializeLpexView in interface ISystemTextEditorProfile
Overrides:
initializeLpexView in class SystemTextEditorProfileUniversal

hasSequenceNumbers

public int hasSequenceNumbers(IFile file)
Always returns SEQUENCE_FALSE, as IFS should never contain sequence numbers.

Overrides:
hasSequenceNumbers in class SystemTextEditorProfileUniversal
Since:
7.0
See Also:
com.ibm.etools.systems.editor.SystemTextEditorProfileUniversal#hasSequenceNumbers(org.eclipse.core.resources.IFile)

getTitle

public String getTitle(LpexTextEditor editor)
Description copied from class: SystemTextEditorProfileDefault
Get the title to display in the editor

Specified by:
getTitle in interface ISystemTextEditorProfile
Overrides:
getTitle in class SystemTextEditorProfileDefault
Returns:
the default implementation returns null to let the editor display its default title

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.