Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 177671 Details for
Bug 305782
restructure Mylyn Commons features
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
extension that embeds screenshot viewer in view
clipboard.txt (text/plain), 3.93 KB, created by
Steffen Pingel
on 2010-08-28 23:30:25 EDT
(
hide
)
Description:
extension that embeds screenshot viewer in view
Filename:
MIME Type:
Creator:
Steffen Pingel
Created:
2010-08-28 23:30:25 EDT
Size:
3.93 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.mylyn.commons.tests >Index: META-INF/MANIFEST.MF >=================================================================== >RCS file: /cvsroot/tools/org.eclipse.mylyn/org.eclipse.mylyn.commons.tests/META-INF/MANIFEST.MF,v >retrieving revision 1.18 >diff -u -r1.18 MANIFEST.MF >--- META-INF/MANIFEST.MF 26 Jun 2010 07:37:38 -0000 1.18 >+++ META-INF/MANIFEST.MF 29 Aug 2010 03:29:33 -0000 >@@ -11,13 +11,18 @@ > org.junit, > org.eclipse.mylyn.commons.core, > org.eclipse.mylyn.commons.net, >+ org.eclipse.mylyn.commons.notifications, > org.eclipse.mylyn.commons.ui, >+ org.eclipse.mylyn.commons.screenshots, >+ org.eclipse.mylyn.commons.team, > org.eclipse.mylyn.commons.xmlrpc, > org.apache.xmlrpc >-Export-Package: org.eclipse.mylyn.commons.tests;x-internal:=true, >+Export-Package: org.eclipse.mylyn.commons.core;x-internal:=true, >+ org.eclipse.mylyn.commons.tests;x-internal:=true, > org.eclipse.mylyn.commons.tests.manual;x-internal:=true, > org.eclipse.mylyn.commons.tests.net;x-internal:=true, > org.eclipse.mylyn.commons.tests.support;x-internal:=true, > org.eclipse.mylyn.commons.tests.ui;x-internal:=true, >- org.eclipse.mylyn.commons.tests.xmlrpc;x-internal:=true >+ org.eclipse.mylyn.commons.tests.xmlrpc;x-internal:=true, >+ org.eclipse.mylyn.commons.ui.screenshots;x-internal:=true > Bundle-Vendor: Eclipse Mylyn >Index: build.properties >=================================================================== >RCS file: /cvsroot/tools/org.eclipse.mylyn/org.eclipse.mylyn.commons.tests/build.properties,v >retrieving revision 1.3 >diff -u -r1.3 build.properties >--- build.properties 24 Jul 2009 12:03:34 -0000 1.3 >+++ build.properties 29 Aug 2010 03:29:33 -0000 >@@ -12,6 +12,7 @@ > output.. = bin/ > bin.includes = .,\ > META-INF/,\ >- about.html >+ about.html,\ >+ plugin.xml > src.includes = about.html > jre.compilation.profile = J2SE-1.5 >Index: plugin.xml >=================================================================== >RCS file: plugin.xml >diff -N plugin.xml >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ plugin.xml 1 Jan 1970 00:00:00 -0000 >@@ -0,0 +1,14 @@ >+<?xml version="1.0" encoding="UTF-8"?> >+<?eclipse version="3.4"?> >+<plugin> >+ <extension >+ point="org.eclipse.ui.views"> >+ <view >+ class="org.eclipse.mylyn.commons.ui.screenshots.ScreenshotView" >+ id="org.eclipse.mylyn.commons.tests.view.Screenshot" >+ name="Screenshot" >+ restorable="true"> >+ </view> >+ </extension> >+ >+</plugin> >Index: src/org/eclipse/mylyn/commons/ui/screenshots/ScreenshotView.java >=================================================================== >RCS file: src/org/eclipse/mylyn/commons/ui/screenshots/ScreenshotView.java >diff -N src/org/eclipse/mylyn/commons/ui/screenshots/ScreenshotView.java >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ src/org/eclipse/mylyn/commons/ui/screenshots/ScreenshotView.java 1 Jan 1970 00:00:00 -0000 >@@ -0,0 +1,35 @@ >+/******************************************************************************* >+ * Copyright (c) 2010 Tasktop Technologies and others. >+ * All rights reserved. This program and the accompanying materials >+ * are made available under the terms of the Eclipse Public License v1.0 >+ * which accompanies this distribution, and is available at >+ * http://www.eclipse.org/legal/epl-v10.html >+ * >+ * Contributors: >+ * Tasktop Technologies - initial API and implementation >+ *******************************************************************************/ >+ >+package org.eclipse.mylyn.commons.ui.screenshots; >+ >+import org.eclipse.swt.SWT; >+import org.eclipse.swt.widgets.Composite; >+import org.eclipse.ui.part.ViewPart; >+ >+/** >+ * @author Steffen >+ */ >+public class ScreenshotView extends ViewPart { >+ >+ private ScreenshotViewer viewer; >+ >+ @Override >+ public void createPartControl(Composite parent) { >+ viewer = new ScreenshotViewer(parent, SWT.NONE); >+ } >+ >+ @Override >+ public void setFocus() { >+ viewer.getControl().setFocus(); >+ } >+ >+}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 305782
:
177670
| 177671