From: <hee...@us...> - 2008-10-15 11:21:53
|
Revision: 1380 http://dl-learner.svn.sourceforge.net/dl-learner/?rev=1380&view=rev Author: heeroyuy Date: 2008-10-15 11:21:49 +0000 (Wed, 15 Oct 2008) Log Message: ----------- -checkstyle warnings fixed Modified Paths: -------------- trunk/src/dl-learner/org/dllearner/tools/protege/MoreDetailForSuggestedConceptsPanel.java trunk/src/dl-learner/org/dllearner/tools/protege/OWLClassDescriptionEditorWithDLLearnerTab.java trunk/src/dl-learner/org/dllearner/tools/protege/PosAndNegSelectPanel.java Modified: trunk/src/dl-learner/org/dllearner/tools/protege/MoreDetailForSuggestedConceptsPanel.java =================================================================== --- trunk/src/dl-learner/org/dllearner/tools/protege/MoreDetailForSuggestedConceptsPanel.java 2008-10-15 11:15:18 UTC (rev 1379) +++ trunk/src/dl-learner/org/dllearner/tools/protege/MoreDetailForSuggestedConceptsPanel.java 2008-10-15 11:21:49 UTC (rev 1380) @@ -195,7 +195,7 @@ private void setInformation() { if(eval!=null) { //sets the accuracy of the selected concept - conceptText.append(eval.getDescription().toManchesterSyntaxString(model.getURI().toString()+"#",null)); + conceptText.append(eval.getDescription().toManchesterSyntaxString(model.getURI().toString()+"#", null)); double acc = (eval.getAccuracy())*100; accuracyText.append(String.valueOf(acc)+"%"); //sets the positive examples that are covered Modified: trunk/src/dl-learner/org/dllearner/tools/protege/OWLClassDescriptionEditorWithDLLearnerTab.java =================================================================== --- trunk/src/dl-learner/org/dllearner/tools/protege/OWLClassDescriptionEditorWithDLLearnerTab.java 2008-10-15 11:15:18 UTC (rev 1379) +++ trunk/src/dl-learner/org/dllearner/tools/protege/OWLClassDescriptionEditorWithDLLearnerTab.java 2008-10-15 11:21:49 UTC (rev 1380) @@ -120,7 +120,7 @@ //checker = new OWLDescriptionChecker(editorKit); editor = new ExpressionEditor<OWLDescription>(editorKit, editorKit.getModelManager().getOWLExpressionCheckerFactory().getOWLDescriptionChecker()); editor.setExpressionObject(description); - dllearner = new DLLearnerView(frame, label, this); + dllearner = new DLLearnerView(frame, label); action = new ActionHandler(this.action, null, dllearner, null, editorKit); tabbedPane = new JTabbedPane(); @@ -363,9 +363,8 @@ * @param current OWLFrame * @param label String */ - public DLLearnerView(OWLFrame<OWLClass> current, String label, OWLClassDescriptionEditorWithDLLearnerTab tab) { + public DLLearnerView(OWLFrame<OWLClass> current, String label) { classSelectorPanel = new OWLClassSelectorPanel(editorKit); - mainWindow = tab; classSelectorPanel.firePropertyChange("test", false, true); URL iconUrl = this.getClass().getResource("arrow.gif"); icon = new ImageIcon(iconUrl); @@ -393,7 +392,7 @@ learner.setPreferredSize(new Dimension(600, 520)); accept.setPreferredSize(new Dimension(290, 50)); advanced.setName("Advanced"); - posPanel = new PosAndNegSelectPanel(model, action, this); + posPanel = new PosAndNegSelectPanel(model, action); addAcceptButtonListener(this.action); addRunButtonListener(this.action); addAdvancedButtonListener(this.action); @@ -418,8 +417,7 @@ * Returns the Mainwindow where the Plugin is integratet. * @return OWLClassDescriptionWithDLLearnerTab MainWindow */ - public OWLClassDescriptionEditorWithDLLearnerTab getMainWindow() - { + public OWLClassDescriptionEditorWithDLLearnerTab getMainWindow() { return mainWindow; } /** Modified: trunk/src/dl-learner/org/dllearner/tools/protege/PosAndNegSelectPanel.java =================================================================== --- trunk/src/dl-learner/org/dllearner/tools/protege/PosAndNegSelectPanel.java 2008-10-15 11:15:18 UTC (rev 1379) +++ trunk/src/dl-learner/org/dllearner/tools/protege/PosAndNegSelectPanel.java 2008-10-15 11:21:49 UTC (rev 1380) @@ -106,7 +106,7 @@ * @param act * ActionHandler */ - public PosAndNegSelectPanel(DLLearnerModel model, ActionHandler act, OWLClassDescriptionEditorWithDLLearnerTab.DLLearnerView window) { + public PosAndNegSelectPanel(DLLearnerModel model, ActionHandler act) { super(); pos = new JLabel("Positive Examples"); neg = new JLabel("Negative Examples"); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |