영어 문장이 길어 화면이 깨지는 것을, 두줄로 만들어서 깨지지 않도록 수정
[Tadpole.git] / com.hangum.tadpole.preference / src / com / hangum / tadpole / preference / ui / DBPreferencePage.java
blobad56072af891cbfbfeb43814054a5627ff106f80
1 /*******************************************************************************
2 * Copyright (c) 2017 hangum.
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the GNU Lesser Public License v2.1
5 * which accompanies this distribution, and is available at
6 * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
7 *
8 * Contributors:
9 * hangum - initial API and implementation
10 ******************************************************************************/
11 package com.hangum.tadpole.preference.ui;
13 import org.eclipse.jface.resource.ImageDescriptor;
14 import org.eclipse.swt.SWT;
15 import org.eclipse.swt.layout.GridLayout;
16 import org.eclipse.swt.widgets.Composite;
17 import org.eclipse.swt.widgets.Control;
18 import org.eclipse.swt.widgets.Label;
19 import org.eclipse.ui.IWorkbench;
20 import org.eclipse.ui.IWorkbenchPreferencePage;
22 import com.hangum.tadpole.preference.Messages;
24 /**
25 * DB preference page
27 * @author hangum
30 public class DBPreferencePage extends TadpoleDefaulPreferencePage implements IWorkbenchPreferencePage {
32 public DBPreferencePage() {
33 super();
36 /**
37 * @wbp.parser.constructor
39 public DBPreferencePage(String title) {
40 super(title);
43 public DBPreferencePage(String title, ImageDescriptor image) {
44 super(title, image);
47 @Override
48 public void init(IWorkbench workbench) {
51 @Override
52 protected Control createContents(Composite parent) {
53 Composite container = new Composite(parent, SWT.NULL);
54 container.setLayout(new GridLayout(12, false));
56 Label lblNewLabel = new Label(container, SWT.NONE);
57 lblNewLabel.setText(Messages.get().DatabaseSetting);
59 return container;