Package | Description |
---|---|
grammarscope.editor | |
grammarscope.editor.component | |
grammarscope.editor.dialog | |
grammarscope.mutable |
Modifier and Type | Method and Description |
---|---|
void |
Editor.add(MutableRelationModel model,
MutableGrammaticalRelation parentRelation,
EventFirer firer)
Add a child relation to this relation request handler
|
static void |
Editor.add2(MutableRelationModel model,
MutableGrammaticalRelation parentRelation,
EventFirer firer) |
void |
Editor.duplicate(MutableRelationModel model,
MutableGrammaticalRelation relation,
EventFirer firer)
Add a child relation to this relation request handler
|
static void |
Editor.duplicate2(MutableRelationModel model,
MutableGrammaticalRelation relation,
EventFirer firer) |
void |
Editor.edit(MutableRelationModel model,
MutableGrammaticalRelation relation,
EventFirer firer)
Edit relation request handler
|
static void |
Editor.edit2(MutableRelationModel model,
MutableGrammaticalRelation relation,
EventFirer firer) |
void |
Editor.remove(MutableRelationModel model,
MutableGrammaticalRelation relation,
EventFirer firer)
Remove relation request handler
|
void |
Editor.remove2(MutableRelationModel model,
MutableGrammaticalRelation relation,
EventFirer firer) |
Modifier and Type | Field and Description |
---|---|
private MutableGrammaticalRelation |
MutableRelationView.relation
Relation
|
Modifier and Type | Method and Description |
---|---|
void |
MutableRelationView.set(MutableGrammaticalRelation relation,
boolean flag)
Set relation
|
Modifier and Type | Method and Description |
---|---|
private static java.util.Vector<java.util.Vector<java.lang.Object>> |
MutableRelationTableModel.getData(java.util.List<MutableGrammaticalRelation> relations)
Get data vector
|
Constructor and Description |
---|
MutableRelationDialog(MutableRelationModel model,
MutableGrammaticalRelation relation,
boolean isNew,
EventFirer firer,
java.awt.Frame owner)
Constructor (edit existing relation)
|
Modifier and Type | Field and Description |
---|---|
private MutableGrammaticalRelation |
FromGrammaticalRelations.DEPENDENT
MutableGrammaticalRelation DEPENDENT
|
MutableGrammaticalRelation |
MutableRelationModel.root
Root relation
|
Modifier and Type | Field and Description |
---|---|
private java.util.Map<edu.stanford.nlp.trees.GrammaticalRelation,MutableGrammaticalRelation> |
FromGrammaticalRelations.map
Grammatical relation to MutableGrammaticalRelation map
|
java.util.List<MutableGrammaticalRelation> |
MutableRelationModel.relations
Relation array
|
Modifier and Type | Method and Description |
---|---|
MutableGrammaticalRelation |
MutableGrammaticalRelation.copy()
Clone
|
private static MutableGrammaticalRelation |
FromGrammaticalRelations.fieldToRelation(java.lang.String name,
edu.stanford.nlp.trees.GrammaticalRelation grammaticalRelation)
Translate ignoring tree links
|
MutableGrammaticalRelation |
MutableRelationModel.fromId(java.lang.String id)
Get relation from id
|
MutableGrammaticalRelation |
MutableGrammaticalRelation.getParent()
Get parent relation
|
Modifier and Type | Method and Description |
---|---|
java.lang.Iterable<MutableGrammaticalRelation> |
MutableGrammaticalRelation.getChildrenIterable()
Get child relations
|
java.util.Iterator<MutableGrammaticalRelation> |
MutableGrammaticalRelation.getChildrenIterator()
Get child iterator
|
java.util.Map<java.lang.String,MutableGrammaticalRelation> |
MutableRelationModel.makeIdToRelationMap()
Make id-relation map
|
java.util.Map<java.lang.String,MutableGrammaticalRelation> |
MutableRelationModel.makeNameToRelationMap()
Make name-relation map
|
java.util.Map<java.lang.String,MutableGrammaticalRelation> |
MutableRelationModel.makeShortNameToRelationMap()
Make short name-relation map
|
Modifier and Type | Method and Description |
---|---|
void |
MutableRelationModel.add(MutableGrammaticalRelation relation)
Add relation to model
|
boolean |
MutableRelationModel.move(MutableGrammaticalRelation relation,
MutableGrammaticalRelation parentRelation)
Move relation in model
|
void |
IMutableRelationProcessor.process(MutableGrammaticalRelation relation)
Process relation
|
void |
Walker.IRelationProcessor.process(MutableGrammaticalRelation node) |
boolean |
MutableRelationModel.remove(MutableGrammaticalRelation relation)
Remove relation from model
|
void |
Walker.walkTree(MutableGrammaticalRelation relation,
Walker.IRelationProcessor<T> processor)
Walk this relation's subtree
|
Constructor and Description |
---|
MutableRelationModel(MutableGrammaticalRelation root,
java.util.List<MutableGrammaticalRelation> relations)
Constructor
|
MutableRelationModel(MutableGrammaticalRelation root,
MutableGrammaticalRelation[] relations)
Constructor
|
MutableRelationModel(MutableGrammaticalRelation root,
MutableGrammaticalRelation[] relations)
Constructor
|
Constructor and Description |
---|
MutableRelationModel(MutableGrammaticalRelation root,
java.util.List<MutableGrammaticalRelation> relations)
Constructor
|