Package factOrFiction.tournament.standard

Examples of factOrFiction.tournament.standard.StandardTournament


    IRunnableWithProgress runnable = new IRunnableWithProgress() {
      public void run(IProgressMonitor monitor) throws InvocationTargetException {
        IPreferenceStore store = Activator.getDefault().getPreferenceStore();
        try {
          URL url = new URL(store.getString(PreferenceConstants.P_CARDLIST_URL));
          StandardTournament factory = new StandardTournament();

          monitor.beginTask("Updating...", 2);
         
          String[] restrictedCards = StringUtils.parseToStringArray( store.getString(PreferenceConstants.P_RESTRICTED_CARDS));
          factory.read(url, store.getString(PreferenceConstants.P_REGEX_CARD), restrictedCards );
          monitor.worked(1);
         
          factory.save();
          monitor.worked(1);
        } catch (MalformedURLException e) {
          MessageDialog.openInformation(
              window.getShell(),
              "FactOrFiction Tournament Format Plug-in",
View Full Code Here

TOP

Related Classes of factOrFiction.tournament.standard.StandardTournament

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.