Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » ViewPart Hide and Close
ViewPart Hide and Close [message #436148] Wed, 31 August 2005 14:00 Go to next message
Eclipse UserFriend
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.
Re: ViewPart Hide and Close [message #436150 is a reply to message #436148] Wed, 31 August 2005 14:22 Go to previous message
Alex Blewitt is currently offline Alex BlewittFriend
Messages: 946
Registered: July 2009
Senior Member
You can't change a view. But you can change a perspective to disallow movement of sizes/views in it, which sounds like it would solve your problem.
Previous Topic:What tools for the single developer ?
Next Topic:Create plugin for mysql.jar
Goto Forum:
  


Current Time: Sun Dec 08 09:30:20 GMT 2024

Powered by FUDForum. Page generated in 0.03458 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top