use of org.eclipse.ui.internal.e4.compatibility.CompatibilityView in project windup-eclipse-plugin by windup.
the class WindupUiTest method init.
@Before
public void init() throws CoreException {
projectProvider = workbenchBot.importProject(Activator.PLUGIN_ID, null, PROJECT, false);
openWindupPerspective();
this.issueExplorer = (IssueExplorer) ((CompatibilityView) partService.findPart(IssueExplorer.VIEW_ID).getObject()).getView();
assertNotNull("Issue Explorer is NULL.", issueExplorer);
System.out.println("@Before::init:: start MTA server.");
windupLauncher.start(new WindupServerCallbackAdapter(Display.getDefault().getActiveShell()) {
@Override
public void serverStart(IStatus status) {
if (status.isOK() && windupClient.getExecutionBuilder() != null) {
System.out.println("@Before::init:: MTA server started successfully.");
} else {
System.out.println("@Before::init:: MTA server failed to start.");
}
}
}, WindupRuntimePlugin.computeJRELocation());
}
Aggregations