1 | /* |
2 | * Copyright 2007, SDQ, IPD, U KA |
3 | */ |
4 | package de.uka.ipd.sdq.pcm.gmf.allocation.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.allocation.part.PalladioComponentModelAllocationDiagramEditorPlugin; |
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 | DiagramPrintingPreferencePage.initDefaults(store); |
22 | DiagramGeneralPreferencePage.initDefaults(store); |
23 | DiagramAppearancePreferencePage.initDefaults(store); |
24 | DiagramConnectionsPreferencePage.initDefaults(store); |
25 | DiagramRulersAndGridPreferencePage.initDefaults(store); |
26 | } |
27 | |
28 | /** |
29 | * @generated |
30 | */ |
31 | protected IPreferenceStore getPreferenceStore() { |
32 | return PalladioComponentModelAllocationDiagramEditorPlugin |
33 | .getInstance().getPreferenceStore(); |
34 | } |
35 | } |