Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DSDP - Target Management » Adding a new connector (TerminalConnectorImpl)
Adding a new connector (TerminalConnectorImpl) [message #582209] Mon, 24 August 2009 16:02
John Moule is currently offline John MouleFriend
Messages: 13
Registered: July 2009
Junior Member

I'm using the extension point
to add my own connector type, which is basically a superset* of a telnet
connector. So I would like to use all the existing telnet implementation
with my own small modifications to it. Here is what I've done so far.

I declare the extension point in my own plugin thus:

name="STMC2 Serial Relay">

And have extended TerminalConnectorImpl with my own connector type
(STMC2SerialRelayConnector). I've got my own implementation of
ITelnetSettings and ISettingsPage. All of these are basically copies of
TelnetConnector, TelnetSettings and TelnetSettingsPage respectively with
slight modifications. But I'm having trouble completing my connector
because of visiblity issues with TelnetConnectWorker because it doesn't
have a public constructor. I'd like to avoid forking the terminal code
anymore if possible? Am I missing something? Do you have a step by step
recipe for adding a connector?

Thanks for any help.

Kind rgds john

*: telnet superset changes:
1) change Telnet Settings Page TelnetMessages.HOST setText label to my own
2) change Telnet Settings Page networkport combo to a single, hardcoded,
readonly value.
3) add some extra processing inside TerminalConnectorImpl.connect().
Previous Topic:Cannot Transfer Files
Next Topic:TM3.1 Problem with "Export to Remote File System"
Goto Forum:

Current Time: Tue Sep 21 12:23:44 GMT 2021

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

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

Back to the top