| Summary: | [api] Generalize screen capture UI and other common facilities for cross-project use | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Scott Lewis <slewis> | ||||
| Component: | Mylyn | Assignee: | Mik Kersten <mik.kersten> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | enhancement | ||||||
| Priority: | P1 | CC: | bokowski, mayworm, remy.suen, robert.elves, steffen.pingel, wmitsuda | ||||
| Version: | unspecified | ||||||
| Target Milestone: | 3.0 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Scott Lewis
We can certainly talk about moving this functionality into Platform UI or IDE at some point. I am not sure if we will have enough time for this in 3.4 though - could the Mylyn code be copied into ECF for now and pushed down after the 3.4 release? This way, you could at least get a consistent UI now, without also having to worry about APIs etc. Separate plugin would probably address issue with the copying code. (In reply to comment #1) > We can certainly talk about moving this functionality into Platform UI or IDE > at some point. I am not sure if we will have enough time for this in 3.4 though > - could the Mylyn code be copied into ECF for now and pushed down after the 3.4 > release? This way, you could at least get a consistent UI now, without also > having to worry about APIs etc. > We (ECF) are open to reusing the Mylyn UI code, especially in the short term, as long as it's in a separate plugin (Eugene's point in comment #2 I think), dependencies are as few as possible (i.e. not on the rest of Mylyn), and it can reasonably be used to support our use cases (i.e. serializing to a remote IM address via ECF datashare rather than to a file). screen shots of ECF's current screen capture over IM: http://wiki.eclipse.org/Screen_Captures_over_IM These shots (or usage) should give some feel for flow and desire for 'lightweight' UI. Sounds good to me. We need to make a plug-in with generic Mylyn UI facilities anyway, in order to support dependency-free reuse and easy of moving those to Platform if/when possible. The current generic UI that three has been interest in dependency-free reuse of include the following, in rough priority order: * Desktop Notification popups (bug 177974) * Screen capture (this bug) * Adaptive refresh filtered tree (org.eclipse.mylyn.internal.tasks.ui.AbstractFilteredTree) * Task editor form components (e.g. text rendering, date picking) * Composite working sets (can aggregate multiple types of elements) For Mylyn 2.3 we can create a project that holds these, but might not be done wit hthis bug until 3.0, since we may need to iterate once ECF tries it. First thing we need to do is settle on a name for the new plug-in. The best one might org.eclipse.mylyn.workbench.ui or org.eclipse.mylyn.workbench. Boris: any suggestions for naming of this plugin? Note that we don't have an org.eclipse.mylyn.ui space, but use org.eclipse.mylyn.<foo>.ui/core and have leaned away from not adding the ".ui" since some projects that started out with no need for a split have ended up split. This bug is triggering a restructuring of some of our common UI components and will need to wait until 3.0. I'm still not sure what the right name for the plug-in is. The thing that makes it even more challenging, is that some of the things that go into it could potentially find a better home elsewhere (e.g. Desktop Notification popups would be nice to have in Platform). My current thinking is that this go into a plug-in called org.eclipse.mylyn.workbench, and that the packages are either provisional or internal so that they can move without causing API breakage. This would violate our goal of making Mylyn plug-ins not use internals from other Mylyn plug-ins, but that exception might make sense in this case. It would be neat to have an option to submit screenshots to Imagebin site which is quite popular on #eclipse irc channel. See http://imagebin.org/index.php?page=add This is now done, and triggered the creation of the Mylyn Commons API: http://wiki.eclipse.org/Mylyn_Integrator_Reference#Commons_API Scott: the screenshot facility is currently embodied in a generic wizard page. It's possible to make that a more generic component, e.g. if embedding in a view or editor was desirable. Willian: note that we still need to figure out what to do about the IImageCreator interface, since it doesn't provide much right now. Once we have another client of the screenshot capture we could consider expanding on this interface, or making an abstract class, which hides some of the implementation of the screenshot capture facility while still make it possible to embed and grab contents from. Created attachment 98289 [details]
mylyn/context/zip
|