|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dllearner.tools.protege.DLLearnerView
public class DLLearnerView
This class is responsible for the view of the dllearner. It renders the output for the user and is the graphical component of the plugin.
| Constructor Summary | |
|---|---|
DLLearnerView(String label,
org.protege.editor.owl.OWLEditorKit editor)
The constructor for the DL-Learner tab in the class description editor. |
|
| Method Summary | |
|---|---|
void |
addAcceptButtonListener(ActionListener a)
Adds Actionlistener to the add button. |
void |
addAdvancedButtonListener(ActionListener a)
Adds Actionlistener to the advanced button. |
void |
addRunButtonListener(ActionListener a)
Adds Actionlistener to the run button. |
void |
algorithmTerminated()
This method sets the run button enable after learning. |
void |
dispose()
|
JButton |
getAddButton()
Returns the AddButton. |
DLLearnerModel |
getDLLearnerModel()
|
JTextArea |
getHintPanel()
This method returns the hint panel. |
JComponent |
getLearnerView()
|
MoreDetailForSuggestedConceptsPanel |
getMoreDetailForSuggestedConceptsPanel()
This Method returns the panel for more details for the chosen concept. |
PosAndNegSelectPanel |
getPosAndNegSelectPanel()
This method returns the PosAndNegSelectPanel. |
ReadingOntologyThread |
getReadingOntologyThread()
|
JButton |
getRunButton()
This Method returns the run button. |
org.semanticweb.owl.model.OWLDescription |
getSolution()
Returns the last added description. |
Set<org.semanticweb.owl.model.OWLDescription> |
getSolutions()
Returns all added descriptions. |
SuggestClassPanel |
getSuggestClassPanel()
This method returns the SuggestClassPanel. |
void |
makeView()
This Method renders the view of the plugin. |
void |
renderErrorMessage(String s)
Renders the error message when an error occured. |
void |
setExamplePanelVisible(boolean visible)
Sets the panel to select/deselect the examples visible/invisible. |
void |
setGraphicalPanel()
|
void |
setHintMessage(String message)
This Method changes the hint message. |
void |
setIconToggled(boolean toggled)
This method sets the right icon for the advanced Panel. |
void |
setIsInconsistent(boolean isIncon)
This method sets if ontology is inconsistent or not. |
void |
unsetEverything()
Destroys everything in the view after the plugin is closed. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DLLearnerView(String label,
org.protege.editor.owl.OWLEditorKit editor)
editor - OWLEditorKitlabel - String| Method Detail |
|---|
public SuggestClassPanel getSuggestClassPanel()
public PosAndNegSelectPanel getPosAndNegSelectPanel()
public void makeView()
public void setIconToggled(boolean toggled)
toggled - booleanpublic void setGraphicalPanel()
public void setHintMessage(String message)
message - String hintmessagepublic JTextArea getHintPanel()
public void setExamplePanelVisible(boolean visible)
visible - booleanpublic JButton getAddButton()
public Set<org.semanticweb.owl.model.OWLDescription> getSolutions()
public void dispose()
public org.semanticweb.owl.model.OWLDescription getSolution()
public void unsetEverything()
public void renderErrorMessage(String s)
s - Stringpublic MoreDetailForSuggestedConceptsPanel getMoreDetailForSuggestedConceptsPanel()
public JButton getRunButton()
public void setIsInconsistent(boolean isIncon)
isIncon - boolean if ontology is consistenpublic void addRunButtonListener(ActionListener a)
a - ActionListenerpublic void addAcceptButtonListener(ActionListener a)
a - ActionListenerpublic void addAdvancedButtonListener(ActionListener a)
a - ActionListenerpublic void algorithmTerminated()
public JComponent getLearnerView()
public DLLearnerModel getDLLearnerModel()
public ReadingOntologyThread getReadingOntologyThread()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||