How to Customize DSE View? [message #548511] |
Thu, 22 July 2010 08:42 |
|
Hi all,
I have created a new Eclipse plug-in and i want to utilize the power of the DSE (Data Source Explorer) view in my project.
Now I have created a new perspective and added the " org.eclipse.datatools.connectivity.DataSourceExplorerNavigat or " view to this.
I want to know how I can customize this view (changing the context menus, visualize only some elements of a connections such as tables), I didn't find any clear documentation for doing this.
Thanks in advice.
Marco
|
|
|
|
Re: How to Customize DSE View? [message #548827 is a reply to message #548618] |
Fri, 23 July 2010 08:22 |
|
Yes, thanks a lot Brian!
But I have a doubt, is not necessary to have an extension point to modify the DSE? I don't see a "org.eclipse.datatools.connectivity.ui.dse" in the possible extension point list... probably I'm missing something?
|
|
|
|
|
|
|
Re: How to Customize DSE View? [message #597781 is a reply to message #548618] |
Fri, 23 July 2010 08:22 |
|
Yes, thanks a lot Brian!
But I have a doubt, is not necessary to have an extension point to modify the DSE? I don't see a "org.eclipse.datatools.connectivity.ui.dse" in the possible extension point list... probably I'm missing something?
|
|
|
|
|
|
Re: How to Customize DSE View? [message #636041 is a reply to message #548827] |
Fri, 29 October 2010 06:54 |
Abubaker Messages: 10 Registered: October 2010 |
Junior Member |
|
|
Yes brian is right the DTP implements the CNF of eclipse.
All you have to do is to create a normal pop up menu extension and set the objectClass property to be org.eclipse.datatools.connectivity.IConnectionProfile
and then add a command to this menu and write your handler.
this will give you the top most object in the DSE which is the connection profile and you can use it to traverse the all tree.
believe him.
My question is how did you get the DSE to appear in your RCP i want to do that but i do not know how.
[Updated on: Fri, 29 October 2010 06:56] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.04507 seconds