<!ELEMENT extension (indicator+ , group+)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
<!ELEMENT indicator (preferencePage+)>
<!ATTLIST indicator
id CDATA #REQUIRED
name CDATA #REQUIRED
class CDATA #REQUIRED
group CDATA #IMPLIED>
<!ELEMENT preferencePage EMPTY>
<!ATTLIST preferencePage
title CDATA #IMPLIED
description CDATA #IMPLIED
class CDATA #REQUIRED>
<!ELEMENT group EMPTY>
<!ATTLIST group
id CDATA #REQUIRED
name CDATA #REQUIRED>
<extension point=
"net.sourceforge.eclipsetrader.charts.indicators"
>
<indicator class=
"net.sourceforge.eclipsetrader.charts.indicators.AccumulationDistribution"
id=
"net.sourceforge.eclipsetrader.indicators.ad"
name=
"Accumulation / Distribution - AD"
>
<preferencePage class=
"net.sourceforge.eclipsetrader.charts.indicators.AccumulationDistributionPreferencePage"
title=
"Accumulation / Distribution"
/>
</indicator>
</extension>
The value of the indicator's class attribute must be a fully qualified name of the class that implements net.sourceforge.eclipsetrader.charts.IIndicatorPlugin
. It is common practice to subclass net.sourceforge.eclipsetrader.charts.IndicatorPlugin
when developing a new indicator.
The value of the preferencePage's class attribute must be a fully qualified name of the class that extends net.sourceforge.eclipsetrader.charts.IndicatorPluginPreferencePage
.
Copyright © 2004-2006 Marco Maccaferri and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html