public class NGramResultSentenceView
extends de.ims.icarus.plugins.core.View
Modifier and Type | Class and Description |
---|---|
class |
NGramResultSentenceView.CallbackHandler |
protected class |
NGramResultSentenceView.Handler |
Modifier and Type | Field and Description |
---|---|
protected javax.swing.JPanel |
contentPanel |
protected java.util.List<de.ims.icarus.language.SentenceData> |
corpus |
protected java.util.List<CorpusType> |
corpusList |
protected NGramResultSentenceView.Handler |
handler |
protected java.util.Collection<javax.swing.JComponent> |
localizedComponents |
protected NGramDataList |
ngList |
protected javax.swing.JList<java.lang.Object> |
ngramList |
protected de.ims.icarus.plugins.errormining.NGramResultSentenceView.SentenceViewListModel |
ngramListModel |
protected de.ims.icarus.plugins.errormining.NGramResultSentenceView.SentenceViewListCellRenderer |
ngramListRenderer |
protected java.util.Map<java.lang.String,java.util.ArrayList<ItemInNuclei>> |
nGramResult |
protected javax.swing.JTable |
ngramTable |
protected de.ims.icarus.plugins.errormining.NGramResultSentenceView.SentenceTableModel |
ngramTableModel |
Constructor and Description |
---|
NGramResultSentenceView() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
buildToolTip(int index) |
protected NGramResultSentenceView.CallbackHandler |
createCallbackHandler() |
protected NGramResultSentenceView.Handler |
createHandler() |
protected java.lang.Object |
getNucleis(ItemInNuclei iin) |
protected de.ims.icarus.util.mpi.ResultMessage |
handleRequest(de.ims.icarus.util.mpi.Message message) |
void |
init(javax.swing.JComponent container) |
protected boolean |
isGram(java.lang.String key) |
protected boolean |
isNuclei(java.lang.String key)
Check if key is a valid uniGram or if its an added Nuclei in Step x or if its
none of that.
|
protected void |
refreshActions() |
protected void |
registerActionCallbacks() |
protected java.lang.Object |
sentenceOccurences(ItemInNuclei iin) |
addBroadcastListener, addListener, buildToolBar, close, defaultLoadActions, fireBroadcastEvent, focusView, getContainer, getDefaultActionManager, getExtension, getFrame, getIdentity, getInfoPanel, getPerspective, isClosable, refreshInfoPanel, reloadViewTab, removeBroadcastListener, removeBroadcastListener, removeListener, removeListener, reset, selectViewTab, sendRequest, sendRequest, showError, toggleContainer, toString
protected javax.swing.JPanel contentPanel
protected java.util.Collection<javax.swing.JComponent> localizedComponents
protected NGramResultSentenceView.Handler handler
protected javax.swing.JList<java.lang.Object> ngramList
protected de.ims.icarus.plugins.errormining.NGramResultSentenceView.SentenceViewListModel ngramListModel
protected de.ims.icarus.plugins.errormining.NGramResultSentenceView.SentenceViewListCellRenderer ngramListRenderer
protected javax.swing.JTable ngramTable
protected de.ims.icarus.plugins.errormining.NGramResultSentenceView.SentenceTableModel ngramTableModel
protected java.util.List<de.ims.icarus.language.SentenceData> corpus
protected java.util.Map<java.lang.String,java.util.ArrayList<ItemInNuclei>> nGramResult
protected NGramDataList ngList
protected java.util.List<CorpusType> corpusList
public void init(javax.swing.JComponent container)
init
in class de.ims.icarus.plugins.core.View
View.init(javax.swing.JComponent)
protected void refreshActions()
protected void registerActionCallbacks()
protected NGramResultSentenceView.Handler createHandler()
protected NGramResultSentenceView.CallbackHandler createCallbackHandler()
protected de.ims.icarus.util.mpi.ResultMessage handleRequest(de.ims.icarus.util.mpi.Message message) throws java.lang.Exception
handleRequest
in class de.ims.icarus.plugins.core.View
java.lang.Exception
protected java.lang.Object getNucleis(ItemInNuclei iin)
iin
- public java.lang.String buildToolTip(int index)
elementAt
- protected boolean isGram(java.lang.String key)
protected boolean isNuclei(java.lang.String key)
inputNGram
- lb
- rb
- protected java.lang.Object sentenceOccurences(ItemInNuclei iin)
iin
-