1. RAP的所有Editor和View, 针对不同的访问用户(Browser客户) 都是不同的ID
2. SWT和RWT的线程机制是一致的, 所以访问UI线程时, 之前的一套可用, 而且必须用, 线程同步需要注入
以下条件:
UICallBack.activate("wchia");//参数为任意, 这个参数在Deatcive中要用到, 及将线程操作收回。
Thread timerRefresh = new Thread(new TimerRefresher());
timerRefresh.start();
稍后再研究一下UICallBack这个咚咚!
3. 访问RCP底层资源,如workbench, activePage, Editor等, 必须要放置到:
UICallBack.runNonUIThreadWithFakeContext(display, new Runnable());
中, 否则, 会包lifecycle的错误.