src/java/isac/util/interfaces/IToCalc.java
changeset 2065 603c0de1a9e3
parent 2062 6a6ab062700b
child 2069 fdca7e9e593a
equal deleted inserted replaced
2064:a756f098613c 2065:603c0de1a9e3
   118 	public int replaceFormula(CalcFormula newFormula) throws RemoteException;
   118 	public int replaceFormula(CalcFormula newFormula) throws RemoteException;
   119 
   119 
   120 	/**
   120 	/**
   121 	 * requests the intermediate steps leading to the activeFormula
   121 	 * requests the intermediate steps leading to the activeFormula
   122 	 * 
   122 	 * 
   123 	 * @return int + calcChangedEvent 05.01. or Vector on success, ?? on error
   123 	 * @return Vector of Formulae and CalcHeads
   124 	 */
   124 	 */
   125 	public int intermediateSteps() throws RemoteException;
   125 	public int intermediateSteps() throws RemoteException;
   126 
   126 
   127 	/**
   127 	/**
   128 	 * Tries to append the passed formula after the active formula. This could
   128 	 * Tries to append the passed formula after the active formula. This could
   243 	 * irrelevant !
   243 	 * irrelevant !
   244 	 */
   244 	 */
   245 	public int autoCalculate(int scope, int nSteps) throws RemoteException;
   245 	public int autoCalculate(int scope, int nSteps) throws RemoteException;
   246 
   246 
   247 	/**
   247 	/**
   248 	 * get the elements of the calcTree between the two iterators (including the
   248 	 * get the Formulae and CalcHeads of the calcTree between the two iterators
   249 	 * elements the two iterators a pointing to)
   249 	 * (including the elements the two iterators a pointing to)
   250 	 * 
   250 	 * 
   251 	 * @param iterator_from
   251 	 * @param iterator_from
   252 	 *            The iterator pointing to the element immediately before of the
   252 	 *            The iterator pointing to the element immediately before of the
   253 	 *            returned range (which supports direct use of ...
   253 	 *            returned range (which supports direct use of ...
   254 	 * @see isac.util.CalcChangedEvent.last_unchanged_formula_
   254 	 * @see isac.util.CalcChangedEvent.last_unchanged_formula_
   260 	 *            higher level (who are "deeper" in the hierarchie are not
   260 	 *            higher level (who are "deeper" in the hierarchie are not
   261 	 *            returned null if everything should be displayed
   261 	 *            returned null if everything should be displayed
   262 	 * @param result_includes_tactics
   262 	 * @param result_includes_tactics
   263 	 *            true if the result should include the tactics, false otherwise
   263 	 *            true if the result should include the tactics, false otherwise
   264 	 * 
   264 	 * 
   265 	 * @return an Vector containing the elements of the clacTree
   265 	 * @return an Vector containing the Formulae and CalcHeads of the calcTree
   266 	 * @author Alois Kirchsteiger 12.01.2005 16:51:43
   266 	 * @author Alois Kirchsteiger 12.01.2005 16:51:43
   267 	 */
   267 	 */
   268 	public Vector getElementsFromTo(ICalcIterator iterator_from,
   268 	public Vector getElementsFromTo(ICalcIterator iterator_from,
   269 			ICalcIterator iterator_to, Integer level,
   269 			ICalcIterator iterator_to, Integer level,
   270 			boolean result_includes_tactics) throws RemoteException;
   270 			boolean result_includes_tactics) throws RemoteException;