To add a view to an already existing perspective you can use the
org.eclipse.ui.perspectiveExtensions extension point in your plugin.xml
where you can specify the perspective and the view you wish to add. But
doing this will add the view if not present (there won't be any prompts or
messages to the user). I am not sure how to do that (regarding giving the
user a message and then accordingly bringing the view up).
I don't really get your notion of the app getting updated when run once so
not sure what will really help you!
Hope the perspectiveExtensions helps,
Rahul
"Derek" <subs@xxxxxxxxxxxxxxxxxxxxx> wrote in message
news:g4d939$bf0$1@xxxxxxxxxxxxxxxxxxxx
Hi,
I have created an update to my RCP app that has added a view to a
perspective. If the app has not been run before (i.e. a clean install),
the view appears as I expect. However, if the app has been run before (i.e
it has been updated), then the new view does not appear (as the stored
perspectives 'state' does not contain the view). I can get the view to
appear by reseting the perspective.
I want to detect this situation (the update case) and issue a message to
the user that a new view is available and ask them if they want to display
it.
Does anybody have some ideas that will point me in the right direction for
implementing this?
Thanks,
--
Derek