(1) Turned on 'File -> Options -> General -> Use floating windows for Visual Editing dialogs'
(2) Select 'Create View' from schema tree's popup menu generates the following error:
java.lang.ClassCastException: com.jidesoft.document.FrameFloatingDocumentContainer cannot be cast to com.common.ui.frame.CFrame
at com.aquafold.datastudio.visualedit.CommonSchemaTab.getCurrentlySelectedTreeNode(CommonSchemaTab.java:1094)
at com.aquafold.datastudio.visualedit.CommonSchemaTab.getDatabaseNameFromTree(CommonSchemaTab.java:1107)
at com.aquafold.datastudio.visualedit.schema.ViewDialog.initDialog(ViewDialog.java:156)
at com.aquafold.datastudio.visualedit.schema.ViewDialog.updateDialog(ViewDialog.java:139)
at com.aquafold.datastudio.mainframe.actions.tree.schemagui.view.SchemaViewNew$1.onSuccess(SchemaViewNew.java:48)
at com.aquafold.datastudio.mainframe.actions.tree.schemagui.SchemaGUIBackgroundThread.success(SchemaGUIBackgroundThread.java:128)
at com.common.ui.util.BackgroundThread$1.run(BackgroundThread.java:74)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:646)
Field | Old Value | New Value |
---|---|---|
Fixed Build | trunk/29623 | |
Resolution | Fixed | |
Resolved Date | Oct 6, 2012 3:17 AM | |
Status | New | Resolved |
(1) Commented out a few methods in the CommonSchemaTab.java; these methods are only used by the View Dialog and is the root cause of the problem.
(2) Modified view dialog code for creating view so that it can get needed information by other means but not reference those methods commented out in (1).
Field | Old Value | New Value |
---|---|---|
Status | Resolved | Closed |
Issue #7741 |
Closed |
Fixed |
Resolved |
Completion |
No due date |
Fixed Build trunk/29623 |
No time estimate |
1 issue link |
relates to #7728
Issue #7728Investigate adding an option to have Visual Editing using Floating Tab Windows to mimick dialogs |
(1) Commented out a few methods in the CommonSchemaTab.java; these methods are only used by the View Dialog and is the root cause of the problem.
(2) Modified view dialog code for creating view so that it can get needed information by other means but not reference those methods commented out in (1).