View Javadoc

1   package net.sf.tomp.xtcl.command;
2   
3   /***
4    * Base for commands dealing with a variable.
5    * 
6    * @author tomp
7    */
8   public abstract class VarCommand extends AbstractCommand {
9   	
10      /*** the variable name */
11      protected String var;
12  
13      /***
14       * set the variable name
15       * 
16       * @param v the variable name
17       */
18      public void setVar(String v) {
19          var = v;
20      }
21  }
22  
23  /*
24   * The contents of this file are subject to the Mozilla Public License Version
25   * 1.1 (the "License"); you may not use this file except in compliance with the
26   * License. You may obtain a copy of the License at http://www.mozilla.org/MPL/
27   * Software distributed under the License is distributed on an "AS IS" basis,
28   * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for
29   * the specific language governing rights and limitations under the License. The
30   * Original Code is: all this file. The Initial Developer of the Original Code
31   * is: Tomas Pitner, Masaryk University in Brno, Czech Republic. Contributor(s):
32   */