1 11 12 package org.eclipse.jface.text.formatter; 13 14 import java.util.Map ; 15 16 import org.eclipse.jface.preference.IPreferenceStore; 17 18 25 public interface IFormattingContext { 26 27 33 void dispose(); 34 35 41 String [] getPreferenceKeys(); 42 43 51 Object getProperty(Object key); 52 53 61 boolean isBooleanPreference(String key); 62 63 71 boolean isDoublePreference(String key); 72 73 81 boolean isFloatPreference(String key); 82 83 91 boolean isIntegerPreference(String key); 92 93 101 boolean isLongPreference(String key); 102 103 111 boolean isStringPreference(String key); 112 113 126 void mapToStore(Map map, IPreferenceStore store); 127 128 137 void setProperty(Object key, Object property); 138 139 155 void storeToMap(IPreferenceStore store, Map map, boolean useDefault); 156 } 157 | Popular Tags |