1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-04 15:45:25 +02:00

[190231] Prepare experimental API for UI/Non-UI Splitting

This commit is contained in:
Martin Oberhuber 2008-04-12 01:28:38 +00:00
parent 9db0e7c00a
commit 98a7ae86ed
5 changed files with 53 additions and 3 deletions

View file

@ -27,6 +27,14 @@ import org.eclipse.rse.services.clientserver.messages.SystemMessage;
* Non-UI headless applications may log messages rather than doing interactive
* messages, and may use different Threads for sending messages.
*
* <p>
* <strong>EXPERIMENTAL</strong>. This class or interface has been added as
* part of a work in progress. There is no guarantee that this API will work or
* that it will remain the same. Please do not use this API without consulting
* with the <a href="http://www.eclipse.org/dsdp/tm/">Target Management</a>
* team.
* </p>
*
* @since org.eclipse.rse.core 3.0
*/
public interface IRSEInteractionProvider {

View file

@ -29,6 +29,13 @@ import org.eclipse.core.runtime.IProgressMonitor;
* <code>IRunnableWithProgress</code> to the <code>run</code> method of an
* <code>IRunnableContext</code>, which provides the UI for the progress
* monitor and Cancel button.
* <p>
* <strong>EXPERIMENTAL</strong>. This class or interface has been added as
* part of a work in progress. There is no guarantee that this API will work or
* that it will remain the same. Please do not use this API without consulting
* with the <a href="http://www.eclipse.org/dsdp/tm/">Target Management</a>
* team.
* </p>
*
* @see IRSEInteractionProvider
* @since org.eclipse.rse.core 3.0

View file

@ -407,6 +407,13 @@ public class RSECorePlugin extends Plugin {
* interaction provider for showing dialogs from Core operations. Non-UI
* headless operations can use an Interaction Provider that just logs its
* messages and works without other UI.
* <p>
* <strong>EXPERIMENTAL</strong>. This class or interface has been added as
* part of a work in progress. There is no guarantee that this API will work
* or that it will remain the same. Please do not use this API without
* consulting with the <a href="http://www.eclipse.org/dsdp/tm/">Target
* Management</a> team.
* </p>
*
* @param p the interaction provider to set.
* @since org.eclipse.rse.core 3.0
@ -420,6 +427,13 @@ public class RSECorePlugin extends Plugin {
/**
* Get the default interface for interacting with the user or other outside
* world.
* <p>
* <strong>EXPERIMENTAL</strong>. This class or interface has been added as
* part of a work in progress. There is no guarantee that this API will work
* or that it will remain the same. Please do not use this API without
* consulting with the <a href="http://www.eclipse.org/dsdp/tm/">Target
* Management</a> team.
* </p>
*
* @return the default interaction provider.
* @since org.eclipse.rse.core 3.0

View file

@ -29,9 +29,16 @@ import org.eclipse.ui.IWorkbenchWindow;
import org.eclipse.ui.PlatformUI;
/**
* A Default Interaction Provider that runs in the Eclipse / SWT UI.
* Meant to provide the same functionality as it was there before
* UI / Non-UI Splitting.
* A Default Interaction Provider that runs in the Eclipse / SWT UI. Meant to
* provide the same functionality as it was there before UI / Non-UI Splitting.
* <p>
* <strong>EXPERIMENTAL</strong>. This class or interface has been added as
* part of a work in progress. There is no guarantee that this API will work or
* that it will remain the same. Please do not use this API without consulting
* with the <a href="http://www.eclipse.org/dsdp/tm/">Target Management</a>
* team.
* </p>
*
* @since org.eclipse.rse.ui 3.0
*/
public class DefaultUIInteractionProvider implements IRSEInteractionProvider {

View file

@ -228,6 +228,13 @@ implements IAdaptable, ISubSystem, ISystemFilterPoolReferenceManagerProvider
/**
* Set an Interaction Provider specific for this subsystem.
* <p>
* <strong>EXPERIMENTAL</strong>. This class or interface has been added as
* part of a work in progress. There is no guarantee that this API will work
* or that it will remain the same. Please do not use this API without
* consulting with the <a href="http://www.eclipse.org/dsdp/tm/">Target
* Management</a> team.
* </p>
*
* @param p the new interaction provider to use, or <code>null</code> to
* fall back to the default interaction provider (from
@ -244,6 +251,13 @@ implements IAdaptable, ISubSystem, ISystemFilterPoolReferenceManagerProvider
* Get the current Interaction Provider. Returns a specific one for this
* subsystem if it has been set, or falls back to the default one from
* RSECorePlugin otherwise.
* <p>
* <strong>EXPERIMENTAL</strong>. This class or interface has been added as
* part of a work in progress. There is no guarantee that this API will work
* or that it will remain the same. Please do not use this API without
* consulting with the <a href="http://www.eclipse.org/dsdp/tm/">Target
* Management</a> team.
* </p>
*
* @return the interaction provider to use.
* @since 3.0