prantl.ant.eclipse
Class GeneralPreferencesElement

java.lang.Object
  extended by prantl.ant.eclipse.PreferencesElement
      extended by prantl.ant.eclipse.GeneralPreferencesElement

public class GeneralPreferencesElement
extends PreferencesElement

Configures a component preferences file under the directory .settings on the low level - allowing to define the variables directly.

Since:
Ant-Eclipse 1.0
Author:
Ferdinand Prantl <prantl@users.sourceforge.net>

Constructor Summary
GeneralPreferencesElement(SettingsElement parent)
          Creates a new instance of the element for a general preferences under the settings element.
 
Method Summary
 VariableElement createVariable()
          Adds a definition of a new variable element.
 void setName(java.lang.String value)
          Sets the name of the file with preferences.
 
Methods inherited from class prantl.ant.eclipse.PreferencesElement
getName, getVariables, getVersion, setVersion, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeneralPreferencesElement

public GeneralPreferencesElement(SettingsElement parent)
Creates a new instance of the element for a general preferences under the settings element.

Parameters:
parent - The parent settings element of this preferences one.
Since:
Ant-Eclipse 1.0
Method Detail

setName

public void setName(java.lang.String value)
Sets the name of the file with preferences.

Parameters:
value - A name of the file with preferences.
Since:
Ant-Eclipse 1.0

createVariable

public VariableElement createVariable()
Adds a definition of a new variable element.

Returns:
A definition of a new variable element.
Since:
Ant-Eclipse 1.0