<!ELEMENT extension (toStringGenerator+)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
<!ELEMENT toStringGenerator (toStringTemplateParser)?>
<!ATTLIST toStringGenerator
id CDATA #REQUIRED
name CDATA #REQUIRED
class CDATA #REQUIRED>
org.eclipse.jdt.ui.tostringgeneration.IToStringGenerator
with a zero-argument constructor.<!ELEMENT toStringTemplateParser EMPTY>
<!ATTLIST toStringTemplateParser
class CDATA #REQUIRED>
org.eclipse.jdt.ui.tostringgeneration.IToStringTemplateParser
with a zero-argument constructor. This class will be used to parse format templates instead of org.eclipse.jdt.ui.tostringgeneration.DefaultToStringTemplateParser
.
<extension point="org.eclipse.jdt.ui.javaToStringGenerator"> <toStringGenerator class="com.examples.MyToStringGenerator" id="myToStringGenerator" name="The new style"> <toStringTemplateParser class="com.examples.MyToStringTemplateParser"> </toStringTemplateParser> </toStringGenerator> </extension>
org.gsoc.eclipse.tostringgenerator.IToStringGenerator
. The optional parser must implement org.gsoc.eclipse.tostringgenerator.IToStringTemplateParser
.
org.eclipse.jdt.ui.tostringgeneration.AbstractToStringGenerator
implements most of the common functionality for toString() generators. See its subclasses for more examples.org.eclipse.jdt.ui.tostringgeneration.DefaultToStringTemplateParser
is a default implementation of a toString() template parser.
Copyright (c) 2008 Mateusz Matela 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