Ignore:
Timestamp:
08/28/12 13:33:23 (12 years ago)
Author:
sherbold
Message:
  • modified Command.help(): the help now returns a string with its usage instead of writing directly to the console
  • modified listCommands: now writes the help string of each command instead of just the name; this way, the parameters are displayed directly
  • moved listCommands from quest-ui-core to java-utils
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/quest-plugin-jfc/src/main/java/de/ugoe/cs/quest/plugin/jfc/commands/CMDparseJFC.java

    r573 r664  
    1010import de.ugoe.cs.quest.ui.GlobalDataContainer; 
    1111import de.ugoe.cs.util.console.Command; 
    12 import de.ugoe.cs.util.console.Console; 
    1312 
    1413/** 
     
    5857         */ 
    5958        @Override 
    60         public void help() { 
    61                 Console.println("Usage: parseJFC <filename> {<sequencesName>}"); 
     59        public String help() { 
     60                return "parseJFC <filename> {<sequencesName>}"; 
    6261        } 
    6362 
Note: See TracChangeset for help on using the changeset viewer.