blob: 014b83c5286697406d9e8060dacd1e7ac6ea326e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
/*******************************************************************************
* Copyright (c) 2004, 2008 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:
* Eugene Kuleshov - initial API and implementation
* Tasktop Technologies - improvements
*******************************************************************************/
package org.eclipse.mylyn.internal.tasks.ui.wizards;
import org.eclipse.jface.wizard.WizardPage;
import org.eclipse.mylyn.tasks.core.ITaskMapping;
import org.eclipse.swt.SWT;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Text;
/**
* Wizard page for creating new tickets through a web browser.
*
* @author Eugene Kuleshov
* @author Mik Kersten
* @author Steffen Pingel
*/
public class NewWebTaskPage extends WizardPage {
public NewWebTaskPage(ITaskMapping taskSelection) {
super("New Task");
setTitle("Create via Web Browser");
setDescription("This will open a web browser that can be used to create a new task.\n"
+ "NOTE: you may need to log in via the web UI.");
// TODO display selection
}
public void createControl(Composite parent) {
Text text = new Text(parent, SWT.WRAP);
text.setEditable(false);
text.setText("Once submitted synchronize queries or add the task to a category.\n");
setControl(text);
}
}
|