Examples of open()


Examples of br.com.visualmidia.ui.dialog.AddGroupDialog.open()

        addGroupButton.setText("Adicionar");

        addGroupButton.addListener(SWT.MouseUp, new Listener() {
            public void handleEvent(Event arg0) {
                AddGroupDialog addGroupDialog = new AddGroupDialog(getShell(), treeGroup);
                addGroupDialog.open();
                groupSelected = addGroupDialog.getSelectedGroup();
                updateGroupTable();
            }
        });
View Full Code Here

Examples of br.com.visualmidia.ui.dialog.AddUserToGroupDialog.open()

        addUserButton.setText("Adicionar");

        addUserButton.addListener(SWT.MouseUp, new Listener() {
            public void handleEvent(Event arg0) {
                AddUserToGroupDialog addUserToGroupDialog = new AddUserToGroupDialog(addUserButton.getShell(), userTable.getItems());
                addUserToGroupDialog.open();
               
                if(addUserToGroupDialog.getUserSelection() != null){
                    userChild = addUserToGroupDialog.getUserSelection();
                    if(!userChild.equals(""))
                        addItemUserTable(userChild);
View Full Code Here

Examples of br.com.visualmidia.ui.dialog.ChooseAccountImportExtractBankItemDialog.open()

                  String accountNumber = lineTest.split("<ACCTID>")[1];
                  try {
                    List<Account> accounts = (List<Account>) system.query(new GetBankAccountsByNumber(accountNumber));
                    if(accounts.size() > 1){
                      ChooseAccountImportExtractBankItemDialog dialog = new ChooseAccountImportExtractBankItemDialog(mainScreen.getShell(), accounts);
                      dialog.open();
                      if(dialog.getReturnCode() == TitleAreaDialog.OK){
                        Account account = (Account) system.query(new GetAccountByName(dialog.getAccountName()));
                        accountId = Integer.parseInt(account.getId());
                      }else{
                        isCancel = true;
View Full Code Here

Examples of br.com.visualmidia.ui.dialog.ConferManagerDialog.open()

        editButton.addListener(SWT.Selection, new Listener(){
            public void handleEvent(Event arg0) {
                if(table.getTable().getSelection().length > 0) {
                    setErrorMessage("");
                    ConferManagerDialog conferManagerDialog = new ConferManagerDialog(mainPanel.getShell(),  table);
                    conferManagerDialog.open();
                } else {
                    setErrorMessage("Selecione uma conta antes alterar");
                }
            }
        });
View Full Code Here

Examples of br.com.visualmidia.ui.dialog.DataCheckDialog.open()

      dataCheckDialog = new DataCheckDialog(parent.getShell(), account, isGoodForCheck, text, !isDebit);
    } else {
      dataCheckDialog = new DataCheckDialog(dialog, account, isGoodForCheck, text, !isDebit);
    }
   
    if (dataCheckDialog.open() == 0) {
      paymentType = dataCheckDialog.getPaymentType();
      valueReceived = ((PaymentCheck) paymentType).getReceivedValue();
    } else {
      combo.select(0);
    }
View Full Code Here

Examples of br.com.visualmidia.ui.dialog.PaymentDialog.open()

                  addExtractItemToOperation(transactionId);
                } else if(existExpendituresAndIncomingRadioButton.getSelection()) {
                  TableItem[] item = table.getSelection();
                    String transactionId = item[0].getText(0);
                  PaymentDialog dialog = (extractBankItem.isCredit() ? new IncomingPaymentDialog(getShell(), transactionId, extractBankItem) : new ExpendituresPaymentDialog(getShell(), transactionId, extractBankItem));
                  dialog.open();
                  if(dialog.isConfirmed()) {
                    system.execute(new RemoveExtractItem(extractBankItem.getId()));
                    close();
                  }
                } else { //Adicionar opera��o
View Full Code Here

Examples of br.com.visualmidia.ui.dialog.StudentExceedentDialog.open()

            if(classRoomIdText.getText().equals("")) {
              save();
            } else {
              if(hasExceedingStudents()) {
                StudentExceedentDialog dialog = new StudentExceedentDialog(getDisplay().getShells()[0], this);
                dialog.open();
          if(dialog.isOk()) {
                  save();
                } else {
                  updateTables();
                }
View Full Code Here

Examples of br.com.visualmidia.ui.splash.SplashScreen.open()

    private static void fakeLoadSystem(final Shell shell) {
        final int waitTime = 375;
        final SplashScreen splashScreen = new SplashScreen(shell.getShell());
        splashScreen.setRaiseAmount(waitTime);
//        splashScreen.setWaitTime(100000);
        splashScreen.open();
        splashScreen.setMessage("Carregando o Gerente Digital........");
    }
   
    public static void disposeFakeSystem() {
      fakeDisplay.sleep();
View Full Code Here

Examples of ca.uwaterloo.fydp.xcde.XCDEDocClient.open()

    XCDEDocClient client = getFileClient(filename);
    
    // Now prepare to download its contents
    docDownloadListeners.put(client, listener);   
    client.setCallback(this);
    client.open();
  }
 
  /**
   * DOCUMENT client receive state. Notice: __DOCUMENT__ not directory.
   */
 
View Full Code Here

Examples of cc.rober.lfslcd.CFA635.open()

      System.err.println("Use: TurnOffLCD portID contrast backlight g0 r0 g1 r1 g2 r2 g3 r3       Range [0,1]");
      System.exit(1);
    }
   
    try {
      cfa635.open(args[0]);
    }
    catch (Exception e) {
      System.err.println(e.getMessage());
      System.exit(1);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.