Examples of RosterWriterHelper


Examples of org.eclipse.ecf.internal.examples.webinar.util.RosterWriterHelper

    final IRoster roster = getSelectedRoster();
    if (roster != null) {
      IAction action = new Action() {
        public void run() {
          // Write selected roster to console
          new RosterWriterHelper().writeRosterToConsole(roster);
        }
      };
      action.setText("Show this roster on console");
      action.setImageDescriptor(PlatformUI.getWorkbench()
          .getSharedImages().getImageDescriptor(
View Full Code Here

Examples of org.eclipse.ecf.internal.examples.webinar.util.RosterWriterHelper

          }
        }
        IPresenceContainerAdapter [] adapters = (IPresenceContainerAdapter []) l.toArray(new IPresenceContainerAdapter[] {});
        for(int i=0; i < adapters.length; i++) {
          // Show all rosters on console...or do other things with it here.
          new RosterWriterHelper().writeRosterToConsole(adapters[i].getRosterManager().getRoster());
        }
      }
    };
    action.setText("show all rosters on console");
    return new IContributionItem[] { new ActionContributionItem(action) };
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.