Changeset 836 for trunk/src/sce/codehelper/CHCommandArgument.java
- Timestamp:
- 09/04/10 13:04:29 (21 months ago)
- Files:
-
- 1 modified
-
trunk/src/sce/codehelper/CHCommandArgument.java (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/sce/codehelper/CHCommandArgument.java
r791 r836 13 13 private String name = null; 14 14 private boolean optional = false; 15 private boolean secondOptional = false; 15 16 // the hint 16 17 private String hint = null; … … 33 34 } 34 35 35 /** 36 /** 37 * Creates a command argument. 38 * 39 * @param name the name 40 * @param optional whether the argument is optional 41 * @param secondOptional whether the argument is second optional 42 */ 43 public CHCommandArgument(String name, boolean optional, boolean secondOptional) { 44 this.name = name; 45 this.optional = optional; 46 this.secondOptional = secondOptional; 47 } 48 49 /** 36 50 * Returns the name of the argument. 37 51 * … … 51 65 } 52 66 53 /** 67 /** 68 * Returns true if the argument is second optional. 69 * 70 * @return true if second optional 71 */ 72 public boolean isSecondOptional() { 73 return secondOptional; 74 } 75 76 /** 54 77 * Returns the hint for this argument. 55 78 *
![(please configure the [header_logo] section in trac.ini)](http://jlatexeditor.endrullis.de/chrome/site/logo.png)