[Logo] OLD FORUM - Use new one: https://www.CaptainCasa.online/forum
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Persist Splitpane Divider Location  XML
Forum Index -> Development
Author Message
bthalheim

Power User

Joined: 05/04/2012 11:45:24
Messages: 72
Offline

Hi,

my business requirements demant to persist the workspace layout per user and reload it at the next startup.

I'd like to start with the Splitpane Divider Location. The first step would be to have a Listener registered, which can react on new divider locations. I have found
org.eclnt.client.elements.impl.SPLITPANEElement.processNewDiverLocation() and org.eclnt.client.elements.impl.SPLITPANEElement.MyPropertyChangeListener.propertyChange(PropertyChangeEvent).
What I would need here is an extension point to hook into here to be able to react on (persist) a new divider location.

Does there exist any extension point for this purpose?

Thanks,

Björn
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5555
Offline

Hi.

please define attribute "withwritebackdividerloaction" to be "true", then the updated value will be written back into the dividerlocation (which in this case needs to be an expression!).

Please note: changing the split pane location by the user will not immediately cause a roundtrip - the change will be transferred with the next roundtrip (e.g. when button is pressed).

Regards, Björn

Björn Müller, CaptainCasa GmbH
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team