/******************************************************************************* * Copyright (c) 2012 Sierra Wireless 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: * Sierra Wireless - initial API and implementation *******************************************************************************/ package org.eclipse.koneki.ldt.ui.internal.preferences; import org.eclipse.dltk.ui.preferences.AbstractConfigurationBlockPreferencePage; import org.eclipse.dltk.ui.preferences.IPreferenceConfigurationBlock; import org.eclipse.dltk.ui.preferences.OverlayPreferenceStore; import org.eclipse.koneki.ldt.ui.internal.Activator; public class LuaEditorSyntaxColoringPreferencePage extends AbstractConfigurationBlockPreferencePage { protected String getHelpId() { return null; } protected void setDescription() { // leave blank } protected void setPreferenceStore() { setPreferenceStore(Activator.getDefault().getPreferenceStore()); } protected IPreferenceConfigurationBlock createConfigurationBlock(OverlayPreferenceStore overlayPreferenceStore) { return new LuaEditorColoringConfigurationBlock(overlayPreferenceStore); } }