1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874
|
<?xml version='1.0' encoding='UTF-8'?>
<!-- Schema file written by PDE -->
<schema targetNamespace="Intro Content File XML Format" xmlns="http://www.w3.org/2001/XMLSchema">
<annotation>
<appinfo>
<meta.schema plugin="Intro Content File XML Format" id="." name="Intro Content File XML Format"/>
</appinfo>
<documentation>
This document describes the intro content file structure as a series of DTD fragments.
</documentation>
</annotation>
<element name="introContent">
<annotation>
<documentation>
The introContent element defines the body of the intro content file. The content file is made up of pages, shared groups that can be included in multiple pages, extensions to anchor points defined in other configurations, or replacements of existing elements.
</documentation>
</annotation>
<complexType>
<choice>
<choice minOccurs="1" maxOccurs="unbounded">
<element ref="page"/>
<element ref="group"/>
</choice>
<choice>
<element ref="extensionContent"/>
<element ref="replacementContent"/>
</choice>
</choice>
</complexType>
</element>
<element name="page">
<annotation>
<documentation>
<p>
This element is used to describe a page to be displayed. The intro can display both dynamic and static pages. Content for dynamic pages is generated from the subelements of the page, described below. The style or alt-style will be applied depending on the presentation. The styles can be further enhanced by referencing the id or class-id.
</p>
<p>
Static pages allow for the reuse of existing HTML documents within one's introduction, and can be linked to from any static or dynamic page. Static pages are not defined in a page element, they are simply html files that can be linked to by other pages.
</p>
<p>
The home page, whose id is specified in the presentation element of the intro config extension point, can have a url indicating that it is a static page. If no url is specified then the home page is assumed to be dynamic. All other pages described using the page element are dynamic. Also note that when the SWT presentation is used and a static page is to be displayed, an external brower is launched and the current page remains visible.
</p>
<p>
The subelements used in a dynamic page are as follows: A <b>group</b> subelement is used to group related content and apply style across the grouped content. A <b>link</b> subelement defines a link which can be used to link to a static or dynamic page and run an intro action/command. A link is normally defined at the page level to navigate between main pages versus links within a page. A <b>text</b> subelement defines textual content at the page level. A <b>head</b> subelement is only applicable for the Web based presentation and allows for additional html to be added to the HTML <b>head</b> section. This is useful for adding java scripts or extra style sheets. An <b>img</b> subelement defines image content for the page level. An <b>include</b> subelement allows for reuse of any element other than a page. An <b>html</b> subelement is only applicable for the Web based presentation and allows for the embedding or inclusion of html into the page's content. Embedding allows for a fully defined html file to be embeded within an HTML <b>object</b> by referencing the html file. Inclusion allows for including an html snippet directly from an html file. A <b>title</b> subelement defines the title of the page. An <b>anchor</b> subelement defines a point where external contributions can be made by an &lt;extensionContent&gt; element.
</p>
</documentation>
</annotation>
<complexType>
<choice minOccurs="1" maxOccurs="unbounded">
<element ref="group"/>
<element ref="link"/>
<element ref="text"/>
<element ref="head"/>
<element ref="img"/>
<element ref="include"/>
<element ref="html"/>
<element ref="title"/>
<element ref="anchor"/>
<element ref="contentProvider"/>
</choice>
<attribute name="id" type="string" use="required">
<annotation>
<documentation>
A unique name that can be used to identify this page.
</documentation>
</annotation>
</attribute>
<attribute name="url" type="string">
<annotation>
<documentation>
The optional relative path to an HTML file. When using the Web based presentation, this HTML file will be displayed instead of any content defined for this page. This attribute is only applicable to the home page, which is identified in the presentation element of the intro config extension point. It is ignored for all other pages.
</documentation>
</annotation>
</attribute>
<attribute name="style" type="string">
<annotation>
<documentation>
A relative path to a CSS file which is applied to the page only when using the Web based presentation. The path is relative to the location of this xml content file. <br >
Since 3.1, styles can also be a comma separated list of styles. These styles will be injected into the HTML HEAD element in the order in which they are listed in the style attribute.
</documentation>
</annotation>
</attribute>
<attribute name="alt-style" type="string">
<annotation>
<documentation>
A relative path to a SWT presentation properies file which is applied to the page only when using the SWT based presentation. The path is relative to the location of this xml content file. <br >
Since 3.1, styles can also be a comma separated list of styles. These styles will be used when creating the SWT presentation of the welcome page.
</documentation>
</annotation>
</attribute>
<attribute name="filteredFrom">
<annotation>
<documentation>
an optional attribute that allows for filtering a given element out of a specific implementation. For example, if a group has filteredFrom = swt, it means that this group will not appear as content in the swt implementation.
</documentation>
</annotation>
<simpleType>
<restriction base="string">
<enumeration value="swt">
</enumeration>
<enumeration value="html">
</enumeration>
</restriction>
</simpleType>
</attribute>
<attribute name="content" type="string">
<annotation>
<documentation>
an optional attribute which can define the location of an introContent.xml file that represents the content of this page. When this attribute is defined, all children and attributes in this page element, except id, are ignored. This is because the content of this page is now assumed to reside in the xml file pointed to by the content file attribute. When resolving to the content of this file, the page with an id that matches the id defined in this page element is chosen.
This seperation of pages can be used when performance is an issue, as the content of a page is now loaded more lazily.<br >
Since 3.1, if the content of the external file is XHTML 1.0, then the page is rendered as is.
</documentation>
</annotation>
</attribute>
<attribute name="style-id" type="string">
<annotation>
<documentation>
A means to classifiy the page into a given category so that a common style may be applied.
</documentation>
</annotation>
</attribute>
<attribute name="shared-style" type="boolean">
<annotation>
<documentation>
a boolean flag that controls the addition of the shared style into this page's list of styles. If <code>true</code> (the default), the shared style is added to this page's styles. If <code>false</code>, the shared style defined in the Intro configuration will not be injected into the styles of this page.
</documentation>
</annotation>
</attribute>
<attribute name="bgImage" type="string">
<annotation>
<documentation>
an optional URL of the image to use as a background for this group
</documentation>
</annotation>
</attribute>
</complexType>
</element>
<element name="group">
<annotation>
<documentation>
Used to group related content, content that should have similar style applied, or content that will be included together in other pages.
</documentation>
</annotation>
<complexType>
<choice minOccurs="0" maxOccurs="unbounded">
<element ref="group"/>
<element ref="link"/>
<element ref="text"/>
<element ref="img"/>
<element ref="include"/>
<element ref="html"/>
<element ref="anchor"/>
<element ref="contentProvider"/>
</choice>
<attribute name="id" type="string" use="required">
<annotation>
<documentation>
unique identifier of the group
</documentation>
</annotation>
</attribute>
<attribute name="label" type="string">
<annotation>
<documentation>
a label or heading for this group
</documentation>
</annotation>
</attribute>
<attribute name="style-id" type="string">
<annotation>
<documentation>
A means to classifiy this group into a given category so that a common style may be applied.
</documentation>
</annotation>
</attribute>
<attribute name="filteredFrom">
<annotation>
<documentation>
an optional attribute that allows for filtering a given element out of a specific implementation. For example, if a group has filteredFrom = swt, it means that this group will not appear as content in the swt implementation.
</documentation>
</annotation>
<simpleType>
<restriction base="string">
<enumeration value="swt">
</enumeration>
<enumeration value="html">
</enumeration>
</restriction>
</simpleType>
</attribute>
<attribute name="computed" type="boolean" use="default" value="false">
<annotation>
<documentation>
if <code>true</code>, the children of this group will be provided by the intro configurer at run time. It is advised not to define any children statically in this case.
</documentation>
</annotation>
</attribute>
<attribute name="bgImage" type="string">
<annotation>
<documentation>
an optional URL of the image to use as a background for this group
</documentation>
</annotation>
</attribute>
<attribute name="expandable" type="boolean" use="default" value="false">
<annotation>
<documentation>
specifies whether or not the group can be expanded and collapsed. Defaults to false if not specified. If true, the expanded attribute will be consulted to determine whether or not the group should be expanded by default or not.
</documentation>
</annotation>
</attribute>
<attribute name="expanded" type="boolean" use="default" value="false">
<annotation>
<documentation>
specifies whether the expandable group should be expanded by default or not. Defaults to false (collapsed) if not specified. This only applies to expandable groups (where expandable was set to true). Has no effect otherwise.
</documentation>
</annotation>
</attribute>
</complexType>
</element>
<element name="head">
<annotation>
<documentation>
Direct HTML to include in a page's HEAD content area. It allows for additional html to be added to the HTML HEAD section. This is useful for adding java srcipts or extra styles sheets. If the content contains substitution segments of the form $plugin:plugin_id$ then they will be replaced with the absolute path to the plugin with id plugin_id.
This markup is only to be used with an HTML based intro part implementation. It is simply ignored in the case of a UI Forms implementation. A page can have more than one head element. An implementation can have one and only one head element (since it is a shared across all pages).
</documentation>
</annotation>
<complexType>
<attribute name="src" type="string" use="required">
<annotation>
<documentation>
relative or absolute URL to a file containing HTML to include directly into the HTML head section. If the content contains substitution segments of the form $plugin:plugin_id$ then they will be replaced with the absolute path to the plugin with id plugin_id.
</documentation>
</annotation>
</attribute>
<attribute name="encoding" type="string">
<annotation>
<documentation>
an optional attribute to specify the encoding of the inlined file containing the head snippet. Default is UTF-8. Since 3.0.1
</documentation>
</annotation>
</attribute>
</complexType>
</element>
<element name="title">
<annotation>
<documentation>
a snippet of text that can optionally contain escaped HTML tags. It is only used as a Page Title, and so a given page can have a maximum of one title element.
</documentation>
</annotation>
<complexType>
<attribute name="id" type="string">
<annotation>
<documentation>
unique identifier of this title.
</documentation>
</annotation>
</attribute>
<attribute name="style-id" type="string">
<annotation>
<documentation>
A means to classifiy this element into a given category so that a common style may be applied
</documentation>
</annotation>
</attribute>
<attribute name="filteredFrom">
<annotation>
<documentation>
an optional attribute that allows for filtering a given element out of a specific implementation. For example, if a group has filteredFrom = swt, it means that this group will not appear as content in the swt implementation.
</documentation>
</annotation>
<simpleType>
<restriction base="string">
<enumeration value="swt">
</enumeration>
<enumeration value="html">
</enumeration>
</restriction>
</simpleType>
</attribute>
</complexType>
</element>
<element name="link">
<annotation>
<documentation>
Can link to a static HTML file, an external web site, or can run an Intro URL action.
</documentation>
</annotation>
<complexType>
<sequence>
<element ref="text" minOccurs="0" maxOccurs="1"/>
<element ref="img" minOccurs="0" maxOccurs="1"/>
</sequence>
<attribute name="url" type="string" use="required">
<annotation>
<documentation>
A valid URL to an external web site, a static html file, or an Intro URL that represents an Intro action. All intro URLs have the following form: http://org.eclipse.ui.intro/&lt;action name&gt;?param1=value1&amp;param2=value2 and will be processed by the intro framework.<br>
The predefined actions will be described using this format:<br>
<p style="margin-left:15px;">
<b>action name</b> - descripton of action<br>
<i>action parameter1</i> - description of parameter<br>
<i>action parameter2 (optional)</i> - description of parameter<br>
<i>action parameter3 (optional) = ("true"
"false") "false"</i> - description of parameter, choice of either true or false and "false" is the default<br>
</p>
<br>
The following predefined actions are included in the intro framework:
<p style="margin-left:15px;">
<b>close</b> - closes the intro part<br>
no parameters required<br>
<br>
<b>navigate</b> - navigate through the intro pages in a given direction or return to the home page<br>
<i>direction = ("backward"
"forward"
"home")</i> - specifies the direction to navigate<br>
<br>
<b>openBrowser</b> - open the url in an external browser. Since 3.1, this action relies on the workbench Browser support. This means that any user preferences set for the browser will be honored.<br>
<i>url</i> - a valid URL to an external web site or a local HTML file<br>
<i>pluginId (optional)</i> - if the url is relative, then it is relative to a plugin. Specify here the id of the plug-in containing the file.<br>
<br>
<b>openURL</b> - open the url embedded in the Welcome page. In the case of SWT presentation, the url is displayed in an external browser (similar to the openBrowser action above). since 3.1<br>
<i>url</i> - a valid URL to an external web site or to a local HTML file<br>
<i>pluginId (optional)</i> - if the url is relative, then this specifies the id of the plug-in containing the file.<br>
<br>
<b>runAction</b> - runs the specified action<br>
<i>class</i> - the fully qualified class name of the class that implements one of <code>org.eclipse.ui.intro.config.IIntroAction</code>,
<code>org.eclipse.jface.action.IAction</code>, or <code>org.eclipse.ui.IActionDelegate</code><br>
<i>pluginId</i> - The id of the plug-in which contains the class.<br>
<i>standby (optional) = ("true"
"false"
"full"
"standby"
"launchbar"
"close") "false"</i> - indicate whether to set the intro into fully visible mode ("false" or "full"), into standby mode ("true" or "standby"), into the launchbar ("launchbar"), or close the intro after executing the action<br>
additional parameters - any additional parameters are passed to actions that implement <code>org.eclipse.ui.intro.config.IIntroAction</code><br>
<br>
<b>execute</b> - executes the specified command. See the <code>serialize()</code> method on <code>org.eclipse.core.command.ParameterizedCommand</code> for details of the command serialization format. Since 3.2.<br>
<i>command</i> - a serialized <code>ParameterizedCommand</code><br>
<i>standby (optional) = ("true"
"false"
"full"
"standby"
"launchbar"
"close") "false"</i> - indicate whether to set the intro into fully visible mode ("false" or "full"), into standby mode ("true" or "standby"), into the launchbar ("launchbar"), or close the intro after executing the action<br>
<br>
<b>setStandbyMode</b> - sets the state of the intro part<br>
<i>standby = ("true"
"false"
"full"
"standby"
"launchbar"
"close") "false"</i> - indicate whether to set the intro into fully visible mode ("false" or "full"), into standby mode ("true" or "standby"), into the launchbar ("launchbar"), or close the intro after executing the action<br>
<br>
<b>showHelp</b> - Open the help system.<br>
no parameters required<br>
<br>
<b>showHelpTopic</b> - Open a help topic.<br>
<i>id</i> - the URL of the help resource. If the URL contains an anchor the sequence %23 should be used in place of the #' character. (See Javadoc for <code>org.eclipse.ui.help.WorkbenchHelp.displayHelpResource)</code><br>
<i>embed (optional) = ("true"
"false")</i> "true" - indicates that the help resource needs to be displayed embedded as part of the Welcome pages. Default is false. This flag is simply ignored in the case of the SWT presentation. This is equivalent to openURL() command, but for Help System topics. The embedded URL occupies the full real-estate of the current page. since 3.1<br>
<i>embedTarget (optional)</i> - the path to a div in the current Welcome page that will hold the content of the Help topic. If specified, then <i>embed</i> is true by default and the embedded URL is inserted inside the div with the specified path. The path is relative to the page and so it should not start with the page id. The children of the div are replaced by the content of the URL. Only one div per page can be used as an embed target. This flag is simply ignored in the case of the SWT presentation. It is also unsupported when using XHTML as intro content. since 3.1<br>
<br>
<b>showMessage</b> - Displays a message to the user using a standard information dialog.<br>
<i>message</i> - the message to show the user<br>
<br>
<b>showStandby</b> - Sets the intro part to standby mode and shows the standbyContentPart with the given input<br>
<i>partId</i> - the id of the standbyContentPart to show<br>
<i>input</i> - the input to set on the standbyContentPart<br>
<br>
<b>showPage</b> - show the intro page with the given id<br>
<i>id</i> - the id of the intro page to show<br>
<i>standby (optional) = ("true"
"false"
"full"
"standby"
"launchbar"
"close") "false"</i> - indicate whether to set the intro into fully visible mode ("false" or "full"), into standby mode ("true" or "standby"), into the launchbar ("launchbar"), or close the intro after executing the action<br>
<br>
If any of the parameters passed to these actions have special characters (ie: characters that are illegal in a URL), then they should be encoded using UTF-8 url encoding. To receive these parametrs in there decoded state a special parameter, <i>decode = ("true" "false")</i> can be used to force a decode of these parameters when the Intro framework processes them.<br>
For example, the following Intro url: <br><i>
http://org.eclipse.ui.intro/showMessage?message=This+is+a+message</i><br>
will process the message parameter as "This+is+a+message"<br>
whereas<br><i>
http://org.eclipse.ui.intro/showMessage?message=This+is+a+message&amp;amp;decode=true</i><br>
will process the message parameter as "This is a message".<br>
<br>
</documentation>
</annotation>
</attribute>
<attribute name="id" type="string">
<annotation>
<documentation>
A unique id that can be used to identify this link
</documentation>
</annotation>
</attribute>
<attribute name="label" type="string">
<annotation>
<documentation>
The text name of this link
</documentation>
</annotation>
</attribute>
<attribute name="style-id" type="string">
<annotation>
<documentation>
A means to classifiy this link into a given category so that a common style may be applied.
</documentation>
</annotation>
</attribute>
<attribute name="filteredFrom">
<annotation>
<documentation>
an optional attribute that allows for filtering a given element out of a specific implementation. For example, if a group has filteredFrom = swt, it means that this group will not appear as content in the swt implementation.
</documentation>
</annotation>
<simpleType>
<restriction base="string">
<enumeration value="swt">
</enumeration>
<enumeration value="html">
</enumeration>
</restriction>
</simpleType>
</attribute>
</complexType>
</element>
<element name="text">
<annotation>
<documentation>
a snippet of text that can optionally contain escaped HTML tags. It can include b and li tags. It can also contain anchors for urls.
If multiple paragraphs are needed, then the text can be divided into multiple sections each begining and ending with the p tag.
</documentation>
</annotation>
<complexType>
<attribute name="id" type="string">
<annotation>
<documentation>
unique identifier of this text.
</documentation>
</annotation>
</attribute>
<attribute name="style-id" type="string">
<annotation>
<documentation>
A means to classify this element into a given category so that a common style may be applied
</documentation>
</annotation>
</attribute>
<attribute name="filteredFrom">
<annotation>
<documentation>
an optional attribute that allows for filtering a given element out of a specific implementation. For example, if a group has filteredFrom = swt, it means that this group will not appear as content in the swt implementation.
</documentation>
</annotation>
<simpleType>
<restriction base="string">
<enumeration value="swt">
</enumeration>
<enumeration value="html">
</enumeration>
</restriction>
</simpleType>
</attribute>
</complexType>
</element>
<element name="img">
<annotation>
<documentation>
An image that represents intro content and not presentation (as opposed to decoration images defined in styles).
</documentation>
</annotation>
<complexType>
<attribute name="src" type="string" use="required">
<annotation>
<documentation>
the file to load the image from
</documentation>
</annotation>
</attribute>
<attribute name="id" type="string">
<annotation>
<documentation>
unique identifier of this image
</documentation>
</annotation>
</attribute>
<attribute name="alt" type="string">
<annotation>
<documentation>
the alternative text to use when the image can not be loaded and as tooltip text for the image.
</documentation>
</annotation>
</attribute>
<attribute name="style-id" type="string">
<annotation>
<documentation>
A means to classifiy this image into a given category so that a common style may be applied.
</documentation>
</annotation>
</attribute>
<attribute name="filteredFrom">
<annotation>
<documentation>
an optional attribute that allows for filtering a given element out of a specific implementation. For example, if a group has filteredFrom = swt, it means that this group will not appear as content in the swt implementation.
</documentation>
</annotation>
<simpleType>
<restriction base="string">
<enumeration value="swt">
</enumeration>
<enumeration value="html">
</enumeration>
</restriction>
</simpleType>
</attribute>
</complexType>
</element>
<element name="html">
<annotation>
<documentation>
direct HTML to include in the page either by embedding the entire document, or inlining a snippet of HTML in-place. A fallback image or text must be defined for alternative swt presentation rendering. If the content contains substitution segments of the form $plugin:plugin_id$ then they will be replaced with the absolute path to the plugin with id plugin_id.
<br>
Embedding allows for a fully defined html file to be embedded within the dynamic page's content. An HTML <b>object</b> element is created that references the html file.
<br>
Inclusion allows for including an html snippet directly from a file into the dynamic html page.
</documentation>
</annotation>
<complexType>
<choice>
<element ref="img"/>
<element ref="text"/>
</choice>
<attribute name="id" type="string" use="required">
<annotation>
<documentation>
unique identifier of this HTML element
</documentation>
</annotation>
</attribute>
<attribute name="src" type="string" use="required">
<annotation>
<documentation>
relative or absolute URL to a file containing HTML. If the content contains substitution segments of the form $plugin:plugin_id$ then they will be replaced with the absolute path to the plugin with id plugin_id.
</documentation>
</annotation>
</attribute>
<attribute name="type" use="required">
<annotation>
<documentation>
if 'embed', a valid (full) HTML document will be embedded using HTML 'OBJECT' tag. If 'inline', value of 'src' will be treated as a snippet of HTML to emit 'in-place'. (if type is not specified, this html object is ignored by the intro configuration).
</documentation>
</annotation>
<simpleType>
<restriction base="string">
<enumeration value="inline">
</enumeration>
<enumeration value="embed">
</enumeration>
</restriction>
</simpleType>
</attribute>
<attribute name="style-id" type="string">
<annotation>
<documentation>
A means to classifiy this HTML element into a given category so that a common style may be applied.
</documentation>
</annotation>
</attribute>
<attribute name="filteredFrom">
<annotation>
<documentation>
an optional attribute that allows for filtering a given element out of a specific implementation. For example, if a group has filteredFrom = swt, it means that this group will not appear as content in the swt implementation.
</documentation>
</annotation>
<simpleType>
<restriction base="string">
<enumeration value="swt">
</enumeration>
<enumeration value="html">
</enumeration>
</restriction>
</simpleType>
</attribute>
<attribute name="encoding" type="string">
<annotation>
<documentation>
an optional attribute to specify the encoding of the inlined file (in the case where type=inline is specified). If not specified, the default is UTF-8. Since 3.0.1
</documentation>
</annotation>
</attribute>
</complexType>
</element>
<element name="include">
<annotation>
<documentation>
expands an element targeted by the given path and optional configId attributes. Path should uniquely address an element within the specified configuration. It could point to a shared group defined at the configuration level, or any element in a page.
</documentation>
</annotation>
<complexType>
<attribute name="path" type="string" use="required">
<annotation>
<documentation>
the path that uniquely represents the target element within the configuration (e.g. page/group1/group2). It may be a group element, or any element that may be contained in a group. You can not include a page.
</documentation>
</annotation>
</attribute>
<attribute name="configId" type="string">
<annotation>
<documentation>
identifier of a configuration where the included element is defined. If specified, it is assumed that the element to be included is specified in another configuration, and not the enclosing configuration. In this case, that external config is loaded and the element is resolved from that new config. If not specified, enclosing (parent) configuration of this include is assumed.
</documentation>
</annotation>
</attribute>
<attribute name="merge-style" type="boolean">
<annotation>
<documentation>
if <code>true</code>, style belonging to the page that owns the included element will be added to list of styles of the including page. If <code>false</code> (the default), the including page is responsible for controlling properties of the included element.
</documentation>
</annotation>
</attribute>
</complexType>
</element>
<element name="anchor">
<annotation>
<documentation>
an anchor is the element used to declare extensibility. It is a location in the configurtaion that allows for external contributions. Only anchors are valid target values for the path attribute in an extensionContent
</documentation>
</annotation>
<complexType>
<attribute name="id" type="string" use="required">
<annotation>
<documentation>
unique id to identify this anchor.
</documentation>
</annotation>
</attribute>
</complexType>
</element>
<element name="extensionContent">
<annotation>
<documentation>
The content to be added to the target anchor. Only one <code>extensionContent</code> or <code>replacementContent</code> is allowed in a given configExtension because if this extension could not be resolved (if the config could not be found, or the target anchor could not be found) then the pages and/or groups in the extension need to be ingnored.
</documentation>
</annotation>
<complexType>
<choice minOccurs="1" maxOccurs="unbounded">
<element ref="text"/>
<element ref="group"/>
<element ref="link"/>
<element ref="html"/>
<element ref="include"/>
</choice>
<attribute name="path" type="string" use="required">
<annotation>
<documentation>
the path that uniquely represents the path to an anchor. (e.g. page/group1/group2/anchorId) within the target configuration to be extended. It can only be an anchor which can be in any page or group, including shared groups at configuration level.
</documentation>
</annotation>
</attribute>
<attribute name="style" type="string">
<annotation>
<documentation>
A relative path to a CSS file which is applied to the page only when using the Web based presentation. The path is relative to the location of this xml content file. <br>
Since 3.1, styles can also be a comma separated list of styles. These styles will be injected into the HTML HEAD element in the order in which they are listed in the style attribute.
</documentation>
</annotation>
</attribute>
<attribute name="alt-style" type="string">
<annotation>
<documentation>
A relative path to a SWT presentation properies file which is applied to the page only when using the SWT based presentation. The path is relative to the location of this xml content file. <br>
Since 3.1, styles can also be a comma separated list of styles. These styles will be used when creating the SWT presentation of the welcome page.
</documentation>
</annotation>
</attribute>
<attribute name="content" type="string">
<annotation>
<documentation>
if content is defined, it is assumed that the extension content is defined in an external XHTML file. In that case the resource pointed to by this content attribute is loaded and the path attribute is now resolved in this external file. since 3.1
</documentation>
</annotation>
</attribute>
<attribute name="id" type="string">
<annotation>
<documentation>
(since 3.2) a unique identifier of this extension required when used in conjunction with intro configurer.
</documentation>
</annotation>
</attribute>
<attribute name="name" type="string">
<annotation>
<documentation>
(since 3.2) a translatable name of this extension required when used in conjunction with intro configurer
</documentation>
</annotation>
</attribute>
</complexType>
</element>
<element name="replacementContent">
<annotation>
<documentation>
(since 3.3) The content to replace the target element. Only one <code>extensionContent</code> or <code>replacementContent</code> is allowed in a given configExtension because if this extension could not be resolved (if the config could not be found, or the target element could not be found) then the pages and/or groups in the extension need to be ignored.
</documentation>
</annotation>
<complexType>
<choice minOccurs="1" maxOccurs="unbounded">
<element ref="text"/>
<element ref="group"/>
<element ref="link"/>
<element ref="html"/>
<element ref="include"/>
</choice>
<attribute name="path" type="string" use="required">
<annotation>
<documentation>
the path that uniquely represents the path to the element to be replaced. (e.g. page/group1/group2/elementId) within the target configuration to be extended. To replace content contributed from an <code>extensionContent</code>, you may use a path of the form <code>pageId/@extension_id/path_in_extension</code> and it will be resolved to the specified extension.
</documentation>
</annotation>
</attribute>
<attribute name="style" type="string">
<annotation>
<documentation>
A relative path to a CSS file which is applied to the page only when using the Web based presentation. The path is relative to the location of this xml content file. <br>
Since 3.1, styles can also be a comma separated list of styles. These styles will be injected into the HTML HEAD element in the order in which they are listed in the style attribute.
</documentation>
</annotation>
</attribute>
<attribute name="alt-style" type="string">
<annotation>
<documentation>
A relative path to a SWT presentation properies file which is applied to the page only when using the SWT based presentation. The path is relative to the location of this xml content file. <br>
Since 3.1, styles can also be a comma separated list of styles. These styles will be used when creating the SWT presentation of the welcome page.
</documentation>
</annotation>
</attribute>
<attribute name="content" type="string">
<annotation>
<documentation>
if content is defined, it is assumed that the extension content is defined in an external XHTML file. In that case the resource pointed to by this content attribute is loaded and the path attribute is now resolved in this external file. since 3.1
</documentation>
</annotation>
</attribute>
</complexType>
</element>
<element name="contentProvider">
<annotation>
<documentation>
A proxy for an intro content provider, which allows an intro page to dynamically pull data from various sources (e.g., the web, eclipse, etc) and provide content at runtime based on this dynamic data. If the IIntroContentProvider class that is specified in the class attribute can not be loaded, then the contents of the text element will be rendered instead.
This is a dynamic version of the html intro tag. While the html tag allows for embedding or inlining a static html content into the generated html intro page, the contentProvider tag allows for dynamic creation of that content at runtime.
Another difference between the tags is that the html tag is only supported for the HTML presentation, while this contentProvider tag is supported for both the HTML and SWT presentations. Since 3.0.1
</documentation>
</annotation>
<complexType>
<sequence>
<element ref="text" minOccurs="0" maxOccurs="1"/>
</sequence>
<attribute name="id" type="string" use="required">
<annotation>
<documentation>
unique identifier of this content provider element. It is a required attribute because having a unique id is what prevents the intro framework from reinstantiating this content provider class and recreating its content.
</documentation>
</annotation>
</attribute>
<attribute name="class" type="string" use="required">
<annotation>
<documentation>
A class that implements the IContentProvider interface
</documentation>
</annotation>
</attribute>
<attribute name="pluginId" type="string">
<annotation>
<documentation>
The id of the plugin that contains the IContentProvider class specified by the class attribute. This is an optional attribute that should be used if the class doesn't come from the same plugin that defined the markup.
</documentation>
</annotation>
</attribute>
</complexType>
</element>
<element name="hr">
<annotation>
<documentation>
a horizontal rule.
</documentation>
</annotation>
<complexType>
<attribute name="id" type="string">
<annotation>
<documentation>
unique identifier of this hr
</documentation>
</annotation>
</attribute>
<attribute name="style-id" type="string">
<annotation>
<documentation>
A means to classify this element into a given category so that a common style may be applied
</documentation>
</annotation>
</attribute>
<attribute name="filteredFrom">
<annotation>
<documentation>
an optional attribute that allows for filtering a given element out of a specific implementation. For example, if a group has filteredFrom = swt, it means that this group will not appear as content in the swt implementation.
</documentation>
</annotation>
<simpleType>
<restriction base="string">
<enumeration value="swt">
</enumeration>
<enumeration value="html">
</enumeration>
</restriction>
</simpleType>
</attribute>
</complexType>
</element>
<annotation>
<appinfo>
<meta.section type="copyright"/>
</appinfo>
<documentation>
Copyright (c) 2004, 2006 IBM Corporation and others.<br>
This program and the accompanying materials are made
available under the terms of the Eclipse Public License 2.0 which accompanies
this distribution, and is available at <a href="https://www.eclipse.org/legal/epl-2.0">https://www.eclipse.org/legal/epl-v20.html</a>/
SPDX-License-Identifier: EPL-2.0
</documentation>
</annotation>
</schema>
|