Java 类ims.core.vo.ChartTypeShortVo 实例源码

项目:AvoinApotti    文件:Logic.java   
protected void onContextMenuItemClick(int menuItemID, Control sender) throws PresentationLogicException
{
    switch (menuItemID)
    {
        case GenForm.ContextMenus.ChartType.ADD :
            form.getGlobalContext().Core.setChartTypeRecord(null);
            form.getGlobalContext().Core.setDataSetRecord(form.qmbDataset().getValue());
            form.getGlobalContext().Core.setLastNameSelected(form.txtName().getValue());
            engine.open(form.getForms().Core.ChartTypeDetails);
            return;
        case GenForm.ContextMenus.ChartType.EDIT :
            form.getGlobalContext().Core.setChartTypeRecord((ChartTypeShortVo) form.dyngrdChart().getValue());
            form.getGlobalContext().Core.setDataSetRecord(form.qmbDataset().getValue());
            form.getGlobalContext().Core.setLastNameSelected(form.txtName().getValue());
            engine.open(form.getForms().Core.ChartTypeDetails);
            return;

        default :
            break;
    }
    updateContextMenu();

}
项目:openMAXIMS    文件:Logic.java   
protected void onContextMenuItemClick(int menuItemID, Control sender) throws PresentationLogicException
{
    switch (menuItemID)
    {
        case GenForm.ContextMenus.ChartType.ADD :
            form.getGlobalContext().Core.setChartTypeRecord(null);
            form.getGlobalContext().Core.setDataSetRecord(form.qmbDataset().getValue());
            form.getGlobalContext().Core.setLastNameSelected(form.txtName().getValue());
            engine.open(form.getForms().Core.ChartTypeDetails);
            return;
        case GenForm.ContextMenus.ChartType.EDIT :
            form.getGlobalContext().Core.setChartTypeRecord((ChartTypeShortVo) form.dyngrdChart().getValue());
            form.getGlobalContext().Core.setDataSetRecord(form.qmbDataset().getValue());
            form.getGlobalContext().Core.setLastNameSelected(form.txtName().getValue());
            engine.open(form.getForms().Core.ChartTypeDetails);
            return;

        default :
            break;
    }
    updateContextMenu();

}
项目:openMAXIMS    文件:Logic.java   
protected void onContextMenuItemClick(int menuItemID, Control sender) throws PresentationLogicException
{
    switch (menuItemID)
    {
        case GenForm.ContextMenus.ChartType.ADD :
            form.getGlobalContext().Core.setChartTypeRecord(null);
            form.getGlobalContext().Core.setDataSetRecord(form.qmbDataset().getValue());
            form.getGlobalContext().Core.setLastNameSelected(form.txtName().getValue());
            engine.open(form.getForms().Core.ChartTypeDetails);
            return;
        case GenForm.ContextMenus.ChartType.EDIT :
            form.getGlobalContext().Core.setChartTypeRecord((ChartTypeShortVo) form.dyngrdChart().getValue());
            form.getGlobalContext().Core.setDataSetRecord(form.qmbDataset().getValue());
            form.getGlobalContext().Core.setLastNameSelected(form.txtName().getValue());
            engine.open(form.getForms().Core.ChartTypeDetails);
            return;

        default :
            break;
    }
    updateContextMenu();

}
项目:openmaxims-linux    文件:Logic.java   
protected void onContextMenuItemClick(int menuItemID, Control sender) throws PresentationLogicException
{
    switch (menuItemID)
    {
        case GenForm.ContextMenus.ChartType.ADD :
            form.getGlobalContext().Core.setChartTypeRecord(null);
            form.getGlobalContext().Core.setDataSetRecord(form.qmbDataset().getValue());
            form.getGlobalContext().Core.setLastNameSelected(form.txtName().getValue());
            engine.open(form.getForms().Core.ChartTypeDetails);
            return;
        case GenForm.ContextMenus.ChartType.EDIT :
            form.getGlobalContext().Core.setChartTypeRecord((ChartTypeShortVo) form.dyngrdChart().getValue());
            form.getGlobalContext().Core.setDataSetRecord(form.qmbDataset().getValue());
            form.getGlobalContext().Core.setLastNameSelected(form.txtName().getValue());
            engine.open(form.getForms().Core.ChartTypeDetails);
            return;

        default :
            break;
    }
    updateContextMenu();

}
项目:AvoinApotti    文件:Logic.java   
private void updateContextMenu()
{
    form.getContextMenus().hideAllChartTypeMenuItems();

    form.getContextMenus().getChartTypeADDItem().setVisible(true);
    form.getContextMenus().getChartTypeEDITItem().setVisible(form.dyngrdChart().getValue() instanceof ChartTypeShortVo);
}
项目:openMAXIMS    文件:Logic.java   
private void updateContextMenu()
{
    form.getContextMenus().hideAllChartTypeMenuItems();

    form.getContextMenus().getChartTypeADDItem().setVisible(true);
    form.getContextMenus().getChartTypeEDITItem().setVisible(form.dyngrdChart().getValue() instanceof ChartTypeShortVo);
}
项目:openMAXIMS    文件:Logic.java   
private void updateContextMenu()
{
    form.getContextMenus().hideAllChartTypeMenuItems();

    form.getContextMenus().getChartTypeADDItem().setVisible(true);
    form.getContextMenus().getChartTypeEDITItem().setVisible(form.dyngrdChart().getValue() instanceof ChartTypeShortVo);
}
项目:openmaxims-linux    文件:Logic.java   
private void updateContextMenu()
{
    form.getContextMenus().hideAllChartTypeMenuItems();

    form.getContextMenus().getChartTypeADDItem().setVisible(true);
    form.getContextMenus().getChartTypeEDITItem().setVisible(form.dyngrdChart().getValue() instanceof ChartTypeShortVo);
}
项目:AvoinApotti    文件:Logic.java   
private void addChartType(ChartTypeShortVo value)
{
    form.lyrMain().tabCharting().cmbChartType().newRow(value, value.getName());
}
项目:openMAXIMS    文件:Logic.java   
private void addChartType(ChartTypeShortVo value)
{
    form.lyrMain().tabCharting().cmbChartType().newRow(value, value.getName());
}
项目:openMAXIMS    文件:Logic.java   
private void addChartType(ChartTypeShortVo value)
{
    form.lyrMain().tabCharting().cmbChartType().newRow(value, value.getName());
}
项目:openmaxims-linux    文件:Logic.java   
private void addChartType(ChartTypeShortVo value)
{
    form.lyrMain().tabCharting().cmbChartType().newRow(value, value.getName());
}