blob: b88a31a31aa755734fd8fb2c8969f1bc0e902448 [file] [log] [blame]
/*********************************************************************
* Copyright (c) 2008 The University of York.
*
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0
* which is available at https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
**********************************************************************/
package org.eclipse.epsilon.flexmi.dt.preferences;
import org.eclipse.jface.preference.PreferencePage;
import org.eclipse.jface.resource.ImageDescriptor;
import org.eclipse.swt.SWT;
import org.eclipse.swt.layout.FillLayout;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Control;
import org.eclipse.swt.widgets.Label;
import org.eclipse.ui.IWorkbench;
import org.eclipse.ui.IWorkbenchPreferencePage;
public class FlexmiRootPreferencePage extends PreferencePage implements IWorkbenchPreferencePage {
public FlexmiRootPreferencePage() {
noDefaultAndApplyButton();
}
public FlexmiRootPreferencePage(String title) {
super(title);
}
public FlexmiRootPreferencePage(String title, ImageDescriptor image) {
super(title, image);
}
@Override
public void init(IWorkbench workbench) {
}
@Override
protected Control createContents(Composite parent) {
Composite comp = new Composite(parent, SWT.NULL);
comp.setLayout(new FillLayout());
Label l = new Label(comp, SWT.NULL);
l.setText("Preferences for the Flexmi Plugin");
return comp;
}
}