Update of /cvsroot/xpg-xml/edu/iicm/xpg/transitions
In directory usw-pr-cvs1:/tmp/cvs-serv16170/transitions
Modified Files:
SetSearchPathTransition.java
Log Message:
new default search path and function appendSearchPath
Index: SetSearchPathTransition.java
===================================================================
RCS file: /cvsroot/xpg-xml/edu/iicm/xpg/transitions/SetSearchPathTransition.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** SetSearchPathTransition.java 7 Feb 2002 09:51:58 -0000 1.2
--- SetSearchPathTransition.java 14 Feb 2002 22:27:15 -0000 1.3
***************
*** 35,38 ****
--- 35,39 ----
/**
* @author Günther Brand
+ * @author Stefan Thalauer
* @version $Revision$
*/
***************
*** 55,69 ****
public String transitionTriggered(Input input,State from_state,State to_state,
StateMachine machine,DataObject data)
! throws Exception
{
! String path = ((XMLInput)input).getValue();
!
! DFactory transition_factory =
! (DFactory)data.getObject("transition_factory");
! transition_factory.setSearchPath(new String[]{ "edu.iicm.xpg.transitions",
! path });
! return(null);
}
--- 56,73 ----
public String transitionTriggered(Input input,State from_state,State to_state,
StateMachine machine,DataObject data)
! throws Exception
{
! String path = ((XMLInput)input).getValue();
!
! DFactory transition_factory =
! (DFactory)data.getObject("transition_factory");
! // FIXXME (Stefan Thalauer, Feb14 2002 22:37) -> new append path
! transition_factory.appendSearchPath(path);
! // transition_factory.setSearchPath(new String[]{ "edu.iicm.xpg.transitions.simple",
! // path });
! // END FIXXME (Stefan Thalauer, Feb14 2002 22:38)
! return(null);
}
|