Class CDefaultLanguageData
java.lang.Object
org.eclipse.cdt.core.settings.model.extension.CDataObject
org.eclipse.cdt.core.settings.model.extension.CLanguageData
org.eclipse.cdt.core.settings.model.extension.impl.CDefaultLanguageData
- All Implemented Interfaces:
ICSettingBase
- Direct Known Subclasses:
EntryStorageBasedLanguageData
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String[]
protected String
protected boolean
protected String
protected String
protected String[]
protected String[]
protected EntryStore
protected int
protected static final int
Deprecated.protected static final int
Deprecated.Fields inherited from interface org.eclipse.cdt.core.settings.model.ICSettingBase
SETTING_BUILD, SETTING_CONFIGURATION, SETTING_FILE, SETTING_FOLDER, SETTING_LANGUAGE, SETTING_PROJECT, SETTING_TARGET_PLATFORM
-
Constructor Summary
ModifierConstructorDescriptionprotected
CDefaultLanguageData
(String id, String languageId, String[] ids, boolean isContentTypes) CDefaultLanguageData
(String id, CLanguageData base) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected EntryStore
protected EntryStore
createStore
(CLanguageData data) getEntries
(int kind) protected ICLanguageSettingEntry[]
getEntriesToCopy
(int kind, CLanguageData lData) getId()
getName()
String[]
String[]
int
boolean
boolean
isValid()
protected ICLanguageSettingEntry[]
processStoredEntries
(ICLanguageSettingEntry[] entries, int op) This method is overridden inCLanguageSettingCache
to ensure the entries are cached withCDataUtil
pool.void
setEntries
(int kind, ICLanguageSettingEntry[] entries) void
setLanguageId
(String id) void
setModified
(boolean modified) void
setSourceContentTypeIds
(String[] ids) void
setSourceExtensions
(String[] exts) Methods inherited from class org.eclipse.cdt.core.settings.model.extension.CLanguageData
containsDiscoveredScannerInfo, getType
Methods inherited from class org.eclipse.cdt.core.settings.model.extension.CDataObject
toString
-
Field Details
-
OP_COPY
Deprecated.- See Also:
-
OP_SET
Deprecated.- See Also:
-
fName
-
fId
-
fLanguageId
-
fSupportedKinds
protected int fSupportedKinds -
fSourceContentTypeIds
-
fSourceExts
-
fStore
-
EMPTY_STRING_ARRAY
-
fIsModified
protected boolean fIsModified
-
-
Constructor Details
-
CDefaultLanguageData
protected CDefaultLanguageData() -
CDefaultLanguageData
-
CDefaultLanguageData
-
-
Method Details
-
copySettingsFrom
-
createStore
-
getEntriesToCopy
-
processStoredEntries
This method is overridden inCLanguageSettingCache
to ensure the entries are cached withCDataUtil
pool. -
createStore
-
getName
- Specified by:
getName
in classCDataObject
-
getId
- Specified by:
getId
in classCDataObject
-
isValid
public boolean isValid()- Specified by:
isValid
in classCDataObject
-
getLanguageId
- Specified by:
getLanguageId
in classCLanguageData
-
setLanguageId
- Specified by:
setLanguageId
in classCLanguageData
-
getSourceContentTypeIds
- Specified by:
getSourceContentTypeIds
in classCLanguageData
-
getSourceExtensions
- Specified by:
getSourceExtensions
in classCLanguageData
-
getSupportedEntryKinds
public int getSupportedEntryKinds()- Specified by:
getSupportedEntryKinds
in classCLanguageData
-
setEntries
- Specified by:
setEntries
in classCLanguageData
-
getEntries
- Specified by:
getEntries
in classCLanguageData
-
setSourceContentTypeIds
- Specified by:
setSourceContentTypeIds
in classCLanguageData
-
setSourceExtensions
- Specified by:
setSourceExtensions
in classCLanguageData
-
isModified
public boolean isModified() -
setModified
public void setModified(boolean modified)
-