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 #481892] Mon, 24 August 2009 16:02
John Moule is currently offline John MouleFriend
Messages: 13
Registered: July 2009
Junior Member
Hi,

I'm using the org.eclipse.tm.terminal.terminalConnectors 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:

<extension
point="org.eclipse.tm.terminal.terminalConnectors">
<connector
class="com.st.serialrelay.STMC2SerialRelayConnector"
id="com.st.serialrelay.connector1"
name="STMC2 Serial Relay">
</connector>
</extension>

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
label.
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 Apr 23 17:53:57 GMT 2024

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

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

Back to the top