43 lines
1.3 KiB
Java
43 lines
1.3 KiB
Java
/*******************************************************************************
|
|
* Copyright (c) 2015 MINRES Technologies GmbH 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:
|
|
* MINRES Technologies GmbH - initial API and implementation
|
|
*******************************************************************************/
|
|
package com.minres.scviewer.e4.application.preferences;
|
|
|
|
import org.eclipse.jface.preference.BooleanFieldEditor;
|
|
import org.eclipse.jface.preference.FieldEditorPreferencePage;
|
|
|
|
import com.minres.scviewer.e4.application.Messages;
|
|
|
|
|
|
/**
|
|
* The Class SCViewerPreferencesPage showing the SCViewer top preferences.
|
|
*/
|
|
public class SCViewerPreferencesPage extends FieldEditorPreferencePage {
|
|
|
|
/**
|
|
* Instantiates a new SC viewer preferences page.
|
|
*/
|
|
public SCViewerPreferencesPage() {
|
|
super(GRID);
|
|
}
|
|
|
|
/* (non-Javadoc)
|
|
* @see org.eclipse.jface.preference.FieldEditorPreferencePage#createFieldEditors()
|
|
*/
|
|
@Override
|
|
protected void createFieldEditors() {
|
|
|
|
addField(new BooleanFieldEditor(PreferenceConstants.DATABASE_RELOAD, Messages.SCViewerPreferencesPage_0,
|
|
getFieldEditorParent()));
|
|
|
|
}
|
|
|
|
}
|