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

项目:AvoinApotti    文件:Logic.java   
private void displayChartTypes(ChartTypeShortVoCollection coll)
{
    form.dyngrdChart().getRows().clear();
    for (int i = 0; i < coll.size(); i++)
    {
        DynamicGridRow row = form.dyngrdChart().getRows().newRow();

        DynamicGridCell cell = row.getCells().newCell(form.dyngrdChart().getColumns().getByIdentifier(COL_NAME), DynamicCellType.STRING);
        cell.setWidth(600);
        cell.setReadOnly(true);
        cell.setValue(coll.get(i).getName() + " - " + (coll.get(i).getDescriptionIsNotNull() ? coll.get(i).getDescription() : ""));
        row.setValue(coll.get(i));

        //dummy record
        row.getRows().newRow();
    }
}
项目:openMAXIMS    文件:Logic.java   
private void displayChartTypes(ChartTypeShortVoCollection coll)
{
    form.dyngrdChart().getRows().clear();
    for (int i = 0; i < coll.size(); i++)
    {
        DynamicGridRow row = form.dyngrdChart().getRows().newRow();

        DynamicGridCell cell = row.getCells().newCell(form.dyngrdChart().getColumns().getByIdentifier(COL_NAME), DynamicCellType.STRING);
        cell.setWidth(600);
        cell.setReadOnly(true);
        cell.setValue(coll.get(i).getName() + " - " + (coll.get(i).getDescriptionIsNotNull() ? coll.get(i).getDescription() : ""));
        row.setValue(coll.get(i));

        //dummy record
        row.getRows().newRow();
    }
}
项目:openMAXIMS    文件:Logic.java   
private void displayChartTypes(ChartTypeShortVoCollection coll)
{
    form.dyngrdChart().getRows().clear();
    for (int i = 0; i < coll.size(); i++)
    {
        DynamicGridRow row = form.dyngrdChart().getRows().newRow();

        DynamicGridCell cell = row.getCells().newCell(form.dyngrdChart().getColumns().getByIdentifier(COL_NAME), DynamicCellType.STRING);
        cell.setWidth(600);
        cell.setReadOnly(true);
        cell.setValue(coll.get(i).getName() + " - " + (coll.get(i).getDescriptionIsNotNull() ? coll.get(i).getDescription() : ""));
        row.setValue(coll.get(i));

        //dummy record
        row.getRows().newRow();
    }
}
项目:openmaxims-linux    文件:Logic.java   
private void displayChartTypes(ChartTypeShortVoCollection coll)
{
    form.dyngrdChart().getRows().clear();
    for (int i = 0; i < coll.size(); i++)
    {
        DynamicGridRow row = form.dyngrdChart().getRows().newRow();

        DynamicGridCell cell = row.getCells().newCell(form.dyngrdChart().getColumns().getByIdentifier(COL_NAME), DynamicCellType.STRING);
        cell.setWidth(600);
        cell.setReadOnly(true);
        cell.setValue(coll.get(i).getName() + " - " + (coll.get(i).getDescriptionIsNotNull() ? coll.get(i).getDescription() : ""));
        row.setValue(coll.get(i));

        //dummy record
        row.getRows().newRow();
    }
}
项目:AvoinApotti    文件:Logic.java   
private void doSearch()
{
    String name = form.txtName().getValue();

    if(name != null)
        name = "%" + name + "%"; 

    ChartTypeShortVoCollection coll = domain.listChartType(name, form.qmbDataset().getValue());

    displayChartTypes(coll);
}
项目:AvoinApotti    文件:Logic.java   
private void populateChartTypes()
{
    form.lyrMain().tabCharting().cmbChartType().clear();

    ChartTypeShortVoCollection chartTypes = domain.listChartTypes();
    if (chartTypes != null)
    {
        for (int x = 0; x < chartTypes.size(); x++)
        {
            addChartType(chartTypes.get(x));
        }
    }
}
项目:openMAXIMS    文件:Logic.java   
private void doSearch()
{
    String name = form.txtName().getValue();

    if(name != null)
        name = "%" + name + "%"; 

    ChartTypeShortVoCollection coll = domain.listChartType(name, form.qmbDataset().getValue());

    displayChartTypes(coll);
}
项目:openMAXIMS    文件:Logic.java   
private void populateChartTypes()
{
    form.lyrMain().tabCharting().cmbChartType().clear();

    ChartTypeShortVoCollection chartTypes = domain.listChartTypes();
    if (chartTypes != null)
    {
        for (int x = 0; x < chartTypes.size(); x++)
        {
            addChartType(chartTypes.get(x));
        }
    }
}
项目:openMAXIMS    文件:Logic.java   
private void doSearch()
{
    String name = form.txtName().getValue();

    if(name != null)
        name = "%" + name + "%"; 

    ChartTypeShortVoCollection coll = domain.listChartType(name, form.qmbDataset().getValue());

    displayChartTypes(coll);
}
项目:openMAXIMS    文件:Logic.java   
private void populateChartTypes()
{
    form.lyrMain().tabCharting().cmbChartType().clear();

    ChartTypeShortVoCollection chartTypes = domain.listChartTypes();
    if (chartTypes != null)
    {
        for (int x = 0; x < chartTypes.size(); x++)
        {
            addChartType(chartTypes.get(x));
        }
    }
}
项目:openmaxims-linux    文件:Logic.java   
private void doSearch()
{
    String name = form.txtName().getValue();

    if(name != null)
        name = "%" + name + "%"; 

    ChartTypeShortVoCollection coll = domain.listChartType(name, form.qmbDataset().getValue());

    displayChartTypes(coll);
}
项目:openmaxims-linux    文件:Logic.java   
private void populateChartTypes()
{
    form.lyrMain().tabCharting().cmbChartType().clear();

    ChartTypeShortVoCollection chartTypes = domain.listChartTypes();
    if (chartTypes != null)
    {
        for (int x = 0; x < chartTypes.size(); x++)
        {
            addChartType(chartTypes.get(x));
        }
    }
}
项目:AvoinApotti    文件:PathologyResultsImpl.java   
public ChartTypeShortVoCollection listChartTypes()
{
    return ChartTypeShortVoAssembler.createChartTypeShortVoCollectionFromChartType(getDomainFactory().find("from ChartType as ct where ct.isActive = 1 order by ct.name"));
}
项目:openMAXIMS    文件:PathologyResultsImpl.java   
public ChartTypeShortVoCollection listChartTypes()
{
    return ChartTypeShortVoAssembler.createChartTypeShortVoCollectionFromChartType(getDomainFactory().find("from ChartType as ct where ct.isActive = 1 order by ct.name"));
}
项目:openMAXIMS    文件:PathologyResultsImpl.java   
public ChartTypeShortVoCollection listChartTypes()
{
    return ChartTypeShortVoAssembler.createChartTypeShortVoCollectionFromChartType(getDomainFactory().find("from ChartType as ct where ct.isActive = 1 order by ct.name"));
}
项目:openmaxims-linux    文件:PathologyResultsImpl.java   
public ChartTypeShortVoCollection listChartTypes()
{
    return ChartTypeShortVoAssembler.createChartTypeShortVoCollectionFromChartType(getDomainFactory().find("from ChartType as ct where ct.isActive = 1 order by ct.name"));
}