com.mindoo.remote.api.org.eclipse.ui
Interface IRemoteSelectionService

All Known Subinterfaces:
IRemoteWorkbenchPage

public interface IRemoteSelectionService

A selection service tracks the selection within an object.


Method Summary
 java.lang.String[] getSelectionAsURIs()
          Convenience method to retrieve the current selection as an array of URIs.
 java.lang.String[] getSelectionAsURIs(IRemoteWorkbenchPart part)
          Convenience method to retrieve the selection of the specified part as an array of URIs.
 java.lang.String[] getSelectionAsURIs(java.lang.String partId)
          Convenience method to retrieve the selection of the part with the specified part ID as an array of URIs.
 

Method Detail

getSelectionAsURIs

java.lang.String[] getSelectionAsURIs()
                                      throws RemoteEclipseAPIException
Convenience method to retrieve the current selection as an array of URIs.

Returns:
selection or null
Throws:
RemoteEclipseAPIException

getSelectionAsURIs

java.lang.String[] getSelectionAsURIs(java.lang.String partId)
                                      throws RemoteEclipseAPIException
Convenience method to retrieve the selection of the part with the specified part ID as an array of URIs.

Parameters:
partId - the id of the part
Returns:
selection or null
Throws:
RemoteEclipseAPIException

getSelectionAsURIs

java.lang.String[] getSelectionAsURIs(IRemoteWorkbenchPart part)
                                      throws RemoteEclipseAPIException
Convenience method to retrieve the selection of the specified part as an array of URIs.

Parameters:
part - the part
Returns:
selection or null
Throws:
RemoteEclipseAPIException