Update outdated article in dev guide See bug 423303: [Help] The article for "Look and Feel" has outdated texts/snippets https://bugs.eclipse.org/bugs/show_bug.cgi?id=423303
diff --git a/bundles/org.eclipse.rap.doc/guide/articles/look-and-feel.html b/bundles/org.eclipse.rap.doc/guide/articles/look-and-feel.html index 54af23f..32b9a44 100644 --- a/bundles/org.eclipse.rap.doc/guide/articles/look-and-feel.html +++ b/bundles/org.eclipse.rap.doc/guide/articles/look-and-feel.html
@@ -49,8 +49,7 @@ a menubar or the perspective switcher, or selecting a different font. </li> <li> - Activation by servlet name. You can leverage the servlets in RAP and use the - servlet name to access the whole layout from a single point. + Association with entry point by using <em>org.eclipse.rap.ui.branding</em> extension point. </li> <li> Reusable web components. Elements such as the header for an application are @@ -320,10 +319,9 @@ </li> </ol> - <h2>Activation by servlet name</h2> + <h2>Association with entry point</h2> <p> - Different layouts can be activated from a central point by using the servlet name. - To activate a PresentationFactory and a Layout by a servlet name, you can use the + To associate a PresentationFactory and a Layout with existing entry point, you can use the <a href="branding.html"><em>org.eclipse.rap.ui.branding</em> extension point</a>. </p> <p> @@ -335,17 +333,15 @@ <pre class="lang-xml"> <extension point="org.eclipse.rap.ui.branding"> <branding - defaultEntrypointId="org.eclipse.rap.demo.entrypoint1" favicon="icons/perspective.gif" id="org.eclipse.rap.presentation.macBarBranding" - servletName="api" themeId="org.eclipse.rap.presentation.macBarTheme" title="Interactiondesign API"> <presentationFactory defaultLayoutId="org.eclipse.rap.presentation.defaultlayout" id="org.eclipse.rap.presentation" - name="ConfigurablePF"> - viewactionsVisible=true; + name="ConfigurablePF" + viewActionsVisible="true"> <defaultStackPresentation id="org.eclipse.rap.presentation.navigationPaneStackPresentation" name="Default"> @@ -365,14 +361,12 @@ <ul> <li> <b>id</b><br/> - This is the id of the PresentationFactory which should be loaded when the - servlet name defined in the branding has been called. + This is the id of the PresentationFactory used by associated entry point. </li> <li> <b>defaultLayoutId</b><br/> - This optional argument represents the id of the Layout which should be activated - when the servlet name has been called. If no id is defined, the standard workbench - layout should be loaded. + This optional argument represents the id of the Layout. If no id is defined, the standard + workbench layout should be loaded. </li> <li> <b>viewActionsVisible</b><br/>