Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 305782
Collapse All | Expand All

(-)META-INF/MANIFEST.MF (-2 / +7 lines)
Lines 11-23 Link Here
11
 org.junit,
11
 org.junit,
12
 org.eclipse.mylyn.commons.core,
12
 org.eclipse.mylyn.commons.core,
13
 org.eclipse.mylyn.commons.net,
13
 org.eclipse.mylyn.commons.net,
14
 org.eclipse.mylyn.commons.notifications,
14
 org.eclipse.mylyn.commons.ui,
15
 org.eclipse.mylyn.commons.ui,
16
 org.eclipse.mylyn.commons.screenshots,
17
 org.eclipse.mylyn.commons.team,
15
 org.eclipse.mylyn.commons.xmlrpc,
18
 org.eclipse.mylyn.commons.xmlrpc,
16
 org.apache.xmlrpc
19
 org.apache.xmlrpc
17
Export-Package: org.eclipse.mylyn.commons.tests;x-internal:=true,
20
Export-Package: org.eclipse.mylyn.commons.core;x-internal:=true,
21
 org.eclipse.mylyn.commons.tests;x-internal:=true,
18
 org.eclipse.mylyn.commons.tests.manual;x-internal:=true,
22
 org.eclipse.mylyn.commons.tests.manual;x-internal:=true,
19
 org.eclipse.mylyn.commons.tests.net;x-internal:=true,
23
 org.eclipse.mylyn.commons.tests.net;x-internal:=true,
20
 org.eclipse.mylyn.commons.tests.support;x-internal:=true,
24
 org.eclipse.mylyn.commons.tests.support;x-internal:=true,
21
 org.eclipse.mylyn.commons.tests.ui;x-internal:=true,
25
 org.eclipse.mylyn.commons.tests.ui;x-internal:=true,
22
 org.eclipse.mylyn.commons.tests.xmlrpc;x-internal:=true
26
 org.eclipse.mylyn.commons.tests.xmlrpc;x-internal:=true,
27
 org.eclipse.mylyn.commons.ui.screenshots;x-internal:=true
23
Bundle-Vendor: Eclipse Mylyn
28
Bundle-Vendor: Eclipse Mylyn
(-)build.properties (-1 / +2 lines)
Lines 12-17 Link Here
12
output.. = bin/
12
output.. = bin/
13
bin.includes = .,\
13
bin.includes = .,\
14
               META-INF/,\
14
               META-INF/,\
15
               about.html
15
               about.html,\
16
               plugin.xml
16
src.includes = about.html
17
src.includes = about.html
17
jre.compilation.profile = J2SE-1.5
18
jre.compilation.profile = J2SE-1.5
(-)plugin.xml (+14 lines)
Added Link Here
1
<?xml version="1.0" encoding="UTF-8"?>
2
<?eclipse version="3.4"?>
3
<plugin>
4
   <extension
5
         point="org.eclipse.ui.views">
6
      <view
7
            class="org.eclipse.mylyn.commons.ui.screenshots.ScreenshotView"
8
            id="org.eclipse.mylyn.commons.tests.view.Screenshot"
9
            name="Screenshot"
10
            restorable="true">
11
      </view>
12
   </extension>
13
14
</plugin>
(-)src/org/eclipse/mylyn/commons/ui/screenshots/ScreenshotView.java (+35 lines)
Added Link Here
1
/*******************************************************************************
2
 * Copyright (c) 2010 Tasktop Technologies and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 *
8
 * Contributors:
9
 *     Tasktop Technologies - initial API and implementation
10
 *******************************************************************************/
11
12
package org.eclipse.mylyn.commons.ui.screenshots;
13
14
import org.eclipse.swt.SWT;
15
import org.eclipse.swt.widgets.Composite;
16
import org.eclipse.ui.part.ViewPart;
17
18
/**
19
 * @author Steffen
20
 */
21
public class ScreenshotView extends ViewPart {
22
23
	private ScreenshotViewer viewer;
24
25
	@Override
26
	public void createPartControl(Composite parent) {
27
		viewer = new ScreenshotViewer(parent, SWT.NONE);
28
	}
29
30
	@Override
31
	public void setFocus() {
32
		viewer.getControl().setFocus();
33
	}
34
35
}

Return to bug 305782