| Summary: | [api] provide reusable component for capturing screen shots | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Steffen Pingel <steffen.pingel> |
| Component: | Mylyn | Assignee: | Steffen Pingel <steffen.pingel> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | pascal |
| Version: | unspecified | Keywords: | plan |
| Target Milestone: | 3.5 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
|
Description
Steffen Pingel
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.
|