RSE
Release 1.0

org.eclipse.rse.files.ui.actions
Class SystemRemoteFileLineOpenWithMenu

java.lang.Object
  extended byorg.eclipse.jface.action.ContributionItem
      extended byorg.eclipse.rse.files.ui.actions.SystemRemoteFileOpenWithMenu
          extended byorg.eclipse.rse.files.ui.actions.SystemRemoteFileLineOpenWithMenu
All Implemented Interfaces:
IContributionItem
Direct Known Subclasses:
SystemRemoteFileSearchOpenWithMenu

public class SystemRemoteFileLineOpenWithMenu
extends SystemRemoteFileOpenWithMenu

Open With menu class for openning remote files to a certain line number


Field Summary
protected  IRemoteLineReference _remoteLine
           
 
Fields inherited from class org.eclipse.rse.files.ui.actions.SystemRemoteFileOpenWithMenu
_remoteFile, ID, page, registry
 
Constructor Summary
SystemRemoteFileLineOpenWithMenu()
           
 
Method Summary
 void fill(Menu menu, int index)
           
protected  IEditorDescriptor getDefaultTextEditor()
           
protected  IEditorRegistry getEditorRegistry()
           
protected  void handleGotoLine()
           
static void handleGotoLine(IRemoteFile remoteFile, int line, int charStart, int charEnd)
           
protected  void openEditor(IRemoteFile file, IEditorDescriptor descriptor)
           
static IRemoteFile outputToFile(IRemoteLineReference output)
           
 void updateSelection(IStructuredSelection selection)
           
 
Methods inherited from class org.eclipse.rse.files.ui.actions.SystemRemoteFileOpenWithMenu
createDefaultMenuItem, createMenuItem, getDefaultEditor, getEditorDescriptor, getImage, getPreferredEditor, isDynamic, setDefaultEditor
 
Methods inherited from class org.eclipse.jface.action.ContributionItem
dispose, fill, fill, fill, getId, getParent, isDirty, isEnabled, isGroupMarker, isSeparator, isVisible, saveWidgetState, setParent, setVisible, toString, update, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_remoteLine

protected IRemoteLineReference _remoteLine
Constructor Detail

SystemRemoteFileLineOpenWithMenu

public SystemRemoteFileLineOpenWithMenu()
Method Detail

updateSelection

public void updateSelection(IStructuredSelection selection)
Overrides:
updateSelection in class SystemRemoteFileOpenWithMenu

fill

public void fill(Menu menu,
                 int index)
Specified by:
fill in interface IContributionItem
Overrides:
fill in class SystemRemoteFileOpenWithMenu

getEditorRegistry

protected IEditorRegistry getEditorRegistry()
Overrides:
getEditorRegistry in class SystemRemoteFileOpenWithMenu

getDefaultTextEditor

protected IEditorDescriptor getDefaultTextEditor()
Overrides:
getDefaultTextEditor in class SystemRemoteFileOpenWithMenu

outputToFile

public static IRemoteFile outputToFile(IRemoteLineReference output)

openEditor

protected void openEditor(IRemoteFile file,
                          IEditorDescriptor descriptor)
Overrides:
openEditor in class SystemRemoteFileOpenWithMenu

handleGotoLine

protected void handleGotoLine()

handleGotoLine

public static void handleGotoLine(IRemoteFile remoteFile,
                                  int line,
                                  int charStart,
                                  int charEnd)

RSE
Release 1.0

Copyright (c) IBM Corporation and others 2000, 2006. All Rights Reserved.