How show Perspective area in e4 rcp ? #778
CLOSED
Submitted 2 years ago
I was following your learning materials. I tried to show multi-perspective and choose if i like. But I can’t display any of perspective even though I edited Application.e4xmi properly as you say. So I want to compare to mind to yours I download your example in github and it works well. I found you import package org.osgi.framework but I couldn’t and I don’t know How I search it and finally include it.
Please login to write a comment.
Comments
Hello,
I definitely should work. Which exercise are you looking at? https://learn.vogella.com/exercises/rich-client-platform/using-perspectives-6hG02? If yes, I can add a few screenshots to how the application model should look like in the exercise.
Do you get an empty area or can you not switch to the new perspective?
Hello,
I say yes. I get an empty area even though I have two perspective that each has a part. I follow the learning materials twice, when I tried once I haven’t seen any perspective and then I skipped because I thought that was my fault. At this time I wonder where I made a mistake and decide to solve this problem with your help.
Thanks.
https://learn.vogella.com/exercises/rich-client-platform/using-perspectives-6hG02? contains lots of screenshots now. Let me know if you still face issues.
I still face issues. So I sent an email with my screenshots at lv@vogella.com. As you know I can’t attach screenshots on this Q&A board. Thanks a lot.
Hi, sorry but I cannot find your email. If you copy an image to the clipboard you should be able to paste it here.
Example:
Thank you your help, I am happy to attach these screenshots.
Looks good to me. So your handler from https://learn.vogella.com/exercises/rich-client-platform/using-perspectives-6hG02? can switch to another perspective? Or are you trying to work on https://learn.vogella.com/exercises/rich-client-platform/integrating-a-dynamic-perspective-switcher-Hn4er
In this case I updated the wrong exercise. :-o
Thanks for answering me. So your handler from https://learn.vogella.com/exercises/rich-client-platform/using-perspectives-6hG02? can switch to another perspective? - My answer is Yes but as you see second picture of among attached screenshots don’t show perspective icon or toobar. That’s My question.
https://learn.vogella.com/exercises/rich-client-platform/integrating-a-dynamic-perspective-switcher-Hn4er
I tried this one it’s ok but I couldn’t find what’s differences between them. That' another my question.
Thanks.
Hello, the dynamic perspective switcher is only available after https://learn.vogella.com/exercises/rich-client-platform/integrating-a-dynamic-perspective-switcher-Hn4er
I added the solution to this exercise. You have to add the toolcontrols from the example app to your app and add the plug-in to your product.
In the first exercise you only add a menu not a toolbar, I also added that as a hint.
I hope this solve the issue for you.
I will be on vacation for a week so if you have followup questions, I will only be able to reply within a week.
I solved problem with your help. But I wonder why it isn’t official API yet. Will it be official API in the very future?
Thanks any way.
I had several clients adapting this example but no one of willing to spend money or time to make it official API. And as the IDE already has one perspective switcher the insentive for adding this was very little.