prantl.ant.eclipse
Class OrgEclipseJdtCorePreferencesElement

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

public class OrgEclipseJdtCorePreferencesElement
extends PreferencesElement

Configures the component preferences file .settings/org.eclipse.jdt.core.prefs on the high level using attributes for the typical constellations of variable values.

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

Constructor Summary
OrgEclipseJdtCorePreferencesElement(SettingsElement parent)
          Creates a new instance of the element for the file with preferences for org.eclipse.jdt.core.
 
Method Summary
 java.lang.String getCompilerCompliance()
          Returns the line separator (default is inherited from the workspace settings and not set here in the file).
 void setCompilerCompliance(java.lang.String value)
          Sets the version of the Eclipse preferences.
 void validate()
          Performs the validation of the element at the time when the whole build file was parsed checking the content of the element and possibly adding mandatory variables with default settings.
 
Methods inherited from class prantl.ant.eclipse.PreferencesElement
getName, getVariables, getVersion, setVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OrgEclipseJdtCorePreferencesElement

public OrgEclipseJdtCorePreferencesElement(SettingsElement parent)
Creates a new instance of the element for the file with preferences for org.eclipse.jdt.core.

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

getCompilerCompliance

public java.lang.String getCompilerCompliance()
Returns the line separator (default is inherited from the workspace settings and not set here in the file).

Returns:
The line separator (default is inherited from the workspace settings and not set here in the file).

setCompilerCompliance

public void setCompilerCompliance(java.lang.String value)
Sets the version of the Eclipse preferences. The default value should be left and not set explicitely.

Parameters:
value - A valid line separator.
Since:
Ant-Eclipse 1.0

validate

public void validate()
Performs the validation of the element at the time when the whole build file was parsed checking the content of the element and possibly adding mandatory variables with default settings.

Overrides:
validate in class PreferencesElement
Since:
Ant-Eclipse 1.0