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