Rational Developer for Power Systems Software
V7.6

com.ibm.etools.systems.editor
Class SystemTextEditorProfileUniversal

java.lang.Object
  extended by com.ibm.etools.systems.editor.SystemTextEditorProfileDefault
      extended by com.ibm.etools.systems.editor.SystemTextEditorProfileUniversal
All Implemented Interfaces:
com.ibm.etools.systems.editor.internal.ISystemTextEditorConstants, ISystemTextEditorProfile
Direct Known Subclasses:
IBMiIFSEditorProfile, SystemTextEditorProfileUniversalLocal

public class SystemTextEditorProfileUniversal
extends SystemTextEditorProfileDefault


Field Summary
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
SystemTextEditorProfileUniversal()
           
 
Method Summary
 int hasSequenceNumbers(IFile file)
          Determines whether an IFile has sequence numbers
 void initializeLpexView(LpexTextEditor editor, LpexView lpexView)
          This is the profile for the universal type.
 boolean isLocal()
          Queries if the profile is for local resources or remote resources.
 boolean performSaveAs(LpexTextEditor editor, IProgressMonitor progressMonitor)
          Performs a save as for universal files.
 boolean performSaveAs(LpexTextEditor editor, IProgressMonitor progressMonitor, String strFileName)
          The editor's default save as is done by returning true.
 void updateProfile(LpexTextEditor editor, LpexView view)
          Compare and Get commands
 
Methods inherited from class com.ibm.etools.systems.editor.SystemTextEditorProfileDefault
addDebugEditorMenuActions, addDebugEditorRulerActions, createContextMenuManager, createDebugMenuActions, createDebugRulerActions, doSave, editorContextMenuAboutToShow, fileHasSequenceNumbers, getBreakpointRulerAction, getCompileMessageClassBitMask, getCompileMessageClassName, getDebuggerMarkerAnnotationModel, getTitle, hasSequenceNumbers, initializeAsSEU, isEditorInputIncludedInContextMenu, isTargetDebuggable, isUniqueContextMenuManagerRequired, resetMarkers, 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
Constructor Detail

SystemTextEditorProfileUniversal

public SystemTextEditorProfileUniversal()
Method Detail

hasSequenceNumbers

public int hasSequenceNumbers(IFile file)
Determines whether an IFile has sequence numbers

Overrides:
hasSequenceNumbers in class SystemTextEditorProfileDefault

performSaveAs

public boolean performSaveAs(LpexTextEditor editor,
                             IProgressMonitor progressMonitor,
                             String strFileName)
Description copied from class: SystemTextEditorProfileDefault
The editor's default save as is done by returning true.

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

performSaveAs

public boolean performSaveAs(LpexTextEditor editor,
                             IProgressMonitor progressMonitor)
Performs a save as for universal files.

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

updateProfile

public void updateProfile(LpexTextEditor editor,
                          LpexView view)
Compare and Get commands

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

isLocal

public boolean isLocal()
Description copied from interface: ISystemTextEditorProfile
Queries if the profile is for local resources or remote resources.

Specified by:
isLocal in interface ISystemTextEditorProfile
Overrides:
isLocal in class SystemTextEditorProfileDefault
Returns:
true if resource is local, false if resource is remote
See Also:
com.ibm.etools.systems.core.edit.ISystemTextEditorProfile#isLocal()

initializeLpexView

public void initializeLpexView(LpexTextEditor editor,
                               LpexView lpexView)
This is the profile for the universal type. DWD - override and initialize the source view name to the remote name.

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

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.