1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-24 17:35:35 +02:00

Add FIXME comments for future Terminal API.

This commit is contained in:
Martin Oberhuber 2008-12-18 17:03:57 +00:00
parent 80035e3361
commit 028fc5c617
2 changed files with 17 additions and 13 deletions

View file

@ -29,14 +29,14 @@ import org.eclipse.tm.internal.terminal.provisional.api.provider.TerminalConnect
* communications. This pattern allows for lazy initialization, bundle
* activation and class loading of the actual {@link TerminalConnectorImpl}
* instance.
*
*
* Clients can get terminal connector instances from the
* {@link TerminalConnectorExtension} class, or from
* {@link ITerminalViewControl#getTerminalConnector()} when running inside an
* active terminal widget.
*
*
* @noimplement This interface is not intended to be implemented by clients.
*
*
* @author Michael Scharf
* <p>
* <strong>EXPERIMENTAL</strong>. This class or interface has been
@ -125,10 +125,14 @@ public interface ITerminalConnector extends IAdaptable {
void save(ISettingsStore store);
/**
* FIXME should not have UI related stuff in ITerminalConnector, since
* connectors may be totally programmatic and UI-less. Better make the
* connector adapt to an interface that controls the UI aspect.
*
* @return a new page that can be used in a dialog to setup this connection.
* The dialog should persist its settings with the {@link #load(ISettingsStore)}
* and {@link #save(ISettingsStore)} methods.
*
* The dialog should persist its settings with the
* {@link #load(ISettingsStore)} and {@link #save(ISettingsStore)}
* methods.
*/
ISettingsPage makeSettingsPage();

View file

@ -1,11 +1,11 @@
/*******************************************************************************
* Copyright (c) 2006, 2007 Wind River Systems, Inc. and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Michael Scharf (Wind River) - initial API and implementation
* Martin Oberhuber (Wind River) - fixed copyright headers and beautified
*******************************************************************************/
@ -30,7 +30,7 @@ public class TerminalState {
public final static TerminalState CLOSED=new TerminalState("CLOSED"); //$NON-NLS-1$
/**
* TODO: Michael Scharf: it's not clear to me what the meaning of the open state is
* FIXME Get rid of this state it is equivalent to CONNECTING.
*/
public final static TerminalState OPENED=new TerminalState("OPENED"); //$NON-NLS-1$