test_class.declarator: JSON_NODE_FACTORY = JsonNodeFactory.instance
test_class.modifier: private static final
test_class.original_string: private static final JsonNodeFactory JSON_NODE_FACTORY = JsonNodeFactory.instance;
test_class.type: JsonNodeFactory
test_class.var_name: JSON_NODE_FACTORY
test_class.declarator: activity
test_class.modifier: private
test_class.original_string: private WSDLActivity activity;
test_class.type: WSDLActivity
test_class.var_name: activity
test_class.declarator: dataflow
test_class.modifier: private
test_class.original_string: private DataflowImpl dataflow;
test_class.type: DataflowImpl
test_class.var_name: dataflow
test_class.declarator: configBean
test_class.modifier: private
test_class.original_string: private ObjectNode configBean;
test_class.type: ObjectNode
test_class.var_name: configBean
test_class.declarator: operationConfigBean
test_class.modifier: private static
test_class.original_string: private static ObjectNode operationConfigBean;
test_class.type: ObjectNode
test_class.var_name: operationConfigBean
test_class.declarator: wsdlLocation = WSDL_TEST_BASE
  	+ "eutils/eutils_lite.wsdl"
test_class.modifier: private
test_class.original_string: private String wsdlLocation = WSDL_TEST_BASE
  	+ "eutils/eutils_lite.wsdl";
test_class.type: String
test_class.var_name: wsdlLocation
test_class.declarator: edits
test_class.modifier: private
test_class.original_string: private Edits edits;
test_class.type: Edits
test_class.var_name: edits
test_class.file: taverna-wsdl-activity/src/test/java/org/apache/taverna/activities/wsdl/xmlsplitter/AddXMLSplitterEditTest.java
test_class.identifier: AddXMLSplitterEditTest
test_class.interfaces: implements LocationConstants
test_case.body: @Ignore("Integration test")
  	@Test
  	public void testUndo() throws Exception {
  		AddXMLSplitterEdit edit = new AddXMLSplitterEdit(dataflow,activity,"parameters",false, new EditsImpl());
  		edit.doEdit();
  		edit.undo();
  		assertEquals("There should be only 1 processor",1,dataflow.getProcessors().size());
  		assertEquals("The processor should be called run_eInfo","run_eInfo",dataflow.getProcessors().get(0).getLocalName());
  		assertEquals("There should be no datalinks",0,dataflow.getLinks().size());
  	}
test_case.class_method_signature: AddXMLSplitterEditTest.testUndo()
test_case.full_signature: @Ignore("Integration test") @Test public void testUndo()
test_case.identifier: testUndo
test_case.invocations: doEdit undo assertEquals size getProcessors assertEquals getLocalName get getProcessors assertEquals size getLinks
test_case.modifiers: @Ignore("Integration test") @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testUndo()
focal_class.declarator: edits
focal_class.modifier: private final
focal_class.original_string: private final Edits edits;
focal_class.type: Edits
focal_class.var_name: edits
focal_class.declarator: activity
focal_class.modifier: private final
focal_class.original_string: private final Activity<?> activity;
focal_class.type: Activity<?>
focal_class.var_name: activity
focal_class.declarator: portName
focal_class.modifier: private final
focal_class.original_string: private final String portName;
focal_class.type: String
focal_class.var_name: portName
focal_class.declarator: isInput
focal_class.modifier: private final
focal_class.original_string: private final boolean isInput;
focal_class.type: boolean
focal_class.var_name: isInput
focal_class.declarator: compoundEdit1 = null
focal_class.modifier: private
focal_class.original_string: private CompoundEdit compoundEdit1 = null;
focal_class.type: CompoundEdit
focal_class.var_name: compoundEdit1
focal_class.declarator: linkUpEdit
focal_class.modifier: private
focal_class.original_string: private Edit<?> linkUpEdit;
focal_class.type: Edit<?>
focal_class.var_name: linkUpEdit
focal_class.declarator: dataflow
focal_class.modifier: private final
focal_class.original_string: private final Dataflow dataflow;
focal_class.type: Dataflow
focal_class.var_name: dataflow
focal_class.declarator: applied = false
focal_class.modifier: private
focal_class.original_string: private boolean applied = false;
focal_class.type: boolean
focal_class.var_name: applied
focal_class.file: taverna-wsdl-activity/src/main/java/org/apache/taverna/activities/wsdl/xmlsplitter/AddXMLSplitterEdit.java
focal_class.identifier: AddXMLSplitterEdit
focal_class.interfaces: implements Edit<Dataflow>
focal_class.class_method_signature: AddXMLSplitterEdit.AddXMLSplitterEdit(Dataflow dataflow, Activity<?> activity,
  			String portName, boolean isInput, Edits edits)
focal_class.full_signature: public  AddXMLSplitterEdit(Dataflow dataflow, Activity<?> activity,
  			String portName, boolean isInput, Edits edits)
focal_class.identifier: AddXMLSplitterEdit
focal_class.modifiers: public
focal_class.parameters: (Dataflow dataflow, Activity<?> activity,
  			String portName, boolean isInput, Edits edits)
focal_class.signature:  AddXMLSplitterEdit(Dataflow dataflow, Activity<?> activity,
  			String portName, boolean isInput, Edits edits)
focal_class.class_method_signature: AddXMLSplitterEdit.doEdit()
focal_class.full_signature: @Override public Dataflow doEdit()
focal_class.identifier: doEdit
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Dataflow
focal_class.signature: Dataflow doEdit()
focal_class.class_method_signature: AddXMLSplitterEdit.getSinkPort(Processor processor, Activity<?> activity,
  			String portName, List<Edit<?>> editList)
focal_class.full_signature: private EventHandlingInputPort getSinkPort(Processor processor, Activity<?> activity,
  			String portName, List<Edit<?>> editList)
focal_class.identifier: getSinkPort
focal_class.modifiers: private
focal_class.parameters: (Processor processor, Activity<?> activity,
  			String portName, List<Edit<?>> editList)
focal_class.return: EventHandlingInputPort
focal_class.signature: EventHandlingInputPort getSinkPort(Processor processor, Activity<?> activity,
  			String portName, List<Edit<?>> editList)
focal_class.class_method_signature: AddXMLSplitterEdit.getSourcePort(Processor processor, Activity<?> activity,
  			String portName, List<Edit<?>> editList)
focal_class.full_signature: private EventForwardingOutputPort getSourcePort(Processor processor, Activity<?> activity,
  			String portName, List<Edit<?>> editList)
focal_class.identifier: getSourcePort
focal_class.modifiers: private
focal_class.parameters: (Processor processor, Activity<?> activity,
  			String portName, List<Edit<?>> editList)
focal_class.return: EventForwardingOutputPort
focal_class.signature: EventForwardingOutputPort getSourcePort(Processor processor, Activity<?> activity,
  			String portName, List<Edit<?>> editList)
focal_class.class_method_signature: AddXMLSplitterEdit.undo()
focal_class.full_signature: @Override public void undo()
focal_class.identifier: undo
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void undo()
focal_class.class_method_signature: AddXMLSplitterEdit.isApplied()
focal_class.full_signature: @Override public boolean isApplied()
focal_class.identifier: isApplied
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isApplied()
focal_class.class_method_signature: AddXMLSplitterEdit.findProcessorForActivity(Dataflow dataflow,
  			Activity<?> activity)
focal_class.full_signature: private Processor findProcessorForActivity(Dataflow dataflow,
  			Activity<?> activity)
focal_class.identifier: findProcessorForActivity
focal_class.modifiers: private
focal_class.parameters: (Dataflow dataflow,
  			Activity<?> activity)
focal_class.return: Processor
focal_class.signature: Processor findProcessorForActivity(Dataflow dataflow,
  			Activity<?> activity)
focal_class.class_method_signature: AddXMLSplitterEdit.getSubject()
focal_class.full_signature: @Override public Object getSubject()
focal_class.identifier: getSubject
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Object
focal_class.signature: Object getSubject()
focal_method.body: @Override
  	public void undo() {
  		if (!applied) {
  			throw new RuntimeException(
  					"Attempt to undo edit that was never applied");
  		}
  		if (linkUpEdit.isApplied())
  			linkUpEdit.undo();
  		if (compoundEdit1.isApplied())
  			compoundEdit1.undo();
  		applied = false;
  	}
focal_method.class_method_signature: AddXMLSplitterEdit.undo()
focal_method.full_signature: @Override public void undo()
focal_method.identifier: undo
focal_method.invocations: isApplied undo isApplied undo
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: void
focal_method.signature: void undo()