X-Git-Url: https://git.argeo.org/?a=blobdiff_plain;f=org.argeo.cms.ui.workbench%2Fsrc%2Forg%2Fargeo%2Fcms%2Fui%2Fworkbench%2Fcommands%2FOpenFile.java;fp=org.argeo.cms.ui.workbench%2Fsrc%2Forg%2Fargeo%2Fcms%2Fui%2Fworkbench%2Fcommands%2FOpenFile.java;h=2b88c9d2a53bc98134d0a8d170fe70b0d64c3be8;hb=0322ae9b2fa11c108716342bdb8687907a6587c5;hp=f7ffef15056a074cd1789d07332e293ef0e2fd6d;hpb=95c16971996f79c2e94709d3c1957185e737f2c1;p=lgpl%2Fargeo-commons.git diff --git a/org.argeo.cms.ui.workbench/src/org/argeo/cms/ui/workbench/commands/OpenFile.java b/org.argeo.cms.ui.workbench/src/org/argeo/cms/ui/workbench/commands/OpenFile.java index f7ffef150..2b88c9d2a 100644 --- a/org.argeo.cms.ui.workbench/src/org/argeo/cms/ui/workbench/commands/OpenFile.java +++ b/org.argeo.cms.ui.workbench/src/org/argeo/cms/ui/workbench/commands/OpenFile.java @@ -28,7 +28,7 @@ import org.eclipse.core.commands.ExecutionException; * *

* The parameter "URI" is used to determine the correct file service, the path - * and the file name. An optional file name can be precized to present a + * and the file name. An optional file name can be precised to present a * different file name as the one used to retrieve it to the end user. *

* @@ -44,13 +44,12 @@ import org.eclipse.core.commands.ExecutionException; */ public class OpenFile extends AbstractHandler { // private final static Log log = LogFactory.getLog(OpenFile.class); - - /* DEPENDENCY INJECTION */ - private String openFileServiceId; - public final static String ID = WorkbenchUiPlugin.PLUGIN_ID + ".openFile"; + public final static String PARAM_FILE_NAME = OpenFileService.PARAM_FILE_NAME; public final static String PARAM_FILE_URI = OpenFileService.PARAM_FILE_URI; // "param.fileURI"; + /* DEPENDENCY INJECTION */ + private String openFileServiceId; public Object execute(ExecutionEvent event) throws ExecutionException {