Permalink
Browse files

Re-fix the "out-of-EDT" exception

MPS-14024 after "preview generated text" I can't see transient models, though saving transient models is on
  • Loading branch information...
1 parent eb17afa commit 83418d55180e6a3db0cb0cc3d1d1a7e18f3abd88 @fisakov fisakov committed Dec 20, 2011
@@ -7493,7 +7493,7 @@
</node>
</node>
<node role="operation" roleId="tpee.1197027833540" type="tpee.InstanceMethodCallOperation" typeId="tpee.1202948039474" id="5315783505354337881">
- <link role="baseMethodDeclaration" roleId="tpee.1068499141037" targetNodeId="c4x8.~ProjectPane%drebuildTree()%cvoid" resolveInfo="rebuildTree" />
+ <link role="baseMethodDeclaration" roleId="tpee.1068499141037" targetNodeId="c4x8.~ProjectPane%drebuild()%cvoid" resolveInfo="rebuild" />
</node>
</node>
</node>
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<dependencies version="2" modelHash="705y4no4t1oglj6n5sz95em2btyyfkv">
+<dependencies version="2" modelHash="-bqgzg6pvulgp677ex9aof9yk22e6y5x">
<dep model="f:java_stub#37a3367b-1fb2-44d8-aa6b-18075e74e003#com.intellij.codeHighlighting(MPS.Classpath/com.intellij.codeHighlighting@java_stub)" />
<dep model="f:java_stub#37a3367b-1fb2-44d8-aa6b-18075e74e003#com.intellij.ide(MPS.Classpath/com.intellij.ide@java_stub)" />
<dep model="f:java_stub#37a3367b-1fb2-44d8-aa6b-18075e74e003#com.intellij.ide.structureView(MPS.Classpath/com.intellij.ide.structureView@java_stub)" />
@@ -57,7 +57,7 @@
<dep model="r:00000000-0000-4000-0000-011c8959032e(jetbrains.mps.baseLanguage.collections.structure)" hash="-7vcmpavwf9ea155yro6is5d3t2ttmm" />
<dep model="r:00000000-0000-4000-0000-011c8959032f(jetbrains.mps.baseLanguage.collections.generator.baseLanguage.template.main@generator)" hash="dxpmcmw8ohkpqxzxdrioybecb4ufy6g" />
<dep model="r:00000000-0000-4000-0000-011c89590338(jetbrains.mps.baseLanguage.closures.structure)" hash="bllkxjrj2t4xu16suixw80hxc1q4dzq" />
- <dep model="r:00000000-0000-4000-0000-011c8959033a(jetbrains.mps.baseLanguage.closures.generator.baseLanguage.template.main@generator)" hash="-6w6z82f2txxwn2glt2oqii8i3mczaq5" />
+ <dep model="r:00000000-0000-4000-0000-011c8959033a(jetbrains.mps.baseLanguage.closures.generator.baseLanguage.template.main@generator)" hash="chorrw76u6o4syk4njppm6kbegernwa" />
<dep model="r:00000000-0000-4000-0000-011c895903ac(jetbrains.mps.baseLanguageInternal.structure)" hash="-8h3fz2txuftple5no6tuuqf8wtsf12" />
<dep model="r:01d327ba-040c-402c-a2b6-8832116588df(jetbrains.mps.lang.plugin.plugin)" hash="7gfdmf2mgaygymp2gj53m2o7eg8e2nu" />
<dep model="r:0dff1723-c756-41af-8aa7-4cfea375b0ba(jetbrains.mps.make.facet.generator.template.main@generator)" hash="-2sq5bbgnf6joj6d1gj9golcs1sralc4" />
@@ -271,7 +271,7 @@
<dep model="r:fc76aa36-3cff-41c7-b94b-eee0e8341932(jetbrains.mps.internal.collections.runtime)" />
<file name="UIQueryRelayStrategy.java" />
</source>
- <source id="1313226109833150087" name="TextPreviewUtil" hash="-jjsued2q4zbjm7dfi11filoaroa2eq" dependsOnNodes="true">
+ <source id="1313226109833150087" name="TextPreviewUtil" hash="-79qzy928zjdvfjtqpl116haqs7v8m8e" dependsOnNodes="true">
<dep root="2956674153315665518" />
<dep model="f:java_stub#37a3367b-1fb2-44d8-aa6b-18075e74e003#com.intellij.codeHighlighting(MPS.Classpath/com.intellij.codeHighlighting@java_stub)" />
<dep model="f:java_stub#37a3367b-1fb2-44d8-aa6b-18075e74e003#com.intellij.ide(MPS.Classpath/com.intellij.ide@java_stub)" />
@@ -56,7 +56,7 @@ public void run() {
FileEditorManager.getInstance(context.getProject()).openTextEditor(new OpenFileDescriptor(context.getProject(), tfile), true);
}
});
- ProjectPane.getInstance(context.getProject()).rebuildTree();
+ ProjectPane.getInstance(context.getProject()).rebuild();
}
} catch (InterruptedException ignore) {
} catch (ExecutionException ignore) {
@@ -552,7 +552,7 @@
<nodeInfo nodeId="8610665572788515929" fileName="TextPreviewUtil.java" startLine="51" startPosition="0" endLine="52" endPosition="238" conceptFqName="jetbrains.mps.baseLanguage.structure.LocalVariableDeclarationStatement" />
<nodeInfo nodeId="914579014970970212" fileName="TextPreviewUtil.java" startLine="52" startPosition="238" endLine="53" endPosition="0" conceptFqName="jetbrains.mps.baseLanguage.structure.Statement" />
<nodeInfo nodeId="8610665572788515953" fileName="TextPreviewUtil.java" startLine="55" startPosition="33" endLine="56" endPosition="142" conceptFqName="jetbrains.mps.baseLanguage.structure.ExpressionStatement" />
- <nodeInfo nodeId="5315783505354334493" fileName="TextPreviewUtil.java" startLine="58" startPosition="15" endLine="59" endPosition="72" conceptFqName="jetbrains.mps.baseLanguage.structure.ExpressionStatement" />
+ <nodeInfo nodeId="5315783505354334493" fileName="TextPreviewUtil.java" startLine="58" startPosition="15" endLine="59" endPosition="68" conceptFqName="jetbrains.mps.baseLanguage.structure.ExpressionStatement" />
<nodeInfo nodeId="1313226109833150089" fileName="TextPreviewUtil.java" startLine="30" startPosition="30" endLine="32" endPosition="3" conceptFqName="jetbrains.mps.baseLanguage.structure.ConstructorDeclaration" propertyString="TextPreviewUtil#()V" />
<nodeInfo nodeId="3257444691069125372" fileName="TextPreviewUtil.java" startLine="37" startPosition="82" endLine="41" endPosition="0" conceptFqName="jetbrains.mps.baseLanguage.structure.InstanceMethodDeclaration" propertyString="relayQuery#(Ljetbrains/mps/make/script/IQuery;)null" />
<nodeInfo nodeId="914579014971018371" fileName="TextPreviewUtil.java" startLine="54" startPosition="55" endLine="58" endPosition="0" conceptFqName="jetbrains.mps.baseLanguage.structure.InstanceMethodDeclaration" propertyString="run#()V" />
@@ -579,7 +579,7 @@
<varInfo nodeId="3257444691069125373" varName="query" />
</scopeInfo>
<scopeInfo nodeId="914579014971018371" fileName="TextPreviewUtil.java" startLine="54" startPosition="55" endLine="58" endPosition="0" />
- <scopeInfo nodeId="8610665572788515917" fileName="TextPreviewUtil.java" startLine="49" startPosition="37" endLine="59" endPosition="72">
+ <scopeInfo nodeId="8610665572788515917" fileName="TextPreviewUtil.java" startLine="49" startPosition="37" endLine="59" endPosition="68">
<varInfo nodeId="8610665572788515919" varName="fres" />
<varInfo nodeId="8610665572788515930" varName="tfile" />
</scopeInfo>

0 comments on commit 83418d5

Please sign in to comment.