prantl.ant.eclipse
Class SettingsElement

java.lang.Object
  extended by prantl.ant.eclipse.SettingsElement

public class SettingsElement
extends java.lang.Object

Configures components creating their preference files under under the directory .settings. The attributes name of all elements for components describing preferences must be distinct.

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

Constructor Summary
SettingsElement()
          Creates a new instance of the settings element.
 
Method Summary
 GeneralPreferencesElement createGeneral()
          Adds a definition of the general preferences element.
 OrgEclipseJdtCorePreferencesElement createJdtCore()
          Adds a definition of the convenience preferences element specific for the package org.eclipse.jdt.core.
 OrgEclipseJdtUiPreferencesElement createJdtUi()
          Adds a definition of the convenience preferences element specific for the package org.eclipse.jdt.ui.
 OrgEclipseCoreResourcesPreferencesElement createResources()
          Adds a definition of the convenience preferences element specific for the package org.eclipse.core.resources.
 OrgEclipseCoreRuntimePreferencesElement createRuntime()
          Adds a definition of the convenience preferences element specific for the package org.eclipse.core.runtime.
 java.util.Vector getPreferences()
          Returns a list with instances of the descendants of the class PreferencesElement describing files <full qualified class name> under the directory .settings.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SettingsElement

public SettingsElement()
Creates a new instance of the settings element.

Since:
Ant-Eclipse 1.0
Method Detail

getPreferences

public java.util.Vector getPreferences()
Returns a list with instances of the descendants of the class PreferencesElement describing files <full qualified class name> under the directory .settings. If it is empty nothing happens.

Returns:
A list with instances of the descendants of the class PreferencesElement.

createGeneral

public GeneralPreferencesElement createGeneral()
Adds a definition of the general preferences element.

Returns:
A definition of the general preferences element.
Since:
Ant-Eclipse 1.0

createResources

public OrgEclipseCoreResourcesPreferencesElement createResources()
Adds a definition of the convenience preferences element specific for the package org.eclipse.core.resources.

Returns:
A definition of the convenience preferences element specific for the package org.eclipse.core.resources.
Since:
Ant-Eclipse 1.0

createRuntime

public OrgEclipseCoreRuntimePreferencesElement createRuntime()
Adds a definition of the convenience preferences element specific for the package org.eclipse.core.runtime.

Returns:
A definition of the convenience preferences element specific for the package org.eclipse.core.runtime.
Since:
Ant-Eclipse 1.0

createJdtCore

public OrgEclipseJdtCorePreferencesElement createJdtCore()
Adds a definition of the convenience preferences element specific for the package org.eclipse.jdt.core.

Returns:
A definition of the convenience preferences element specific for the package org.eclipse.jdt.core.
Since:
Ant-Eclipse 1.0

createJdtUi

public OrgEclipseJdtUiPreferencesElement createJdtUi()
Adds a definition of the convenience preferences element specific for the package org.eclipse.jdt.ui.

Returns:
A definition of the convenience preferences element specific for the package org.eclipse.jdt.ui.
Since:
Ant-Eclipse 1.0