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-ui-swt/src/main/java/de/ugoe/cs/quest/ui/swt/commands/CMDshowSequences.java

    r655 r664  
    1212import de.ugoe.cs.quest.ui.swt.SequencesDialog; 
    1313import de.ugoe.cs.util.console.Command; 
    14 import de.ugoe.cs.util.console.Console; 
    1514 
    1615/** 
     
    2928     */ 
    3029    @Override 
    31     public void help() { 
    32         Console.println("Usage: showSequences <sequencesName>"); 
     30    public String help() { 
     31        return "showSequences <sequencesName>"; 
    3332    } 
    3433 
Note: See TracChangeset for help on using the changeset viewer.