svn commit: r14914 - branches/xmlpropertypanels-penyaskito-soc08/argouml-core-propertypanels-scratch: . src/org/argouml/core/propertypanels/panel

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: penyaskito
Date: 2008-06-12 17:35:33-0700
New Revision: 14914

Modified:
   branches/xmlpropertypanels-penyaskito-soc08/argouml-core-propertypanels-scratch/.classpath
   branches/xmlpropertypanels-penyaskito-soc08/argouml-core-propertypanels-scratch/src/org/argouml/core/propertypanels/panel/XmlPropertyPanel.java

Log:
Added TODO.

Modified: branches/xmlpropertypanels-penyaskito-soc08/argouml-core-propertypanels-scratch/.classpath
Url: http://argouml.tigris.org/source/browse/argouml/branches/xmlpropertypanels-penyaskito-soc08/argouml-core-propertypanels-scratch/.classpath?view=diff&rev=14914&p1=branches/xmlpropertypanels-penyaskito-soc08/argouml-core-propertypanels-scratch/.classpath&p2=branches/xmlpropertypanels-penyaskito-soc08/argouml-core-propertypanels-scratch/.classpath&r1=14913&r2=14914
==============================================================================
--- branches/xmlpropertypanels-penyaskito-soc08/argouml-core-propertypanels-scratch/.classpath	(original)
+++ branches/xmlpropertypanels-penyaskito-soc08/argouml-core-propertypanels-scratch/.classpath	2008-06-12 17:35:33-0700
@@ -3,5 +3,6 @@
 	<classpathentry kind="src" path="src"/>

 	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>

 	<classpathentry kind="src" path="/argouml-app"/>

+	<classpathentry kind="src" path="/argouml-core-infra"/>

 	<classpathentry kind="output" path="build-eclipse"/>

 </classpath>


Modified: branches/xmlpropertypanels-penyaskito-soc08/argouml-core-propertypanels-scratch/src/org/argouml/core/propertypanels/panel/XmlPropertyPanel.java
Url: http://argouml.tigris.org/source/browse/argouml/branches/xmlpropertypanels-penyaskito-soc08/argouml-core-propertypanels-scratch/src/org/argouml/core/propertypanels/panel/XmlPropertyPanel.java?view=diff&rev=14914&p1=branches/xmlpropertypanels-penyaskito-soc08/argouml-core-propertypanels-scratch/src/org/argouml/core/propertypanels/panel/XmlPropertyPanel.java&p2=branches/xmlpropertypanels-penyaskito-soc08/argouml-core-propertypanels-scratch/src/org/argouml/core/propertypanels/panel/XmlPropertyPanel.java&r1=14913&r2=14914
==============================================================================
--- branches/xmlpropertypanels-penyaskito-soc08/argouml-core-propertypanels-scratch/src/org/argouml/core/propertypanels/panel/XmlPropertyPanel.java	(original)
+++ branches/xmlpropertypanels-penyaskito-soc08/argouml-core-propertypanels-scratch/src/org/argouml/core/propertypanels/panel/XmlPropertyPanel.java	2008-06-12 17:35:33-0700
@@ -26,12 +26,18 @@
 
 import javax.swing.ImageIcon;
 
-import org.argouml.application.api.AbstractArgoJPanel;
+import org.apache.log4j.Logger;
 import org.argouml.ui.TabFigTarget;
 import org.argouml.uml.ui.PropPanel;
 
 public class XmlPropertyPanel extends PropPanel implements TabFigTarget {
     
+    /**
+     * Logger.
+     */
+    private static final Logger LOG = Logger.getLogger(XmlPropertyPanel.class);
+
+    
     public XmlPropertyPanel(String label, ImageIcon icon) {
         super(label, icon);    
     }
@@ -57,5 +63,12 @@
     @Override
     public void setTarget(Object t) {
         super.setTarget(t);
+        // TODO: Here will have to do something based on the 
+        // type of the target received. For
+        // commodity, we could use just the name:
+        // p.e.: org.omg.uml.foundation.core.UmlClass$Impl
+        // Our XML can be called Class.xml or if we split the
+        // UI and the model info, Class.ui.xml and Class.model.xml
+        LOG.info("[XMLPP] t is type:" + t.getClass());
     }
 }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.