최신버전에 맞는 타겟플렛폼 설정.
[Tadpole.git] / com.hangum.tadpole.preference / src / com / hangum / tadpole / preference / ui / TadpoleDefaulPreferencePage.java
blob8b2097bda7cf55b2308b247bf6ef37cb16fc6826
1 /*******************************************************************************
2 * Copyright (c) 2012 - 2015 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.preference.PreferencePage;
14 import org.eclipse.jface.resource.ImageDescriptor;
16 import com.hangum.tadpole.engine.query.sql.TadpoleSystem_UserInfoData;
18 /**
19 * System default preference page
21 * @author hangum
22 * @version 1.6.1
23 * @since 2015. 4. 17.
26 public abstract class TadpoleDefaulPreferencePage extends PreferencePage {
28 /**
31 public TadpoleDefaulPreferencePage() {
34 /**
35 * @param title
37 public TadpoleDefaulPreferencePage(String title) {
38 super(title);
41 /**
42 * @param title
43 * @param image
45 public TadpoleDefaulPreferencePage(String title, ImageDescriptor image) {
46 super(title, image);
49 /**
50 * encript user data
52 * @param key
53 * @param value
54 * @throws Exception
56 protected void updateEncriptInfo(String key, String value) throws Exception {
57 TadpoleSystem_UserInfoData.updateEncriptValue(key, value);
60 protected void updateInfo(String key, String value) throws Exception {
61 TadpoleSystem_UserInfoData.updateValue(key, value);