Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DSDP - Target Management » Automatic TerminalView Connection
Automatic TerminalView Connection [message #23963] Wed, 04 June 2008 15:30 Go to next message
Eclipse UserFriend
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 16:39 Go to previous message
Martin Oberhuber is currently offline Martin OberhuberFriend
Messages: 1007
Registered: July 2009
Senior Member
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 16:39 Go to previous message
Martin Oberhuber is currently offline Martin OberhuberFriend
Messages: 1007
Registered: July 2009
Senior Member
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
>
Previous Topic:RXTX terminal connection on solaris
Next Topic:Adding sudo command
Goto Forum:
  


Current Time: Thu Apr 25 21:10:03 GMT 2024

Powered by FUDForum. Page generated in 0.03908 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top