svn commit: r12710 - branches/gsoc2007/maurelio1234/argouml/org/argouml/uml: diagram profile

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: maurelio1234
Date: 2007-05-28 19:03:20-0700
New Revision: 12710

Modified:
   branches/gsoc2007/maurelio1234/argouml/org/argouml/uml/diagram/UmlDiagramRenderer.java
   branches/gsoc2007/maurelio1234/argouml/org/argouml/uml/profile/ProfileConfiguration.java

Log:
first working version

Modified: branches/gsoc2007/maurelio1234/argouml/org/argouml/uml/diagram/UmlDiagramRenderer.java
Url: http://argouml.tigris.org/source/browse/argouml/branches/gsoc2007/maurelio1234/argouml/org/argouml/uml/diagram/UmlDiagramRenderer.java?view=diff&rev=12710&p1=branches/gsoc2007/maurelio1234/argouml/org/argouml/uml/diagram/UmlDiagramRenderer.java&p2=branches/gsoc2007/maurelio1234/argouml/org/argouml/uml/diagram/UmlDiagramRenderer.java&r1=12709&r2=12710
==============================================================================
--- branches/gsoc2007/maurelio1234/argouml/org/argouml/uml/diagram/UmlDiagramRenderer.java	(original)
+++ branches/gsoc2007/maurelio1234/argouml/org/argouml/uml/diagram/UmlDiagramRenderer.java	2007-05-28 19:03:20-0700
@@ -120,10 +120,10 @@
         }
         FigNode figNode = null;
 
-        figNode = ProjectManager.getManager().getCurrentProject()
-		.getProfileConfiguration().getFigNodeStrategy()
-		.getFigNodelForElement(node, x, y, styleAttributes);
-        
+//        figNode = ProjectManager.getManager().getCurrentProject()
+//		.getProfileConfiguration().getFigNodeStrategy()
+//		.getFigNodelForElement(node, x, y, styleAttributes);
+//        
         if (figNode != null) {
             
         } else if (Model.getFacade().isAComment(node)) {

Modified: branches/gsoc2007/maurelio1234/argouml/org/argouml/uml/profile/ProfileConfiguration.java
Url: http://argouml.tigris.org/source/browse/argouml/branches/gsoc2007/maurelio1234/argouml/org/argouml/uml/profile/ProfileConfiguration.java?view=diff&rev=12710&p1=branches/gsoc2007/maurelio1234/argouml/org/argouml/uml/profile/ProfileConfiguration.java&p2=branches/gsoc2007/maurelio1234/argouml/org/argouml/uml/profile/ProfileConfiguration.java&r1=12709&r2=12710
==============================================================================
--- branches/gsoc2007/maurelio1234/argouml/org/argouml/uml/profile/ProfileConfiguration.java	(original)
+++ branches/gsoc2007/maurelio1234/argouml/org/argouml/uml/profile/ProfileConfiguration.java	2007-05-28 19:03:20-0700
@@ -102,19 +102,19 @@
     

     private FigNodeStrategy compositeFigNodeStrategy = new FigNodeStrategy() {

 

-	public FigNode getFigNodelForElement(Object element, int x, int y, Map styleAttributes) {

-	    FigNode res = null;

-	    

-	    Iterator it = figNodeStrategies.iterator();

-	    while(it.hasNext()) {

-		FigNodeStrategy strat = (FigNodeStrategy) it.next();

-		res = strat.getFigNodelForElement(element, x, y, styleAttributes);

-		if (res != null) {

-		    break;		    

-		}

-	    }

-	    return res;

-	}

+//	public FigNode getFigNodelForElement(Object element, int x, int y, Map styleAttributes) {

+//	    FigNode res = null;

+//	    

+//	    Iterator it = figNodeStrategies.iterator();

+//	    while(it.hasNext()) {

+//		FigNodeStrategy strat = (FigNodeStrategy) it.next();

+//		res = strat.getFigNodelForElement(element, x, y, styleAttributes);

+//		if (res != null) {

+//		    break;		    

+//		}

+//	    }

+//	    return res;

+//	}

 	

     };
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.