mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-05 15:25:49 +02:00
handle waitForInitCompletion() cases
This commit is contained in:
parent
83bd97bcdf
commit
f9470bfb50
1 changed files with 6 additions and 1 deletions
|
@ -675,11 +675,16 @@ public class SystemTableViewPart extends ViewPart
|
|||
public IStatus run(final IProgressMonitor monitor)
|
||||
{
|
||||
try {
|
||||
RSECorePlugin.waitForInitCompletion();
|
||||
IStatus wstatus = RSECorePlugin.waitForInitCompletion();
|
||||
if (!wstatus.isOK()){
|
||||
return wstatus;
|
||||
}
|
||||
}
|
||||
catch (InterruptedException e){
|
||||
return Status.CANCEL_STATUS;
|
||||
}
|
||||
|
||||
|
||||
final IMemento memento = _rmemento;
|
||||
String profileId = memento.getString(TAG_TABLE_VIEW_PROFILE_ID);
|
||||
String connectionId = memento.getString(TAG_TABLE_VIEW_CONNECTION_ID);
|
||||
|
|
Loading…
Add table
Reference in a new issue