Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Vex » Reopening a dialog with Vex(Reopen a dialog that has Vex, or cloning Document)
Reopening a dialog with Vex [message #1060422] Fri, 24 May 2013 10:59
shay leon is currently offline shay leon
Messages: 4
Registered: June 2012
Junior Member
Hi Florian.

I wonder if by any chance you can help me with this issue:

I am doing something pretty similar to your example in the German magazine.

The difference is - I need to re-open the dialog with text submitted to it previously, so an example workflow would be:

* Open dialog, write TEXT, click BOLD button, click OK
-- (when dialog closes, store dialog.getDocument() )
* Open dialog (I'm sending to it the previously saved Document). It has TEXT in BOLD and allows me to add more text.

This works fine, but I keep getting an error message saying that VexWidget is disposed. (This could be happening since the dialog.getDocument doesn't exist anymore. If I re-open the dialog with a new Document, there is no error message, but obviously it doesn't have the content which I submitted in previous entries. )

I think if there was a way to clone Document, so that when reopening the dialog, I'll send to it a new Document with values from previous openings, this will solve the problem, but Document does not provide such access.

Any feedback would be appreciated!

Thanking you.

Shay
Previous Topic:MathML Support
Goto Forum:
  


Current Time: Mon May 27 23:47:24 EDT 2013

Powered by FUDForum. Page generated in 0.01480 seconds