diff options
author | David Dykstal | 2006-12-12 14:00:45 +0000 |
---|---|---|
committer | David Dykstal | 2006-12-12 14:00:45 +0000 |
commit | 9dae46223a981ff87da81c4aa62e8e2098bf8076 (patch) | |
tree | e275b6f02dd124bbbba6b680c6924fcb4af5f0a0 | |
parent | 7a9f840fc4836000e03d5c192162cc7170a738eb (diff) | |
download | org.eclipse.tm-9dae46223a981ff87da81c4aa62e8e2098bf8076.tar.gz org.eclipse.tm-9dae46223a981ff87da81c4aa62e8e2098bf8076.tar.xz org.eclipse.tm-9dae46223a981ff87da81c4aa62e8e2098bf8076.zip |
[150388] default implementations of initializeSubSystem and uninitializeSubSystem have been provided.
-rw-r--r-- | rse/plugins/org.eclipse.rse.ui/subsystems/org/eclipse/rse/core/subsystems/SubSystem.java | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/rse/plugins/org.eclipse.rse.ui/subsystems/org/eclipse/rse/core/subsystems/SubSystem.java b/rse/plugins/org.eclipse.rse.ui/subsystems/org/eclipse/rse/core/subsystems/SubSystem.java index da4cc4358..b6ff66a90 100644 --- a/rse/plugins/org.eclipse.rse.ui/subsystems/org/eclipse/rse/core/subsystems/SubSystem.java +++ b/rse/plugins/org.eclipse.rse.ui/subsystems/org/eclipse/rse/core/subsystems/SubSystem.java @@ -2415,9 +2415,20 @@ public abstract class SubSystem extends RSEModelObject implements IAdaptable, IS * This gets called after the corresponding {@link IConnectorService} connect method finishes. * This method should be overridden if any initialization for the subsystem needs * to occur at this time + * <p> + * The default implementation does nothing. */ - public abstract void initializeSubSystem(IProgressMonitor monitor); - + public void initializeSubSystem(IProgressMonitor monitor) { + } + + /** + * Called after the associated {@link IConnectorService} disconnects. + * Override if there is any cleanup to do in the subsystem after disconnecting. + * <p> + * The default implementation does nothing. + */ + public void uninitializeSubSystem(IProgressMonitor monitor) { + } /** * Attempt to connect to the remote system when a Shell is not available. |