Automatic TerminalView Connection [message #23963] |
Wed, 04 June 2008 11:30  |
Eclipse User |
|
|
|
Originally posted by: alberto.zorzan.maniaitalia.it
Hello,
i'm using plugin "org.eclipse.tm.internal.terminal.view.TerminalView" by
estension Point to have a simple terminal inside my RCP application (
that using COM port to control a industrial machine).
Is it possible to set and save the properties of connection setting
(accesible by setting button) for next sessions?
Is it also possible to set this properties (connection type and setting
parameters) by Java code?
And , in the end, how can i do an automatic connection when terminalView
get focus by the user?
Please help me!
Thanks in advance.
Alberto
|
|
|
Re: Automatic TerminalView Connection [message #24260 is a reply to message #23963] |
Tue, 01 July 2008 12:39  |
Eclipse User |
|
|
|
Hello Alberto,
1. Connection properties for your active Terminal view are
automatically saved when you quit. After restart, just
click into the view and press ENTER to reconnect the
same connection.
You can create multiple terminal views if you want to
"save" multiple different connection properties - and
even give different titles to each of these.
2. For programmatically specifying connection properties,
we don't have a really clean solution yet. Please use
https://bugs.eclipse.org/bugs/show_bug.cgi?id=185348
as the basis for your work and CC on the bug, or help
us find a good API.
3. As I said, the terminal connects when you press ENTER.
If you really want to connect when getting Focus,
looking at IFocusService might help.
http://help.eclipse.org/ganymede/topic/org.eclipse.platform. doc.isv/reference/api/org/eclipse/ui/swt/IFocusService.html
Cheers,
--
Martin Oberhuber, Senior Member of Technical Staff, Wind River
Target Management Project Lead, DSDP PMC Member
http://www.eclipse.org/dsdp/tm
Alberto Zorzam wrote:
> Hello,
>
> i'm using plugin "org.eclipse.tm.internal.terminal.view.TerminalView" by
> estension Point to have a simple terminal inside my RCP application (
> that using COM port to control a industrial machine).
> Is it possible to set and save the properties of connection setting
> (accesible by setting button) for next sessions?
> Is it also possible to set this properties (connection type and setting
> parameters) by Java code?
> And , in the end, how can i do an automatic connection when terminalView
> get focus by the user?
>
> Please help me!
> Thanks in advance.
> Alberto
>
|
|
|
Re: Automatic TerminalView Connection [message #575569 is a reply to message #23963] |
Tue, 01 July 2008 12:39  |
Eclipse User |
|
|
|
Hello Alberto,
1. Connection properties for your active Terminal view are
automatically saved when you quit. After restart, just
click into the view and press ENTER to reconnect the
same connection.
You can create multiple terminal views if you want to
"save" multiple different connection properties - and
even give different titles to each of these.
2. For programmatically specifying connection properties,
we don't have a really clean solution yet. Please use
https://bugs.eclipse.org/bugs/show_bug.cgi?id=185348
as the basis for your work and CC on the bug, or help
us find a good API.
3. As I said, the terminal connects when you press ENTER.
If you really want to connect when getting Focus,
looking at IFocusService might help.
http://help.eclipse.org/ganymede/topic/org.eclipse.platform. doc.isv/reference/api/org/eclipse/ui/swt/IFocusService.html
Cheers,
--
Martin Oberhuber, Senior Member of Technical Staff, Wind River
Target Management Project Lead, DSDP PMC Member
http://www.eclipse.org/dsdp/tm
Alberto Zorzam wrote:
> Hello,
>
> i'm using plugin "org.eclipse.tm.internal.terminal.view.TerminalView" by
> estension Point to have a simple terminal inside my RCP application (
> that using COM port to control a industrial machine).
> Is it possible to set and save the properties of connection setting
> (accesible by setting button) for next sessions?
> Is it also possible to set this properties (connection type and setting
> parameters) by Java code?
> And , in the end, how can i do an automatic connection when terminalView
> get focus by the user?
>
> Please help me!
> Thanks in advance.
> Alberto
>
|
|
|
Powered by
FUDForum. Page generated in 0.03354 seconds