/* * Copyright (c) 2006, 2009 Borland Software 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: * Borland Software Corporation - initial API and implementation */ package org.eclipse.gmf.graphdef.editor.preferences; import org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer; import org.eclipse.gmf.graphdef.editor.part.GMFGraphDiagramEditorPlugin; import org.eclipse.jface.preference.IPreferenceStore; /** * @generated */ public class DiagramPreferenceInitializer extends AbstractPreferenceInitializer { /** * @generated */ public void initializeDefaultPreferences() { IPreferenceStore store = getPreferenceStore(); DiagramGeneralPreferencePage.initDefaults(store); DiagramAppearancePreferencePage.initDefaults(store); DiagramConnectionsPreferencePage.initDefaults(store); DiagramPrintingPreferencePage.initDefaults(store); DiagramRulersAndGridPreferencePage.initDefaults(store); } /** * @generated */ protected IPreferenceStore getPreferenceStore() { return GMFGraphDiagramEditorPlugin.getInstance().getPreferenceStore(); } }