boolean enabled= JavaPlugin.getDefault().getPreferenceStore().getBoolean(PREF_COMPRESS_PACKAGE_NAMES); return enabled && getPkgNamePatternForPackagesView().length() > 0;
return isCompressingEnabled() && getPkgNamePatternForPackagesView().length() > 0;
	public static boolean isCompressingPkgNameInPackagesView() {		boolean enabled= JavaPlugin.getDefault().getPreferenceStore().getBoolean(PREF_COMPRESS_PACKAGE_NAMES);		return enabled && getPkgNamePatternForPackagesView().length() > 0;	}