RSE
Release 1.0

org.eclipse.rse.subsystems.files.dstore.model
Class DStoreSearchResult

java.lang.Object
  extended byorg.eclipse.rse.subsystems.files.core.subsystems.RemoteSearchResult
      extended byorg.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


Nested Class Summary
 
Nested classes inherited from class org.eclipse.rse.subsystems.files.core.subsystems.RemoteSearchResult
RemoteSearchResult.RemoteSearchResultMatch
 
Field Summary
 
Fields inherited from interface org.eclipse.rse.services.search.IHostSearchResult
SEARCH_RESULT_CLOSE_DELIMITER, SEARCH_RESULT_DELIMITER, SEARCH_RESULT_INDEX_DELIMITER, SEARCH_RESULT_OPEN_DELIMITER
 
Constructor Summary
DStoreSearchResult(IHostSearchResultConfiguration configuration, Object parent, org.eclipse.dstore.core.model.DataElement element, SystemSearchString searchString)
           
 
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
 

Constructor Detail

DStoreSearchResult

public DStoreSearchResult(IHostSearchResultConfiguration configuration,
                          Object parent,
                          org.eclipse.dstore.core.model.DataElement element,
                          SystemSearchString searchString)
Method Detail

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()

RSE
Release 1.0

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