Community
Participate
Working Groups
The screenshot component is tightly coupled to a wizard page. To improve reusability it should be moved to a separate plug-in and decoupled from the wizard page.
Committed a new plug-in org.eclipse.mylyn.commons.screenshots that provides a generic screenshot component. The component provides API for listening to state changes and to create an image: viewer = new ScreenshotViewer(parent, SWT.BORDER | SWT.FLAT) { @Override protected void stateChanged() { if (isComplete()) { // update UI } } }; // ... viewer.createImage(); Please comment here if you need additional API.