How show Perspective area in e4 rcp ? #778

CLOSED learning portal
Submitted 2 months 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.

Comments

  2 months ago

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?

  2 months ago

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.

  2 months ago

https://learn.vogella.com/exercises/rich-client-platform/using-perspectives-6hG02? contains lots of screenshots now. Let me know if you still face issues.

  2 months ago

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.

  2 months ago

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:

image

  2 months ago

image image image image

Thank you your help, I am happy to attach these screenshots.

  2 months ago

In this case I updated the wrong exercise. :-o

  2 months ago

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.

I tried this one it’s ok but I couldn’t find what’s differences between them. That' another my question.

Thanks.

  2 months ago

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.

  2 months ago

image

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.

  1 month ago

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.

  1 month ago

Please login to write a comment.