Java 类cpw.mods.fml.common.ProgressManager.ProgressBar 实例源码

项目:TRHS_Club_Mod_2016    文件:LoadController.java   
@Subscribe
public void propogateStateMessage(FMLEvent stateEvent)
{
    if (stateEvent instanceof FMLPreInitializationEvent)
    {
        modObjectList = buildModObjectList();
    }
    ProgressBar bar = ProgressManager.push(stateEvent.description(), activeModList.size());
    for (ModContainer mc : activeModList)
    {
        bar.step(mc.getName());
        sendEventToModContainer(stateEvent, mc);
    }
    ProgressManager.pop(bar);
}
项目:NOVA-Core    文件:FMLProgressBar.java   
public FMLProgressBar(ProgressBar progressBar) {
    this.progressBar = progressBar;
}