| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
| <HEAD><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
| <link rel="stylesheet" type="text/css" href="book.css"/> |
| <link rel="stylesheet" type="text/css" href="schema.css"/> |
| </HEAD> |
| <HTML> |
| <BODY> |
| <H1><CENTER>String Variable Presentations</CENTER></H1> |
| <h6 class=CaptionFigColumn id=header>Identifier: </h6>org.eclipse.debug.ui.stringVariablePresentations<p> |
| <h6 class=CaptionFigColumn id=header>Since: </h6>2.1<p> |
| <h6 class=CaptionFigColumn id=header>Description: </h6>This extension point provides a mechanism for contributing a user interface/presentation for a string substitution variable (i.e. a context variable or value variable).<p><h6 class=CaptionFigColumn id=header>Configuration Markup:</h6></p> |
| <p class=code id=dtd> <!ELEMENT <a name="e.extension">extension</a> (<a href="#e.variablePresentation">variablePresentation</a>*)></p> |
| <br><br><p class=code id=dtd> <!ATTLIST extension</p> |
| <br><p class=code id=dtd> point CDATA #REQUIRED</p> |
| <br><p class=code id=dtd> id CDATA #IMPLIED</p> |
| <br><p class=code id=dtd> name CDATA #IMPLIED</p> |
| <br><p class=code id=dtd> ></p> |
| <ul> |
| <li><b>point</b> - a fully qualified identifier of the target extension point</li> |
| <li><b>id</b> - an optional identifier of the extension instance</li> |
| <li><b>name</b> - an optional name of the extension instance</li> |
| </ul> |
| <p class=code id=dtd> <!ELEMENT <a name="e.variablePresentation">variablePresentation</a> EMPTY></p> |
| <br><br><p class=code id=dtd> <!ATTLIST variablePresentation</p> |
| <br><p class=code id=dtd> variableName CDATA #REQUIRED</p> |
| <br><p class=code id=dtd> argumentSelector CDATA #REQUIRED</p> |
| <br><p class=code id=dtd> ></p> |
| <ul> |
| <li><b>variableName</b> - specifies the variable this presentation is for</li> |
| <li><b>argumentSelector</b> - specifies a fully qualified name of a Java class that implements IArgumentSelector</li> |
| </ul> |
| <h6 class=CaptionFigColumn id=header>Examples: </h6>The following is an example of a variable presentation contribution: |
| <pre> |
| <p class=code id=tag><extension point=<p class=code id=cstring>"org.eclipse.debug.ui.stringVariablePresentations"</p><p class=code id=tag>></p> |
| <p class=code id=tag><variablePresentation |
| variableName=<p class=code id=cstring>"example_variable"</p><p class=code id=tag> |
| argumentSelector=<p class=code id=cstring>"com.example.ExampleArgumentChooser"</p><p class=code id=tag>></p> |
| <p class=code id=tag></variablePresentation></p> |
| <p class=code id=tag></extension></p> |
| </pre> |
| In the above example, the contributed presentation will be used for the variable named "example_variable". An argument selector is specified to configure an argument applicable to the variable.<p> |
| <h6 class=CaptionFigColumn id=header>API Information: </h6>Value of the attribute <b>argumentSelector</b> must be a fully qualified name of a Java class that implements the interface <b>org.eclipse.debug.ui.stringsubstitution.IArgumentSelector</b>.<p> |
| <h6 class=CaptionFigColumn id=copyright-text> |
| <p> |
| <a href="hglegal.htm"> |
| <img SRC="ngibmcpy.gif" |
| ALT="Copyright (c) 2000, 2003 IBM Corporation and others. All Rights Reserved." |
| BORDER=0 height=14 width=324></a> |
| </p><p> |
| </h6> |
| </BODY> |
| </HTML> |