Package org.eclipse.swt.widgets

Examples of org.eclipse.swt.widgets.Link.addListener()


       
        Link barCodeReport = new Link(groupBody, SWT.NONE);
        barCodeReport.setText("<A>Imprimir etiqueta com c�digo de barra</A>");
        barCodeReport.setBackground(groupBody.getBackground());
       
        barCodeReport.addListener(SWT.Selection, new Listener() {
            public void handleEvent(Event arg0) {
                TableItem[] selection = studentTable.getSelection();
                Map<String, Person> personMap = new HashMap<String, Person>();
                if(selection.length > 0) {
                    try {
View Full Code Here


       
        Link studentRegistrationReport = new Link(groupBody, SWT.NONE);
        studentRegistrationReport.setText("<A>Relat�rio de Alunos</A>");
        studentRegistrationReport.setBackground(groupBody.getBackground());
       
        studentRegistrationReport.addListener(SWT.Selection, new Listener() {
            public void handleEvent(Event arg0) {
                GDWindowControl.getInstance().openStudentRegistrationReportControlCenter();
            }
        });
       
View Full Code Here

       
        Link registrationFicheReport = new Link(groupBody, SWT.NONE);
        registrationFicheReport.setText("<A>Ficha de Cadastro</A>");
        registrationFicheReport.setBackground(groupBody.getBackground());
       
        registrationFicheReport.addListener(SWT.Selection, new Listener() {
            public void handleEvent(Event arg0) {
                GDWindowControl.getInstance().openRegistrationFiche();
            }
        });
       
View Full Code Here

       
        Link registrationMapReport = new Link(groupBody, SWT.NONE);
        registrationMapReport.setText("<A>Quadro de Hor�rios</A>");
        registrationMapReport.setBackground(groupBody.getBackground());
       
        registrationMapReport.addListener(SWT.Selection, new Listener() {
            public void handleEvent(Event arg0) {
                GDWindowControl.getInstance().openRegistrationMapReportControlCenter();
            }
        });
       
View Full Code Here

       
        Link certifydReport = new Link(groupBody, SWT.NONE);
        certifydReport.setText("<A>Certificados</A>");
        certifydReport.setBackground(groupBody.getBackground());
       
        certifydReport.addListener(SWT.Selection, new Listener() {
            public void handleEvent(Event arg0) {
                TableItem[] selection = studentTable.getSelection();
                if(selection.length > 0) {
                    GDWindowControl.getInstance().openCertifydReportControlCenter(selection[0].getText(0));
                } else {
View Full Code Here

       
        Link birthdayReport = new Link(groupBody, SWT.NONE);
        birthdayReport.setText("<A>Aniversariantes do M�s</A>");
        birthdayReport.setBackground(groupBody.getBackground());
       
        birthdayReport.addListener(SWT.Selection, new Listener() {
            public void handleEvent(Event arg0) {
                GDWindowControl.getInstance().openBirthdayReport();
            }
        });
    }
View Full Code Here

        Link bankingBilletLink = new Link(dialog, SWT.NONE);
        bankingBilletLink.setText("<a>Gerar boleto</a>");
//        bankingBilletLink.setText("");
        bankingBilletLink.setBackground(dialog.getBackground());
       
        bankingBilletLink.addListener(SWT.Selection, new Listener() {
            public void handleEvent(Event arg0) {
              Money ticketAndMora = new Money(0.0);
              GDDate today = new GDDate();
                GDDate graceDays = new GDDate(parcel.getDate());
            graceDays.addDays(Integer.valueOf(system.getProperty("gracedays")));
View Full Code Here

        createListLabel();
        createListCourse();
       
        Link link = new Link(dialog, SWT.NONE);
        link.setText("Para adicionar uma ocorr�ncia no Hist�rico do Aluno <A>clique aqui</A>.");
        link.addListener(SWT.Selection, new Listener(){
            public void handleEvent(Event arg0) {
                Registration registration;
                try {
                    registration = (Registration) system.query(new GetRegistration(registrationId));
                    new OccurrenceDialog(getShell(), registration.getIdPerson()).open();
View Full Code Here

       
        Link addClassRoomLink = new Link(groupBody, SWT.NONE);
        addClassRoomLink.setText("<A>Adicionar sala</A>");
        addClassRoomLink.setBackground(groupBody.getBackground());
       
        addClassRoomLink.addListener(SWT.Selection, new Listener() {
            public void handleEvent(Event arg0) {
                GDWindowControl.getInstance().openClassRoomControlCenter();
            }
        });
View Full Code Here

        Link editClassRoomLink = new Link(groupBody, SWT.NONE);
        editClassRoomLink.setText("<A>Editar sala</A>");
        editClassRoomLink.setBackground(groupBody.getBackground());
       
        editClassRoomLink.addListener(SWT.Selection, new Listener() {
            public void handleEvent(Event arg0) {
                openClassRoom();
            }
        });
       
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.