http://git-wip-us.apache.org/repos/asf/polygene-website/blob/86741dec/content/java/3.0.0/howto-invocation-annotation.html ---------------------------------------------------------------------- diff --git a/content/java/3.0.0/howto-invocation-annotation.html b/content/java/3.0.0/howto-invocation-annotation.html new file mode 100644 index 0000000..1765b4a --- /dev/null +++ b/content/java/3.0.0/howto-invocation-annotation.html @@ -0,0 +1,109 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>Use @Invocation</title><link rel="stylesheet" type="text/css" href="css/style.css" /><meta name="generator" content="DocBook XSL Stylesheets V1.76.1" /><link rel="home" href="index.html" title="" /><link rel="up" href="tutorials.html" title="Tutorials" /><link rel="prev" href="howto-configure-service.html" title="Configure a Service" /><link rel="next" href="build-system.html" title="Polygene⢠Build System" /> + + +<!-- favicon --> + +<link rel="shortcut icon" href="http://polygene.apache.org/favicon.ico" type="image/vnd.microsoft.icon" /> +<link rel="icon" href="http://polygene.apache.org/favicon.ico" type="image/x-icon" /> + +<!-- style --> + +<link href="css/shCore.css" rel="stylesheet" type="text/css" /> +<link href="css/shCoreEclipse.css" rel="stylesheet" type="text/css" /> +<link href="css/shThemeEclipse.css" rel="stylesheet" type="text/css" /> +<link href="css/polygene.css" rel="stylesheet" type="text/css" /> + +<!-- Syntax Highlighter --> + +<script type="text/javascript" src="js/shCore.js"></script> +<script type="text/javascript" src="js/shBrushJava.js"></script> +<script type="text/javascript" src="js/shBrushScala.js"></script> +<script type="text/javascript" src="js/shBrushJScript.js"></script> +<script type="text/javascript" src="js/shBrushBash.js"></script> +<script type="text/javascript" src="js/shBrushPlain.js"></script> +<script type="text/javascript" src="js/shBrushXml.js"></script> +<script type="text/javascript" src="js/shBrushGroovy.js"></script> +<script type="text/javascript" src="js/shBrushPython.js"></script> +<script type="text/javascript" src="js/shBrushRuby.js"></script> +<script type="text/javascript" src="js/shBrushCSharp.js"></script> + +<script type="text/javascript"> + SyntaxHighlighter.defaults['tab-size'] = 4; + SyntaxHighlighter.defaults['gutter'] = false; + SyntaxHighlighter.defaults['toolbar'] = false; + SyntaxHighlighter.all() +</script> + +<!-- JQuery --> + +<script type="text/javascript" src="js/jquery-1.6.4.min.js"></script> + +<!-- Image Scaler --> + +<script type="text/javascript" src="js/imagescaler.js"></script> + +<!-- Table Styler --> + +<script type="text/javascript" src="js/tablestyler.js"></script> + +<!-- Apache Polygene WebSite Progressive Enhancement --> + +<link href="css/progressive-enhancement.css" rel="stylesheet" type="text/css" /> +<script type="text/javascript" src="js/jquery.scrollTo-1.4.2.js"></script> +<script type="text/javascript" src="js/progressive-enhancement.js"></script> + +<!-- Analytics --> + <script type="text/javascript"> + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-62007352-1']); + _gaq.push(['_trackPageview']); + + (function() { + var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; + ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; + var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + </script> + + </head><body><div xmlns="" xmlns:exsl="http://exslt.org/common" class="logo"><a href="index.html"><img src="images/logo-standard.png" /></a></div><div xmlns="" xmlns:exsl="http://exslt.org/common" class="top-nav"><div xmlns="http://www.w3.org/1999/xhtml" class="toc"><dl><dt><span class="section"><a href="index.html#home">Polygeneâ¢</a></span></dt><dt><span class="section"><a href="intro.html">Introduction</a></span></dt><dt><span class="section"><span xmlns="" href="tutorials.html">Tutorials</span></span></dt><dt><span class="section"><a href="javadocs.html">Javadoc</a></span></dt><dt><span class="section"><a href="samples.html">Samples</a></span></dt><dt><span class="section"><a href="core.html">Core</a></span></dt><dt><span class="section"><a href="libraries.html">Libraries</a></span></dt><dt><span class="section"><a href="extensions.html">Extensions</a></span></dt><dt><span class="section"><a href="tools.html">Tools</a></span></dt><dt><span class="section"><a href="glossary.ht ml">Glossary </a></span></dt></dl></div></div><div xmlns="" xmlns:exsl="http://exslt.org/common" class="sub-nav"><div xmlns="http://www.w3.org/1999/xhtml" class="toc"><dl><dt><span class="section"><a href="tutorials.html#_overview">Overview</a></span></dt><dt><span class="section"><a href="two-minutes-intro.html">Polygene⢠in 2 minutes</a></span></dt><dt><span class="section"><a href="ten-minutes-intro.html">Polygene⢠in 10 minutes</a></span></dt><dt><span class="section"><a href="thirty-minutes-intro.html">Polygene⢠in 30 minutes</a></span></dt><dt><span class="section"><a href="howto-depend-on-polygene.html">Depend on Polygeneâ¢</a></span></dt><dt><span class="section"><a href="howto-assemble-application.html">Assemble an Application</a></span></dt><dt><span class="section"><a href="tut-composites.html">Transient Composites Tutorial</a></span></dt><dt><span class="section"><a href="tut-services.html">Services Composites Tutorial</a></span></dt><dt><span class="section"><a href="howto-contextual-fragments.html">Use contextual fragments</a></span></dt><dt><span class="section"><a href="howto-leverage-properties.html">Leverage Properties</a></span></dt><dt><span class="section"><a href="howto-create-constraint.html">Create a Constraint</a></span></dt><dt><span class="section"><a href="howto-create-concern.html">Create a Concern</a></span></dt><dt><span class="section"><a href="howto-create-sideeffect.html">Create a SideEffect</a></span></dt><dt><span class="section"><a href="howto-create-entity.html">Create an Entity</a></span></dt><dt><span class="section"><a href="howto-configure-service.html">Configure a Service</a></span></dt><dt><span class="section"><span xmlns="" href="howto-invocation-annotation.html">Use @Invocation</span></span></dt><dt><span class="section"><a href="build-system.html">Polygene⢠Build System</a></span></dt><dt><span class="section"><a href="community-docs.html">Polygene⢠Documentation</a></span></dt><dt><span class="sectio n"><a href="releasing-apache.html">Releasing Polygeneâ¢</a></span></dt></dl></div></div><div class="section" title="Use @Invocation"><div class="titlepage"><div><div><h3 class="title"><a id="howto-invocation-annotation"></a>Use @Invocation</h3></div></div></div><p>The @Invocation annotation is relatively unknown but can be rather powerful to use, especially when creating +libraries that needs to be flexible of what the user needs to do.</p><p>@Invocation is a different <code class="literal">InjectionScope</code>, which is a concept to tell Polygene runtime where to look for the +instances to be injected. Other, more well-known, <code class="literal">InjectionScope</code> annotations are <code class="literal">@This</code>, <code class="literal">@Structure</code> and +<code class="literal">@Service</code>.</p><p>The <code class="literal">@Invocation</code> injection scope can provide the following types, all related to the on-going method invocation, +which is especially useful in Generic Concerns or Generic Mixins;</p><div class="itemizedlist"><ul class="itemizedlist"><li class="listitem"> +<code class="literal">java.lang.reflect.Method</code> - The current method being invoked. +</li><li class="listitem"> +<code class="literal">java.lang.reflect.AnnotatedElement</code> - An descriptor for all annotations of the Method. +</li><li class="listitem"> +<span class="emphasis"><em>Custom Annotations</em></span> - Your own annotation type. +</li><li class="listitem"> +<code class="literal">java.util.Iterable<Method></code> - An iterable of all declared methods of the composite type. +</li></ul></div><div class="section" title="java.lang.reflect.Method"><div class="titlepage"><div><div><h4 class="title"><a id="_java_lang_reflect_method"></a>java.lang.reflect.Method</h4></div></div></div><p>This injection will simply provide the <code class="literal">java.lang.reflect.Method</code> of the on-going call. For generic fragments that +will be the same as the second argument in the <code class="literal">java.lang.reflect.InvocationHandler.invoke()</code> method. Sometimes +it is useful to obtain this for typed fragment as well, to reduce names in Strings.</p></div><div class="section" title="java.lang.reflect.AnnotatedElement"><div class="titlepage"><div><div><h4 class="title"><a id="_java_lang_reflect_annotatedelement"></a>java.lang.reflect.AnnotatedElement</h4></div></div></div><p>This Reflection API class encapsulates the annotation aspect of any element that can be annotated. Polygene implements +this interface for the Composite. That means that annotations for both the method as well as the composite is provided +through this injection.</p></div><div class="section" title="Custom Annotations"><div class="titlepage"><div><div><h4 class="title"><a id="_custom_annotations"></a>Custom Annotations</h4></div></div></div><p>It is often useful to introduce oneâs own annotations, especially for libraries, and use these annotations to direct +the runtime to do different things. Many of the "built-in" features in Polygene is actually done by this mechanism and +not directly implemented in the Core Runtime.</p><p>First create an annotation of your own liking, it must have <code class="literal">java.lang.annotation.Retention</code> set to <code class="literal">RUNTIME</code></p><pre class="programlisting brush: java">@Retention( RUNTIME ) +@interface Foo +{ + String value(); +} +</pre><p>After that it is possible to have this annotation placed on composite type methods,</p><pre class="programlisting brush: java">public interface MyComposite + extends TransientComposite +{ + @Foo( "1" ) + void doStuff(); +</pre><p>and then the annotation can simply be injected into your Concerns or Mixins, like this;</p><pre class="programlisting brush: java">public abstract static class MyConcern + extends ConcernOf<MyComposite> + implements MyComposite +{ + @Invocation + Foo foo; +</pre></div><div class="section" title="java.util.Iterable<Method>"><div class="titlepage"><div><div><h4 class="title"><a id="_java_util_iterable_lt_method_gt"></a>java.util.Iterable<Method></h4></div></div></div><p>This injection will provide all the declared methods of the current composite. This is particularly useful for mixins +or concerns that builds information about the composite they belong to.</p></div></div><div xmlns="" xmlns:exsl="http://exslt.org/common" class="footer"><p> + Copyright © 2015 The Apache Software Foundation, Licensed under the <a href="http://www.apache.org/licenses/" target="_blank">Apache License, Version 2.0</a>. + <br /><small> + Apache Polygene, Polygene, Apache, the Apache feather logo, and the Apache Polygene project logo are trademarks of The Apache Software Foundation.<br /> + All other marks mentioned may be trademarks or registered trademarks of their respective owners. + </small></p></div></body></html> \ No newline at end of file
http://git-wip-us.apache.org/repos/asf/polygene-website/blob/86741dec/content/java/3.0.0/howto-leverage-properties.html ---------------------------------------------------------------------- diff --git a/content/java/3.0.0/howto-leverage-properties.html b/content/java/3.0.0/howto-leverage-properties.html new file mode 100644 index 0000000..c8c4dd9 --- /dev/null +++ b/content/java/3.0.0/howto-leverage-properties.html @@ -0,0 +1,140 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>Leverage Properties</title><link rel="stylesheet" type="text/css" href="css/style.css" /><meta name="generator" content="DocBook XSL Stylesheets V1.76.1" /><link rel="home" href="index.html" title="" /><link rel="up" href="tutorials.html" title="Tutorials" /><link rel="prev" href="howto-contextual-fragments.html" title="Use contextual fragments" /><link rel="next" href="howto-create-constraint.html" title="Create a Constraint" /> + + +<!-- favicon --> + +<link rel="shortcut icon" href="http://polygene.apache.org/favicon.ico" type="image/vnd.microsoft.icon" /> +<link rel="icon" href="http://polygene.apache.org/favicon.ico" type="image/x-icon" /> + +<!-- style --> + +<link href="css/shCore.css" rel="stylesheet" type="text/css" /> +<link href="css/shCoreEclipse.css" rel="stylesheet" type="text/css" /> +<link href="css/shThemeEclipse.css" rel="stylesheet" type="text/css" /> +<link href="css/polygene.css" rel="stylesheet" type="text/css" /> + +<!-- Syntax Highlighter --> + +<script type="text/javascript" src="js/shCore.js"></script> +<script type="text/javascript" src="js/shBrushJava.js"></script> +<script type="text/javascript" src="js/shBrushScala.js"></script> +<script type="text/javascript" src="js/shBrushJScript.js"></script> +<script type="text/javascript" src="js/shBrushBash.js"></script> +<script type="text/javascript" src="js/shBrushPlain.js"></script> +<script type="text/javascript" src="js/shBrushXml.js"></script> +<script type="text/javascript" src="js/shBrushGroovy.js"></script> +<script type="text/javascript" src="js/shBrushPython.js"></script> +<script type="text/javascript" src="js/shBrushRuby.js"></script> +<script type="text/javascript" src="js/shBrushCSharp.js"></script> + +<script type="text/javascript"> + SyntaxHighlighter.defaults['tab-size'] = 4; + SyntaxHighlighter.defaults['gutter'] = false; + SyntaxHighlighter.defaults['toolbar'] = false; + SyntaxHighlighter.all() +</script> + +<!-- JQuery --> + +<script type="text/javascript" src="js/jquery-1.6.4.min.js"></script> + +<!-- Image Scaler --> + +<script type="text/javascript" src="js/imagescaler.js"></script> + +<!-- Table Styler --> + +<script type="text/javascript" src="js/tablestyler.js"></script> + +<!-- Apache Polygene WebSite Progressive Enhancement --> + +<link href="css/progressive-enhancement.css" rel="stylesheet" type="text/css" /> +<script type="text/javascript" src="js/jquery.scrollTo-1.4.2.js"></script> +<script type="text/javascript" src="js/progressive-enhancement.js"></script> + +<!-- Analytics --> + <script type="text/javascript"> + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-62007352-1']); + _gaq.push(['_trackPageview']); + + (function() { + var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; + ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; + var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + </script> + + </head><body><div xmlns="" xmlns:exsl="http://exslt.org/common" class="logo"><a href="index.html"><img src="images/logo-standard.png" /></a></div><div xmlns="" xmlns:exsl="http://exslt.org/common" class="top-nav"><div xmlns="http://www.w3.org/1999/xhtml" class="toc"><dl><dt><span class="section"><a href="index.html#home">Polygeneâ¢</a></span></dt><dt><span class="section"><a href="intro.html">Introduction</a></span></dt><dt><span class="section"><span xmlns="" href="tutorials.html">Tutorials</span></span></dt><dt><span class="section"><a href="javadocs.html">Javadoc</a></span></dt><dt><span class="section"><a href="samples.html">Samples</a></span></dt><dt><span class="section"><a href="core.html">Core</a></span></dt><dt><span class="section"><a href="libraries.html">Libraries</a></span></dt><dt><span class="section"><a href="extensions.html">Extensions</a></span></dt><dt><span class="section"><a href="tools.html">Tools</a></span></dt><dt><span class="section"><a href="glossary.ht ml">Glossary </a></span></dt></dl></div></div><div xmlns="" xmlns:exsl="http://exslt.org/common" class="sub-nav"><div xmlns="http://www.w3.org/1999/xhtml" class="toc"><dl><dt><span class="section"><a href="tutorials.html#_overview">Overview</a></span></dt><dt><span class="section"><a href="two-minutes-intro.html">Polygene⢠in 2 minutes</a></span></dt><dt><span class="section"><a href="ten-minutes-intro.html">Polygene⢠in 10 minutes</a></span></dt><dt><span class="section"><a href="thirty-minutes-intro.html">Polygene⢠in 30 minutes</a></span></dt><dt><span class="section"><a href="howto-depend-on-polygene.html">Depend on Polygeneâ¢</a></span></dt><dt><span class="section"><a href="howto-assemble-application.html">Assemble an Application</a></span></dt><dt><span class="section"><a href="tut-composites.html">Transient Composites Tutorial</a></span></dt><dt><span class="section"><a href="tut-services.html">Services Composites Tutorial</a></span></dt><dt><span class="section"><a href="howto-contextual-fragments.html">Use contextual fragments</a></span></dt><dt><span class="section"><span xmlns="" href="howto-leverage-properties.html">Leverage Properties</span></span></dt><dt><span class="section"><a href="howto-create-constraint.html">Create a Constraint</a></span></dt><dt><span class="section"><a href="howto-create-concern.html">Create a Concern</a></span></dt><dt><span class="section"><a href="howto-create-sideeffect.html">Create a SideEffect</a></span></dt><dt><span class="section"><a href="howto-create-entity.html">Create an Entity</a></span></dt><dt><span class="section"><a href="howto-configure-service.html">Configure a Service</a></span></dt><dt><span class="section"><a href="howto-invocation-annotation.html">Use @Invocation</a></span></dt><dt><span class="section"><a href="build-system.html">Polygene⢠Build System</a></span></dt><dt><span class="section"><a href="community-docs.html">Polygene⢠Documentation</a></span></dt><dt><span class="sectio n"><a href="releasing-apache.html">Releasing Polygeneâ¢</a></span></dt></dl></div></div><div class="section" title="Leverage Properties"><div class="titlepage"><div><div><h3 class="title"><a id="howto-leverage-properties"></a>Leverage Properties</h3></div></div></div><p>Polygene⢠does not follow the JavaBeans standard for property support. Instead, a much more explicit concept is in place. The +advantages are enormous, and the only real downside is that people are already destroyed, thinking in so called POJO +terms.</p><p>If you want to reproduce whatâs explained in this tutorial, remember to depend on the Core API artifact:</p><div class="table"><a id="idm522922791920"></a><p class="title"><strong>Table 8. Artifact</strong></p><div class="table-contents"><table summary="Artifact" border="1"><colgroup><col class="col_1" /><col class="col_2" /><col class="col_3" /></colgroup><thead><tr><th align="left" valign="top">Group ID</th><th align="left" valign="top">Artifact ID</th><th align="left" valign="top">Version</th></tr></thead><tbody><tr><td align="left" valign="top"><p>org.apache.polygene.core</p></td><td align="left" valign="top"><p>org.apache.polygene.core.api</p></td><td align="left" valign="top"><p>3.0.0</p></td></tr></tbody></table></div></div><br class="table-break" /><p>At runtime you will need the Core Runtime artifact too. See the <a class="xref" href="howto-depend-on-polygene.html" title="Depend on Polygeneâ¢">Depend on Polygeneâ¢</a> tutorial for details.</p><p>So in Pol ygene, instead of writing;</p><pre class="programlisting brush: java">public interface Book +{ + String getTitle(); + String getAuthor(); +} +</pre><pre class="programlisting brush: java">public interface MutableBook extends Book +{ + void setTitle( String title ); + void setAuthor( String author ); +} +</pre><p>where we need the MutableBook to be able to initialize it (known as Type 2 Dependency Injection) on creation. From our +point of view, this has many flaws. If we refactor the "Title" property, our IDE need to understand the getters and +setters concept. The good news now is that they all do, but how about meta information about the property itself. For +instance, how to define a system where a UI can get an Icon for "Author" in a generic way? All kinds of system has been +added, such as one can create a BookBean for some metadata, and then MBeans for management. Where will it end?</p><p>We think we have a much better solution, and are bold enough to abandon the getters/setters and POJOs. The above looks +like this;</p><pre class="programlisting brush: java">public interface Book +{ + @Immutable + Property<String> title(); + + @Immutable + Property<String> author(); +} +</pre><p>There is more to this than meets the eye.</p><div class="itemizedlist"><ul class="itemizedlist"><li class="listitem"> +@Immutable annotation signals that this canât change. +</li><li class="listitem"> +Property still have a set() method, which can be used during the initialization only. +</li><li class="listitem"> +Metadata about each Property can be declared as <a class="xref" href="glossary.html#def-metainfo">MetaInfo</a>. +</li></ul></div><pre class="programlisting brush: java">@Structure +Module module; + [...snip...] + + TransientBuilder<Book> builder = module.newTransientBuilder( Book.class ); + Book prototype = builder.prototype(); + prototype.title().set( "The Death of POJOs" ); + prototype.author().set( "Niclas Hedhman" ); + Book book = builder.newInstance(); + String title = book.title().get(); // Retrieves the title. + book.title().set( "Long Live POJOs" ); // throws an IllegalStateException +</pre><div class="section" title="Persistence"><div class="titlepage"><div><div><h4 class="title"><a id="_persistence"></a>Persistence</h4></div></div></div><p>The Property concept also allows a much better defined persistence model. In Polygene, only Property and Association +instances are persisted, and that makes the semantics around the persistence system very clear.</p><p>Properties reference values only, and these values must be Serializable, which means that Properties can not contain +Entities, since Entities are not Serializable. Associations are the opposite, as they must only reference Entities and +nothing else.</p></div><div class="section" title="MetaInfo"><div class="titlepage"><div><div><h4 class="title"><a id="_metainfo"></a>MetaInfo</h4></div></div></div><p>Properties can also have typed, custom meta information associated with them. Meta information is declared once per +Property per Module. A Property is identified by its method name and the interface it is declared in.</p><p>Letâs say we want to create a generic Swing client that can show and navigate the domain model, without knowing the +actual domain model. Such Swing client will utilize a SwingInfo property info if it is available.</p><pre class="programlisting brush: java">public interface SwingInfo +{ + Icon icon( Rectangle size ); + + String displayName( Locale locale ); +} +</pre><p>Our generic Swing UI will be mainly reflective in nature, but when it gets hold of a Property, it can simply do;</p><pre class="programlisting brush: java"> @Structure + private PolygeneAPI api; + [...snip...] + + private void addProperty( JPanel panel, Property<?> property ) + { + SwingInfo info = api.propertyDescriptorFor( property ).metaInfo( SwingInfo.class ); + Icon icon = info.icon( SIZE_32_32 ); + panel.add( new JLabel(info.displayName( this.locale ), icon, JLabel.CENTER) ); + } + [...snip...] + +} +</pre></div></div><div xmlns="" xmlns:exsl="http://exslt.org/common" class="footer"><p> + Copyright © 2015 The Apache Software Foundation, Licensed under the <a href="http://www.apache.org/licenses/" target="_blank">Apache License, Version 2.0</a>. + <br /><small> + Apache Polygene, Polygene, Apache, the Apache feather logo, and the Apache Polygene project logo are trademarks of The Apache Software Foundation.<br /> + All other marks mentioned may be trademarks or registered trademarks of their respective owners. + </small></p></div></body></html> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/polygene-website/blob/86741dec/content/java/3.0.0/images/classes-are-dead.gif ---------------------------------------------------------------------- diff --git a/content/java/3.0.0/images/classes-are-dead.gif b/content/java/3.0.0/images/classes-are-dead.gif new file mode 100644 index 0000000..0280817 Binary files /dev/null and b/content/java/3.0.0/images/classes-are-dead.gif differ http://git-wip-us.apache.org/repos/asf/polygene-website/blob/86741dec/content/java/3.0.0/images/core-overview.png ---------------------------------------------------------------------- diff --git a/content/java/3.0.0/images/core-overview.png b/content/java/3.0.0/images/core-overview.png new file mode 100644 index 0000000..8d1a4d9 Binary files /dev/null and b/content/java/3.0.0/images/core-overview.png differ http://git-wip-us.apache.org/repos/asf/polygene-website/blob/86741dec/content/java/3.0.0/images/forkme_left_red.png ---------------------------------------------------------------------- diff --git a/content/java/3.0.0/images/forkme_left_red.png b/content/java/3.0.0/images/forkme_left_red.png new file mode 100644 index 0000000..3aacaef Binary files /dev/null and b/content/java/3.0.0/images/forkme_left_red.png differ http://git-wip-us.apache.org/repos/asf/polygene-website/blob/86741dec/content/java/3.0.0/images/icons/README ---------------------------------------------------------------------- diff --git a/content/java/3.0.0/images/icons/README b/content/java/3.0.0/images/icons/README new file mode 100644 index 0000000..f12b2a7 --- /dev/null +++ b/content/java/3.0.0/images/icons/README @@ -0,0 +1,5 @@ +Replaced the plain DocBook XSL admonition icons with Jimmac's DocBook +icons (http://jimmac.musichall.cz/ikony.php3). I dropped transparency +from the Jimmac icons to get round MS IE and FOP PNG incompatibilies. + +Stuart Rackham http://git-wip-us.apache.org/repos/asf/polygene-website/blob/86741dec/content/java/3.0.0/images/icons/admon/caution.png ---------------------------------------------------------------------- diff --git a/content/java/3.0.0/images/icons/admon/caution.png b/content/java/3.0.0/images/icons/admon/caution.png new file mode 100644 index 0000000..c6b6fd4 Binary files /dev/null and b/content/java/3.0.0/images/icons/admon/caution.png differ http://git-wip-us.apache.org/repos/asf/polygene-website/blob/86741dec/content/java/3.0.0/images/icons/admon/caution.svg ---------------------------------------------------------------------- diff --git a/content/java/3.0.0/images/icons/admon/caution.svg b/content/java/3.0.0/images/icons/admon/caution.svg new file mode 100644 index 0000000..3832910 --- /dev/null +++ b/content/java/3.0.0/images/icons/admon/caution.svg @@ -0,0 +1,393 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you under the Apache License, Version 2.0 (the + ~ "License"); you may not use this file except in compliance + ~ with the License. You may obtain a copy of the License at + ~ + ~ http://www.apache.org/licenses/LICENSE-2.0 + ~ + ~ Unless required by applicable law or agreed to in writing, software + ~ distributed under the License is distributed on an "AS IS" BASIS, + ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + ~ See the License for the specific language governing permissions and + ~ limitations under the License. + ~ + ~ + --> + +<!-- Created with Inkscape (http://www.inkscape.org/) --> +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:xlink="http://www.w3.org/1999/xlink" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + width="48px" + height="48px" + id="svg1377" + sodipodi:version="0.32" + inkscape:version="0.46" + sodipodi:docbase="/home/jimmac/src/cvs/tango-icon-theme/scalable/status" + sodipodi:docname="dialog-warning.svg" + inkscape:output_extension="org.inkscape.output.svg.inkscape"> + <defs + id="defs1379"> + <inkscape:perspective + sodipodi:type="inkscape:persp3d" + inkscape:vp_x="0 : 24 : 1" + inkscape:vp_y="0 : 1000 : 0" + inkscape:vp_z="48 : 24 : 1" + inkscape:persp3d-origin="24 : 16 : 1" + id="perspective48" /> + <radialGradient + inkscape:collect="always" + xlink:href="#linearGradient5060" + id="radialGradient6719" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(-2.774389,0,0,1.969706,112.7623,-872.8854)" + cx="605.71429" + cy="486.64789" + fx="605.71429" + fy="486.64789" + r="117.14286" /> + <linearGradient + inkscape:collect="always" + id="linearGradient5060"> + <stop + style="stop-color:black;stop-opacity:1;" + offset="0" + id="stop5062" /> + <stop + style="stop-color:black;stop-opacity:0;" + offset="1" + id="stop5064" /> + </linearGradient> + <radialGradient + inkscape:collect="always" + xlink:href="#linearGradient5060" + id="radialGradient6717" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(2.774389,0,0,1.969706,-1891.633,-872.8854)" + cx="605.71429" + cy="486.64789" + fx="605.71429" + fy="486.64789" + r="117.14286" /> + <linearGradient + id="linearGradient5048"> + <stop + style="stop-color:black;stop-opacity:0;" + offset="0" + id="stop5050" /> + <stop + id="stop5056" + offset="0.5" + style="stop-color:black;stop-opacity:1;" /> + <stop + style="stop-color:black;stop-opacity:0;" + offset="1" + id="stop5052" /> + </linearGradient> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient5048" + id="linearGradient6715" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(2.774389,0,0,1.969706,-1892.179,-872.8854)" + x1="302.85715" + y1="366.64789" + x2="302.85715" + y2="609.50507" /> + <linearGradient + y2="56.0523" + x2="47.3197" + y1="11.1133" + x1="4.1914" + gradientUnits="userSpaceOnUse" + id="aigrd1"> + <stop + id="stop6490" + style="stop-color:#D4D4D4" + offset="0" /> + <stop + id="stop6492" + style="stop-color:#E2E2E2" + offset="0.3982" /> + <stop + id="stop6494" + style="stop-color:#FFFFFF" + offset="1" /> + </linearGradient> + <linearGradient + y2="56.0523" + x2="47.3197" + y1="11.1133" + x1="4.1914" + gradientUnits="userSpaceOnUse" + id="linearGradient7451" + xlink:href="#aigrd1" + inkscape:collect="always" /> + <linearGradient + id="linearGradient4126" + inkscape:collect="always"> + <stop + id="stop4128" + offset="0" + style="stop-color:#000000;stop-opacity:1;" /> + <stop + id="stop4130" + offset="1" + style="stop-color:#000000;stop-opacity:0;" /> + </linearGradient> + <radialGradient + r="17.142857" + fy="40.000000" + fx="23.857143" + cy="40.000000" + cx="23.857143" + gradientTransform="matrix(1,0,0,0.5,2.139286e-14,20)" + gradientUnits="userSpaceOnUse" + id="radialGradient7449" + xlink:href="#linearGradient4126" + inkscape:collect="always" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient6525" + id="linearGradient5250" + x1="8.5469341" + y1="30.281681" + x2="30.85088" + y2="48.301884" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(0.899009,0,0,0.934235,1.875108,1.193645)" /> + <linearGradient + inkscape:collect="always" + xlink:href="#aigrd1" + id="linearGradient3922" + gradientUnits="userSpaceOnUse" + x1="4.1914" + y1="11.1133" + x2="47.3197" + y2="56.0523" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient6525" + id="linearGradient3924" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(0.899009,0,0,0.934235,1.875108,1.193645)" + x1="8.5469341" + y1="30.281681" + x2="30.85088" + y2="48.301884" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient6525" + id="linearGradient3933" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(0.899009,0,0,0.934235,1.875108,1.193645)" + x1="8.5469341" + y1="30.281681" + x2="30.85088" + y2="48.301884" /> + <linearGradient + inkscape:collect="always" + xlink:href="#aigrd1" + id="linearGradient3935" + gradientUnits="userSpaceOnUse" + x1="4.1914" + y1="11.1133" + x2="47.3197" + y2="56.0523" /> + <linearGradient + inkscape:collect="always" + xlink:href="#aigrd1" + id="linearGradient3946" + gradientUnits="userSpaceOnUse" + x1="4.1914" + y1="11.1133" + x2="47.3197" + y2="56.0523" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient6525" + id="linearGradient3948" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(0.899009,0,0,0.934235,1.875108,1.193645)" + x1="8.5469341" + y1="30.281681" + x2="30.85088" + y2="48.301884" /> + </defs> + <sodipodi:namedview + id="base" + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="1.0" + inkscape:pageopacity="0.0" + inkscape:pageshadow="2" + inkscape:zoom="14.757891" + inkscape:cx="13.022822" + inkscape:cy="24" + inkscape:current-layer="g7435" + showgrid="true" + inkscape:grid-bbox="true" + inkscape:document-units="px" + inkscape:window-width="1105" + inkscape:window-height="818" + inkscape:window-x="0" + inkscape:window-y="30"> + <inkscape:grid + id="GridFromPre046Settings" + type="xygrid" + originx="0px" + originy="0px" + spacingx="1px" + spacingy="1px" + color="#0000ff" + empcolor="#0000ff" + opacity="0.2" + empopacity="0.4" + empspacing="4" /> + </sodipodi:namedview> + <metadata + id="metadata1382"> + <rdf:RDF> + <cc:Work + rdf:about=""> + <dc:format>image/svg+xml</dc:format> + <dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> + <dc:title>Dialog Warning</dc:title> + <dc:date>2005-10-14</dc:date> + <dc:creator> + <cc:Agent> + <dc:title>Andreas Nilsson</dc:title> + </cc:Agent> + </dc:creator> + <dc:contributor> + <cc:Agent> + <dc:title>Jakub Steiner, Garrett LeSage</dc:title> + </cc:Agent> + </dc:contributor> + <dc:subject> + <rdf:Bag> + <rdf:li>dialog</rdf:li> + <rdf:li>warning</rdf:li> + </rdf:Bag> + </dc:subject> + <cc:license + rdf:resource="http://creativecommons.org/licenses/publicdomain/" /> + </cc:Work> + <cc:License + rdf:about="http://creativecommons.org/licenses/publicdomain/"> + <cc:permits + rdf:resource="http://creativecommons.org/ns#Reproduction" /> + <cc:permits + rdf:resource="http://creativecommons.org/ns#Distribution" /> + <cc:permits + rdf:resource="http://creativecommons.org/ns#DerivativeWorks" /> + </cc:License> + </rdf:RDF> + </metadata> + <g + id="layer1" + inkscape:label="Layer 1" + inkscape:groupmode="layer"> + <g + transform="matrix(1.566667,0.000000,0.000000,1.566667,-8.925566,-23.94764)" + id="g7435"> + <g + style="display:inline" + transform="matrix(1.444074e-2,0,0,1.331973e-2,33.38871,40.40337)" + id="g6707"> + <rect + style="opacity:0.40206185;color:black;fill:url(#linearGradient6715);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible" + id="rect6709" + width="1339.6335" + height="478.35718" + x="-1559.2523" + y="-150.69685" /> + <path + style="opacity:0.40206185;color:black;fill:url(#radialGradient6717);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible" + d="M -219.61876,-150.68038 C -219.61876,-150.68038 -219.61876,327.65041 -219.61876,327.65041 C -76.744594,328.55086 125.78146,220.48075 125.78138,88.454235 C 125.78138,-43.572302 -33.655436,-150.68036 -219.61876,-150.68038 z " + id="path6711" + sodipodi:nodetypes="cccc" /> + <path + sodipodi:nodetypes="cccc" + id="path6713" + d="M -1559.2523,-150.68038 C -1559.2523,-150.68038 -1559.2523,327.65041 -1559.2523,327.65041 C -1702.1265,328.55086 -1904.6525,220.48075 -1904.6525,88.454235 C -1904.6525,-43.572302 -1745.2157,-150.68036 -1559.2523,-150.68038 z " + style="opacity:0.40206185;color:black;fill:url(#radialGradient6719);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible" /> + </g> + <g + id="g3937" + transform="matrix(1,0,4.537846e-3,1,-0.138907,-1.394718e-15)" + inkscape:r_cx="true" + inkscape:r_cy="true"> + <path + inkscape:r_cy="true" + inkscape:r_cx="true" + transform="matrix(1,0,-8.726683e-3,1,0.328074,1.276596)" + id="path6485" + d="M 33.282781,38.644744 L 22.407791,18.394765 C 22.095292,17.832266 21.532792,17.519767 20.907793,17.519767 C 20.282793,17.519767 19.720294,17.894765 19.407795,18.457265 L 8.7828048,38.707245 C 8.5328048,39.207244 8.5328048,39.894744 8.8453048,40.394743 C 9.1578038,40.894743 9.6578038,41.144742 10.282804,41.144742 L 31.782782,41.144742 C 32.407781,41.144742 32.97028,40.832243 33.220281,40.332243 C 33.53278,39.832243 33.53278,39.207244 33.282781,38.644744 z " + style="fill:#cc0000;fill-rule:nonzero;stroke:#9f0000;stroke-width:0.6382978;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> + <g + inkscape:r_cy="true" + inkscape:r_cx="true" + id="g6487" + transform="matrix(0.625,0,-5.534934e-3,0.634254,6.164053,15.76055)" + style="fill-rule:nonzero;stroke:#000000;stroke-miterlimit:4"> + <linearGradient + y2="56.052299" + x2="47.319698" + y1="11.1133" + x1="4.1914001" + gradientUnits="userSpaceOnUse" + id="linearGradient6525"> + <stop + id="stop6529" + style="stop-color:#ffffff;stop-opacity:1;" + offset="0" /> + <stop + id="stop6531" + style="stop-color:#ffffff;stop-opacity:0.34020618;" + offset="1" /> + </linearGradient> + <path + inkscape:r_cy="true" + inkscape:r_cx="true" + id="path6496" + d="M 9.5,37.6 C 9.2,38.1 9.5,38.5 10,38.5 L 38.2,38.5 C 38.7,38.5 39,38.1 38.7,37.6 L 24.4,11 C 24.1,10.5 23.7,10.5 23.5,11 L 9.5,37.6 z " + style="fill:url(#linearGradient3946);stroke:none" /> + </g> + <path + inkscape:r_cy="true" + inkscape:r_cx="true" + transform="matrix(1,0,-8.726683e-3,1,0.318277,1.276596)" + sodipodi:nodetypes="ccsccscccc" + id="path1325" + d="M 32.323106,38.183905 L 22.150271,19.265666 C 21.71698,18.45069 21.561698,18.189213 20.908406,18.189213 C 20.346525,18.189213 20.054127,18.57002 19.651305,19.339291 L 9.7489285,38.242296 C 9.1737649,39.303588 9.1128238,39.580228 9.3937644,40.047345 C 9.6747034,40.514462 10.032797,40.48902 11.356441,40.519491 L 30.974593,40.519491 C 32.206825,40.534726 32.483988,40.440837 32.70874,39.97372 C 32.989681,39.506602 32.867799,39.136 32.323106,38.183905 z " + style="opacity:0.5;fill:none;fill-opacity:1;fill-rule:nonzero;stroke:url(#linearGradient3948);stroke-width:0.63829792;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> + </g> + <g + style="fill-rule:nonzero;stroke:#000000;stroke-miterlimit:4" + transform="matrix(0.555088,0,0,0.555052,7.749711,17.80196)" + id="g6498" + inkscape:r_cx="true" + inkscape:r_cy="true"> + <path + style="stroke:none" + d="M 23.9,36.5 C 22.6,36.5 21.6,35.5 21.6,34.2 C 21.6,32.8 22.5,31.9 23.9,31.9 C 25.3,31.9 26.1,32.8 26.2,34.2 C 26.2,35.5 25.3,36.5 23.9,36.5 L 23.9,36.5 z M 22.5,30.6 L 21.9,19.1 L 25.9,19.1 L 25.3,30.6 L 22.4,30.6 L 22.5,30.6 z " + id="path6500" + inkscape:r_cx="true" + inkscape:r_cy="true" /> + </g> + </g> + </g> +</svg> http://git-wip-us.apache.org/repos/asf/polygene-website/blob/86741dec/content/java/3.0.0/images/icons/admon/important.png ---------------------------------------------------------------------- diff --git a/content/java/3.0.0/images/icons/admon/important.png b/content/java/3.0.0/images/icons/admon/important.png new file mode 100644 index 0000000..49a8279 Binary files /dev/null and b/content/java/3.0.0/images/icons/admon/important.png differ http://git-wip-us.apache.org/repos/asf/polygene-website/blob/86741dec/content/java/3.0.0/images/icons/admon/important.svg ---------------------------------------------------------------------- diff --git a/content/java/3.0.0/images/icons/admon/important.svg b/content/java/3.0.0/images/icons/admon/important.svg new file mode 100644 index 0000000..a7384f7 --- /dev/null +++ b/content/java/3.0.0/images/icons/admon/important.svg @@ -0,0 +1,184 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you under the Apache License, Version 2.0 (the + ~ "License"); you may not use this file except in compliance + ~ with the License. You may obtain a copy of the License at + ~ + ~ http://www.apache.org/licenses/LICENSE-2.0 + ~ + ~ Unless required by applicable law or agreed to in writing, software + ~ distributed under the License is distributed on an "AS IS" BASIS, + ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + ~ See the License for the specific language governing permissions and + ~ limitations under the License. + ~ + ~ + --> + +<!-- Created with Inkscape (http://www.inkscape.org/) --> +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:xlink="http://www.w3.org/1999/xlink" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + width="48px" + height="48px" + id="svg1800" + sodipodi:version="0.32" + inkscape:version="0.46" + sodipodi:docbase="/home/tigert/cvs/freedesktop.org/tango-icon-theme/scalable/emblems" + sodipodi:docname="emblem-important.svg" + inkscape:output_extension="org.inkscape.output.svg.inkscape"> + <defs + id="defs3"> + <inkscape:perspective + sodipodi:type="inkscape:persp3d" + inkscape:vp_x="0 : 24 : 1" + inkscape:vp_y="0 : 1000 : 0" + inkscape:vp_z="48 : 24 : 1" + inkscape:persp3d-origin="24 : 16 : 1" + id="perspective17" /> + <linearGradient + inkscape:collect="always" + id="linearGradient3101"> + <stop + style="stop-color:#000000;stop-opacity:1;" + offset="0" + id="stop3103" /> + <stop + style="stop-color:#000000;stop-opacity:0;" + offset="1" + id="stop3105" /> + </linearGradient> + <radialGradient + inkscape:collect="always" + xlink:href="#linearGradient3101" + id="radialGradient3107" + cx="17.3125" + cy="25.53125" + fx="17.3125" + fy="25.53125" + r="9.6875" + gradientTransform="matrix(1.000000,0.000000,0.000000,0.351613,1.292803e-15,16.55413)" + gradientUnits="userSpaceOnUse" /> + </defs> + <sodipodi:namedview + fill="#edd400" + id="base" + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="0.20392157" + inkscape:pageopacity="0.0" + inkscape:pageshadow="2" + inkscape:zoom="1" + inkscape:cx="66.140367" + inkscape:cy="14.79073" + inkscape:current-layer="layer1" + showgrid="false" + inkscape:grid-bbox="true" + inkscape:document-units="px" + inkscape:showpageshadow="false" + inkscape:window-width="872" + inkscape:window-height="818" + inkscape:window-x="370" + inkscape:window-y="30" /> + <metadata + id="metadata4"> + <rdf:RDF> + <cc:Work + rdf:about=""> + <dc:format>image/svg+xml</dc:format> + <dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> + <cc:license + rdf:resource="http://creativecommons.org/licenses/publicdomain/" /> + <dc:title>Emblem Important</dc:title> + <dc:creator> + <cc:Agent> + <dc:title>Jakub Steiner</dc:title> + </cc:Agent> + </dc:creator> + <dc:subject> + <rdf:Bag> + <rdf:li>emblem</rdf:li> + <rdf:li>photos</rdf:li> + <rdf:li>pictures</rdf:li> + <rdf:li>raw</rdf:li> + <rdf:li>jpeg</rdf:li> + </rdf:Bag> + </dc:subject> + </cc:Work> + <cc:License + rdf:about="http://creativecommons.org/licenses/publicdomain/"> + <cc:permits + rdf:resource="http://creativecommons.org/ns#Reproduction" /> + <cc:permits + rdf:resource="http://creativecommons.org/ns#Distribution" /> + <cc:permits + rdf:resource="http://creativecommons.org/ns#DerivativeWorks" /> + </cc:License> + </rdf:RDF> + </metadata> + <g + id="layer1" + inkscape:label="Layer 1" + inkscape:groupmode="layer"> + <path + sodipodi:type="arc" + style="opacity:0.40909091;color:#000000;fill:url(#radialGradient3107);fill-opacity:1.0000000;fill-rule:nonzero;stroke:none;stroke-width:1.1053395;stroke-linecap:butt;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4.0000000;stroke-dasharray:none;stroke-dashoffset:0.0000000;stroke-opacity:1.0000000;visibility:visible;display:inline;overflow:visible" + id="path3099" + sodipodi:cx="17.312500" + sodipodi:cy="25.531250" + sodipodi:rx="9.6875000" + sodipodi:ry="3.4062500" + d="M 27.000000 25.531250 A 9.6875000 3.4062500 0 1 1 7.6250000,25.531250 A 9.6875000 3.4062500 0 1 1 27.000000 25.531250 z" + transform="matrix(2.182912,0.000000,0.000000,2.182912,-13.50372,-14.35012)" /> + <path + sodipodi:type="arc" + style="opacity:1.0000000;fill:#f57900;fill-opacity:1.0000000;fill-rule:nonzero;stroke:#914900;stroke-width:0.98214942;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4.0000000;stroke-dasharray:none;stroke-dashoffset:0.0000000;stroke-opacity:1.0000000" + id="path1650" + sodipodi:cx="24.130018" + sodipodi:cy="23.428040" + sodipodi:rx="22.008699" + sodipodi:ry="21.213203" + d="M 46.138718 23.428040 A 22.008699 21.213203 0 1 1 2.1213188,23.428040 A 22.008699 21.213203 0 1 1 46.138718 23.428040 z" + transform="matrix(0.944630,0.000000,0.000000,0.980053,1.504174,-1.556912)" /> + <path + sodipodi:type="arc" + style="opacity:1.0000000;fill:none;fill-opacity:1.0000000;fill-rule:nonzero;stroke:#fcaf3e;stroke-width:0.98214942;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4.0000000;stroke-dasharray:none;stroke-dashoffset:0.0000000;stroke-opacity:1.0000000" + id="path3392" + sodipodi:cx="24.130018" + sodipodi:cy="23.428040" + sodipodi:rx="22.008699" + sodipodi:ry="21.213203" + d="M 46.138718 23.428040 A 22.008699 21.213203 0 1 1 2.1213188,23.428040 A 22.008699 21.213203 0 1 1 46.138718 23.428040 z" + transform="matrix(0.914086,0.000000,0.000000,0.948364,2.380576,-0.905815)" /> + <path + style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:4.1224999;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4.0000000;stroke-dashoffset:0.0000000;stroke-opacity:1.0000000" + d="M 21.464926,10.373268 C 21.336952,10.373268 21.230316,10.547762 21.230316,10.757175 L 22.295085,25.197999 C 22.295085,25.407412 22.401721,25.581906 22.529695,25.581907 C 22.529695,25.581907 23.370516,25.593810 24.063684,25.581907 C 24.292022,25.577986 24.361898,25.602219 24.568998,25.581907 C 25.262166,25.593810 26.102987,25.581907 26.102987,25.581907 C 26.230961,25.581907 26.337597,25.407412 26.337597,25.197999 L 27.402366,10.757175 C 27.402366,10.547762 27.295730,10.402799 27.167755,10.402799 L 24.587044,10.402799 C 24.577532,10.400862 24.578842,10.373268 24.568998,10.373268 L 21.464926,10.373268 z " + id="rect1872" /> + <path + sodipodi:type="arc" + style="opacity:1.0000000;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:4.1224999;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4.0000000;stroke-dasharray:none;stroke-dashoffset:0.0000000;stroke-opacity:1.0000000" + id="path2062" + sodipodi:cx="-16.437500" + sodipodi:cy="34.062500" + sodipodi:rx="4.5625000" + sodipodi:ry="3.8125000" + d="M -11.875000 34.062500 A 4.5625000 3.8125000 0 1 1 -21.000000,34.062500 A 4.5625000 3.8125000 0 1 1 -11.875000 34.062500 z" + transform="matrix(0.504864,0.000000,0.000000,0.604182,32.65935,9.608845)" /> + <path + style="fill:#fffeff;fill-opacity:0.21390374;fill-rule:nonzero;stroke:none;stroke-width:1.0000000;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4.0000000;stroke-dashoffset:0.0000000;stroke-opacity:1.0000000" + d="M 43.676426,20.476780 C 43.676426,31.307396 37.624257,16.170581 25.001688,20.863168 C 12.279172,25.592912 4.4350535,31.307396 4.4350535,20.476780 C 4.4350535,9.6461627 13.225120,0.85609769 24.055740,0.85609769 C 34.886359,0.85609769 43.676426,9.6461627 43.676426,20.476780 z " + id="path3068" + sodipodi:nodetypes="czssc" /> + </g> +</svg> http://git-wip-us.apache.org/repos/asf/polygene-website/blob/86741dec/content/java/3.0.0/images/icons/admon/note.png ---------------------------------------------------------------------- diff --git a/content/java/3.0.0/images/icons/admon/note.png b/content/java/3.0.0/images/icons/admon/note.png new file mode 100644 index 0000000..b35e7be Binary files /dev/null and b/content/java/3.0.0/images/icons/admon/note.png differ http://git-wip-us.apache.org/repos/asf/polygene-website/blob/86741dec/content/java/3.0.0/images/icons/admon/note.svg ---------------------------------------------------------------------- diff --git a/content/java/3.0.0/images/icons/admon/note.svg b/content/java/3.0.0/images/icons/admon/note.svg new file mode 100644 index 0000000..05d3592 --- /dev/null +++ b/content/java/3.0.0/images/icons/admon/note.svg @@ -0,0 +1,278 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you under the Apache License, Version 2.0 (the + ~ "License"); you may not use this file except in compliance + ~ with the License. You may obtain a copy of the License at + ~ + ~ http://www.apache.org/licenses/LICENSE-2.0 + ~ + ~ Unless required by applicable law or agreed to in writing, software + ~ distributed under the License is distributed on an "AS IS" BASIS, + ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + ~ See the License for the specific language governing permissions and + ~ limitations under the License. + ~ + ~ + --> + +<!-- Created with Inkscape (http://www.inkscape.org/) --> +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://web.resource.org/cc/" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:xlink="http://www.w3.org/1999/xlink" + xmlns:sodipodi="http://inkscape.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + width="48px" + height="48px" + id="svg1384" + sodipodi:version="0.32" + inkscape:version="0.42" + sodipodi:docbase="/home/andreas/projekt/tango/scalable" + sodipodi:docname="draw-freehand.svg"> + <defs + id="defs1386"> + <linearGradient + inkscape:collect="always" + id="linearGradient2688"> + <stop + style="stop-color:#000000;stop-opacity:0.85792351" + offset="0" + id="stop2690" /> + <stop + style="stop-color:#000000;stop-opacity:0;" + offset="1" + id="stop2692" /> + </linearGradient> + <linearGradient + id="linearGradient2994"> + <stop + style="stop-color:#000000;stop-opacity:1;" + offset="0" + id="stop2996" /> + <stop + style="stop-color:#c9c9c9;stop-opacity:1;" + offset="1" + id="stop2998" /> + </linearGradient> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient2994" + id="linearGradient2326" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(0.866025,-0.500000,0.500000,0.866025,-7.143381,18.57376)" + x1="25.71875" + y1="31.046875" + x2="25.514589" + y2="30.703125" /> + <linearGradient + inkscape:collect="always" + id="linearGradient2984"> + <stop + style="stop-color:#e7e2b8;stop-opacity:1;" + offset="0" + id="stop2986" /> + <stop + style="stop-color:#e7e2b8;stop-opacity:0;" + offset="1" + id="stop2988" /> + </linearGradient> + <radialGradient + inkscape:collect="always" + xlink:href="#linearGradient2984" + id="radialGradient2324" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(2.531882,-1.461783,1.014859,1.757786,-69.41136,22.18199)" + cx="29.053354" + cy="27.640751" + fx="29.053354" + fy="27.640751" + r="3.2408544" /> + <linearGradient + id="linearGradient2974"> + <stop + style="stop-color:#c1c1c1;stop-opacity:1;" + offset="0" + id="stop2976" /> + <stop + style="stop-color:#acacac;stop-opacity:1;" + offset="1" + id="stop2978" /> + </linearGradient> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient2974" + id="linearGradient2322" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(0.866025,-0.500000,0.500000,0.866025,-7.070561,18.38738)" + x1="46" + y1="19.8125" + x2="47.6875" + y2="22.625" /> + <linearGradient + id="linearGradient2966"> + <stop + style="stop-color:#ffd1d1;stop-opacity:1;" + offset="0" + id="stop2968" /> + <stop + id="stop3006" + offset="0.5" + style="stop-color:#ff1d1d;stop-opacity:1;" /> + <stop + style="stop-color:#6f0000;stop-opacity:1;" + offset="1" + id="stop2970" /> + </linearGradient> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient2966" + id="linearGradient2320" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(0.884919,-0.534025,0.510908,0.924959,-8.120056,18.99720)" + x1="48.90625" + y1="17.376184" + x2="50.988335" + y2="22.250591" /> + <radialGradient + inkscape:collect="always" + xlink:href="#linearGradient2688" + id="radialGradient2694" + cx="28.041702" + cy="41.220585" + fx="28.041702" + fy="41.220585" + r="21.667772" + gradientTransform="matrix(1.038917,6.790669e-3,-9.287574e-4,8.154968e-2,-1.053011,38.49254)" + gradientUnits="userSpaceOnUse" /> + </defs> + <sodipodi:namedview + id="base" + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="1.0" + inkscape:pageopacity="0.0" + inkscape:pageshadow="2" + inkscape:zoom="9.8994949" + inkscape:cx="37.401818" + inkscape:cy="28.779490" + inkscape:current-layer="layer1" + showgrid="false" + inkscape:grid-bbox="true" + inkscape:document-units="px" + showguides="true" + inkscape:guide-bbox="true" + inkscape:window-width="1280" + inkscape:window-height="949" + inkscape:window-x="0" + inkscape:window-y="25" /> + <metadata + id="metadata1389"> + <rdf:RDF> + <cc:Work + rdf:about=""> + <dc:format>image/svg+xml</dc:format> + <dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> + <dc:title>Draw Freehand</dc:title> + <dc:date>February 2006</dc:date> + <dc:creator> + <cc:Agent> + <dc:title>Andreas Nilsson</dc:title> + </cc:Agent> + </dc:creator> + <dc:contributor> + <cc:Agent> + <dc:title>Jakub Steiner</dc:title> + </cc:Agent> + </dc:contributor> + <cc:license + rdf:resource="http://creativecommons.org/licenses/by-sa/2.0/" /> + <dc:subject> + <rdf:Bag> + <rdf:li>draw</rdf:li> + <rdf:li>pencil</rdf:li> + <rdf:li>freehand</rdf:li> + </rdf:Bag> + </dc:subject> + <dc:source>http://tango-project.org</dc:source> + </cc:Work> + <cc:License + rdf:about="http://creativecommons.org/licenses/by-sa/2.0/"> + <cc:permits + rdf:resource="http://web.resource.org/cc/Reproduction" /> + <cc:permits + rdf:resource="http://web.resource.org/cc/Distribution" /> + <cc:requires + rdf:resource="http://web.resource.org/cc/Notice" /> + <cc:requires + rdf:resource="http://web.resource.org/cc/Attribution" /> + <cc:permits + rdf:resource="http://web.resource.org/cc/DerivativeWorks" /> + <cc:requires + rdf:resource="http://web.resource.org/cc/ShareAlike" /> + </cc:License> + </rdf:RDF> + </metadata> + <g + id="layer1" + inkscape:label="Layer 1" + inkscape:groupmode="layer"> + <g + style="display:inline" + id="g2311" + transform="matrix(1.415380,0.000000,0.000000,1.415380,-28.22384,-8.460935)"> + <path + sodipodi:nodetypes="cccccc" + id="path2960" + d="M 29.107071,35.027977 L 31.165964,27.344085 L 43.692661,8.8534616 C 45.882244,6.1459306 49.872668,9.1825476 48.195345,12.027339 L 35.535274,30.161952 L 29.107071,35.027977 z " + style="opacity:1.0000000;color:#000000;fill:#cb9022;fill-opacity:1.0000000;fill-rule:evenodd;stroke:#5c410c;stroke-width:0.70652413;stroke-linecap:butt;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4.0000000;stroke-dasharray:none;stroke-dashoffset:0.0000000;stroke-opacity:1.0000000;visibility:visible;display:inline;overflow:visible" /> + <path + style="opacity:1.0000000;color:#000000;fill:url(#linearGradient2320);fill-opacity:1.0000000;fill-rule:evenodd;stroke:none;stroke-width:1.0000000;stroke-linecap:butt;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4.0000000;stroke-dasharray:none;stroke-dashoffset:0.0000000;stroke-opacity:1.0000000;visibility:visible;display:inline;overflow:visible" + d="M 41.003012,13.444139 C 41.003012,13.444139 42.404988,13.015523 43.541391,13.871332 C 44.712123,14.752996 44.715552,16.441804 44.715552,16.441804 L 48.038970,11.660742 C 48.038970,11.660742 49.056542,10.114249 47.223576,8.6736262 C 45.422151,7.2582367 44.033829,8.9951778 44.033829,8.9951778 L 41.003012,13.444139 z " + id="path2964" + sodipodi:nodetypes="czcczcc" /> + <path + sodipodi:nodetypes="czcczcc" + id="path2962" + d="M 41.003012,13.430323 C 41.003012,13.430323 42.326339,13.070326 43.438479,13.871607 C 44.584215,14.697095 44.722446,16.424317 44.722446,16.424317 L 46.143745,14.400586 C 46.143745,14.400586 46.055452,12.750274 44.844348,11.869144 C 43.599957,10.963796 42.064740,11.841860 42.064740,11.841860 L 41.003012,13.430323 z " + style="opacity:1.0000000;color:#000000;fill:url(#linearGradient2322);fill-opacity:1.0000000;fill-rule:evenodd;stroke:none;stroke-width:1.0000000;stroke-linecap:butt;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4.0000000;stroke-dasharray:none;stroke-dashoffset:0.0000000;stroke-opacity:1.0000000;visibility:visible;display:inline;overflow:visible" /> + <path + sodipodi:nodetypes="cccc" + id="path2982" + d="M 29.689419,34.119691 L 31.479272,27.544883 C 33.184560,27.498529 34.854739,28.347325 35.284166,29.903614 L 29.689419,34.119691 z " + style="opacity:1.0000000;color:#000000;fill:url(#radialGradient2324);fill-opacity:1.0000000;fill-rule:evenodd;stroke:none;stroke-width:1.0000000;stroke-linecap:butt;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4.0000000;stroke-dasharray:none;stroke-dashoffset:0.0000000;stroke-opacity:1.0000000;visibility:visible;display:inline;overflow:visible" /> + <path + sodipodi:nodetypes="cccc" + id="path2992" + d="M 30.304737,31.903206 L 29.700180,34.137479 L 31.769419,32.578995 C 31.599487,31.847165 30.874188,31.827024 30.304737,31.903206 z " + style="opacity:1.0000000;color:#000000;fill:url(#linearGradient2326);fill-opacity:1.0000000;fill-rule:evenodd;stroke:none;stroke-width:1.0000000;stroke-linecap:butt;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4.0000000;stroke-dasharray:none;stroke-dashoffset:0.0000000;stroke-opacity:1.0000000;visibility:visible;display:inline;overflow:visible" /> + <path + sodipodi:nodetypes="ccccc" + id="path3002" + d="M 31.476264,27.530437 C 32.152474,27.525726 32.834992,27.691339 33.372421,27.875876 L 43.266010,13.762045 C 42.453099,13.274446 41.635694,13.298550 41.011272,13.442239 L 31.476264,27.530437 z " + style="opacity:1.0000000;color:#000000;fill:#ffffff;fill-opacity:0.36363640;fill-rule:evenodd;stroke:none;stroke-width:1.0000000;stroke-linecap:butt;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4.0000000;stroke-dasharray:none;stroke-dashoffset:0.0000000;stroke-opacity:1.0000000;visibility:visible;display:inline;overflow:visible" /> + <path + sodipodi:nodetypes="ccccc" + id="path3004" + d="M 35.296491,29.882042 L 34.957706,29.132465 L 44.488793,15.380354 C 44.488793,15.380354 44.731746,16.238106 44.708052,16.408505 L 35.296491,29.882042 z " + style="opacity:1.0000000;color:#000000;fill:#000000;fill-opacity:0.36363640;fill-rule:evenodd;stroke:none;stroke-width:1.0000000;stroke-linecap:butt;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4.0000000;stroke-dasharray:none;stroke-dashoffset:0.0000000;stroke-opacity:1.0000000;visibility:visible;display:inline;overflow:visible" /> + </g> + <path + sodipodi:type="arc" + style="opacity:0.30000000;fill:url(#radialGradient2694);fill-opacity:1.0;stroke:none;stroke-width:1.0000000;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4.0000000;stroke-dasharray:none;stroke-dashoffset:0.0000000;stroke-opacity:1.0000000" + id="path1959" + sodipodi:cx="29.546963" + sodipodi:cy="42.191624" + sodipodi:rx="21.667772" + sodipodi:ry="3.2829957" + d="M 51.214735 42.191624 A 21.667772 3.2829957 0 1 1 7.8791904,42.191624 A 21.667772 3.2829957 0 1 1 51.214735 42.191624 z" + transform="matrix(0.807651,0.000000,0.000000,1.066100,5.636362,-2.480482)" /> + </g> +</svg> http://git-wip-us.apache.org/repos/asf/polygene-website/blob/86741dec/content/java/3.0.0/images/icons/admon/tip.png ---------------------------------------------------------------------- diff --git a/content/java/3.0.0/images/icons/admon/tip.png b/content/java/3.0.0/images/icons/admon/tip.png new file mode 100644 index 0000000..7ec2ce7 Binary files /dev/null and b/content/java/3.0.0/images/icons/admon/tip.png differ
