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

    r434 r664  
    1616import de.ugoe.cs.quest.usageprofiles.FirstOrderMarkovModel.MarkovEdge; 
    1717import de.ugoe.cs.util.console.Command; 
    18 import de.ugoe.cs.util.console.Console; 
     18import edu.uci.ics.jung.algorithms.layout.ISOMLayout; 
    1919import edu.uci.ics.jung.algorithms.layout.Layout; 
    20 import edu.uci.ics.jung.algorithms.layout.ISOMLayout; 
    2120import edu.uci.ics.jung.graph.Graph; 
    2221import edu.uci.ics.jung.visualization.BasicVisualizationServer; 
     
    4039         */ 
    4140        @Override 
    42         public void help() { 
    43                 Console.println("Usage: showMarkovModel <modelName> {<showNodeNames>}"); 
     41        public String help() { 
     42                return "showMarkovModel <modelName> {<showNodeNames>}"; 
    4443        } 
    4544 
Note: See TracChangeset for help on using the changeset viewer.