Mercurial > hg > RemoteEditor > Eclipse
changeset 95:771c2e03edb6
*** empty log message ***
author | pin |
---|---|
date | Sat, 22 Dec 2007 10:15:07 +0900 |
parents | 78f6f6ce9d3c |
children | 74ff54086fd7 |
files | src/remoteeditor/action/RemoteEditorAction.java |
diffstat | 1 files changed, 14 insertions(+), 14 deletions(-) [+] |
line wrap: on
line diff
--- a/src/remoteeditor/action/RemoteEditorAction.java Sat Dec 22 02:04:27 2007 +0900 +++ b/src/remoteeditor/action/RemoteEditorAction.java Sat Dec 22 10:15:07 2007 +0900 @@ -59,20 +59,20 @@ workbenchPage.closeEditor(editorPart, true); /*** ŠëŒ¯ ***/ - IWorkspace workspace = ResourcesPlugin.getWorkspace(); - IWorkspaceRoot root = workspace.getRoot(); - IProject project = root.getProject("Pin"); - //IProject[] project = root.getProjects(); - IContainer container = project; - System.out.println(project.getFullPath().toOSString()); - IFile file = container.getFile(new Path("hoge.txt")); - String string = "hugo"; - InputStream is = new ByteArrayInputStream(string.getBytes()); - try { - file.create(is, false, null); - } catch (CoreException e1) { - e1.printStackTrace(); - } +// IWorkspace workspace = ResourcesPlugin.getWorkspace(); +// IWorkspaceRoot root = workspace.getRoot(); +// IProject project = root.getProject("Pin"); +// //IProject[] project = root.getProjects(); +// IContainer container = project; +// System.out.println(project.getFullPath().toOSString()); +// IFile file = container.getFile(new Path("hoge.txt")); +// String string = "hugo"; +// InputStream is = new ByteArrayInputStream(string.getBytes()); +// try { +// file.create(is, false, null); +// } catch (CoreException e1) { +// e1.printStackTrace(); +// } // if(!project.exists()) { // try { // System.out.println("afro");