1 | /* |
2 | * Copyright 2007, IPD, SDQ, University of Karlsruhe |
3 | */ |
4 | package de.uka.ipd.sdq.pcm.gmf.repository.preferences; |
5 | |
6 | import org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer; |
7 | import org.eclipse.jface.preference.IPreferenceStore; |
8 | |
9 | import de.uka.ipd.sdq.pcm.gmf.repository.part.PalladioComponentModelRepositoryDiagramEditorPlugin; |
10 | |
11 | /** |
12 | * @generated |
13 | */ |
14 | public class DiagramPreferenceInitializer extends AbstractPreferenceInitializer { |
15 | |
16 | /** |
17 | * @generated |
18 | */ |
19 | public void initializeDefaultPreferences() { |
20 | IPreferenceStore store = getPreferenceStore(); |
21 | DiagramGeneralPreferencePage.initDefaults(store); |
22 | DiagramAppearancePreferencePage.initDefaults(store); |
23 | DiagramConnectionsPreferencePage.initDefaults(store); |
24 | DiagramPrintingPreferencePage.initDefaults(store); |
25 | DiagramRulersAndGridPreferencePage.initDefaults(store); |
26 | |
27 | } |
28 | |
29 | /** |
30 | * @generated |
31 | */ |
32 | protected IPreferenceStore getPreferenceStore() { |
33 | return PalladioComponentModelRepositoryDiagramEditorPlugin |
34 | .getInstance().getPreferenceStore(); |
35 | } |
36 | } |