X-Git-Url: https://git.argeo.org/?a=blobdiff_plain;f=org.argeo.library.ui%2Fsrc%2Forg%2Fargeo%2Flibrary%2Fui%2FDocumentsUiService.java;fp=org.argeo.library.ui%2Fsrc%2Forg%2Fargeo%2Flibrary%2Fui%2FDocumentsUiService.java;h=5d04b175c088bc487c6d9407a2376b2b1f198d33;hb=39f4b81ef1b30af7640654ec9eede6bea2ce4adf;hp=ad13d28863130992148881fa7174afae7a261008;hpb=e270c1663064798564cd1f02bafba624f7ed8151;p=gpl%2Fargeo-suite.git diff --git a/org.argeo.library.ui/src/org/argeo/library/ui/DocumentsUiService.java b/org.argeo.library.ui/src/org/argeo/library/ui/DocumentsUiService.java index ad13d28..5d04b17 100644 --- a/org.argeo.library.ui/src/org/argeo/library/ui/DocumentsUiService.java +++ b/org.argeo.library.ui/src/org/argeo/library/ui/DocumentsUiService.java @@ -29,7 +29,6 @@ import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.argeo.cms.ui.dialogs.CmsFeedback; import org.argeo.eclipse.ui.EclipseUiUtils; -import org.argeo.eclipse.ui.specific.OpenFile; import org.eclipse.jface.viewers.IStructuredSelection; import org.eclipse.swt.SWT; import org.eclipse.swt.widgets.FileDialog; @@ -89,8 +88,8 @@ public class DocumentsUiService { } String uri = Paths.get(tmpFile.getAbsolutePath()).toUri().toString(); Map params = new HashMap(); - params.put(OpenFile.PARAM_FILE_NAME, name); - params.put(OpenFile.PARAM_FILE_URI, uri); +// params.put(OpenFile.PARAM_FILE_NAME, name); +// params.put(OpenFile.PARAM_FILE_URI, uri); // FIXME open file without a command // CommandUtils.callCommand(OpenFile.ID, params); } catch (IOException e1) {