Skip to content
mlabuda edited this page Feb 14, 2014 · 5 revisions

API / Abstract

  • Shell / AbstractShell

Implementation(s)

  • DefaultShell
  • WorkbenchShell
  • QuickFixDialog

Usage

DefaultShell

Look up a shell with title "Preferences"

Shell preferencesShell = new DefaultShell("Preferences");

Look up a active shell

Shell activeShell = new DefaultShell();

WorkbenchShell

Main Eclipse Workbench Shell

Get title text of workbench shell

Shell workbenchShell = new WorkbenchShell();
String titleText = workbenchShell.getText();

QuickFixDialog

Quick fix dialog is opened from Eclipse editor. QuickFixDialog is descendant of DefaultShell.

Select first quick fix in QuickFixDialog

QuickFixDialog quickFixDialog = new QuickFixDialog();
quickFixDialog.selectFix(0);
Clone this wiki locally