|opening multiple editors [message #757701]
||Mon, 21 November 2011 09:56
| Bertin Kiekebosch
Registered: August 2011
I have an outline and a table page. Default behaviour is when I then want to add or modify an element from the table view, the form is opened as modal dialog.
What I try to do is instead is not to open a modal dialog but open the form in an other view. There is a tuturial about this and it works OK.
Now I like to open multiple editors. But when another element from the list is selected, nothing happens. In the console there is a Message:
!MESSAGE org.eclipse.scout.rt.ui.swt.window.desktop.view.AbstractScoutView.showForm(AbstractScoutView.java:89) The view 'ID=nl.rid.grammastudio6.ui.swt.views.EditorView' is already open. The form 'Zinnen (nl.rid.grammastudio6.client.ui.forms.ZinnenForm)' can not be opened!
I know how to do this in SWT (with the help of IEditorInput): Open multiple windows in a view. (and if the user selects the same record twice the same window is opened). In fact it is the same behaviour as the editor in Eclipse.
The question is, do I have to implement this myself or is this concept supported by Scout, and if yes, how should I do this.
Powered by FUDForum
. Page generated in 0.01621 seconds