View Javadoc

1   // $Id: TypeHierarchyCommand.java 159 2009-03-19 21:24:36Z agony $
2   /**
3    * 
4    */
5   package de.mindcrimeilab.xsanalyzer.actions;
6   
7   import java.util.Map;
8   
9   import org.apache.xerces.xs.XSObject;
10  import org.springframework.binding.value.ValueModel;
11  import org.springframework.richclient.command.ParameterizableActionCommandExecutor;
12  
13  import de.mindcrimeilab.util.Accessor;
14  
15  /**
16   * @author Michael Engelhardt<me@mindcrime-ilab.de>
17   * @author $Author: agony $
18   * @version $Revision: 159 $
19   * 
20   */
21  public final class TypeHierarchyCommand extends AbstractXSObjectCommand {
22  
23      private final ParameterizableActionCommandExecutor executer = new TypeHierarchyExecutor();
24  
25      public TypeHierarchyCommand() {
26          this(null, null);
27      }
28  
29      public TypeHierarchyCommand(ValueModel valueModel) {
30          this(valueModel, null);
31      }
32  
33      public TypeHierarchyCommand(ValueModel valueModel, Accessor accessor) {
34          super("typeHierarchyCommand", valueModel, accessor);
35      }
36  
37      /*
38       * (non-Javadoc)
39       * 
40       * @see de.mindcrimeilab.xsanalyzer.actions.AbstractXSObjectCommand#executeWrappedExecutor(java.util.Map)
41       */
42      @Override
43      protected void executeWrappedExecutor(Map<String, XSObject> parameter) {
44          executer.execute(parameter);
45      }
46  
47  }