[Plog4u-devel] org.plog4u.webbrowser/schema favorites.exsd,NONE,1.1 urlMap.exsd,NONE,1.1
Status: Beta
Brought to you by:
axelcl
From: Axel C. K. <ax...@us...> - 2005-10-21 19:44:18
|
Update of /cvsroot/plog4u/org.plog4u.webbrowser/schema In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8985/schema Added Files: favorites.exsd urlMap.exsd Log Message: Moved to new package name org.plog4u --- NEW FILE: urlMap.exsd --- <?xml version='1.0' encoding='UTF-8'?> <!-- Schema file written by PDE --> <schema targetNamespace="org.plog4u.webbrowser"> <annotation> <appInfo> <meta.schema plugin="org.plog4u.webbrowser" id="urlMap" name="URL Mapping"/> </appInfo> <documentation> This extension point provides a way to map URLs (Strings) entered in the internal Web browser to another URL. For instance, it can be user to map the word "eclipse" to "http://www.eclipse.org". </documentation> </annotation> <element name="extension"> <complexType> <sequence> <element ref="urlMap" minOccurs="0" maxOccurs="unbounded"/> </sequence> <attribute name="point" type="string" use="required"> <annotation> <documentation> a fully qualified identifier of the target extension point </documentation> </annotation> </attribute> <attribute name="id" type="string"> <annotation> <documentation> an optional identifier of the extension instance </documentation> </annotation> </attribute> <attribute name="name" type="string"> <annotation> <documentation> an optional name of the extension instance </documentation> </annotation> </attribute> </complexType> </element> <element name="urlMap"> <annotation> <appInfo> <meta.element labelAttribute="name"/> </appInfo> </annotation> <complexType> <sequence> </sequence> <attribute name="id" type="string" use="required"> <annotation> <documentation> specifies a unique identifier for this extension point </documentation> </annotation> </attribute> <attribute name="class" type="string" use="required"> <annotation> <documentation> specifies the fully qualified name of the Java class that implements <samp>IURLMap</samp>. </documentation> <appInfo> <meta.attribute kind="java" basedOn="org.plog4u.webbrowser.IURLMap"/> </appInfo> </annotation> </attribute> </complexType> </element> <annotation> <appInfo> <meta.section type="examples"/> </appInfo> <documentation> The following is an example of a URL map extension point: <p> <pre> <extension point="org.plog4u.webbrowser.urlMap"> <startup id="com.example.ExampleIdentifier" class="com.example.ExampleURLMap"/> </extension> </pre> </p> </documentation> </annotation> <annotation> <appInfo> <meta.section type="apiInfo"/> </appInfo> <documentation> Value of the attribute <b>class</b> must be a fully qualified name of a Java class that implements the interface <b>org.plog4u.webbrowser.IURLMap</b>. </documentation> </annotation> <annotation> <appInfo> <meta.section type="copyright"/> </appInfo> <documentation> Copyright (c) 2000, 2003 IBM Corporation and others.<br> All rights reserved. This program and the accompanying materials are made available under the terms of the Common Public License v1.0 which accompanies this distribution, and is available at <a href="http://www.eclipse.org/legal/cpl-v10.html">http://www.eclipse.org/legal/cpl-v10.html</a> </documentation> </annotation> </schema> --- NEW FILE: favorites.exsd --- <?xml version='1.0' encoding='UTF-8'?> <!-- Schema file written by PDE --> <schema targetNamespace="org.plog4u.webbrowser"> <annotation> <appInfo> <meta.schema plugin="org.plog4u.webbrowser" id="favorites" name="Favorite URLs"/> </appInfo> <documentation> This extension point provides a way to define default Favorites (URLs). </documentation> </annotation> <element name="extension"> <complexType> <sequence> <element ref="favorite" minOccurs="0" maxOccurs="unbounded"/> </sequence> <attribute name="point" type="string" use="required"> <annotation> <documentation> a fully qualified identifier of the target extension point </documentation> </annotation> </attribute> <attribute name="id" type="string"> <annotation> <documentation> an optional identifier of the extension instance </documentation> </annotation> </attribute> <attribute name="name" type="string"> <annotation> <documentation> an optional name of the extension instance </documentation> </annotation> </attribute> </complexType> </element> <element name="favorite"> <annotation> <appInfo> <meta.element labelAttribute="name"/> </appInfo> </annotation> <complexType> <sequence> </sequence> <attribute name="id" type="string" use="required"> <annotation> <documentation> specifies a unique identifier for this extension point </documentation> </annotation> </attribute> <attribute name="url" type="string" use="required"> <annotation> <documentation> specifies the URL of the favorite </documentation> </annotation> </attribute> <attribute name="name" type="string" use="required"> <annotation> <documentation> specifies the translatable name of the favorite </documentation> </annotation> </attribute> <attribute name="locked" type="boolean"> <annotation> <documentation> set to "true" if the favorite cannot be changed by the user, and "false" if the favorite is initially available, but the user can remove it </documentation> </annotation> </attribute> </complexType> </element> <annotation> <appInfo> <meta.section type="examples"/> </appInfo> <documentation> The following is an example of the favorites extension point: <p> <pre> <extension point="org.plog4u.webbrowser.favorites"> <startup id="com.example.ExampleIdentifier" name="eclipse" url="http://www.eclipse.org"/> </extension> </pre> </p> </documentation> </annotation> <annotation> <appInfo> <meta.section type="apiInfo"/> </appInfo> <documentation> </documentation> </annotation> <annotation> <appInfo> <meta.section type="copyright"/> </appInfo> <documentation> Copyright (c) 2000, 2003 IBM Corporation and others.<br> All rights reserved. This program and the accompanying materials are made available under the terms of the Common Public License v1.0 which accompanies this distribution, and is available at <a href="http://www.eclipse.org/legal/cpl-v10.html">http://www.eclipse.org/legal/cpl-v10.html</a> </documentation> </annotation> </schema> |