Search in sources :

Example 1 with RevenueReportSelectionView

use of eu.ggnet.dwoss.report.ui.cap.support.RevenueReportSelectionView in project dwoss by gg-net.

the class RevenueReportSelectionViewTryout method main.

public static void main(String[] args) {
    Mandators mandatorSupporterMock = mock(Mandators.class);
    when(mandatorSupporterMock.loadContractors()).thenReturn(new Contractors(EnumSet.of(TradeName.FUJITSU), EnumSet.of(TradeName.FUJITSU)));
    // Not yet implemented
    Dl.remote().add(Mandators.class, mandatorSupporterMock);
    Ui.exec(() -> {
        UiCore.startSwing(() -> new JLabel("Main Applikation"));
        Ui.build().fx().eval(() -> new RevenueReportSelectionView()).opt().ifPresent(System.out::println);
    });
}
Also used : Mandators(eu.ggnet.dwoss.mandator.Mandators) Contractors(eu.ggnet.dwoss.mandator.api.value.Contractors) RevenueReportSelectionView(eu.ggnet.dwoss.report.ui.cap.support.RevenueReportSelectionView) JLabel(javax.swing.JLabel)

Aggregations

Mandators (eu.ggnet.dwoss.mandator.Mandators)1 Contractors (eu.ggnet.dwoss.mandator.api.value.Contractors)1 RevenueReportSelectionView (eu.ggnet.dwoss.report.ui.cap.support.RevenueReportSelectionView)1 JLabel (javax.swing.JLabel)1