See below:
On Wed, Jun 9, 2010 at 9:41 AM, <[email protected]> wrote:
> Author: guixl
> Date: Wed Jun 9 13:41:14 2010
> New Revision: 953000
>
> URL: http://svn.apache.org/viewvc?rev=953000&view=rev
> Log:
> add SCXML document export progress monitor
>
> Added:
>
> commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling.diagram/src/org/apache/commons/scxml/modeling/export/ExportProgressMonitor.java
> (with props)
> Modified:
>
> commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling.diagram/src/org/apache/commons/scxml/modeling/export/ModelingDocumentExportWizard.java
>
<snip/>
>
> /**
> * Scxml document export wizard
> + *
> * @author Gui Xun Long ([email protected])
> */
> public class ModelingDocumentExportWizard extends Wizard {
<snap/>
For various reasons (I can elaborate if needed), the use of @author
tags in new code is discouraged. Indeed, Commons SCXML for example,
has no @author tags. I'd suggest removing these tags from
[scxml-eclipse].
> +
> + /*//
> ¿ªÊ¼´¦Àí½ø¶È£¬Èç¹ûindeterminateΪfalse,Õû¸ö½ø¶ÈΪTOTAL_TIME = 10000
> + // ·ñÔò£¬½ø¶ÈÌõΪ×Ô¶¯Ôö¼ÓµÄ
> + for (int total = 0; total < TOTAL_TIME &&
> !monitor.isCanceled(); total += INCREMENT) {
> + Thread.sleep(INCREMENT);
> + monitor.worked(INCREMENT);
> + // µ½´ïÒ»°ëµÄʱ¼äÏÔʾÏàÓ¦µÄÐÅÏ¢
> + if (total == TOTAL_TIME / 2)
<snap/>
Comments above are garbled (please make sure all your comments are in English).
-Rahul
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]