Author: mareshkau
Date: 2007-09-13 07:32:11 -0400 (Thu, 13 Sep 2007)
New Revision: 3603
Modified:
branches/jbosstools_xulrunner/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeEditorPart.java
Log:
bug on macosx with iflasher was fixed( flasher didn't hide when we swithes to source
view from visual view)
Modified:
branches/jbosstools_xulrunner/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeEditorPart.java
===================================================================
---
branches/jbosstools_xulrunner/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeEditorPart.java 2007-09-13
09:57:20 UTC (rev 3602)
+++
branches/jbosstools_xulrunner/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeEditorPart.java 2007-09-13
11:32:11 UTC (rev 3603)
@@ -15,6 +15,7 @@
import org.eclipse.core.resources.IFile;
import org.eclipse.core.runtime.IProgressMonitor;
+import org.eclipse.core.runtime.Platform;
import org.eclipse.core.runtime.QualifiedName;
import org.eclipse.jface.action.IAction;
import org.eclipse.jface.action.IMenuListener;
@@ -81,6 +82,7 @@
"", "splitter_position2");
private static final QualifiedName SPLITTER_POSITION_KEY3 = new QualifiedName(
"", "splitter_position3");
+
private int controlCount = 0;
/** default web-browser */
@@ -352,8 +354,17 @@
case SOURCE_MODE:
selectionBar.showBar(showSelectionBar);
- if (sourceContent != null)
+ if (sourceContent != null) {
sourceContent.setVisible(true);
+
+ //Added by Max Areshkau
+ //was fixed bug(border which drawed by iflasher doesn't hide on MACOS when we
swith
+ // to souce view)
+ if(Platform.getOS().equals(Platform.OS_MACOSX)) {
+
+ controller.visualRefresh();
+ }
+ }
if (visualContent != null)
visualContent.setVisible(false);
if (previewContent != null) {