Package org.jayasoft.woj.client.dialog

Examples of org.jayasoft.woj.client.dialog.ChooseModuleDialog.open()


public class WojSourceContainerBrowser extends AbstractSourceContainerBrowser {

  
  public ISourceContainer[] addSourceContainers(Shell shell, ISourceLookupDirector director) {
    ChooseModuleDialog dialog = new ChooseModuleDialog(shell);
    if (dialog.open() == Window.OK) {
      return new ISourceContainer[]{new WojSourceContainer(dialog.getOrganisation(), dialog.getName(), dialog.getRevision(), dialog.getVisibility())};
    }
    return new ISourceContainer[]{};
  }
}
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.