Problem in accessing CoreFileLaunchConfigurationTabGroup, LaunchMessages and LaunchUIPlugin in CDT 6.0.1

View: New views
4 Messages — Rating Filter:   Alert me  

Problem in accessing CoreFileLaunchConfigurationTabGroup, LaunchMessages and LaunchUIPlugin in CDT 6.0.1

by Nayna Jain-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all,

We have extended the debug framework to support core debug , Remote Attach
and Remote Run debug using gdb for our customized environment.

To do this we have created three new launches and have used following
classes.

CoreFileLaunchConfigurationTabGroup , LaunchMessages and LaunchUIPlugin.

However these belong to internal packages
org.eclipse.cdt.launch.internal.ui  and give warning as "Discouraged
Access....." for CDT 6.0.1.

So, are there any alternate APIs or methods to access the same
functionality.

We have used Eclipse version 3.3 and CDT 4 earliar and now we are moving to
Eclipse 3.5 and CDT 6.0.1.

Thanks & Regards,
Nayna Jain

_______________________________________________
cdt-dev mailing list
cdt-dev@...
https://dev.eclipse.org/mailman/listinfo/cdt-dev

_______________________________________________
cdt-dev mailing list
cdt-dev@...
https://dev.eclipse.org/mailman/listinfo/cdt-dev

RE: Problem in accessing CoreFileLaunchConfigurationTabGroup, LaunchMessages and LaunchUIPlugin in CDT 6.0.1

by Marc Khouzam :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> -----Original Message-----
> From: cdt-dev-bounces@...
> [mailto:cdt-dev-bounces@...] On Behalf Of Nayna Jain
> Sent: Monday, November 09, 2009 2:48 PM
> To: cdt-dev@...
> Subject: [cdt-dev] Problem in accessing
> CoreFileLaunchConfigurationTabGroup, LaunchMessages and
> LaunchUIPlugin in CDT 6.0.1
>
> Hi all,
>
> We have extended the debug framework to support core debug ,
> Remote Attach
> and Remote Run debug using gdb for our customized environment.
>
> To do this we have created three new launches and have used following
> classes.
>
> CoreFileLaunchConfigurationTabGroup

You should know that the CDT no longer uses these TabGroup files.
Instead we use the extension point org.eclipse.debug.ui.launchConfigurationTabs
In fact, we should remove those internal *TabGroup files.

> , LaunchMessages and
> LaunchUIPlugin.
>
> However these belong to internal packages
> org.eclipse.cdt.launch.internal.ui  and give warning as "Discouraged
> Access....." for CDT 6.0.1.
>
> So, are there any alternate APIs or methods to access the same
> functionality.
>
> We have used Eclipse version 3.3 and CDT 4 earliar and now we
> are moving to
> Eclipse 3.5 and CDT 6.0.1.
>
> Thanks & Regards,
> Nayna Jain
>
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@...
> https://dev.eclipse.org/mailman/listinfo/cdt-dev
>
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@...
> https://dev.eclipse.org/mailman/listinfo/cdt-dev
> _______________________________________________
cdt-dev mailing list
cdt-dev@...
https://dev.eclipse.org/mailman/listinfo/cdt-dev

RE: Problem in accessing CoreFileLaunchConfigurationTabGroup, LaunchMessages and LaunchUIPlugin in CDT 6.0.1

by Nayna Jain-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Marc,
Thanks for the updates.

What I understand from your reply is that now *Tabs in the *TabGroups can
be created using extension points and there is no need to implement
*TabGroup files and createTabs() methods.

Is it right ?

I tried looking for the document which gives understanding of this design
something like we had earliar -
http://www.eclipse.org/articles/Article-Launch-Framework/launch.html
But except the extension point details in Eclipse Help Manual, I couldn't
find anything.

Can you please give some pointers where can I get design and understanding
for this extension point.

Moreover when I tried to look at CDT launch source code, I found that
though they use *Tab extension point... They still use *TabGroup files
where they still have the method createTabs() implemented. So, it is quite
confusing.

Thanks & Regards,

Nayna Jain



                                                                           
             Marc Khouzam                                                  
             <marc.khouzam@eri                                            
             csson.com>                                                 To
             Sent by:                  "'CDT General developers list.'"    
             cdt-dev-bounces@e         <cdt-dev@...>              
             clipse.org                                                 cc
                                                                           
                                                                   Subject
             11/10/2009 01:58          RE: [cdt-dev]  Problem in accessing
             AM                        CoreFileLaunchConfigurationTabGroup
                                       ,     LaunchMessages and            
                                       LaunchUIPlugin in CDT 6.0.1        
             Please respond to                                            
               "CDT General                                                
             developers list."                                            
             <cdt-dev@eclipse.                                            
                   org>                                                    
                                                                           
                                                                           




> -----Original Message-----
> From: cdt-dev-bounces@...
> [mailto:cdt-dev-bounces@...] On Behalf Of Nayna Jain
> Sent: Monday, November 09, 2009 2:48 PM
> To: cdt-dev@...
> Subject: [cdt-dev] Problem in accessing
> CoreFileLaunchConfigurationTabGroup, LaunchMessages and
> LaunchUIPlugin in CDT 6.0.1
>
> Hi all,
>
> We have extended the debug framework to support core debug ,
> Remote Attach
> and Remote Run debug using gdb for our customized environment.
>
> To do this we have created three new launches and have used following
> classes.
>
> CoreFileLaunchConfigurationTabGroup

You should know that the CDT no longer uses these TabGroup files.
Instead we use the extension point
org.eclipse.debug.ui.launchConfigurationTabs
In fact, we should remove those internal *TabGroup files.

> , LaunchMessages and
> LaunchUIPlugin.
>
> However these belong to internal packages
> org.eclipse.cdt.launch.internal.ui  and give warning as "Discouraged
> Access....." for CDT 6.0.1.
>
> So, are there any alternate APIs or methods to access the same
> functionality.
>
> We have used Eclipse version 3.3 and CDT 4 earliar and now we
> are moving to
> Eclipse 3.5 and CDT 6.0.1.
>
> Thanks & Regards,
> Nayna Jain
>
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@...
> https://dev.eclipse.org/mailman/listinfo/cdt-dev
>
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@...
> https://dev.eclipse.org/mailman/listinfo/cdt-dev
> _______________________________________________
cdt-dev mailing list
cdt-dev@...
https://dev.eclipse.org/mailman/listinfo/cdt-dev


_______________________________________________
cdt-dev mailing list
cdt-dev@...
https://dev.eclipse.org/mailman/listinfo/cdt-dev

RE: Problem in accessing CoreFileLaunchConfigurationTabGroup, LaunchMessages and LaunchUIPlugin in CDT 6.0.1

by Marc Khouzam :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> -----Original Message-----
> From: cdt-dev-bounces@...
> [mailto:cdt-dev-bounces@...] On Behalf Of Nayna Jain
> Sent: Wednesday, November 11, 2009 1:32 AM
> To: CDT General developers list.
> Subject: RE: [cdt-dev] Problem in accessing
> CoreFileLaunchConfigurationTabGroup, LaunchMessages and
> LaunchUIPlugin in CDT 6.0.1
>
> Hi Marc,
> Thanks for the updates.
>
> What I understand from your reply is that now *Tabs in the
> *TabGroups can
> be created using extension points and there is no need to implement
> *TabGroup files and createTabs() methods.
>
> Is it right ?

Yes that is right.

 I tried looking for the document which gives understanding of

> this design
> something like we had earliar -
> http://www.eclipse.org/articles/Article-Launch-Framework/launch.html
> But except the extension point details in Eclipse Help
> Manual, I couldn't
> find anything.
>
> Can you please give some pointers where can I get design and
> understanding
> for this extension point.

There is some info here
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse.platform.doc.isv/reference/extension-points/index.html
look under the debug section

> Moreover when I tried to look at CDT launch source code, I found that
> though they use *Tab extension point... They still use *TabGroup files
> where they still have the method createTabs() implemented.
> So, it is quite confusing.

Yes, there cleanup was not properly done there.
But if you loko at most of the *TabGroup files, you will notice
they are not used anywhere in CDT, we just forgot remove them.

_______________________________________________
cdt-dev mailing list
cdt-dev@...
https://dev.eclipse.org/mailman/listinfo/cdt-dev