commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gu...@apache.org
Subject svn commit: r964665 - /commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling.diagram/src/org/apache/commons/scxml/modeling/diagram/part/ModelingImportWizard.java
Date Fri, 16 Jul 2010 03:02:10 GMT
Author: guixl
Date: Fri Jul 16 03:02:10 2010
New Revision: 964665

URL: http://svn.apache.org/viewvc?rev=964665&view=rev
Log:
add prefix "*.scxml" for document import file selection dialog

Modified:
    commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling.diagram/src/org/apache/commons/scxml/modeling/diagram/part/ModelingImportWizard.java

Modified: commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling.diagram/src/org/apache/commons/scxml/modeling/diagram/part/ModelingImportWizard.java
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling.diagram/src/org/apache/commons/scxml/modeling/diagram/part/ModelingImportWizard.java?rev=964665&r1=964664&r2=964665&view=diff
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling.diagram/src/org/apache/commons/scxml/modeling/diagram/part/ModelingImportWizard.java
(original)
+++ commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling.diagram/src/org/apache/commons/scxml/modeling/diagram/part/ModelingImportWizard.java
Fri Jul 16 03:02:10 2010
@@ -565,7 +565,7 @@ public class ModelingImportWizard extend
 				public void widgetSelected(SelectionEvent e) {
 					FileDialog dialog = new FileDialog(new Shell(), SWT.OPEN
 							| SWT.APPLICATION_MODAL);
-					dialog.setFilterExtensions(new String[] { "*.xml" });
+					dialog.setFilterExtensions(new String[] { "*.xml","*.scxml" });
 					String path = dialog.open();
 					if (path != null) {
 						filePath.setText(path);



Mime
View raw message