prantl.ant.eclipse
Class OrgEclipseCoreRuntimePreferencesElement

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

public class OrgEclipseCoreRuntimePreferencesElement
extends PreferencesElement

Configures the component preferences file .settings/org.eclipse.core.runtime.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
OrgEclipseCoreRuntimePreferencesElement(SettingsElement parent)
          Creates a new instance of the element for the file with preferences for org.eclipse.core.runtime.
 
Method Summary
 java.lang.String getLineSeparator()
          Returns the line separator (default is inherited from the workspace settings and not set here in the file).
 void setLineSeparator(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

OrgEclipseCoreRuntimePreferencesElement

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

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

getLineSeparator

public java.lang.String getLineSeparator()
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).

setLineSeparator

public void setLineSeparator(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