|
From: Rogan D. (JIRA) <no...@at...> - 2007-07-19 11:03:57
|
[ http://opensource.atlassian.com/projects/spring/browse/RCP-480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_24876 ]
Rogan Dawes commented on RCP-480:
---------------------------------
Hi Benoit,
It seems that JIDE is most likely the most mature solution at this stage, given Jonny's use of it in an enterprise class app. However, JIDE docking is commercial software, which throws a spanner in the works if you are writing free software.
FlexDock has certain problems that made me choose not to use it. As far as I can recall, use of Singleton classes for registering Dockables was one, as this makes it difficult to have multiple windows active.
VLDocking is not perfect either, and it seems that I am the only person using it - I wrote the initial implementation, and yours is the first comment I've had. And, in fact, I am not using it very actively - the project in question is not getting a lot of my spare time.
The VLDocking implementation also needs some work:. Currently, perspectives are implemented by changing pages, which I've come to see is less than ideal. It should be implemented by telling the existing page to change its layout. There is also no clear way to persist layouts, other than making the resource a writable file. Messy, for sure.
VLDocking does support floating windows, though.
Hope this helps.
Rogan
> VLDocking: Closing a Page throws an exception.
> ----------------------------------------------
>
> Key: RCP-480
> URL: http://opensource.atlassian.com/projects/spring/browse/RCP-480
> Project: Spring Framework Rich Client Project
> Issue Type: Bug
> Affects Versions: 0.3.0
> Reporter: Benoit Xhenseval
>
> Hi
> I've tried to run the sample for VLDocking and it seems to work fine until one tries to close a window, in which case, the following exception happens:
> java.lang.NoSuchMethodError: org.springframework.richclient.application.ApplicationPage.close(Lorg/springframework/richclient/application/PageComponent;)V
> at org.springframework.richclient.application.vldocking.VLDockingApplicationPage$DockableListener.dockableStateChanged(VLDockingApplicationPage.java:270)
> at com.vlsolutions.swing.docking.DockingContext.fireDockableStateChange(DockingContext.java:451)
> at com.vlsolutions.swing.docking.DockingDesktop.fireDockingAction(DockingDesktop.java:3749)
> at com.vlsolutions.swing.docking.DockingDesktop.close(DockingDesktop.java:2102)
> at com.vlsolutions.swing.docking.DockTabbedPane$5.actionPerformed(DockTabbedPane.java:397)
> at com.vlsolutions.swing.tabbedpane.SmartIconJButton.fireAction(SmartIconJButton.java:300)
> at com.vlsolutions.swing.tabbedpane.JTabbedPaneSmartIcon.onMouseReleased(JTabbedPaneSmartIcon.java:387)
> at com.vlsolutions.swing.tabbedpane.JTabbedPaneSmartIconManager.mouseReleased(JTabbedPaneSmartIconManager.java:138)
> at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:232)
> at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
> at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
> at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
> at java.awt.Component.processMouseEvent(Component.java:5501)
> at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
> at java.awt.Component.processEvent(Component.java:5266)
> at java.awt.Container.processEvent(Container.java:1966)
> at java.awt.Component.dispatchEventImpl(Component.java:3968)
> at java.awt.Container.dispatchEventImpl(Container.java:2024)
> at java.awt.Component.dispatchEvent(Component.java:3803)
> at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
> at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
> at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
> at java.awt.Container.dispatchEventImpl(Container.java:2010)
> at java.awt.Window.dispatchEventImpl(Window.java:1778)
> at java.awt.Component.dispatchEvent(Component.java:3803)
> at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
> at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
> at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
> at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
> at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
> at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
> It seems that the close(PageComponent pc) method does not exist on the PageComponent used for VLDocking.
> Thanks
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/spring/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|