From: <hee...@us...> - 2010-02-11 08:10:57
|
Revision: 2009 http://dl-learner.svn.sourceforge.net/dl-learner/?rev=2009&view=rev Author: heeroyuy Date: 2010-02-11 08:10:50 +0000 (Thu, 11 Feb 2010) Log Message: ----------- -fixed some spelling mistakes Modified Paths: -------------- trunk/src/dl-learner/org/dllearner/tools/protege/DLLearnerView.java trunk/src/dl-learner/org/dllearner/tools/protege/GraphicalCoverageTextField.java trunk/src/dl-learner/org/dllearner/tools/protege/HelpTextPanel.java Modified: trunk/src/dl-learner/org/dllearner/tools/protege/DLLearnerView.java =================================================================== --- trunk/src/dl-learner/org/dllearner/tools/protege/DLLearnerView.java 2010-02-10 14:16:26 UTC (rev 2008) +++ trunk/src/dl-learner/org/dllearner/tools/protege/DLLearnerView.java 2010-02-11 08:10:50 UTC (rev 2009) @@ -123,7 +123,7 @@ private int individualSize; private SuggestClassPanelHandler sugPanelHandler; private StatusBar stat; - private static final String WIKI_STRING = "<html><font size=\"3\">See <a href=\"http://dl-learner.org/wiki/ProtegePlugin\">Protege Plugin Wiki</a> for an introduction.</font></html>"; + private static final String WIKI_STRING = "<html><font size=\"3\">See <a href=\"http://dl-learner.org/wiki/ProtegePlugin\">DL-Learner plugin page</a> for an introduction.</font></html>"; /** * The constructor for the DL-Learner tab in the class description Modified: trunk/src/dl-learner/org/dllearner/tools/protege/GraphicalCoverageTextField.java =================================================================== --- trunk/src/dl-learner/org/dllearner/tools/protege/GraphicalCoverageTextField.java 2010-02-10 14:16:26 UTC (rev 2008) +++ trunk/src/dl-learner/org/dllearner/tools/protege/GraphicalCoverageTextField.java 2010-02-11 08:10:50 UTC (rev 2009) @@ -19,7 +19,7 @@ */ package org.dllearner.tools.protege; -import javax.swing.JScrollPane; +//import javax.swing.JScrollPane; import javax.swing.JTextPane; import org.dllearner.core.EvaluatedDescription; @@ -33,15 +33,15 @@ private DLLearnerModel model; EvaluatedDescription description; private String conceptNew; - private final JScrollPane textScroll; + //private final JScrollPane textScroll; public GraphicalCoverageTextField(EvaluatedDescription desc, DLLearnerModel m) { this.setContentType("text/html"); this.setEditable(false); this.model = m; - textScroll = new JScrollPane( - JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED, - JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED); + //textScroll = new JScrollPane( + // JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED, + // JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED); this.setBackground(model.getOWLEditorKit().getOWLWorkspace().getOWLComponentFactory().getOWLClassSelectorPanel().getBackground()); this.id = model.getID(); this.description = desc; @@ -80,10 +80,10 @@ } text += "</html>"; this.setText(text); - textScroll.setViewportView(this); + //textScroll.setViewportView(this); } - public JScrollPane getTextScroll() { - return textScroll; + public JTextPane getTextScroll() { + return this; } } Modified: trunk/src/dl-learner/org/dllearner/tools/protege/HelpTextPanel.java =================================================================== --- trunk/src/dl-learner/org/dllearner/tools/protege/HelpTextPanel.java 2010-02-10 14:16:26 UTC (rev 2008) +++ trunk/src/dl-learner/org/dllearner/tools/protege/HelpTextPanel.java 2010-02-11 08:10:50 UTC (rev 2009) @@ -36,19 +36,19 @@ public JTextPane renderHelpTextMessage(String currentClass) { String helpText = "<html><p style=\"text-align: justify;\">What does a sentence like 'Learning started. Currently searching class expressions with length between 4 and 7.' mean?</p>" - + "<p style=\"text-align: justify;\">Length: In Manchester OWL Syntax (the syntax used for class expressions in Protege), we define length simply as the" + + "<p style=\"text-align: justify;\">Length: In Manchester OWL Syntax (the syntax used for class expressions in Protege), we define length simply as the " + "number of words needed to write down the class expression.</p>" + "<p style=\"text-align: justify;\">The learning algorithm (called CELOE) for suggesting class expressions starts with the most general expression owl:Thing" + " and then further specializes it. Those class expressions, which fit the existing instances of a given class (" + currentClass - + " in this case)" + + " in this case) " + "get a high accuracy and are displayed as suggestions. The learning algorithm prefers short expressions. 'Currently searching class expressions with length" + " between 4 and 7.' means that it has already evaluated all class expressions of length 1 to 3 or excluded them as possible suggestions. All the expressions" - + " currently evaluated have length between 4 and 7. If you want to search for longer expressions, then you have to increase the maximum runtime setting (it is" + + " currently evaluated have length between 4 and 7. If you want to search for longer expressions, then you have to increase the maximum runtime setting (it is " + "set to " + view.getPosAndNegSelectPanel().getOptionPanel() .getMaxExecutionTime() + " seconds by default).</p>" - + "<p>See <a href=\"http://dl-learner.org/wiki/ProtegePlugin\">Protege Plugin Wiki</a> for more details.</p></html>"; + + "<p>See <a href=\"http://dl-learner.org/wiki/ProtegePlugin\">DL-Learner plugin page</a> for more details.</p></html>"; this.setEditable(false); this.setOpaque(true); this.setPreferredSize(new Dimension(500, 370)); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |