From 01e5836f21ae43eb8cd8960d54731075dd85cf2a Mon Sep 17 00:00:00 2001 From: "changhyun1.lee" Date: Thu, 8 Nov 2012 23:23:28 +0900 Subject: [PATCH] [Title] Recovery Source related to UI Builder. [Desc.] [Issue] Redmine-7414 Change-Id: I69afe1f424008f1db8be3b8ac621b4aaabada593 --- .../org/eclipse/jst/pagedesigner/editors/HTMLEditor.java | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/org.eclipse.jst.pagedesigner.patch/src/org/eclipse/jst/pagedesigner/editors/HTMLEditor.java b/org.eclipse.jst.pagedesigner.patch/src/org/eclipse/jst/pagedesigner/editors/HTMLEditor.java index 9f56863..1363700 100755 --- a/org.eclipse.jst.pagedesigner.patch/src/org/eclipse/jst/pagedesigner/editors/HTMLEditor.java +++ b/org.eclipse.jst.pagedesigner.patch/src/org/eclipse/jst/pagedesigner/editors/HTMLEditor.java @@ -1132,19 +1132,6 @@ public final class HTMLEditor extends MultiPageEditorPart implements } else { // Otherwise, get the default mode from preferences. IPreferenceStore pStore = PDPlugin.getDefault().getPreferenceStore(); - - // FIXME:: Modified Editor Mode (20121108) : always "Source Mode" in UI Builder Project. - try { - IFile file = (IFile) getEditorInput().getAdapter(IFile.class); - if(file.getProject().getNature("org.tizen.webuibuilder.nature") != null) { - pStore.setValue(PDPreferences.SASH_EDITOR_MODE_PREF, MODE_SOURCE); - } else { - pStore.setValue(PDPreferences.SASH_EDITOR_MODE_PREF, MODE_SASH_HORIZONTAL); - } - } catch (Exception e) { - _log.error(e); - } - preferredMode = pStore.getInt(PDPreferences.SASH_EDITOR_MODE_PREF); } -- 2.7.4