public class CorpusGraphNotifierImpl extends org.corpus_tools.salt.common.impl.SCorpusGraphImpl implements org.corpus_tools.salt.common.SCorpusGraph, Notifier
| Modifier and Type | Field and Description |
|---|---|
protected List<Listener> |
listenerList |
| Constructor and Description |
|---|
CorpusGraphNotifierImpl() |
| Modifier and Type | Method and Description |
|---|---|
org.corpus_tools.salt.graph.Identifier |
addDocument(org.corpus_tools.salt.common.SCorpus corpus,
org.corpus_tools.salt.common.SDocument document) |
void |
addListener(Collection<Listener> listener)
Adds a set of new listener, which then will be notified about a change in
this object.
|
void |
addListener(Listener listener)
Adds a new listener, which then will be notified about a change in this
object.
|
org.corpus_tools.salt.graph.Identifier |
addSubCorpus(org.corpus_tools.salt.common.SCorpus superCorpus,
org.corpus_tools.salt.common.SCorpus subCorpus) |
org.corpus_tools.salt.common.SCorpus |
createCorpus(org.corpus_tools.salt.common.SCorpus superCorpus,
String corpusName) |
List<org.corpus_tools.salt.common.SCorpus> |
createCorpus(org.eclipse.emf.common.util.URI corpusPath) |
org.corpus_tools.salt.common.SDocument |
createDocument(org.corpus_tools.salt.common.SCorpus parentCorpus,
String documentName) |
org.corpus_tools.salt.common.SDocument |
createDocument(org.eclipse.emf.common.util.URI documentPath) |
List<Listener> |
getListener()
Returns an unmodifiable list of all listeners.
|
void |
removeListener(Listener listener)
Removes a listener, which won't be notified about a change in this object
anymore.
|
void |
setSaltProject(org.corpus_tools.salt.common.SaltProject saltProject) |
basic_setSaltProject, basicAddNode, basicAddRelation, getCorpora, getCorpus, getCorpus, getCorpusDocumentRelations, getCorpusRelations, getDocument, getDocuments, getSaltProject, init, load, toTreeStringaddAnnotation, addFeature, addLayer, addMetaAnnotation, addProcessingAnnotation, createAnnotation, createAnnotations, createFeature, createFeatures, createMetaAnnotation, createMetaAnnotations, createProcessingAnnotation, createProcessingAnnotations, getAnnotation, getAnnotation, getAnnotations, getChildren, getFeature, getFeature, getFeatures, getLayerByName, getLeafs, getMetaAnnotation, getMetaAnnotations, getName, getNodesByName, getPath, getProcessingAnnotation, getProcessingAnnotations, getRelationsByName, getRoots, getSharedParent, iterator_SAnnotation, iterator_SFeature, iterator_SMetaAnnotation, iterator_SProcessingAnnotation, removeLabel, setName, traverse, traverseaddNode, addRelation, basicAddLayer, basicRemoveLayer, basicRemoveNode, basicRemoveRelation, containsLayer, containsNode, containsRelation, getDelegate, getIndexMgr, getInRelations, getLayer, getLayers, getNode, getNodes, getOutRelations, getRelation, getRelations, getRelations, removeLayer, removeNode, removeRelation, removeRelations, updategetId, getIdentifier, setId, setIdentifier, toStringaddLabel, basicAddLabel, basicRemoveLabel, containsLabel, getLabel, getLabel, getLabels, getLabelsByNamespace, removeAll, removeLabel, sizeLabelsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetCorpora, getCorpus, getCorpus, getCorpusDocumentRelations, getCorpusRelations, getDocument, getDocuments, getSaltProject, load, toTreeStringgetChildren, getLayerByName, getLeafs, getNodesByName, getRelationsByName, getRoots, getSharedParent, traverse, traverseaddLayer, addNode, addRelation, containsLayer, containsNode, containsRelation, getIndexMgr, getInRelations, getLayer, getLayers, getNode, getNodes, getOutRelations, getRelation, getRelations, getRelations, removeLayer, removeNode, removeRelation, removeRelationsgetId, getIdentifier, setId, setIdentifieraddLabel, containsLabel, getLabel, getLabel, getLabels, getLabelsByNamespace, removeAll, removeLabel, removeLabel, sizeLabelsaddAnnotation, addFeature, addMetaAnnotation, addProcessingAnnotation, createAnnotation, createAnnotations, createFeature, createFeatures, createMetaAnnotation, createMetaAnnotations, createProcessingAnnotation, createProcessingAnnotations, getAnnotation, getAnnotation, getAnnotations, getFeature, getFeature, getFeatures, getMetaAnnotation, getMetaAnnotations, getProcessingAnnotation, getProcessingAnnotations, iterator_SAnnotation, iterator_SFeature, iterator_SMetaAnnotation, iterator_SProcessingAnnotationpublic List<Listener> getListener()
getListener in interface Notifierpublic void addListener(Listener listener)
addListener in interface Notifierlistener - to be notifiedpublic void addListener(Collection<Listener> listener)
addListener in interface Notifierlistener - to be notifiedpublic void removeListener(Listener listener)
removeListener in interface Notifierlistener - to be notifiedpublic void setSaltProject(org.corpus_tools.salt.common.SaltProject saltProject)
setSaltProject in interface org.corpus_tools.salt.common.SCorpusGraphsetSaltProject in class org.corpus_tools.salt.common.impl.SCorpusGraphImplpublic org.corpus_tools.salt.graph.Identifier addSubCorpus(org.corpus_tools.salt.common.SCorpus superCorpus,
org.corpus_tools.salt.common.SCorpus subCorpus)
addSubCorpus in interface org.corpus_tools.salt.common.SCorpusGraphaddSubCorpus in class org.corpus_tools.salt.common.impl.SCorpusGraphImplpublic org.corpus_tools.salt.graph.Identifier addDocument(org.corpus_tools.salt.common.SCorpus corpus,
org.corpus_tools.salt.common.SDocument document)
addDocument in interface org.corpus_tools.salt.common.SCorpusGraphaddDocument in class org.corpus_tools.salt.common.impl.SCorpusGraphImplpublic org.corpus_tools.salt.common.SCorpus createCorpus(org.corpus_tools.salt.common.SCorpus superCorpus,
String corpusName)
createCorpus in interface org.corpus_tools.salt.common.SCorpusGraphcreateCorpus in class org.corpus_tools.salt.common.impl.SCorpusGraphImplpublic org.corpus_tools.salt.common.SDocument createDocument(org.corpus_tools.salt.common.SCorpus parentCorpus,
String documentName)
createDocument in interface org.corpus_tools.salt.common.SCorpusGraphcreateDocument in class org.corpus_tools.salt.common.impl.SCorpusGraphImplpublic List<org.corpus_tools.salt.common.SCorpus> createCorpus(org.eclipse.emf.common.util.URI corpusPath)
createCorpus in interface org.corpus_tools.salt.common.SCorpusGraphcreateCorpus in class org.corpus_tools.salt.common.impl.SCorpusGraphImplpublic org.corpus_tools.salt.common.SDocument createDocument(org.eclipse.emf.common.util.URI documentPath)
createDocument in interface org.corpus_tools.salt.common.SCorpusGraphcreateDocument in class org.corpus_tools.salt.common.impl.SCorpusGraphImplCopyright © 2009–2018 Humboldt-Universität zu Berlin, INRIA. All rights reserved.