[Title] Remove WPE Preview Tab
authorchanghyun1.lee <changhyun1.lee@samsung.com>
Tue, 27 Nov 2012 10:23:28 +0000 (19:23 +0900)
committerchanghyun1.lee <changhyun1.lee@samsung.com>
Tue, 27 Nov 2012 10:25:18 +0000 (19:25 +0900)
[Desc.]
[Issue] Redmine-7495

Change-Id: I34dd351d82c19b1e034c9ed829d0188bfc78b2d8

org.eclipse.jst.pagedesigner.patch/src/org/eclipse/jst/pagedesigner/editors/HTMLEditor.java

index 1363700..fd7a0d1 100755 (executable)
@@ -449,7 +449,8 @@ public final class HTMLEditor extends MultiPageEditorPart implements
                                tabbed_createAndAddDesignSourcePage();\r
                        }\r
                        connectDesignPage();\r
-                       createAndAddPreviewPage();\r
+                       // FIXME:: Remove Preview Tab\r
+                       // createAndAddPreviewPage();\r
                        DesignerSourceMouseTrackAdapter adapter = new DesignerSourceMouseTrackAdapter(\r
                                        _textEditor, getEditDomain());\r
                        _textEditor.getTextViewer().getTextWidget().addMouseListener(\r
@@ -1019,6 +1020,8 @@ public final class HTMLEditor extends MultiPageEditorPart implements
        protected void pageChange(int newPageIndex) {\r
                super.pageChange(newPageIndex);\r
 \r
+               // FIXME:: Remove Preview Tab\r
+               /*\r
                if (newPageIndex == _previewPageIndex) {\r
                        // preview page activate, set the absoulte path of the current page URL.\r
                        IEditorInput editorInput = this.getEditorInput();\r
@@ -1040,7 +1043,9 @@ public final class HTMLEditor extends MultiPageEditorPart implements
                                getPreviewBrowser().getBrowser().setUrl("about:blank"); //$NON-NLS-1$\r
                        }\r
                }\r
+               */\r
 \r
+               // FIXME:: Deprecated TempPreviewFile logic\r
                /*\r
                deletePreviewFiles();\r
 \r