Author: scabanovich
Date: 2009-09-17 09:59:09 -0400 (Thu, 17 Sep 2009)
New Revision: 17633
Modified:
trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/editor/ObjectMultiPageEditor.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-4900
Modified:
trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/editor/ObjectMultiPageEditor.java
===================================================================
---
trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/editor/ObjectMultiPageEditor.java 2009-09-17
12:14:52 UTC (rev 17632)
+++
trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/editor/ObjectMultiPageEditor.java 2009-09-17
13:59:09 UTC (rev 17633)
@@ -552,7 +552,8 @@
}
public void update0() {
- setContentDescription(getEditorInput().getName());
+// setContentDescription(getEditorInput().getName());
+ setPartName(getEditorInput().getName());
checkErrorMode();
if(isErrorMode) {
setErrorMode();
@@ -1014,7 +1015,11 @@
}
void updateTitle() {
- setPartName(getEditorInput().getName());
+ Display.getDefault().asyncExec(new Runnable() {
+ public void run() {
+ setPartName(getEditorInput().getName());
+ }
+ });
}
class PostMultiPageEditorSite extends MultiPageEditorSite {