|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--quoggles.QAuxiliary
| Field Summary | |
static javax.swing.JFileChooser |
fChooser
FileChooser for saving / loading queries |
static ListenerManager |
listenerManager
The ListenerManager used to process representation change
events from IBoxRepresentations. |
private QMain |
qMain
|
| Constructor Summary | |
QAuxiliary(QMain q)
|
|
| Method Summary | |
void |
addBoxIcon(IBoxIcon boxIcon,
javax.swing.JPanel iconPanel,
java.lang.String name,
java.lang.String description,
java.lang.String version,
java.awt.event.MouseListener ml,
boolean firstAux)
Adds a new IBoxIcon to the icon panel. |
private IBoxIcon |
checkBox(java.lang.String main)
Checks whether or not the main class and the representation class can be loaded and returns the iconicPanel gotten from the representation. |
void |
loadIconsInto(javax.swing.JPanel panel,
java.awt.event.MouseListener ml)
Read the file containing descriptions of boxes and load them into the system. |
org.graffiti.graph.Graph |
loadQuery()
Load a query from a file. |
void |
reset()
|
void |
saveQuery(org.graffiti.graph.Graph queryGraph)
Save the active query into a file chosen by the user. |
void |
saveSubQuery(org.graffiti.graph.Graph markedSubGraph)
Save the active SUB query into a file chosen by the user. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final javax.swing.JFileChooser fChooser
public static final ListenerManager listenerManager
ListenerManager used to process representation change
events from IBoxRepresentations.
private QMain qMain
| Constructor Detail |
public QAuxiliary(QMain q)
| Method Detail |
public void loadIconsInto(javax.swing.JPanel panel,
java.awt.event.MouseListener ml)
throws BoxCreationFailedException
panel - the panel to which the icons are added
BoxCreationFailedException
private IBoxIcon checkBox(java.lang.String main)
throws BoxCreationFailedException
main -
BoxCreationFailedException
public void addBoxIcon(IBoxIcon boxIcon,
javax.swing.JPanel iconPanel,
java.lang.String name,
java.lang.String description,
java.lang.String version,
java.awt.event.MouseListener ml,
boolean firstAux)
IBoxIcon to the icon panel.
boxIcon -
public org.graffiti.graph.Graph loadQuery()
throws LoadFailedException
LoadFailedException
public void saveQuery(org.graffiti.graph.Graph queryGraph)
throws java.io.IOException
java.io.IOException
public void saveSubQuery(org.graffiti.graph.Graph markedSubGraph)
throws QueryExecutionException,
java.io.IOException
QueryExecutionException
java.io.IOExceptionpublic void reset()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||