Package br.com.visualmidia.ui

Examples of br.com.visualmidia.ui.MainScreen


          fakeShell = new Shell(fakeDisplay);
          fakeLoadSystem(fakeShell);
          new UpdateSetup();
          Thread checkServerIsAvailable = new Thread(new CheckServerIsAvailable());
          checkServerIsAvailable.start();
          new MainScreen().run();
        } else {
          MessageDialog.openError(new Shell(), "Gerente Digital", "J� existe um Gerente Digital aberto.");
        }
    }
View Full Code Here


          fakeShell = new Shell(fakeDisplay);
          fakeLoadSystem(fakeShell);
          GDSystem.setStandAloneMode();
          new UpdateSetup();
//          disposeFakeSystem();
            new MainScreen().run();
        } else {
          MessageDialog.openError(new Shell(), "Gerente Digital", "J� existe um Gerente Digital aberto.");
        }
    }
View Full Code Here

    private UsersListGroup groupUsersList;

    protected void setUp() throws Exception {
        super.setUp();
        GDSystem.setStandAloneMode();
        MainScreen mainScreen = new MainScreen();
        Shell shell = new Shell();
        groupUsersList = new UsersListGroup(shell, SWT.NONE, new StudentControlCenter(new CTabFolder(shell, SWT.NONE), SWT.NONE, mainScreen), "Lista de Usu�rios");
        groupUsersList.display();
    }
View Full Code Here

        display = new Display();
        GDSystem.setStandAloneMode();
        system = GDSystem.getInstance();
        system.login((Person) system.query(new GetUser("admin")));
        system.authenticate("admin", "gdadmin");
        studentRegisterScreen = new StudentControlCenter(new CTabFolder(new Shell(display),SWT.NONE), SWT.NONE, new MainScreen());
        studentRegisterScreen.display();
    }
View Full Code Here

        new GDSetup().start();
        system = GDSystem.getInstance();
        system.login((Person) system.query(new GetUser("admin")));
        system.authenticate("admin", "gdadmin");

        registerMachineControlCenter = new RegisterMachineControlCenter(new CTabFolder(new Shell(display),SWT.NONE), SWT.NONE, new MainScreen());
        registerMachineControlCenter.display();

        billPaymentControlCenter = new ExpendituresAndImcomingControlCenter(new CTabFolder(new Shell(display),SWT.NONE), SWT.NONE, new MainScreen());
        billPaymentControlCenter.display();

        addBill();
    }
View Full Code Here

        GDSleak sleak = new GDSleak();
        sleak.open();

        // Opens the application here
        GDSystem.setStandAloneMode();
        new MainScreen().run();
        // until here
       
        while (!sleak.shell.isDisposed()) {
            if (!display.readAndDispatch())
                display.sleep();
View Full Code Here

    protected void setUp() throws Exception {
        super.setUp();
        GDSystem.setStandAloneMode();
        Shell shell = new Shell(Display.getDefault());

        MainScreen mainScreen = new MainScreen();
        SashForm mainPanel = new SashForm(shell, SWT.NONE);
        CTabFolder cTabFolder = new CTabFolder(mainPanel,SWT.CLOSE|SWT.MULTI|SWT.TOP|SWT.BORDER|SWT.NO_BACKGROUND|SWT.NO_REDRAW_RESIZE|SWT.LEFT_TO_RIGHT);
        Text text = new Text(shell, SWT.SINGLE);
        tableCompletationPerson = new PersonTableCompletation(text, cTabFolder, new StudentControlCenter(cTabFolder, 0, mainScreen));
        tableCompletationClassRoom = new ClassRoomTableCompletation(text, cTabFolder, new ClassRoomControlCenter(cTabFolder, 0, mainScreen));
View Full Code Here

TOP

Related Classes of br.com.visualmidia.ui.MainScreen

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.