Changed View ID, now it never displays [message #768317] |
Mon, 19 December 2011 17:43  |
Eclipse User |
|
|
|
Yeah, I'm a total newbie at this.
I'm playing with the examples, trying to figure out where things are set.
I'm using the mail program example, as that has the most "stuff" to play with.
I changed the ID of a view from "test.navigatorView" to "test.folderView". I also changed the "id" field in the extension element for that view.
Now it just doesn't display. No errors, no nothing. The other view (that I also renamed earlier) displays just fine.
So, it means that I missed something - but I haven't been able to find any other references to the old View ID.
I used copy/paste to make sure the ID is the same in both places.
Any suggestions on where I should look?
Is there some place where runtime errors (like not finding the view class) are logged?
|
|
|
Re: Changed View ID, now it never displays [message #768342 is a reply to message #768317] |
Mon, 19 December 2011 19:01   |
Eclipse User |
|
|
|
Figured it out!
I had enabled configurer.setSaveAndRestore(true) shortly before this.
If I set it back to false, the view appears.
Change it back to true, the view disappears again.
Okay, so it seems that if it's restore the workbench, and you have a view that wasn't there before, it gives it 0 size? (or makes it invisible, something...)
So, how do I fix this, or prevent this, during developemnt?
|
|
|
|
|
|
Re: Changed View ID, now it never displays [message #769796 is a reply to message #769674] |
Thu, 22 December 2011 12:23  |
Eclipse User |
|
|
|
Thanks!
I hope the -clean would have helped.
The fun part is that I somehow apparently did the equivalent while doing some eclipse updates. (added Perforce plugin)
It suddenly started working.
(Actually, I really dislike it when things start working again - and I don't know WHY.)
|
|
|
Powered by
FUDForum. Page generated in 0.03998 seconds