[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [dsdp-tm-dev] RSE Extension Help
|
Hi Tom,
I tried to recreate the scenario that
you have but I wasn't able to hit that problem. Does your implementation
of AbstractSystemNewConnectionWizardPage override performFinish()? If
so, does it end up calling createSubSystem()? I think the default
impl just returns true.
____________________________________
David McKnight
Phone: 905-413-3902 , T/L: 969-3902
Internet: dmcknigh@xxxxxxxxxx
Mail: D1/619/8200/TOR
____________________________________
"Hochstein Tom-R60874"
<Tom.Hochstein@xxxxxxxxxxxxx>
Sent by: dsdp-tm-dev-bounces@xxxxxxxxxxx
02/06/2006 04:54 PM
Please respond to
Target Management developer discussions <dsdp-tm-dev@xxxxxxxxxxx> |
|
To
| "Target Management developer discussions"
<dsdp-tm-dev@xxxxxxxxxxx>
|
cc
|
|
Subject
| [dsdp-tm-dev] RSE Extension Help |
|
Hi All,
I'm developing an RSE system type for JTAG
debug devices. For the properties of the debug device connection,
I've appended a custom wizard page which extends the RSE AbstractSystemNewConnectionWizardPage.
This wizard page is an adapter of my SubsystemConfiguration object,
which is itself an extension of the RSE ServiceSubSystemConfiguration.
When the wizard is finished, I'm trying to add my extra properties
to the IHost by overriding ITapSubsystemConfiguration.createSubSystemInternal(IHost).
The problem is that when I click Finish, I
receive two calls to createSubSystemInternal(), one for the default wizard
page and one for my contributed page. It seems that the SystemNewConnectionWizard.performFinish()
is issued for both the main page and for my custom page. This function
calls createSubSystem(), which calls createSubSystemInternal(), and thus
the two calls.
I also noticed that createSubSystemInternal()
is also called at startup to load a persistent subsystem, which means that
I need to understand that the function will get called in two different
contexts.
For both cases I guess I could query the IHost
to see if it already contains my properties, but that smells fishy, so
I wonder if this is a problem with the RSE or with my usage.
Tom
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The information contained in this Email has been classified:
[x] General
Business Use
[ ]
Freescale Internal Use
Only
[ ] Freescale
Confidential Proprietary _______________________________________________
dsdp-tm-dev mailing list
dsdp-tm-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/dsdp-tm-dev