|
From: Stefan T. <th...@us...> - 2002-02-14 17:57:23
|
Update of /cvsroot/xpg-xml/edu/iicm/xpg/statemachine
In directory usw-pr-cvs1:/tmp/cvs-serv2802
Modified Files:
Initializer.java InitStateMachine.java
Log Message:
new function: public void initialize(PrimitiveStateMachine statemachine)
Index: Initializer.java
===================================================================
RCS file: /cvsroot/xpg-xml/edu/iicm/xpg/statemachine/Initializer.java,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** Initializer.java 29 Jan 2002 10:43:13 -0000 1.1.1.1
--- Initializer.java 14 Feb 2002 17:57:20 -0000 1.2
***************
*** 1,34 ****
! //----------------------------------------------------------------------
! /**
! * @author Stefan Thalauer
! * @version $Revision$
! */
!
! package edu.iicm.xpg.statemachine;
!
! public interface Initializer
! {
! //----------------------------------------------------------------------
! /**
! * @param configfile the configfile
! * @return
! */
! public void initialize(String configfile);
!
! //----------------------------------------------------------------------
! /**
! * @return the initialized Statemachine
! */
! public PrimitiveStateMachine getStateMachine();
!
! }
!
!
!
!
!
!
!
!
!
!
--- 1,72 ----
! /***********************************************************************
! * @(#)$RCSfile$ $Revision$ $Date$
! *
! * Copyright (c) 2002 stefan thalauer
! *
! * This program is free software; you can redistribute it and/or modify
! * it under the terms of the GNU Lesser General Public License (LGPL)
! * as published by the Free Software Foundation; either version 2.1 of
! * the License, or (at your option) any later version.
! *
! * This program is distributed in the hope that it will be useful,
! * but WITHOUT ANY WARRANTY; without even the implied warranty of
! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
! * GNU Lesser General Public License for more details.
! *
! * You should have received a copy of the GNU Lesser General Public
! * License along with this program; if not, write to the
! * Free Software Foundation, Inc.,
! * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
! ***********************************************************************/
!
! package edu.iicm.xpg.statemachine;
!
! //----------------------------------------------------------------------
! /**
! * Interface for initializing of a statemachine
! *
! * @author Stefan Thalauer
! * @version $Revision$
! */
!
! public interface Initializer
! {
!
!
! //----------------------------------------------------------------------
! /**
! * @param statemachine the statemachine
! * @return
! */
!
! public void initialize(PrimitiveStateMachine statemachine);
!
!
! //----------------------------------------------------------------------
! /**
! * @param configfile the configfile
! * @deprecated By the new funktion intialize white the statemachine as
! * parameter
! * @return
! */
! public void initialize(String configfile);
!
! //----------------------------------------------------------------------
! /**
! * @return the initialized Statemachine
! */
! public PrimitiveStateMachine getStateMachine();
!
! }
!
!
!
!
!
!
!
!
!
!
!
!
Index: InitStateMachine.java
===================================================================
RCS file: /cvsroot/xpg-xml/edu/iicm/xpg/statemachine/InitStateMachine.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** InitStateMachine.java 7 Feb 2002 09:38:12 -0000 1.4
--- InitStateMachine.java 14 Feb 2002 17:57:20 -0000 1.5
***************
*** 50,53 ****
--- 50,59 ----
//----------------------------------------------------------------------
/**
+ * @deprecated This class is replaced by the classes
+ * of the package edu.iicm.xpg.statemachine:
+ * - XMLHandler
+ * - Parser
+ * - InitInitializeStateMachine
+ *
* @author Stefan Thalauer
* @author Günther Brand
***************
*** 276,279 ****
--- 282,295 ----
exc.printStackTrace();
}
+
+ //----------------------------------------------------------------------
+ /**
+ * @return the initialized Statemachine
+ */
+ public void initialize(PrimitiveStateMachine statemachine)
+ {
+ System.err.println("NOT implemented jet");
+ }
+
//----------------------------------------------------------------------
|