[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[List Home]
|
[cdt-dev] Programmatically create a Telnet Terminal session
|
- From: John MOULE <john.moule@xxxxxx>
- Date: Fri, 24 Apr 2009 16:09:22 +0100
- Delivered-to: cdt-dev@eclipse.org
- Organization: ST Microelectronics
- User-agent: Thunderbird 2.0.0.21 (Windows/20090302)
Hi,
I posted this to Eclipse NewsPortal - eclipse.tools.cdt but have heard
nothing so I'm trying here in case any kind soul can help me.
I would like to programmatically create a telnet session using the
Terminal view. I don't want any settings UI to be presented. Instead I
want to provide the telnet parameters programmatically. I think I need to
do that with an ITerminalConnector.
I've tried the code below, but am missing the crucial first step where the
View is created and I think that is why the onTerminalNewTerminal() is
failing.
ITerminalConnector con;
ITerminalView view;
view = new TerminalView();
TerminalActionNewTerminal newTerm = new TerminalActionNewTerminal(view);
view.onTerminalNewTerminal();
view.onTerminalConnect();
Any help for an entry point into this would be greatly appreciated.
cheers john