Ignore:
Timestamp:
09/23/11 03:44:15 (13 years ago)
Author:
sherbold
Message:
  • modified CommandExecuter? and Console make use of the command notification for observers
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaHelperLib/src/de/ugoe/cs/util/console/Console.java

    r175 r186  
    214214        } 
    215215 
     216        /** 
     217         * <p> 
     218         * Called by {@link CommandExecuter#exec(String)}. 
     219         * </p> 
     220         *  
     221         * @param command 
     222         *            command that is executed 
     223         */ 
     224        static void commandNotification(String command) { 
     225                if (theInstance == null) { 
     226                        getInstance(); 
     227                } 
     228                for (ConsoleObserver observer : theInstance.observers) { 
     229                        observer.commandNotification(command); 
     230                } 
     231        } 
     232 
    216233} 
Note: See TracChangeset for help on using the changeset viewer.