<!ELEMENT extension (problem* , solution*)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
<!ELEMENT problem (reference*)>
<!ATTLIST problem
id CDATA #REQUIRED
description CDATA #REQUIRED
mailto CDATA #IMPLIED>
Definition of a problem within the problem reporting mechanism. This problem afterwards corresponds to an IProblem-implementation.
problem, followed by the domain of the problem, followed by a name for the problem. An example would be eu.geclipse.core.problem.net.connectionFailed or eu.geclipse.core.problem.auth.authenticationFailed. This ID is also used in the reference tags of a solution for back-referencing problems.<!ELEMENT solution ((cheatsheetTag | helpTag | preferenceTag | urlTag | viewTag | wizardTag)? , reference*)>
<!ATTLIST solution
id CDATA #REQUIRED
description CDATA #REQUIRED
solver CDATA #IMPLIED>
Definition of a solution within the problem reporting mechanism. This problem afterwards corresponds to an ISolution-implementation. If neither a solver nor a solving tag is present the solution will be passive and will only consist of a descriptive text. If both a solver and a solving tag are present the tag is ignored in favour of the solver.
solution, followed by the domain of the solution, followed by a name for the solution. An example would be eu.geclipse.core.solution.net.checkProxySettings or eu.geclipse.core.solution.auth.checkCertificateLifetime. This ID is also used in the reference tags of a problem for referencing solutions.ISolver in order to provide dedicated problem solving strategies. If a solver is specified any existing solving tag will be ignored.<!ELEMENT reference EMPTY>
<!ATTLIST reference
referenceID CDATA #REQUIRED>
A reference element that may either be used to reference attached solutions from within a problem or to back-reference problems from within a solution. Therefore it is both possible to provide problems with dedicated solutions and to provide additional solutions for already existing problems, even for third-party plug-ins.
<!ELEMENT cheatsheetTag EMPTY>
<!ATTLIST cheatsheetTag
cheatsheetID CDATA #REQUIRED>
Tag denoting a cheatsheet page solution. This tag is used for a solution that should open a specific cheatsheet page.
<!ELEMENT helpTag EMPTY>
<!ATTLIST helpTag
pagePath CDATA #REQUIRED>
Tag denoting a help page solution. This tag is used for a solution that should open a specific help page.
<!ELEMENT preferenceTag EMPTY>
<!ATTLIST preferenceTag
pageID CDATA #REQUIRED>
Tag denoting a preference page solution. This tag is used for a solution that should open a specific preference page.
Tag denoting an URL solution. This tag is used for a solution that should open a specific web page in the web browser. Multiple URLs can be opened by using several 'url' sub-elements.
<!ELEMENT viewTag EMPTY>
<!ATTLIST viewTag
viewID CDATA #REQUIRED>
Tag denoting a view solution. This tag is used for a solution that should open a specific view.
<!ELEMENT wizardTag EMPTY>
<!ATTLIST wizardTag
pageID CDATA #REQUIRED>
Tag denoting a wizard solution. This tag is used for a solution that should open a specific page of an already open wizard.
<!ELEMENT url EMPTY>
<!ATTLIST url
value CDATA #REQUIRED>
An element denoting a single webpage to open. Repeat it multiple times to open several URLs at once.
<extension point="eu.geclipse.core.reporting.problemReporting"> <problem description="Failed to establish internet connection" id="eu.geclipse.problem.net.connectionFailed" mailto="bugreports@geclipse.eu"> <reference referenceID="eu.geclipse.solution.net.checkInternetConnection"> </reference> <reference referenceID="eu.geclipse.solution.net.checkProxySettings"> </reference> <reference referenceID="eu.geclipse.solution.net.followGettingStarted"> </reference> <reference referenceID="eu.geclipse.solution.net.openPrerequisitesHelp"> </reference> </problem> <solution description="Check your internet connection" id="eu.geclipse.solution.net.checkInternetConnection"> </solution> <solution description="Check your proxy settings" id="eu.geclipse.solution.net.checkProxySettings"> <propertiesTag pageID="org.eclipse.ui.net.NetPreferences"> </propertiesTag> </solution> <solution description="Follow the 'Getting started' tutorial" id="eu.geclipse.solution.net.followGettingStarted"> <cheatsheetTag cheatsheetID="eu.geclipse.doc.user.gettingStarted"> </cheatsheetTag> </solution> <solution description="Read the introductory help" id="eu.geclipse.solution.net.openPrerequisitesHelp"> <helpTag pagePath="/eu.geclipse.doc.user/html/gettingstarted/prerequisites.html"> </helpTag> </solution> </extension>
Copyright (c) 2006, 2007 g-Eclipse Consortium
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.
Initial development of the original code was made for the g-Eclipse project founded by European Union project number: FP6-IST-034327 http://www.geclipse.eu.