svn commit: r15031 - branches/xmlpropertypanels-penyaskito-soc08/argouml-core-propertypanels-scratch/src/org/argouml/core/propertypanels/panel/UIFactory.java
| Newsgroups | gmane.comp.lang.uml.argouml.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: penyaskito
Date: 2008-06-22 08:32:40-0700
New Revision: 15031
Modified:
branches/xmlpropertypanels-penyaskito-soc08/argouml-core-propertypanels-scratch/src/org/argouml/core/propertypanels/panel/UIFactory.java
Log:
Comments in code. No functional change.
Modified: branches/xmlpropertypanels-penyaskito-soc08/argouml-core-propertypanels-scratch/src/org/argouml/core/propertypanels/panel/UIFactory.java
Url: http://argouml.tigris.org/source/browse/argouml/branches/xmlpropertypanels-penyaskito-soc08/argouml-core-propertypanels-scratch/src/org/argouml/core/propertypanels/panel/UIFactory.java?view=diff&rev=15031&p1=branches/xmlpropertypanels-penyaskito-soc08/argouml-core-propertypanels-scratch/src/org/argouml/core/propertypanels/panel/UIFactory.java&p2=branches/xmlpropertypanels-penyaskito-soc08/argouml-core-propertypanels-scratch/src/org/argouml/core/propertypanels/panel/UIFactory.java&r1=15030&r2=15031
==============================================================================
--- branches/xmlpropertypanels-penyaskito-soc08/argouml-core-propertypanels-scratch/src/org/argouml/core/propertypanels/panel/UIFactory.java (original)
+++ branches/xmlpropertypanels-penyaskito-soc08/argouml-core-propertypanels-scratch/src/org/argouml/core/propertypanels/panel/UIFactory.java 2008-06-22 08:32:40-0700
@@ -121,6 +121,8 @@
JComboBox namespaceSelector = new UMLSearchableComboBox(
namespaceModel,
+ // this needs a visibility
+ // change in ArgoUML Core...
new ActionSetModelElementNamespace(), true);
panel.add(namespaceSelector);
// panel.add(new UMLComboBoxNavigator(
@@ -145,11 +147,7 @@
throws Exception {
XMLPropertyPanelsData data = new XMLPropertyPanelsData();
-
- // TODO: I have to investigate how to read the XML.
- // There are some different APIs available, but
- // I'll choose SAX because it's the one API used in
- // PGML, so we don't have different APIs in Argo.
+
XMLReader parser = XMLReaderFactory.createXMLReader(
"org.apache.xerces.parsers.SAXParser"
);
@@ -157,7 +155,7 @@
String file = "org/argouml/core/propertypanels/xml/"
+ filename + ".xml";
- LOG.info("File = " + file);
+ LOG.debug("UIFactory creates PropPanel with file " + file);
InputStream stream = this.getClass().getClassLoader().
getResourceAsStream(file);
if (stream != null) {