摘要: 1 SplashScreen.javaSplashScreen.java2 Activator::start调用SplashScreen.createSplashThread();3 Application::start调用if(SplashScreen.waitForVisibleSplash()){ // 插入初始化代码:init();}4 ApplicationWorkbenchWindowAdvisor::postWindowOpen调用super.postWindowOpen();SplashScreen.setSplashMessageAndProgressValue(" 阅读全文
posted @ 2011-09-05 15:31 网络大豆 阅读(323) 评论(0) 推荐(0) 编辑
摘要: privateListlisteners=newArrayList();publicvoidaddCharacterListener(CharacterListenercl){ synchronized(listeners){ listeners.add(cl); }}publicvoidremoveCharacterListener(CharacterListenercl){ synchronized(listeners){ listeners.remove(cl); }}publicvoidfireNewCharacter(CharacterSourcesource,intc){ Char 阅读全文
posted @ 2011-09-05 15:17 网络大豆 阅读(303) 评论(0) 推荐(0) 编辑