Package org.jmule.core.jkad.routingtable

Examples of org.jmule.core.jkad.routingtable.RoutingTableListener


    };
    contact_list.setLayoutData(new GridData(GridData.FILL_BOTH));
    contact_list.addColumn(SWT.LEFT, KAD_CLIENT_ID_COLUMN_ID, _._("mainwindow.kadtab.contact_list.column.contact_id"), _._("mainwindow.kadtab.contact_list.column.contact_id.desc"), swtPreferences.getColumnWidth(KAD_CLIENT_ID_COLUMN_ID));
    contact_list.addColumn(SWT.LEFT, KAD_CLIENT_DISTANCE_COLUMN_ID, _._("mainwindow.kadtab.contact_list.column.contact_distance"), _._("mainwindow.kadtab.contact_list.column.contact_distance.desc"), swtPreferences.getColumnWidth(KAD_CLIENT_DISTANCE_COLUMN_ID));
   
    _core.getJKadManager().getRoutingTable().addListener(new RoutingTableListener() {
      public void contactAdded(final KadContact contact) {
        Display.getDefault().asyncExec(new Runnable() {
          public void run() {
            if (isDisposed()) return;
            contact_list.addRow(contact);
View Full Code Here

TOP

Related Classes of org.jmule.core.jkad.routingtable.RoutingTableListener

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.