|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjpov.viewer.lemma.LemmaView
This class implements the part of the viewer that displays the lemmas in different languages.
Constructor Summary | |
LemmaView(IJml2bConfiguration config,
org.eclipse.swt.widgets.Composite right_sform,
boolean horizontal)
Constructs the part of the view that displays the lemma |
Method Summary | |
void |
erase()
Sets the input of the viewers to null |
java.lang.Object[] |
getHypSelection()
Return the selection corresponding to the currently selected hypothesis. |
java.util.Enumeration |
getHypViewers()
Return an enumeration enumerating the different hypothesis viewers. |
LemmaFilterWindow |
getLemmaFilterWindow()
|
org.eclipse.jface.viewers.TableViewer |
getSelectedTable()
|
void |
redraw(IJml2bConfiguration config,
boolean horizontal,
boolean applySubstitution)
|
void |
setGoalText(Goal g,
boolean applySubstitution)
Sets the text to be displayed in the goal views |
void |
setHypText(Lemma l)
Sets the text to be displayed in the hypothesis views |
void |
setHypText(LemmaHierarchy l)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public LemmaView(IJml2bConfiguration config, org.eclipse.swt.widgets.Composite right_sform, boolean horizontal)
config
- The current configurationright_sform
- The form corresponding to the right part of the viewMethod Detail |
public void redraw(IJml2bConfiguration config, boolean horizontal, boolean applySubstitution)
public LemmaFilterWindow getLemmaFilterWindow()
public java.lang.Object[] getHypSelection()
As several hypothesis windows can be used, the chosen selection correspond to the first selection that is not empty.
public org.eclipse.jface.viewers.TableViewer getSelectedTable()
public java.util.Enumeration getHypViewers()
All the elements returned by this enumeration will be of type
TableViewer
.
public void setGoalText(Goal g, boolean applySubstitution)
g
- The goal to displaypublic void setHypText(Lemma l)
l
- The lemma fro whitch hypotheses havze to be displayedpublic void setHypText(LemmaHierarchy l)
public void erase()
null
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |