Search in sources :

Example 1 with AdditionalCustomerIdsView

use of eu.ggnet.dwoss.customer.ui.old.AdditionalCustomerIdsView in project dwoss by gg-net.

the class AdditionalcustomerIdsViewTryout method main.

public static void main(String[] args) {
    UiCore.startSwing(() -> new JLabel("Main"));
    Map<ExternalSystem, String> in = new HashMap<>();
    in.put(ExternalSystem.SAGE, "123412");
    Ui.exec(() -> {
        Ui.build().dialog().eval(() -> in, () -> new AdditionalCustomerIdsView()).opt().ifPresent(System.out::println);
    });
}
Also used : HashMap(java.util.HashMap) ExternalSystem(eu.ggnet.dwoss.customer.ee.entity.Customer.ExternalSystem) JLabel(javax.swing.JLabel) AdditionalCustomerIdsView(eu.ggnet.dwoss.customer.ui.old.AdditionalCustomerIdsView)

Aggregations

ExternalSystem (eu.ggnet.dwoss.customer.ee.entity.Customer.ExternalSystem)1 AdditionalCustomerIdsView (eu.ggnet.dwoss.customer.ui.old.AdditionalCustomerIdsView)1 HashMap (java.util.HashMap)1 JLabel (javax.swing.JLabel)1