#1 implement waitForRequests() in xilize plugin

closed
nobody
None
5
2007-05-05
2007-01-13
Anonymous
No

vers. 3.02.26

To optimize the workflow on writing a .xil and preview the appropriate .html in a browser, i wrote a macro for jedit. Unfortunately the browser always doesnt get the new produced .html file. Because translation happens in a thread in xilize plugin, the macro starts opening the browser before translation is done.
So the plugin should give you an option to wait for all pending work in xilize.

the macro calls:

xilize.Exec.getInstance().file(buffer.getPath());
//wait for pending work
//xilize.Exec.waitForRequests();

a solution would be:

xilize.Exec
public static void waitForRequests()
{
worker.waitForRequests();
}

this already works for me

Discussion

  • Andy Streich
    Andy Streich
    2007-05-05

    • status: open --> closed
     
  • Andy Streich
    Andy Streich
    2007-05-05

    Logged In: YES
    user_id=973452
    Originator: NO

    implemented in 3.0.3