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
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
;
30 public class DBPreferencePage
extends TadpoleDefaulPreferencePage
implements IWorkbenchPreferencePage
{
32 public DBPreferencePage() {
37 * @wbp.parser.constructor
39 public DBPreferencePage(String title
) {
43 public DBPreferencePage(String title
, ImageDescriptor image
) {
48 public void init(IWorkbench workbench
) {
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
);