|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectch.uzh.ifi.attempto.acewiki.Wiki
public class Wiki
This class represents an AceWiki wiki.
Method Summary | |
---|---|
void |
actionPerformed(nextapp.echo2.app.event.ActionEvent e)
|
void |
back()
Go to the previous page in the history. |
void |
enqueueTask(java.lang.Runnable task)
Runs the task without showing a wait window while it is executed. |
void |
enqueueTaskShowingWaitWindow(java.lang.String title,
java.lang.String message,
Task task)
Runs the task and shows a wait window while it is executed. |
void |
forward()
Go to the next page in the history. |
nextapp.echo2.app.ContentPane |
getContentPane()
Returns the content pane containing the wiki GUI. |
Grammar |
getGrammar()
Returns the grammar to be used for this wiki. |
static java.lang.String |
getInfo(java.lang.String key)
|
Ontology |
getOntology()
Returns the ontology; |
java.util.Collection<OntologyElement> |
getOntologyElements()
Returns all ontology elements. |
void |
log(java.lang.String type,
java.lang.String text)
Writes the log entry to the log file. |
void |
refresh()
Refreshes the current page. |
void |
setUsername(java.lang.String username)
Sets the user name. |
void |
showIndexPage()
Show the index page. |
void |
showPage(OntologyElement e)
Switches to the page of the given ontology element. |
void |
showPage(WikiPage page)
Switches to the given page. |
void |
showSearchPage()
Show the search page. |
void |
showStartPage()
Show the start page. |
void |
showWindow(WindowPane window)
Displays the window in the wiki. |
void |
update()
Updates the GUI. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public nextapp.echo2.app.ContentPane getContentPane()
public void showWindow(WindowPane window)
window
- The window to be shown.public void showPage(WikiPage page)
page
- The page to switch to.public void showPage(OntologyElement e)
e
- The ontology element the page of which should be shown.public void back()
public void forward()
public void showStartPage()
public void showIndexPage()
public void showSearchPage()
public Ontology getOntology()
public java.util.Collection<OntologyElement> getOntologyElements()
public void update()
public void refresh()
public void actionPerformed(nextapp.echo2.app.event.ActionEvent e)
actionPerformed
in interface nextapp.echo2.app.event.ActionListener
public void log(java.lang.String type, java.lang.String text)
type
- The type of the log entry.text
- The text of the log entry.public void setUsername(java.lang.String username)
username
- The user name.public Grammar getGrammar()
public void enqueueTask(java.lang.Runnable task)
task
- The task.public void enqueueTaskShowingWaitWindow(java.lang.String title, java.lang.String message, Task task)
title
- The title of the wait window.message
- The message of the wait window.task
- The task.public static java.lang.String getInfo(java.lang.String key)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |