Plug-in fragment to overwrite a view [message #686501] |
Wed, 22 June 2011 11:26 |
Missing name Missing name Messages: 57 Registered: September 2009 |
Member |
|
|
Hello,
I try to create a plug-in fragment that would overwrite an existing view, declared in the host plug-in.
Basically, I created a plug-in project (named HostProjet), using template Hello World example: "plug-in with a view" in the new project wizard dialog.
Then I created a fragment project, which HostProjet is the host plug-in.
In this fragment project, I declared the same view using extension org.eclipse.ui.views, and I used the same ID, the same category ... all is similar.
I copied SampleView.java from HostProject to my fragment project to change a graphical element to quickly see my change.
Then, when I launch my application, HostProject is running, the fragment is "Resolved", but I don't see my graphical change. My fragment does'nt seems to be used.
Do you know why ?
Is it possible ?
I tried this simple test, because it can be usefull to overwrite a dialog or a view behaviour placed in a existing plug-in.
Thanks in advance.
Valouee
|
|
|
|
Powered by
FUDForum. Page generated in 0.03410 seconds