public class OperManager
extends Object
EditFrame
,
CanvasPanel
,
EditManager
Modifier and Type | Field and Description |
---|---|
Action |
bestBinaryRelationMatchingAction |
Action |
binaryRelationMatchingAction |
static String |
CommitToKBLabel |
EditFrame |
ef
Does a lot of communicating with the edit frame that owns it.
|
static String |
JoinWithOpenGraphsLabel |
static String |
MakeGenericCmdLabel |
static String |
MaxJoinWithOpenGraphsLabel |
Action |
mmatAnalysisAction |
static String |
ModifyMatchingSchemeLabel |
JMenuItem |
operationBestBinaryRelationMatching |
JMenuItem |
operationBinaryRelationMatching |
JMenuItem |
operationMakeTypeHierarchy |
JMenuItem |
operationSummarize |
static String |
ValidateCmdLabel |
static String |
VerifyInternalLabel |
Constructor and Description |
---|
OperManager(EditFrame outerFrame) |
Modifier and Type | Method and Description |
---|---|
protected void |
finalize() |
boolean |
joinReferents(GraphObject go1,
GraphObject go2)
Used whenever a co-referent link appears, to bring referents into
consistency.
|
private void |
makeMenus() |
BinaryRelationMatchGroupMetrics |
matchMasterToOpenGraphs(EditFrame masterForMatch)
Consider the set of open graphs and prepare a match table in HTML.
|
void |
performActionAttachOntologyLabel(ArrayList objectList)
Queries the user for an ontology label (e.g., Wordnet synset) for each of
the objects in the array list.
|
void |
performActionBestRelationMatching()
Consider the set of open graphs, take each one of them as a master and
find the graph that gives the best overall score as "master", then
display the results in HTML.
|
void |
performActionCommitToKB(Graph g)
At the moment, doesn't do anything.
|
void |
performActionDeleteOntologyLabel(ArrayList objectList)
Deletes the ontology label (e.g., Wordnet synset) for each of the objects
in the vector.
|
void |
performActionJoinWithOpenGraphsBROKEN(Graph g)
Performs a join operation between graphs.
|
void |
performActionMakeGeneric()
Removes any referents of the nodes in the selection.
|
void |
performActionMaxJoinWithOpenGraphs(Graph g)
Operates a maximal join operation between graphs.
|
void |
performActionRelationMatching()
Invokes
matchMasterToOpenGraphs using the current open graph as the
master. |
void |
performActionShowInternals(ArrayList objectList)
Shows a brief internal summary for the selected objects.
|
static void |
performActionValidate(Graph g)
Performs some consistency checks and fixes problems.
|
void |
setMenuItems()
Determines for each menu item whether to be enabled or disabled ("gray'ed
out" ) Many items are disabled if there is no selection; other items are
disabled if the clipboard is empty or nothing's changed, etc.
|
public EditFrame ef
public Action mmatAnalysisAction
public Action binaryRelationMatchingAction
public Action bestBinaryRelationMatchingAction
public static String ValidateCmdLabel
public static String MakeGenericCmdLabel
public static String VerifyInternalLabel
public static String MaxJoinWithOpenGraphsLabel
public static String JoinWithOpenGraphsLabel
public static String CommitToKBLabel
public static String ModifyMatchingSchemeLabel
public JMenuItem operationSummarize
public JMenuItem operationMakeTypeHierarchy
public JMenuItem operationBinaryRelationMatching
public JMenuItem operationBestBinaryRelationMatching
public OperManager(EditFrame outerFrame)
private void makeMenus()
public void setMenuItems()
EditFrame.somethingHasBeenSelected
protected void finalize() throws Throwable
finalize
in class Object
Throwable
public static void performActionValidate(Graph g)
g
- The graph to be checked.public void performActionAttachOntologyLabel(ArrayList objectList)
objectList
- list of graph objects. Only GNodes are considered, others are
ignored.public void performActionShowInternals(ArrayList objectList)
objectList
- vector of graph objects. Only GNodes are considered, others are
ignored.public void performActionDeleteOntologyLabel(ArrayList objectList)
objectList
- vector of graph objects. Only GNodes are considered, others are
ignored.public void performActionMaxJoinWithOpenGraphs(Graph g)
g
- The current graphpublic void performActionJoinWithOpenGraphsBROKEN(Graph g)
g
- The current graphpublic boolean joinReferents(GraphObject go1, GraphObject go2)
public void performActionMakeGeneric()
public void performActionCommitToKB(Graph g)
g
- public void performActionRelationMatching()
matchMasterToOpenGraphs
using the current open graph as the
master.public BinaryRelationMatchGroupMetrics matchMasterToOpenGraphs(EditFrame masterForMatch)
masterForMatch
- edit frame containing the graph to be considered as
the master.GenericTextFrame
public void performActionBestRelationMatching()
GenericTextFrame