Search in sources :

Example 1 with Recongnize3D

use of com.cas.sim.tis.view.control.imp.jme.Recongnize3D in project TeachingInSimulation by ScOrPiOzzy.

the class PreparationDetail method openCognition.

private void openCognition(Integer id) {
    ElecComp comp = SpringUtil.getBean(ElecCompAction.class).findElecCompById(id);
    PageController controller = SpringUtil.getBean(PageController.class);
    Recongnize3D content = new Recongnize3D();
    controller.loadContent(content, PageLevel.Level2);
    controller.showLoading();
    controller.setEndHideLoading((v) -> {
        content.setElecComp(comp);
    });
}
Also used : ElecCompAction(com.cas.sim.tis.action.ElecCompAction) Recongnize3D(com.cas.sim.tis.view.control.imp.jme.Recongnize3D) PageController(com.cas.sim.tis.view.controller.PageController) ElecComp(com.cas.sim.tis.entity.ElecComp)

Example 2 with Recongnize3D

use of com.cas.sim.tis.view.control.imp.jme.Recongnize3D in project TeachingInSimulation by ScOrPiOzzy.

the class HomeController method recongize.

/**
 * 认知
 */
public void recongize() {
    // 跳转到认知页面
    Application.showView(PageView.class);
    PageController controller = SpringUtil.getBean(PageController.class);
    Recongnize3D content = new Recongnize3D();
    controller.loadLeftMenu(new RecongnizeMenu(content));
    controller.loadContent(content, PageLevel.Level1);
    SpringUtil.getBean(PageController.class).showLoading();
}
Also used : Recongnize3D(com.cas.sim.tis.view.control.imp.jme.Recongnize3D) RecongnizeMenu(com.cas.sim.tis.view.control.imp.jme.RecongnizeMenu)

Aggregations

Recongnize3D (com.cas.sim.tis.view.control.imp.jme.Recongnize3D)2 ElecCompAction (com.cas.sim.tis.action.ElecCompAction)1 ElecComp (com.cas.sim.tis.entity.ElecComp)1 RecongnizeMenu (com.cas.sim.tis.view.control.imp.jme.RecongnizeMenu)1 PageController (com.cas.sim.tis.view.controller.PageController)1