Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitacf36bb

Browse files
author
zhourenjian
committed
Migrate Java2Script compiler to Eclipse 3.3 M7
1 parent46b27a8 commitacf36bb

File tree

4 files changed

+383
-343
lines changed

4 files changed

+383
-343
lines changed

‎src/net/sf/j2s/ui/actions/UnitJavaScriptUtil.java‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@
4646
importorg.eclipse.ui.PartInitException;
4747
importorg.eclipse.ui.editors.text.EditorsUI;
4848
importorg.eclipse.ui.internal.editors.text.EditorsPlugin;
49-
importorg.eclipse.ui.internal.editors.text.JavaFileEditorInput;
5049
importorg.eclipse.ui.part.FileEditorInput;
5150

5251
/**
@@ -166,7 +165,10 @@ private static IEditorInput createEditorInput(IFileStore fileStore) {
166165
IFileworkspaceFile=getWorkspaceFile(fileStore);
167166
if (workspaceFile !=null)
168167
returnnewFileEditorInput(workspaceFile);
169-
returnnewJavaFileEditorInput(fileStore);
168+
else {
169+
//return new FileEditorInput(new Path(fileStore.toURI().getPath()).)
170+
returnnull;
171+
}
170172
}
171173

172174
privatestaticIFilegetWorkspaceFile(IFileStorefileStore) {

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp