ViewPart Hide and Close [message #436148] |
Wed, 31 August 2005 14:00 |
Eclipse User |
|
|
|
Originally posted by: chs.tipas.at
Currently we use viewParts for a rich client application.
Some of our Views are generated at Startup within the
perspective-initial-layout, but most of the views are instantiated during
runtime by adding the view to the IWorkbenchPage with showView. Now we are
unable to configure these views correctly, as far as i have found out so
far, this is a current limitation ?
Why cannt hide/move not be confiugred within the plugin.descriptor ?
Furthermore we would require a notification or callback for the hide event,
and of course we would like wo vote against a hide in certain cases. But we
have not found a method for that, except an IPartListener which notifies
when it is to late with "partClosed".
maybe an option would be EditorPart but we currently do not require doSave
etc. with our business related server applicaton, and i have not found a
onhide or onclose in editorpart ether.
For a rich client application if the content of a view or editorpart is a
input dialog, the close event may get enabled or disabled due to the state
of the data or some other rules, and therefore the close view button should
be manage- and listen-able accourdingly.
thnks,
cgs.
|
|
|
|
Powered by
FUDForum. Page generated in 0.03458 seconds