Subversion Repositories XServices

Rev

Rev 30 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
30 brianR 1
/*
2
 *   Mylyn Connector for Serena Business Mashups
3
 * 	 Copyright 2010 Brian Rosenberger (Brutex Network)
4
 *
5
 *   Licensed under the Apache License, Version 2.0 (the "License");
6
 *   you may not use this file except in compliance with the License.
7
 *   You may obtain a copy of the License at
8
 *
9
 *       http://www.apache.org/licenses/LICENSE-2.0
10
 *
11
 *   Unless required by applicable law or agreed to in writing, software
12
 *   distributed under the License is distributed on an "AS IS" BASIS,
13
 *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
 *   See the License for the specific language governing permissions and
15
 *   limitations under the License.
16
 *
17
 *   Serena, TeamTrack and Serena Business Mashup are
18
 * 	 registered trademarks of SERENA Software Inc.
19
 */
20
package net.brutex.mylyn.sbmconnector.ui;
21
 
22
import org.eclipse.swt.layout.GridLayout;
23
import org.eclipse.swt.graphics.Point;
24
import org.eclipse.swt.widgets.Composite;
25
import org.eclipse.swt.widgets.Label;
26
import org.eclipse.swt.SWT;
27
import org.eclipse.swt.widgets.Text;
28
 
29
public class SBMQueryComposite extends Composite {
30
 
31
	private Label label = null;
32
	private Text table = null;
33
	private Text textArea = null;
34
	public SBMQueryComposite(Composite parent, int style) {
35
		super(parent, style);
36
		initialize();
37
	}
38
 
39
	private void initialize() {
40
		GridLayout gridLayout = new GridLayout();
41
		gridLayout.numColumns = 2;
42
		label = new Label(this, SWT.NONE);
43
		label.setText("Table:");
44
		table = new Text(this, SWT.BORDER);
45
		textArea = new Text(this, SWT.MULTI | SWT.WRAP | SWT.V_SCROLL);
46
		this.setLayout(gridLayout);
47
		setSize(new Point(300, 200));
48
	}
49
 
50
}