From: <hee...@us...> - 2008-09-09 07:34:31
|
Revision: 1180 http://dl-learner.svn.sourceforge.net/dl-learner/?rev=1180&view=rev Author: heeroyuy Date: 2008-09-09 07:34:25 +0000 (Tue, 09 Sep 2008) Log Message: ----------- warnings fixed Modified Paths: -------------- trunk/src/dl-learner/org/dllearner/tools/protege/ActionHandler.java trunk/src/dl-learner/org/dllearner/tools/protege/ButtonList.java trunk/src/dl-learner/org/dllearner/tools/protege/DLLearnerModel.java 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/OWLEquivalentClassesAxiomFrameSection.java trunk/src/dl-learner/org/dllearner/tools/protege/OWLSubClassAxiomFrameSection.java trunk/src/dl-learner/org/dllearner/tools/protege/PosAndNegSelectPanel.java trunk/src/dl-learner/org/dllearner/tools/protege/ProtegePlugin.java trunk/src/dl-learner/org/dllearner/tools/protege/SuggestClassPanel.java Modified: trunk/src/dl-learner/org/dllearner/tools/protege/ActionHandler.java =================================================================== --- trunk/src/dl-learner/org/dllearner/tools/protege/ActionHandler.java 2008-09-08 17:59:49 UTC (rev 1179) +++ trunk/src/dl-learner/org/dllearner/tools/protege/ActionHandler.java 2008-09-09 07:34:25 UTC (rev 1180) @@ -2,7 +2,7 @@ * Copyright (C) 2007-2008, Jens Lehmann * * This file is part of DL-Learner. - * + * * DL-Learner is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or Modified: trunk/src/dl-learner/org/dllearner/tools/protege/ButtonList.java =================================================================== --- trunk/src/dl-learner/org/dllearner/tools/protege/ButtonList.java 2008-09-08 17:59:49 UTC (rev 1179) +++ trunk/src/dl-learner/org/dllearner/tools/protege/ButtonList.java 2008-09-09 07:34:25 UTC (rev 1180) @@ -2,7 +2,7 @@ * Copyright (C) 2007-2008, Jens Lehmann * * This file is part of DL-Learner. - * + * * DL-Learner is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or Modified: trunk/src/dl-learner/org/dllearner/tools/protege/DLLearnerModel.java =================================================================== --- trunk/src/dl-learner/org/dllearner/tools/protege/DLLearnerModel.java 2008-09-08 17:59:49 UTC (rev 1179) +++ trunk/src/dl-learner/org/dllearner/tools/protege/DLLearnerModel.java 2008-09-09 07:34:25 UTC (rev 1180) @@ -2,7 +2,7 @@ * Copyright (C) 2007-2008, Jens Lehmann * * This file is part of DL-Learner. - * + * * DL-Learner is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or @@ -786,7 +786,10 @@ public boolean getAlreadyLearned() { return alreadyLearned; } - + /** + * This Method returns the URI of the currently loaded Ontology. + * @return URI Ontology URI + */ public URI getURI() { return editor.getOWLModelManager().getActiveOntology().getURI(); } Modified: trunk/src/dl-learner/org/dllearner/tools/protege/MoreDetailForSuggestedConceptsPanel.java =================================================================== --- trunk/src/dl-learner/org/dllearner/tools/protege/MoreDetailForSuggestedConceptsPanel.java 2008-09-08 17:59:49 UTC (rev 1179) +++ trunk/src/dl-learner/org/dllearner/tools/protege/MoreDetailForSuggestedConceptsPanel.java 2008-09-09 07:34:25 UTC (rev 1180) @@ -2,7 +2,7 @@ * Copyright (C) 2007-2008, Jens Lehmann * * This file is part of DL-Learner. - * + * * DL-Learner is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or Modified: trunk/src/dl-learner/org/dllearner/tools/protege/OWLClassDescriptionEditorWithDLLearnerTab.java =================================================================== --- trunk/src/dl-learner/org/dllearner/tools/protege/OWLClassDescriptionEditorWithDLLearnerTab.java 2008-09-08 17:59:49 UTC (rev 1179) +++ trunk/src/dl-learner/org/dllearner/tools/protege/OWLClassDescriptionEditorWithDLLearnerTab.java 2008-09-09 07:34:25 UTC (rev 1180) @@ -2,7 +2,7 @@ * Copyright (C) 2007-2008, Jens Lehmann * * This file is part of DL-Learner. - * + * * DL-Learner is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or @@ -91,7 +91,13 @@ handleVerifyEditorContents(); } }; - + /** + * Konstruktor of the Class Description Editor with integrated DL-Learner Tab. + * @param editorKit OWLEditorKit + * @param description OWLDescription + * @param frame OWLFrame + * @param label String + */ public OWLClassDescriptionEditorWithDLLearnerTab(OWLEditorKit editorKit, OWLDescription description, OWLFrame<OWLClass> frame, String label) { this.editorKit = editorKit; @@ -160,7 +166,10 @@ } return validated; } - + /** + * Returns Editor Component. + * @return JComponent + */ public JComponent getInlineEditorComponent() { // Same as general editor component return editingComponent; @@ -174,7 +183,9 @@ public JComponent getEditorComponent() { return editingComponent; } - + /** + * Removes everything after closing the Class Description Editor. + */ public void clear() { dllearner.unsetEverything(); dllearner.makeView(); @@ -182,7 +193,10 @@ // initialDescription = null; editor.setText(""); } - + /** + * returns the edited Components. + * @return Set of OWLDescriptions + */ public Set<OWLDescription> getEditedObjects() { if (tabbedPane.getSelectedComponent() == classSelectorPanel) { return new HashSet<OWLDescription>(classSelectorPanel @@ -216,7 +230,9 @@ return null; } } - + /** + * Removes everything after protege is closed. + */ public void dispose() { if (classSelectorPanel != null) { classSelectorPanel.dispose(); @@ -232,14 +248,22 @@ private OWLDataFactory getDataFactory() { return editorKit.getOWLModelManager().getOWLDataFactory(); } - + /** + * Adds a Status Changed Listener to all components of the + * class description editor. + * @param listener InputVerificationStatusChangedListener + */ public void addStatusChangedListener( InputVerificationStatusChangedListener listener) { listeners.add(listener); editor.addStatusChangedListener(listener); listener.verifiedStatusChanged(isValidated()); } - + /** + * Removes the Status Changed Listener from all components of the + * class description editor. + * @param listener InputVerificationStatusChangedListener + */ public void removeStatusChangedListener( InputVerificationStatusChangedListener listener) { listeners.remove(listener); @@ -563,7 +587,11 @@ } } - + /** + * This is the class for the object restriktion creator panel. + * + * + */ private class ObjectRestrictionCreatorPanel extends JPanel { @@ -703,7 +731,11 @@ classSelectorPanel.dispose(); } } - + /** + * This is the abstract class of the restriction creator. + * + * + */ private abstract class RestrictionCreator { private String name; @@ -719,7 +751,11 @@ abstract void createRestrictions(Set<OWLObjectProperty> properties, Set<OWLDescription> fillers, Set<OWLDescription> result); } - + /** + * This is the abstract class for the cardinality restriction creator. + * + * + */ private abstract class CardinalityRestrictionCreator extends RestrictionCreator { Modified: trunk/src/dl-learner/org/dllearner/tools/protege/OWLEquivalentClassesAxiomFrameSection.java =================================================================== --- trunk/src/dl-learner/org/dllearner/tools/protege/OWLEquivalentClassesAxiomFrameSection.java 2008-09-08 17:59:49 UTC (rev 1179) +++ trunk/src/dl-learner/org/dllearner/tools/protege/OWLEquivalentClassesAxiomFrameSection.java 2008-09-09 07:34:25 UTC (rev 1180) @@ -2,7 +2,7 @@ * Copyright (C) 2007-2008, Jens Lehmann * * This file is part of DL-Learner. - * + * * DL-Learner is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or @@ -59,7 +59,11 @@ private boolean inferredEquivalentClasses = true; private OWLFrame<OWLClass> frame; - + /** + * Constructor of the OWLEquivalentClassesAxiomFrameSection. + * @param editorKit OWLEditorKit + * @param frame OWLFrame + */ public OWLEquivalentClassesAxiomFrameSection(OWLEditorKit editorKit, OWLFrame<OWLClass> frame) { super(editorKit, LABEL, frame); Modified: trunk/src/dl-learner/org/dllearner/tools/protege/OWLSubClassAxiomFrameSection.java =================================================================== --- trunk/src/dl-learner/org/dllearner/tools/protege/OWLSubClassAxiomFrameSection.java 2008-09-08 17:59:49 UTC (rev 1179) +++ trunk/src/dl-learner/org/dllearner/tools/protege/OWLSubClassAxiomFrameSection.java 2008-09-09 07:34:25 UTC (rev 1180) @@ -2,7 +2,7 @@ * Copyright (C) 2007-2008, Jens Lehmann * * This file is part of DL-Learner. - * + * * DL-Learner is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or @@ -56,7 +56,11 @@ private Set<OWLDescription> added = new HashSet<OWLDescription>(); private OWLFrame<OWLClass> frame; - + /** + * Constructor of the OWLSubClassesAxiomFrameSection. + * @param editorKit OWLEditorKit + * @param frame OWLFrame + */ public OWLSubClassAxiomFrameSection(OWLEditorKit editorKit, OWLFrame<OWLClass> frame) { super(editorKit, LABEL, frame); Modified: trunk/src/dl-learner/org/dllearner/tools/protege/PosAndNegSelectPanel.java =================================================================== --- trunk/src/dl-learner/org/dllearner/tools/protege/PosAndNegSelectPanel.java 2008-09-08 17:59:49 UTC (rev 1179) +++ trunk/src/dl-learner/org/dllearner/tools/protege/PosAndNegSelectPanel.java 2008-09-09 07:34:25 UTC (rev 1180) @@ -2,7 +2,7 @@ * Copyright (C) 2007-2008, Jens Lehmann * * This file is part of DL-Learner. - * + * * DL-Learner is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or Modified: trunk/src/dl-learner/org/dllearner/tools/protege/ProtegePlugin.java =================================================================== --- trunk/src/dl-learner/org/dllearner/tools/protege/ProtegePlugin.java 2008-09-08 17:59:49 UTC (rev 1179) +++ trunk/src/dl-learner/org/dllearner/tools/protege/ProtegePlugin.java 2008-09-09 07:34:25 UTC (rev 1180) @@ -2,7 +2,7 @@ * Copyright (C) 2007-2008, Jens Lehmann * * This file is part of DL-Learner. - * + * * DL-Learner is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or @@ -67,4 +67,4 @@ public void disposeView() { list.dispose(); } -} \ No newline at end of file +} Modified: trunk/src/dl-learner/org/dllearner/tools/protege/SuggestClassPanel.java =================================================================== --- trunk/src/dl-learner/org/dllearner/tools/protege/SuggestClassPanel.java 2008-09-08 17:59:49 UTC (rev 1179) +++ trunk/src/dl-learner/org/dllearner/tools/protege/SuggestClassPanel.java 2008-09-09 07:34:25 UTC (rev 1180) @@ -2,7 +2,7 @@ * Copyright (C) 2007-2008, Jens Lehmann * * This file is part of DL-Learner. - * + * * DL-Learner is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or @@ -99,9 +99,5 @@ public void addSuggestPanelMouseListener(ActionHandler action) { descriptions.addMouseListener(action); - } - - - - -} \ No newline at end of file + } +} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |