mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-04 06:45:43 +02:00
Clarified JavaDoc for LanguageSettingsSerializableProvider.
This commit is contained in:
parent
2f98cac092
commit
ff5cecb5f8
2 changed files with 10 additions and 6 deletions
|
@ -1,5 +1,5 @@
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
* Copyright (c) 2009, 2011 Andrew Gvozdev and others.
|
* Copyright (c) 2009, 2013 Andrew Gvozdev and others.
|
||||||
* All rights reserved. This program and the accompanying materials
|
* All rights reserved. This program and the accompanying materials
|
||||||
* are made available under the terms of the Eclipse Public License v1.0
|
* are made available under the terms of the Eclipse Public License v1.0
|
||||||
* which accompanies this distribution, and is available at
|
* which accompanies this distribution, and is available at
|
||||||
|
@ -34,8 +34,11 @@ import org.w3c.dom.NodeList;
|
||||||
/**
|
/**
|
||||||
* This class is the base class for language settings providers able to serialize
|
* This class is the base class for language settings providers able to serialize
|
||||||
* into XML storage.
|
* into XML storage.
|
||||||
* Although this class has setter methods, its instances are not editable in UI by
|
* Although this class has setter methods, by design its instances are not editable in UI
|
||||||
* design. Implement {@link ILanguageSettingsEditableProvider} interface for that.
|
* nor instances can be assigned to a configuration (cannot be global or non-shared).
|
||||||
|
* Implement {@link ILanguageSettingsEditableProvider} interface for that. There is a generic
|
||||||
|
* implementation of this interface available to be used, see {@link LanguageSettingsGenericProvider}.
|
||||||
|
*
|
||||||
* For more on the suggested way of extending this class see the description of
|
* For more on the suggested way of extending this class see the description of
|
||||||
* {@link ILanguageSettingsProvider}.
|
* {@link ILanguageSettingsProvider}.
|
||||||
*
|
*
|
||||||
|
|
|
@ -64,8 +64,9 @@
|
||||||
<attribute name="class" type="string">
|
<attribute name="class" type="string">
|
||||||
<annotation>
|
<annotation>
|
||||||
<documentation>
|
<documentation>
|
||||||
A fully qualified name of the Java class that implements <samp>org.eclipse.cdt.core.settings.model.ILanguageSettingsProvider</samp> interface. If empty, <samp>org.eclipse.cdt.core.language.settings.providers.LanguageSettingsBaseProvider</samp> is used by default which provides basic functionality defined by this extension point.
|
A fully qualified name of the Java class that implements <samp>org.eclipse.cdt.core.language.settings.providers</samp> interface. If empty, <samp>org.eclipse.cdt.core.language.settings.providers.LanguageSettingsBaseProvider</samp> is used by default which provides basic functionality defined by this extension point.<br>
|
||||||
If there is a need to configure a provider in more deliberate way, attribute <samp>parameter</samp> could be used in a class extending <samp>LanguageSettingsBaseProvider</samp>.
|
In case the provider ever needs to be non-shared, set per project/configuration, or editable in UI - the provider must implement <samp>org.eclipse.cdt.core.language.settings.providers.ILanguageSettingsEditableProvider</samp>. There is a generic implementation <samp>org.eclipse.cdt.core.language.settings.providers.LanguageSettingsGenericProvider</samp> that can be used in most cases.<br>
|
||||||
|
If there is a need to configure a provider in more deliberate way, attribute <samp>parameter</samp> could be used in a class extending <samp>LanguageSettingsBaseProvider</samp>.<br>
|
||||||
Default constructor (constructor without arguments) of this class must be public and the package be exported in order to be able to instantiate via extension point.
|
Default constructor (constructor without arguments) of this class must be public and the package be exported in order to be able to instantiate via extension point.
|
||||||
</documentation>
|
</documentation>
|
||||||
<appInfo>
|
<appInfo>
|
||||||
|
@ -265,7 +266,7 @@ For those cases where contributed settings entries (representing the compiler op
|
||||||
<meta.section type="copyright"/>
|
<meta.section type="copyright"/>
|
||||||
</appInfo>
|
</appInfo>
|
||||||
<documentation>
|
<documentation>
|
||||||
Copyright (c) 2009, 2011 Andrew Gvozdev and others.
|
Copyright (c) 2009, 2013 Andrew Gvozdev and others.
|
||||||
All rights reserved. This program and the accompanying materials
|
All rights reserved. This program and the accompanying materials
|
||||||
are made available under the terms of the Eclipse Public License v1.0
|
are made available under the terms of the Eclipse Public License v1.0
|
||||||
which accompanies this distribution, and is available at
|
which accompanies this distribution, and is available at
|
||||||
|
|
Loading…
Add table
Reference in a new issue