com.ibm.etools.systems.files.ui.actions
Class SystemRemoteFileLineOpenWithMenu
java.lang.Object
ContributionItem
com.ibm.etools.systems.files.ui.actions.SystemRemoteFileOpenWithMenu
com.ibm.etools.systems.files.ui.actions.SystemRemoteFileLineOpenWithMenu
- Direct Known Subclasses:
- SystemRemoteFileSearchOpenWithMenu
- public class SystemRemoteFileLineOpenWithMenu
- extends SystemRemoteFileOpenWithMenu
Open With menu class for openning remote files to a certain line number
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_remoteLine
protected IRemoteLineReference _remoteLine
_associatedProject
protected IProject _associatedProject
SystemRemoteFileLineOpenWithMenu
public SystemRemoteFileLineOpenWithMenu()
updateSelection
public void updateSelection(IStructuredSelection selection)
- Overrides:
updateSelection
in class SystemRemoteFileOpenWithMenu
fill
public void fill(Menu menu,
int index)
- Overrides:
fill
in class SystemRemoteFileOpenWithMenu
createProjectFileMenuItem
protected void createProjectFileMenuItem(Menu menu,
IEditorDescriptor descriptor,
IEditorDescriptor preferredEditor)
- Creates the menu item for the editor descriptor.
- Parameters:
menu
- the menu to add the item todescriptor
- the editor descriptor, or null for the system editorpreferredEditor
- the descriptor of the preferred editor, or null
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)
openWorkspaceFile
protected boolean openWorkspaceFile(IRemoteFile remoteFile,
IRemoteOutput output,
IEditorDescriptor desc)
- Open workspace file associated with IRemoteCommandShell. If there is no associated project
return.
- Parameters:
remoteFile
- output
-
- Returns:
Copyright © 2005 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.