mmrnmhrm.ui.preferences.pages.DeeRootPreferencePage.java Source code

Java tutorial

Introduction

Here is the source code for mmrnmhrm.ui.preferences.pages.DeeRootPreferencePage.java

Source

/*******************************************************************************
 * Copyright (c) 2008, 2011 IBM Corporation 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:
 *     Bruno Medeiros - initial API and implementation
 *******************************************************************************/
package mmrnmhrm.ui.preferences.pages;

import mmrnmhrm.ui.DeePlugin;

import org.eclipse.jface.preference.PreferencePage;
import org.eclipse.swt.SWT;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Control;
import org.eclipse.ui.IWorkbench;
import org.eclipse.ui.IWorkbenchPreferencePage;

/**
 * The root preference page for DDT 
 */
public class DeeRootPreferencePage extends PreferencePage implements IWorkbenchPreferencePage {

    public DeeRootPreferencePage() {
        setPreferenceStore(DeePlugin.getPrefStore());
        setDescription("General DDT preferences");
    }

    @Override
    public void init(IWorkbench workbench) {
        // Nothing to do
    }

    @Override
    protected Control createContents(Composite parent) {
        Composite content = new Composite(parent, SWT.NONE);
        return content;
    }

}