1 package org.argeo.eclipse.ui.util; 2 3 /** 4 * Centralise constants that are used in both RAP and RCP specific code to avoid 5 * duplicated declaration 6 */ 7 public interface SingleSourcingConstants { 8 9 // Single sourced open file command 10 String OPEN_FILE_CMD_ID = "org.argeo.cms.ui.workbench.openFile"; 11 String PARAM_FILE_NAME = "param.fileName"; 12 String PARAM_FILE_URI = "param.fileURI"; 13 14 String SCHEME_HOST_SEPARATOR = "://"; 15 String FILE_SCHEME = "file"; 16 String JCR_SCHEME = "jcr"; 17 }