|
The Meta-Environment API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnl.cwi.sen1.visplugin.VisualizationPluginWindow
nl.cwi.sen1.visplugin.graphplugin.GraphVisualizationWindow
public class GraphVisualizationWindow
Graph Plugin VisualisationWindow. Shows a graph.
Field Summary | |
---|---|
private static int |
DOUBLE_CLICK
|
private GraphBuilder |
graphBuilder
|
private java.lang.String |
m_attributedGraphTuple
|
private java.lang.String |
m_relationGraph
|
private java.lang.String |
m_relationGraphTuple
|
Fields inherited from class nl.cwi.sen1.visplugin.VisualizationPluginWindow |
---|
m_factory |
Constructor Summary | |
---|---|
GraphVisualizationWindow()
|
Method Summary | |
---|---|
void |
doLocationClick(java.lang.String nodeId)
This method is the respondant for a double click on an graph node and then signals to open the location |
java.lang.String |
getRTupleName(nl.cwi.sen1.relationstores.types.RTuple fact)
Get the name of the RTuple. |
boolean |
isAttributedGraphType(nl.cwi.sen1.relationstores.types.RTuple fact)
|
boolean |
isRelStrStr(nl.cwi.sen1.relationstores.types.RTuple fact)
Check to see if the RTuple is indeed a |
boolean |
isRelTupleTuple(nl.cwi.sen1.relationstores.types.RTuple fact)
Check to see if the RTuple is indeed a tuple([str,loc]),tuple([str,loc]) relation. |
boolean |
isTypeSupported(nl.cwi.sen1.relationstores.types.RTuple fact)
Check if a given RType is supported by this visualisation. |
javax.swing.JPanel |
render(nl.cwi.sen1.relationstores.types.RTuple fact)
Render the RTuple in a graph chart. |
void |
setFactory(nl.cwi.sen1.relationstores.Factory factory)
Set a new Factory object, for testing purposes. |
Methods inherited from class nl.cwi.sen1.visplugin.VisualizationPluginWindow |
---|
createExtensionMenu, disconnectComponent, displayVisualization, executeOnLoad, exportToCsv, exportToCsvClicked, exportToImage, factOutOfDate, getController, getFactId, getStoreId, getStudio, getWindowId, initializeWindow, openLocationInEditor, rstoreUnloaded, showPopUp |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final int DOUBLE_CLICK
private GraphBuilder graphBuilder
private final java.lang.String m_relationGraph
private final java.lang.String m_relationGraphTuple
private final java.lang.String m_attributedGraphTuple
Constructor Detail |
---|
public GraphVisualizationWindow()
Method Detail |
---|
public void doLocationClick(java.lang.String nodeId)
nodeId
- This is the identifier of the double clicked nodepublic javax.swing.JPanel render(nl.cwi.sen1.relationstores.types.RTuple fact)
render
in class nl.cwi.sen1.visplugin.VisualizationPluginWindow
fact
- RTuple with the information.
public void setFactory(nl.cwi.sen1.relationstores.Factory factory)
factory
- Factory to use.public boolean isRelStrStr(nl.cwi.sen1.relationstores.types.RTuple fact)
fact
- RTuple to test.
public boolean isRelTupleTuple(nl.cwi.sen1.relationstores.types.RTuple fact)
fact
- RTuple to test.
public boolean isAttributedGraphType(nl.cwi.sen1.relationstores.types.RTuple fact)
public boolean isTypeSupported(nl.cwi.sen1.relationstores.types.RTuple fact)
fact
- The facts for which to verify if the type is supported
public java.lang.String getRTupleName(nl.cwi.sen1.relationstores.types.RTuple fact)
fact
- RTuple holding information
|
The Meta-Environment API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |