Bug 259271 - [terminal][api] Create public Terminal API
Summary: [terminal][api] Create public Terminal API
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: terminal (show other bugs)
Version: Next   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords: api
Depends on: 224989 183913 185348
Blocks:
  Show dependency tree
 
Reported: 2008-12-18 11:17 EST by Martin Oberhuber CLA
Modified: 2020-09-04 15:12 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Oberhuber CLA 2008-12-18 11:17:00 EST
The TM Terminal Component has been in "incubation" state with only "internal" APIs for two releases in a row now. Adoption of the Terminal is growing, and there are requests for official APIs to embed the Terminal Widget, create connections programmatically, provide additional contributed services on top of the Terminal, and customize the Terminal Rendering (for providing a hyperlink navigator like in the console). In order to further support and grow adoption, these APIs must be designed and exposed to community feedback before they can be declared final.
Comment 1 Martin Oberhuber CLA 2008-12-18 11:33:26 EST
Tasks:

* Make public:
  - ITerminalConnector, ISettingsStore, ITerminalViewControl, TerminalSettings
* Separate packages for non-UI API from UI-API
  (to allow potential future refactoring into a separate non-UI bundle)
* Refactor ITerminalConnector#makeSettingsPage into separate UI interface
* Review state handling
  - have ITerminalConnector#getState(), and ITerminalControl#updateState()
  - have ITerminalControl#getConnector() instead of #getState()
* Get rid of TerminalState#OPENED
* Get rid of ITerminalControl#setMsg() and #writeToTerminal()
  - review the error reporting mechanism. Perhaps
    ITerminalControl#reportError(IStatus status)?
* Add API for connecting (bug 185348)
Comment 2 David Sciamma CLA 2009-09-02 10:28:00 EDT
Do you think it will be in the plan for the next release ?
Comment 3 Martin Oberhuber CLA 2011-05-31 17:41:49 EDT
Moving deferred 3.3 api items to 3.4
Comment 4 Martin Oberhuber CLA 2012-05-22 14:54:12 EDT
Part of this is being implemented for the Target Explorer Terminal.
Comment 5 Jonah Graham CLA 2020-05-01 10:10:17 EDT
The Terminal component of the Eclipse Ecosystem has a new home. The Terminal is now part of the Eclipse CDT project[1].

This change means a new Git repo[2], P2 site[3] and Bugzilla component. The terminal will continue to be delivered as part of the quarterly Simultaneous Release of Eclipse as well.

The marketplace entry[4] had not been updated in a few years. It will once again install the latest release of the terminal on the latest release of the whole IDE (currently 2020-03).

If this bug is no longer relevant, please feel free to comment or close the bug. If you can confirm if this issues still occurs in the latest release please do let me know in a comment.

[1] https://wiki.eclipse.org/CDT/User/NewIn911
[2] https://git.eclipse.org/c/cdt/org.eclipse.cdt.git (in the terminal directory)
[3] current release is 9.11 - P2 site https://download.eclipse.org/tools/cdt/releases/9.11/
[4] https://marketplace.eclipse.org/content/tm-terminal

(This comment was added to all open terminal bugs along with changing the Product/component pair to CDT/terminal.)