// TaskActivator.getInstance().getClass();
IPath stateLocation= EditorsPlugin.getDefault().getStateLocation();
IPath path= stateLocation.append("/untitled.todo"); //$NON-NLS-1$
IFileStore fileStore = EFS.getLocalFileSystem().getStore(path);
new File(fileStore.toURI()).createNewFile();
IDE.openEditor(page, new TmpFileStoreEditorInput(fileStore),
"de.sebastianbenz.task.Task");
} catch (CoreException e) {
e.printStackTrace();
} catch (IOException e) {
// TODO Auto-generated catch block