| Want to show Dialog of Open Type (ctrl+shift+T) on button click [message #647609] |
Fri, 07 January 2011 05:35  |
Deepak Singla Messages: 27 Registered: December 2009 |
Junior Member |
|
|
Hi ,
I am workign on developing a plugin in Eclipse. On the button click, I want to show the dialog of Open Type (as open when you press ctrl+shift+T ) inside your Eclipse/RAD IDE, to select any Java File form its projects. I have to do the same thing.
On Button click, it will open the dialog and when user types the java file name, it will search the file from workspace and show in below table and user can select the file from that list. Same functionality as in Ctrl+Shift+T command in Eclipse or RAD.
But I dont know how to call that dilaog function to appear.
Any idea/help would be appericiated.
Thanks.
[Updated on: Fri, 07 January 2011 05:36] Report message to a moderator
|
|
|
|
| Re: Want to show Dialog of Open Type (ctrl+shift+T) on button click [message #647632 is a reply to message #647609] |
Fri, 07 January 2011 08:30  |
Dani Megert Messages: 3801 Registered: July 2009 |
Senior Member |
|
|
On 07.01.2011 11:35, Deepak Singla wrote:
> Hi ,
> I am workign on developing a plugin in Eclipse. On the button click, i
> want to show the dialog of Open Type (as open when you press
> ctrl+shift+T ) inside your Eclipse/RAD IDE, to select any Java File
> form its projects. I have to do the same thing.
> On Button click, it will open the dialog and when user types the java
> file name, it will search the file from workpace and show in below
> table and user can select the file from that list. Same functionality
> as in Ctrl+Shift+T command in Eclipse or RAD.
> But I dont know how to call that dilaog function to appear.
See org.eclipse.jdt.ui.JavaUI.createTypeDialog(*).
Dani
>
> Any idea/help would be appriciated.
>
> Thanks
|
|
|
Powered by
FUDForum. Page generated in 0.01630 seconds