Bug 4922 [EditorMgmt] Need ability to open a file in eclipse from the command line
We need to be able to register eclipse as the default editor for a file type with the OS. This will allow double clicking on a file and opening it in eclipse. This is important for being able to view a .java file in a zip etc. I don't think it should be a problem to get the file name from the command line through to the workbech application which will be able to determine what editor to use. The question is where to put it in the workspace. I think the easiest answer is to just create a "miscellaneous" project mapped to the file's location. Remember this is not a project for "real work", its just a way of allowing the file to be viewed/edited using an eclipse editor.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/IDEWorkbenchMessages.java
public static String IDEWorkbenchAdvisor_postHistoryCompaction;
	public static String IDE_noFileEditorFound;
	public static String IDE_coreExceptionFileStore;
	public static String OpenWithMenu_Other;
	public static String OpenWithMenu_OtherDialogDescription;
	public static String QuickStartAction_errorDialogTitle;
	public static String QuickStartAction_infoReadError;
	
	public static String ConfigurationLogUpdateSection_installConfiguration;
	public static String ConfigurationLogUpdateSection_lastChangedOn;
	public static String ConfigurationLogUpdateSection_location;
	public static String ConfigurationLogUpdateSection_IU;
	public static String ConfigurationLogUpdateSection_IUHeader;
	public static String ConfigurationLogUpdateSection_bundle;
	public static String ConfigurationLogUpdateSection_bundleHeader;
	public static String ConfigurationLogUpdateSection_timestamp;
	public static String ErrorClosing;
	public static String ErrorOnSaveAll;
	public static String ResourceInfoPage_noResource;
	public static String ResourceFilterPage_title;
	public static String ResourceFilterPage_noResource;
	public static String ResourceFilterPage_addButtonLabel;
	public static String ResourceFilterPage_editButtonLabel;
	public static String ResourceFilterPage_removeButtonLabel;
	public static String ResourceFilterPage_upButtonLabel;
	public static String ResourceFilterPage_downButtonLabel;
	public static String ResourceFilterPage_addNewFilterTitle;
	public static String ResourceFilterPage_columnFilterID;
	public static String ResourceFilterPage_columnFilterMode;
	public static String ResourceFilterPage_columnFilterTargets;