|
RSE Release 1.0 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.eclipse.rse.core.model.PropertySetContainer
org.eclipse.rse.core.model.RSEModelObject
org.eclipse.rse.core.subsystems.SubSystem
org.eclipse.rse.core.servicesubsystem.ServiceSubSystem
| Nested Class Summary |
|---|
| Nested classes inherited from class org.eclipse.rse.core.subsystems.SubSystem |
|---|
SubSystem.ChangeStatusJob, SubSystem.ConnectJob, SubSystem.DisconnectJob, SubSystem.DisplayErrorMessageJob, SubSystem.GetPropertiesJob, SubSystem.GetPropertyJob, SubSystem.ResolveAbsoluteJob, SubSystem.ResolveAbsolutesJob, SubSystem.ResolveRelativeJob, SubSystem.SetPropertiesJob, SubSystem.SetPropertyJob, SubSystem.SubSystemOperationJob |
| Field Summary |
|---|
| Fields inherited from class org.eclipse.rse.core.model.RSEModelObject |
|---|
_isDirty, _wasRestored |
| Constructor Summary | |
|---|---|
protected |
ServiceSubSystem(IHost host,
IConnectorService connectorService)
Constructor Subclasses must call this via super(). |
| Method Summary | |
|---|---|
PropertyPage |
getPropertyPage(Composite parent)
Optionally override in order to supply a property sub-page to the tabbed notebook in the owning connection's Properties page. |
protected Object[] |
internalResolveFilterString(IProgressMonitor monitor,
Object parent,
String filterString)
Remote-accessing method, that does nothing by default. |
protected Object[] |
internalResolveFilterString(IProgressMonitor monitor,
String filterString)
Remote-accessing method, that does nothing by default. |
| Methods inherited from class org.eclipse.rse.core.model.RSEModelObject |
|---|
compareStrings, getDescription, isDirty, setDirty, setWasRestored, wasRestored |
| Methods inherited from class org.eclipse.rse.core.model.PropertySetContainer |
|---|
addPropertySet, addPropertySets, createPropertySet, createPropertySet, getPropertySet, getPropertySets, removePropertySet |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.rse.core.subsystems.IServiceSubSystem |
|---|
getServiceType, switchServiceFactory |
| Methods inherited from interface org.eclipse.rse.core.subsystems.IRemoteObjectResolver |
|---|
getObjectWithAbsoluteName |
| Methods inherited from interface org.eclipse.core.runtime.jobs.ISchedulingRule |
|---|
contains, isConflicting |
| Methods inherited from interface org.eclipse.rse.core.model.IRSEModelObject |
|---|
getDescription |
| Methods inherited from interface org.eclipse.rse.core.model.IPropertySetContainer |
|---|
addPropertySet, addPropertySets, createPropertySet, createPropertySet, getPropertySet, getPropertySets, removePropertySet |
| Methods inherited from interface org.eclipse.rse.core.persistance.IRSEPersistableContainer |
|---|
commit, isDirty, setDirty, setWasRestored, wasRestored |
| Constructor Detail |
protected ServiceSubSystem(IHost host,
IConnectorService connectorService)
| Method Detail |
public PropertyPage getPropertyPage(Composite parent)
SystemPortPrompt widget.
getPropertyPage in class SubSystem
protected Object[] internalResolveFilterString(IProgressMonitor monitor,
String filterString)
throws InvocationTargetException,
InterruptedException
SubSystemConfiguration.supportsFilters(),
which is the default. Otherwise, SubSystem.getChildren()
is called when the subsystem itself is expanded.
When a user expands a filter this method is invoked for each filter string and the
results are concatenated and displayed to the user. You can affect the post-concatenated
result by overriding SubSystem.sortResolvedFilterStringObjects(Object[]) if you desire to
sort the result, say, or pick our redundancies.
The resulting objects are displayed in the tree in the Remote System view.
There are two requirements on the returned objects:
IAdaptable.
remote-adapter registered
for the object's class or interface type. Further, if this subsystem is visible
in the RSE, which is the default, then there must also be an RSE GUI-adapter registered
with the platform. The base class implementation of this interface is AbstractSystemViewAdapter.
A good place to start with your remote-resource classes to subclasss AbstractResource, as it
already implements IAdaptable, and maintains a reference to this owning subsystem, which helps when
implementing the remote-adapter.
Be sure to register your adapter factory in your plugin's startup method.
As per IRunnableWithProgress rules:
internalResolveFilterString in class SubSystemmonitor - - the progress monitor in effect while this operation performsfilterString - - one of the filter strings from the expanded filter
InvocationTargetException
InterruptedException
protected Object[] internalResolveFilterString(IProgressMonitor monitor,
Object parent,
String filterString)
throws InvocationTargetException,
InterruptedException
When a user expands a remote resource this method is invoked and the
results are potentially sorted and displayed to the user. You can affect the sorting
behaviour by overriding SubSystem.sortResolvedFilterStringObjects(Object[]) if you desire to
sort the result, say, or pick our redundancies. This is only called if the parent object's adapter indicated it can have children.
The resulting objects are displayed in the tree in the Remote System view.
There are two requirements on the returned objects:
IAdaptable.
remote-adapter registered
for the object's class or interface type. Further, if this subsystem is visible
in the RSE, which is the default, then there must also be an RSE GUI-adapter registered
with the platform. The base class implementation of this interface is AbstractSystemViewAdapter.
A good place to start with your remote-resource classes to subclasss AbstractResource, as it
already implements IAdaptable, and maintains a reference to this owning subsystem, which helps when
implementing the remote-adapter.
Be sure to register your adapter factory in your plugin's startup method.
As per IRunnableWithProgress rules:
internalResolveFilterString in class SubSystemmonitor - - the progress monitor in effect while this operation performsparent - - the parent resource object being expandedfilterString - - typically defaults to "*". In future additional user-specific quick-filters may be supported.
InvocationTargetException
InterruptedException
|
RSE Release 1.0 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||