Java 类ims.core.vo.lookups.TimeUnitsSecondsToMonthsCollection 实例源码

项目:AvoinApotti    文件:Logic.java   
private void bindUnitCombo()
{
    form.cmbUnit().clear();

    TimeUnitsSecondsToMonthsCollection lookupCollection = LookupHelper.getTimeUnitsSecondsToMonths(this.domain.getLookupService());
    for(int x = 0; x < lookupCollection.size(); x++)
    {
        if(TimeUnitsSecondsToMonths.SECONDS.equals(lookupCollection.get(x)) || TimeUnitsSecondsToMonths.MINUTES.equals(lookupCollection.get(x)) || TimeUnitsSecondsToMonths.HOURS.equals(lookupCollection.get(x)))
            continue;

        form.cmbUnit().newRow(lookupCollection.get(x), lookupCollection.get(x).getText(), lookupCollection.get(x).getImage(), lookupCollection.get(x).getTextColor());
    }
}
项目:openMAXIMS    文件:Logic.java   
private void bindUnitCombos()
{

    TimeUnitsSecondsToMonthsCollection lookupCollection = LookupHelper.getTimeUnitsSecondsToMonths(this.domain.getLookupService());
    for(int x = 0; x < lookupCollection.size(); x++)
    {
        if(TimeUnitsSecondsToMonths.SECONDS.equals(lookupCollection.get(x)) || TimeUnitsSecondsToMonths.MINUTES.equals(lookupCollection.get(x)) || TimeUnitsSecondsToMonths.HOURS.equals(lookupCollection.get(x)))
            continue;

        form.lyrTabs().tabOPA().cmbScheduledFor().newRow(lookupCollection.get(x), lookupCollection.get(x).getText(), lookupCollection.get(x).getImage(), lookupCollection.get(x).getTextColor());
        form.lyrTabs().tabOpaAndDiagnostics().cmbScheduledForLinked().newRow(lookupCollection.get(x), lookupCollection.get(x).getText(), lookupCollection.get(x).getImage(), lookupCollection.get(x).getTextColor());
        form.lyrTabs().tabOpaAndDiagnostics().cmbScheduledForDiagnostic().newRow(lookupCollection.get(x), lookupCollection.get(x).getText(), lookupCollection.get(x).getImage(), lookupCollection.get(x).getTextColor());

    }
}
项目:openMAXIMS    文件:Logic.java   
private void bindUnitCombos()
{
    TimeUnitsSecondsToMonthsCollection lookupCollection = LookupHelper.getTimeUnitsSecondsToMonths(this.domain.getLookupService());

    for(int x = 0; x < lookupCollection.size(); x++)
    {
        if(TimeUnitsSecondsToMonths.SECONDS.equals(lookupCollection.get(x)) || TimeUnitsSecondsToMonths.MINUTES.equals(lookupCollection.get(x)) || TimeUnitsSecondsToMonths.HOURS.equals(lookupCollection.get(x)))
            continue;

        form.cmbDelayed().newRow(lookupCollection.get(x), lookupCollection.get(x).getText(), lookupCollection.get(x).getImage(), lookupCollection.get(x).getTextColor());
        form.cmbTimeOnList().newRow(lookupCollection.get(x), lookupCollection.get(x).getText(), lookupCollection.get(x).getImage(), lookupCollection.get(x).getTextColor());

    }

}
项目:openMAXIMS    文件:Logic.java   
private void bindUnitCombo()
{
    form.cmbUnit().clear();

    TimeUnitsSecondsToMonthsCollection lookupCollection = LookupHelper.getTimeUnitsSecondsToMonths(this.domain.getLookupService());
    for(int x = 0; x < lookupCollection.size(); x++)
    {
        if(TimeUnitsSecondsToMonths.SECONDS.equals(lookupCollection.get(x)) || TimeUnitsSecondsToMonths.MINUTES.equals(lookupCollection.get(x)) || TimeUnitsSecondsToMonths.HOURS.equals(lookupCollection.get(x)))
            continue;

        form.cmbUnit().newRow(lookupCollection.get(x), lookupCollection.get(x).getText(), lookupCollection.get(x).getImage(), lookupCollection.get(x).getTextColor());
    }
}
项目:openmaxims-linux    文件:Logic.java   
private void bindUnitCombo()
{
    form.cmbUnit().clear();

    TimeUnitsSecondsToMonthsCollection lookupCollection = LookupHelper.getTimeUnitsSecondsToMonths(this.domain.getLookupService());
    for(int x = 0; x < lookupCollection.size(); x++)
    {
        if(TimeUnitsSecondsToMonths.SECONDS.equals(lookupCollection.get(x)) || TimeUnitsSecondsToMonths.MINUTES.equals(lookupCollection.get(x)) || TimeUnitsSecondsToMonths.HOURS.equals(lookupCollection.get(x)))
            continue;

        form.cmbUnit().newRow(lookupCollection.get(x), lookupCollection.get(x).getText(), lookupCollection.get(x).getImage(), lookupCollection.get(x).getTextColor());
    }
}