1 9 package de.loskutov.bco.preferences; 10 11 import org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer; 12 import org.eclipse.jface.preference.IPreferenceStore; 13 14 import de.loskutov.bco.BytecodeOutlinePlugin; 15 16 20 public class BCOPreferenceInitializer extends AbstractPreferenceInitializer { 21 22 25 public void initializeDefaultPreferences() { 26 IPreferenceStore store = BytecodeOutlinePlugin.getDefault().getPreferenceStore(); 27 store.setDefault(BCOConstants.LINK_VIEW_TO_EDITOR, true); 28 store.setDefault(BCOConstants.SHOW_ONLY_SELECTED_ELEMENT, true); 29 30 store.setDefault(BCOConstants.SHOW_RAW_BYTECODE, false); 31 32 store.setDefault(BCOConstants.SHOW_ASMIFIER_CODE, false); 33 store.setDefault(BCOConstants.SHOW_ANALYZER, false); 34 35 store.setDefault(BCOConstants.SHOW_VARIABLES, true); 36 store.setDefault(BCOConstants.SHOW_LINE_INFO, true); 37 38 store.setDefault(BCOConstants.SHOW_STACKMAP, true); 39 store.setDefault(BCOConstants.EXPAND_STACKMAP, false); 40 store.setDefault(BCOConstants.RECALCULATE_STACKMAP, false); 41 } 42 43 } 44 | Popular Tags |