Open in new window option is working but title is shown as <unknown Label> [message #604549] |
Tue, 09 February 2010 14:04 |
Ganesh Mising name Messages: 26 Registered: July 2009 |
Junior Member |
|
|
Hi All,
I have a view which is showing the projects which belongs to my project type. I like to add 'open in new window' option in the project context menu. I added and it is working by functionality
------------------------------------------------------------ ---------------------------
code used:
OpenInNewWindowAction newWindow = new OpenInNewWindowAction( PlatformUI.getWorkbench().getActiveWorkbenchWindow(),
(TreeParent)element);
------------------------------------------------------------ ---------------------------
Problem: Title of the new eclipse window which is coming up is to show the project name from where we used 'open in new window' option, In my case it is shown as 'unknown label'. It looks I need to assign some variable, I am not sure of the variable which need to be set with the project name. If anyone knows, please kindly let me know.
Thanks,
Ganeshraj.S
|
|
|
Powered by
FUDForum. Page generated in 0.03613 seconds