org.eclipse.rse.subsystems.files.dstore.model
Class DStoreSearchResult
java.lang.Object
org.eclipse.rse.subsystems.files.core.subsystems.RemoteSearchResult
org.eclipse.rse.subsystems.files.dstore.model.DStoreSearchResult
- All Implemented Interfaces:
- IAdaptable, IHostSearchResult, IRemoteLineReference, IRemoteSearchResult
- public class DStoreSearchResult
- extends RemoteSearchResult
Class for describing a line of command output on a
universal system
|
Method Summary |
void |
dispose()
|
int |
getLine()
Gets the line number within a file that this references if it references any. |
String |
getText()
Gets the text to display for a search result. |
| Methods inherited from class org.eclipse.rse.subsystems.files.core.subsystems.RemoteSearchResult |
addMatch, getAbsolutePath, getAdapter, getCharEnd, getCharEnd, getCharStart, getCharStart, getChildren, getConfiguration, getIndex, getLabel, getMatchingSearchString, getParent, hasChildren, numOfMatches, setIndex, setLine, setParent, setText |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DStoreSearchResult
public DStoreSearchResult(IHostSearchResultConfiguration configuration,
Object parent,
org.eclipse.dstore.core.model.DataElement element,
SystemSearchString searchString)
getLine
public int getLine()
- Description copied from interface:
IRemoteLineReference
- Gets the line number within a file that this references if it references any. By default
it should return 0. If no file association exists, it also returns 0. This may be used to jump into
a location within an editor from a view which displays remote output.
- Specified by:
getLine in interface IRemoteLineReference- Overrides:
getLine in class RemoteSearchResult
- See Also:
IRemoteLineReference.getLine()
getText
public String getText()
- Description copied from interface:
IRemoteSearchResult
- Gets the text to display for a search result.
- Specified by:
getText in interface IRemoteSearchResult- Overrides:
getText in class RemoteSearchResult
- See Also:
IRemoteSearchResult.getText()
dispose
public void dispose()
Copyright (c) IBM Corporation and others 2000, 2006. All Rights Reserved.