Search in sources :

Example 21 with ProcessingResource

use of gate.ProcessingResource in project gate-core by GateNLP.

the class ConditionalSerialController method remove.

@Override
public ProcessingResource remove(int index) {
    ProcessingResource aPr = super.remove(index);
    strategiesList.remove(index);
    fireResourceRemoved(new ControllerEvent(this, ControllerEvent.RESOURCE_REMOVED, aPr));
    return aPr;
}
Also used : ProcessingResource(gate.ProcessingResource) ControllerEvent(gate.event.ControllerEvent)

Aggregations

ProcessingResource (gate.ProcessingResource)21 List (java.util.List)7 ArrayList (java.util.ArrayList)6 Controller (gate.Controller)5 Corpus (gate.Corpus)4 LanguageResource (gate.LanguageResource)4 Parameter (gate.creole.Parameter)4 ResourceData (gate.creole.ResourceData)4 CorpusController (gate.CorpusController)3 Resource (gate.Resource)3 ConditionalSerialAnalyserController (gate.creole.ConditionalSerialAnalyserController)3 ResourceInstantiationException (gate.creole.ResourceInstantiationException)3 UnconditionalRunningStrategy (gate.creole.RunningStrategy.UnconditionalRunningStrategy)3 Document (gate.Document)2 FeatureMap (gate.FeatureMap)2 VisualResource (gate.VisualResource)2 AnalyserRunningStrategy (gate.creole.AnalyserRunningStrategy)2 PackagedController (gate.creole.PackagedController)2 RunningStrategy (gate.creole.RunningStrategy)2 CreoleParameter (gate.creole.metadata.CreoleParameter)2