Package org.eclipse.swt.widgets

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


      }
    }
    if(templateList.getItemCount() == 0) {
      ExceptionHandler.throwCoreException("templates.xml misses the required data!", null);
    }
    templateList.addListener(SWT.Selection, new Listener() {

      public void handleEvent(Event event) {
        selectedTemplate = templateList.getItem(templateList.getSelectionIndex()).trim();
        descriptionArea.setText(getTemplateDescription());
      }
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.