1 | /* |
2 | * Copyright 2009, SDQ, IPD, Uni Karlsruhe (TH) |
3 | */ |
4 | package de.uka.ipd.sdq.pcm.gmf.resource.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.resource.part.PalladioComponentModelDiagramEditorPlugin; |
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 PalladioComponentModelDiagramEditorPlugin.getInstance() |
34 | .getPreferenceStore(); |
35 | } |
36 | } |