摘要:
1 SplashScreen.javaSplashScreen.java2 Activator::start调用SplashScreen.createSplashThread();3 Application::start调用if(SplashScreen.waitForVisibleSplash()){ // 插入初始化代码:init();}4 ApplicationWorkbenchWindowAdvisor::postWindowOpen调用super.postWindowOpen();SplashScreen.setSplashMessageAndProgressValue(" 阅读全文
摘要:
privateListlisteners=newArrayList();publicvoidaddCharacterListener(CharacterListenercl){ synchronized(listeners){ listeners.add(cl); }}publicvoidremoveCharacterListener(CharacterListenercl){ synchronized(listeners){ listeners.remove(cl); }}publicvoidfireNewCharacter(CharacterSourcesource,intc){ Char 阅读全文