carbidecpp22devenv/configuration/org.eclipse.osgi/bundles/188/1/.cp/cheatsheets/rcpapp/rcpapp-customize.xml
changeset 5 684bf18fdedf
equal deleted inserted replaced
4:4764c8c88759 5:684bf18fdedf
       
     1 <?xml version="1.0" encoding="UTF-8" ?>
       
     2 <!--
       
     3      Copyright (c) 2005, 2009 IBM Corporation and others.
       
     4      All rights reserved. This program and the accompanying materials
       
     5      are made available under the terms of the Eclipse Public License v1.0
       
     6      which accompanies this distribution, and is available at
       
     7      http://www.eclipse.org/legal/epl-v10.html
       
     8     
       
     9      Contributors:
       
    10          IBM Corporation - initial API and implementation
       
    11  -->
       
    12 
       
    13 <!-- Simple Cheat Sheet -->
       
    14 
       
    15 <cheatsheet title="Customize a product">
       
    16 
       
    17    <!-- Introduction -->
       
    18 
       
    19    <intro href="/org.eclipse.platform.doc.user/reference/ref-cheatsheets.htm">
       
    20       <description>
       
    21          This cheat sheet will demonstrate how to add window images,
       
    22          add a splash screen and customize a launcher for an RCP
       
    23          application using PDE.  
       
    24          <br/>
       
    25          <br/>
       
    26          To learn more about using cheat sheets, click the help button
       
    27          in the top right corner (?). 
       
    28       </description>
       
    29    </intro>
       
    30 
       
    31    <!-- Item -->
       
    32 
       
    33    <item title="Open the plug-in development perspective"
       
    34          href="/org.eclipse.pde.doc.user/guide/tools/views/views.htm"
       
    35          dialog="false"
       
    36          skip="false">
       
    37       <description>
       
    38          To open the plug-in development perspective,
       
    39          select <b>Window-&gt;Open Perspective-&gt;Other...</b> 
       
    40          and choose <b>Plug-in Development</b>.
       
    41          <br/>
       
    42          <br/>
       
    43          Alternatively, click the following button to perform the task.
       
    44       </description>
       
    45       <command serialization="org.eclipse.ui.perspectives.showPerspective(org.eclipse.ui.perspectives.showPerspective.perspectiveId=org.eclipse.pde.ui.PDEPerspective)" required="false" translate="" />
       
    46    </item>
       
    47 
       
    48    <!-- Item -->
       
    49 
       
    50    <item title="Open the product editor"
       
    51          href="/org.eclipse.pde.doc.user/guide/tools/editors/product_editor/editor.htm"
       
    52          dialog="false"
       
    53          skip="false">
       
    54       <description>
       
    55          To open the product editor (if it is not already open),
       
    56          expand the <b>com.example.rcpapp</b> tree dialog
       
    57          in the <b>Package Explorer</b> view and double-click
       
    58          on the <b>rcpapp.product</b> file (the <b>Overview</b> page
       
    59          should be open initially).
       
    60          <br/>
       
    61          <br/>
       
    62          Alternatively, click the following button to perform the task.         
       
    63       </description>
       
    64       <command serialization="org.eclipse.ui.navigate.openResource(filePath=/com.example.rcpapp/rcpapp.product)" required="false" translate="" />
       
    65    </item>
       
    66 
       
    67    <!-- Item -->
       
    68 
       
    69    <item title="Add window images"
       
    70          href="/org.eclipse.pde.doc.user/guide/tools/editors/product_editor/branding.htm"
       
    71          dialog="true"
       
    72          skip="false">
       
    73       <description>
       
    74          To add window images, perform the following steps:
       
    75       </description>
       
    76       <subitem label="Select the &quot;Branding&quot; tab within the product editor to display the &quot;Branding&quot; page" 
       
    77                skip="false"/>
       
    78       <subitem label="Click the &quot;Browse&quot; button adjacent to the &quot;16x16&quot; text box under the &quot;Window Images&quot; heading" 
       
    79                skip="false"/>
       
    80       <subitem label="Fully expand the &quot;com.example.rcpapp&quot; tree in the &quot;Image Selection&quot; dialog box and select &quot;alt_window_16.gif&quot; and click &quot;OK&quot;" 
       
    81                skip="false"/>
       
    82       <subitem label="Click the &quot;Browse&quot; button adjacent to the &quot;32x32&quot; text box under the &quot;Window Images&quot; heading" 
       
    83                skip="false"/>  
       
    84       <subitem label="Fully expand the &quot;com.example.rcpapp&quot; tree in the &quot;Image Selection&quot; dialog box and select &quot;alt_window_32.gif&quot; and click &quot;OK&quot;" 
       
    85                skip="false"/>
       
    86       <subitem label="Select &quot;File-&gt;Save&quot; from the main menu" 
       
    87                skip="false"/> 
       
    88    </item>   
       
    89 
       
    90    <!-- Item -->
       
    91 
       
    92    <item title="Test the RCP product"
       
    93          dialog="false"
       
    94          href="/org.eclipse.pde.doc.user/guide/tools/editors/product_editor/overview.htm"
       
    95          skip="false">
       
    96       <description>
       
    97          To test the RCP product,
       
    98          perform the following steps:
       
    99       </description>
       
   100       <subitem label="Select the &quot;Overview&quot; tab within the product editor to display the &quot;Overview&quot; page" 
       
   101                skip="false"/>      
       
   102       <subitem label="Click the &quot;Launch an Eclipse Application&quot; hyperlink under the &quot;Testing&quot; heading" 
       
   103                skip="false"/>
       
   104       <subitem label="Note the image in the window title bar (if applicable on your platform)" 
       
   105                skip="true"/>
       
   106       <subitem label="Exit the RCP application" 
       
   107                skip="false"/>
       
   108    </item>
       
   109 
       
   110    <!-- Item -->
       
   111 
       
   112    <item title="Add a splash screen"
       
   113          href="/org.eclipse.pde.doc.user/guide/tools/editors/product_editor/splash.htm"
       
   114          dialog="true"
       
   115          skip="false">
       
   116       <description>
       
   117          To add a splash screen, perform the following steps:
       
   118       </description>
       
   119       <subitem label="Select the &quot;Splash&quot; tab within the product editor to display the &quot;Splash&quot; page" 
       
   120                skip="false"/>      
       
   121       <subitem label="Click the &quot;Browse...&quot; button adjacent to the &quot;Plug-in&quot; text box under the &quot;Location&quot; heading" 
       
   122                skip="false"/>
       
   123       <subitem label="Select the &quot;com.example.rcpapp&quot; entry in the &quot;Plug-in Selection&quot; dialog box and click &quot;OK&quot;" 
       
   124                skip="true"/>
       
   125       <subitem label="Select &quot;File-&gt;Save&quot; from the main menu" 
       
   126                skip="false"/>
       
   127       <subitem label="Note:  Eclipse expects a file called &quot;splash.bmp&quot; to be located in the root of the specified plug-in. Verify that the root folder of &quot;com.example.rcpapp&quot; plug-in has the &quot;splash.bmp&apos;." 
       
   128                skip="true"/>
       
   129    </item>   
       
   130 
       
   131    <!-- Item -->
       
   132 
       
   133    <item title="Test the RCP product"
       
   134          dialog="false"
       
   135          href="/org.eclipse.pde.doc.user/guide/tools/editors/product_editor/overview.htm"
       
   136          skip="false">
       
   137       <description>
       
   138          To test the RCP product,
       
   139          perform the following steps:
       
   140       </description>
       
   141       <subitem label="Select the &quot;Overview&quot; tab within the product editor to display the &quot;Overview&quot; page" 
       
   142                skip="false"/>      
       
   143       <subitem label="Click the &quot;Launch an Eclipse Application&quot; hyperlink under the &quot;Testing&quot; heading" 
       
   144                skip="false"/>
       
   145       <subitem label="Note the splash screen displayed before the RCP application window is visible" 
       
   146                skip="true"/>
       
   147       <subitem label="Exit the RCP application" 
       
   148                skip="false"/>
       
   149    </item>
       
   150 
       
   151    <!-- Item -->
       
   152 
       
   153    <item title="Customize the launcher"
       
   154          href="/org.eclipse.pde.doc.user/guide/tools/editors/product_editor/launcher.htm"
       
   155          dialog="true"
       
   156          skip="false">
       
   157       <description>
       
   158          We will walk through this task assuming we are working on a Windows
       
   159          platform (Similar steps may be followed for other platforms).
       
   160          <br/>
       
   161          <br/>
       
   162          To customize the launcher, perform the following steps:
       
   163       </description>
       
   164       <subitem label="Select the &quot;Launching&quot; tab within the product editor to display the &quot;Launching&quot; page" 
       
   165                skip="false"/>
       
   166       <subitem label="Input &quot;rcpapp&quot; into the &quot;Launcher Name&quot; text box under the &quot;Program Launcher&quot; heading" 
       
   167                skip="false"/>
       
   168       <subitem label="Select the &quot;win32&quot; tab under the &quot;Program Launcher&quot; heading" 
       
   169                skip="true"/>
       
   170       <subitem label="Select the &quot;Use a single ICO file containing 7 images as specified above&quot; radio button" 
       
   171                skip="true"/>
       
   172       <subitem label="Click the &quot;Browse...&quot; button adjacent to the &quot;File&quot; text box" 
       
   173                skip="true"/>
       
   174       <subitem label="Fully expand the &quot;com.example.rcpapp&quot; tree in the &quot;Image Selection&quot; dialog box and select &quot;alt_launcher.ico&quot; and click &quot;OK&quot;" 
       
   175                skip="true"/>
       
   176       <subitem label="Select &quot;File-&gt;Save&quot; from the main menu" 
       
   177                skip="false"/> 
       
   178    </item>   
       
   179    
       
   180 </cheatsheet>
       
   181    
       
   182