/******************************************************************************* | |
* Copyright (c) 2016 KPIT Technologies. | |
* | |
* All rights reserved. This program and the accompanying materials | |
* are made available under the terms of the Eclipse Public License v2.0 | |
* which accompanies this distribution, and is available at | |
* https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.html | |
* | |
* SPDX-License-Identifier: EPL-2.0 | |
* | |
* Contributors: | |
* Jan Mauersberger- initial API and implementation | |
* Sascha Baumgart- initial API and implementation | |
*******************************************************************************/ | |
/* | |
* | |
*/ | |
package org.eclipse.opencert.vocabulary.diagram.preferences; | |
import org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer; | |
import org.eclipse.jface.preference.IPreferenceStore; | |
import org.eclipse.opencert.vocabulary.diagram.part.VocabularyDiagramEditorPlugin; | |
/** | |
* @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 VocabularyDiagramEditorPlugin.getInstance().getPreferenceStore(); | |
} | |
} |