svn commit: r14546 - trunk/src/argouml-app/src/org/argouml/uml/reveng/ImportCommon.java

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: tfmorris
Date: 2008-04-30 17:37:47-0700
New Revision: 14546

Modified:
   trunk/src/argouml-app/src/org/argouml/uml/reveng/ImportCommon.java

Log:
Fix API change that broke ArgoEclipse.  Add warning for developers.

Modified: trunk/src/argouml-app/src/org/argouml/uml/reveng/ImportCommon.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-app/src/org/argouml/uml/reveng/ImportCommon.java?view=diff&rev=14546&p1=trunk/src/argouml-app/src/org/argouml/uml/reveng/ImportCommon.java&p2=trunk/src/argouml-app/src/org/argouml/uml/reveng/ImportCommon.java&r1=14545&r2=14546
==============================================================================
--- trunk/src/argouml-app/src/org/argouml/uml/reveng/ImportCommon.java	(original)
+++ trunk/src/argouml-app/src/org/argouml/uml/reveng/ImportCommon.java	2008-04-30 17:37:47-0700
@@ -50,14 +50,16 @@
 import org.argouml.uml.diagram.static_structure.ClassDiagramGraphModel;

 import org.argouml.uml.diagram.static_structure.layout.ClassdiagramLayouter;

 import org.argouml.uml.reveng.ImportInterface.ImportException;

-import org.argouml.uml.reveng.ui.ImportStatusScreen;

 import org.tigris.gef.base.Globals;

 

 /**

  * Source language import class - GUI independent superclass.

- *

+ * <p>

  * Specific Swing and SWT/Eclipse importers will extend this class.

- *

+ * <p>

+ * <em>NOTE:</em>Any change to the public API here must be tested in both Swing

+ * (standalone ArgoUML) and Eclipse (ArgoEclipse) environments.

+ * 

  * @author Tom Morris

  */

 public abstract class ImportCommon implements ImportSettingsInternal {

@@ -503,7 +505,7 @@
      *            a ProgressMonitor to both receive progress updates and to be

      *            polled for user requests to cancel.

      */

-    protected void doImport(ImportStatusScreen monitor) {

+    protected void doImport(ProgressMonitor monitor) {

         // Roughly equivalent to and derived from old Import.doFile()

         monitor.setMaximumProgress(MAX_PROGRESS_PREPARE + MAX_PROGRESS_IMPORT);

         int progress = 0;
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.