/[svn]/jsampler/trunk/src/org/jsampler/task/InstrumentsDb.java
ViewVC logotype

Diff of /jsampler/trunk/src/org/jsampler/task/InstrumentsDb.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1354 by iliev, Thu May 24 21:55:41 2007 UTC revision 1355 by iliev, Mon Sep 17 23:55:27 2007 UTC
# Line 917  public class InstrumentsDb { Line 917  public class InstrumentsDb {
917                          return true;                          return true;
918                  }                  }
919          }          }
920            
921            /**
922             * This task formats the instruments database.
923             */
924            public static class Format extends EnhancedTask {
925                    /**
926                     * Formats the instruments database..
927                     */
928                    public
929                    Format() {
930                            setTitle("InstrumentsDb.Format_task");
931                            String s = i18n.getMessage("InstrumentsDb.Format.desc");
932                            setDescription(s);
933                    }
934            
935                    /** The entry point of the task. */
936                    public void
937                    run() {
938                            try { CC.getClient().formatInstrumentsDb(); }
939                            catch(Exception x) {
940                                    setErrorMessage(getDescription() + ": " + HF.getErrorMessage(x));
941                                    CC.getLogger().log(Level.FINE, getErrorMessage(), x);
942                            }
943                    }
944            }
945  }  }

Legend:
Removed from v.1354  
changed lines
  Added in v.1355

  ViewVC Help
Powered by ViewVC