Best way to implement lazy multipage editor? [message #331718] |
Thu, 18 September 2008 08:45  |
Eclipse User |
|
|
|
Hello,
we are currently working on a multipage editor which allows editing of
five different files. However the files have to be loaded from a backend
server. Therefore we only want to access the backend if the user accesses
the file by clicking a tab in the multipage editor.
How can we implement the multipage editor so that files are only loaded
when the user actually wants to view and edit them?
We discussed various possibilities:
- Render an empty document first and switch to the real document once the
tab gets activated (overwrite the pageChange method in the class
MultiPageEditorPart).
- Render a dummy control first and switch to the editor once the tab gets
activated.
All the solutions we can come up with feel more like hacks then a solid
solution. Does anyone know a clean way of making the multipage editor lazy?
cheers
Thomas
|
|
|
|
Powered by
FUDForum. Page generated in 0.03495 seconds