[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [ptp-dev] Why configuration tab requires two extension points
|
Greetings,
There are two things going on here. Normally the ETFW ui tabs show up as sub-tabs of the Performance Analysis tab. The extension point: "org.eclipse.debug.ui.launchConfigurationTabs" is for creating a new top-level tab in the UI. In this case it creates the TAU tab that shows up with the other top-level tabs in the launch configuration.
The other extension point, org.eclipse.ptp.etfw.configurationTabs, is for defining a custom ETFW tab UI. The TauAnalysisTab code shows how to include this UI element in the top-level tab. But it could also be created as a sub-tab of Performance Analysis. Let me know if you want further clarification or have any more questions.
=Wyatt
On Wed, Jun 6, 2012 at 7:50 AM, Brian Watt
<bwatt@xxxxxxxxxx> wrote:
Hi Wyatt,
A general question about ETFw, I'm creating a custom configuration tab, and have extended the org.eclipse.ptp.etfw.configurationTabs extension point.
<extension
point="org.eclipse.ptp.etfw.configurationTabs">
<perfconfigurationtab
class="com.ibm.ppedev.hpct.etfw.ProfileLaunchTab">
</perfconfigurationtab>
</extension>
However, nothing appears on the launch configuration panel until I add in a second extension
<extension
point="org.eclipse.debug.ui.launchConfigurationTabs">
<tab
class="com.ibm.ppedev.hpct.etfw.ProfileLaunchTab"
group="org.eclipse.ptp.etfw.launchConfigurationTabGroup"
id="com.ibm.ppedev.hpct.etfw.ProfileLaunchTab"
name="TAU">
<placement
after="org.eclipse.ptp.etfw.parallelToolSelectionTab">
</placement>
</tab>
</extension>
I see that TAU does the same thing, and my question is why does creating a configuration tab extension requires two extension points?
Brian Watt, IBM
_______________________________________________
ptp-dev mailing list
ptp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-dev