Jump to: navigation, search

Difference between revisions of "UIGraphicsImplementationCutting Actions"

(Cutting Actions for Icons and Wizard Graphics)
m
 
(5 intermediate revisions by one other user not shown)
Line 1: Line 1:
Return to the main '''[[UI_Best_Practices_v3.x#UI_Graphics|UI Graphics]]''' section on the UI Best Practices page.
+
Return to the main '''[[User Interface Guidelines#UI Graphics (3.x Updates)|UI Graphics (3.x Updates)]]''' section on the UI Best Practices page.
  
  
==Naming Conventions==
+
==Cutting Actions for Icons and Wizard Graphics==
 
 
The following section describes the Eclipse standard for file naming and guidelines for using suffixes that will help others
+
This section describes the macros for cutting icons, icon overlays, and wizard banner graphics to get them ready for implementation.
quickly identify the graphic type or function.
+
 +
 +
In the process described here for creating icons, we use the term 'cut' to mean the action of generating the individual .gif
 +
files for each icon. This term refers to the fact that the icons are created in a single original .psd file that contains all the icons for a given product (the icon_template.psd file), and then the individual icons are 'cut' out of the file into individual files.
  
We recommend that you work with your development contact to establish file names for each graphic before you begin
 
design work, using the following guidelines:
 
 
===Abbreviations===
 
The file name should be an abbreviation of the full icon name, for example, the name for the Create DTD Wizard icon
 
might be abbreviated to "CrtDTD".
 
 
===Case===
 
All file names must be in lower case, for example, CrtDTD becomes “crtdtd”.
 
 
===Character length===
 
File names should be 10 characters or less whenever possible. Underscores count as a character.
 
 
===Suffixes===
 
The file name should end with a suffix that describes its location or function in the user interface, for example, "crtdtd_wiz.gif". See the table below for suffix suggestions.
 
 
===Graphic format extension===
 
Since all images are transparent GIFs, unless otherwise stated in the
 
[http://mds.torolab.ibm.com/rational/guidelines/uigraphics/specifications/formats.html Graphic Formats] page, they have to be saved in GIF format for cross platform compliance and will have *.gif file extension in the name.
 
 
===Multiple sizes===
 
Icons that have multiple sizes within one folder, such as multiple palette icon sizes,
 
are differentiated by adding the icon size to the suffix. For example, file_pal.gif, file_pal24.gif, file_pal32.gif, where *_pal
 
represents the default 16 x 16 pixel size and the *_pal24 and *_pal32 represent larger sizes of the same icon.
 
</p>
 
 
 
 
<p><strong>Suggestions for File Naming Suffixes</strong></p>
 
<table cellspacing="2" cellpadding="2" border="0">
 
<tr bgcolor="#c0c0c0">
 
  
    <td><strong>Filename Suffix</strong></td>
+
To increase the speed and efficiency of cutting hundreds of icons at a time, a series of cutting actions has been created that,
<td><strong>Use</strong></td>
+
when run in Adobe Photoshop, will automatically guide you through the cutting process for each icon in a matter of seconds. All you need to do is start the action and when prompted, name and save each icon into its proper folder.
    <td><strong>Icon Type and Location</strong></td>
+
</tr>
+
<tr valign="top" bgcolor="#e4e4e4">
+
    <td>*_wiz</td>
+
<td>Represents a wizard graphic or an icon that invokes a wizard</td>
+
  
    <td>
 
<ul>
 
<li>Wizard banner graphics used in wizard dialog windows</li>
 
<li>Wizard icons used on wizard toolbars</li>
 
</ul>
 
</td>
 
</tr>
 
<tr valign="top">
 
  
    <td>*_exec</td>
+
To use these actions, click here to download the [[media:eclipse_cutting_R3V6.zip|eclipse_cutting_R3V6.atn]] file, and then load it into the Actions Palette.
<td>Invokes an executable file</td>
+
    <td>
+
<ul>
+
<li>Toolbar icons used in cascading menus, and global toolbars
+
</ul>
+
</td>
+
</tr>
+
  
<tr valign="top" bgcolor="#e4e4e4">
+
    <td>*_edit</td>
+
===Cutting 16 x 16 Pixel Icons===
<td>Represents an icon located in an editor</td>
+
    <td>
+
<ul>
+
<li>Toolbar icons used in cascading menus, and global toolbars</li>
+
</ul>
+
 
+
</td>
+
</tr>
+
<tr valign="top">
+
    <td>*_nav</td>
+
<td>Represents an icon located in a navigator view</td>
+
    <td>
+
<ul>
+
<li>Toolbar icons used in cascading menus, and global toolbars</li>
+
  
<li>Local toolbar icons found on the far right of the title area of a view</li>
+
# Make sure that the pink cut layer is turned on, in the psd file.
<li>View and perspective icons found in the top, left corner of a view</li>
+
# Play the Dupe and Flatten_main file action to create a new, flat file. (See A in the Detailed View of Cutting Actions below)
</ul>
+
# Using the Marquee tool at a fixed size of 16 x 16 pixels, select the first icon to be cut.
</td>
+
# Play the eclipse icon cuts_16s action. The action will then automatically move through the cutting process. (See B-F below)
</tr>
+
# When prompted, provide a name for the icon in lower case and click Save to save it as a Compuserve .gif in the folder you specify. (See G)
<tr valign="top" bgcolor="#e4e4e4">
+
# When you click OK to finish saving the image as either a Normal or Interlaced .gif file, the action then automatically moves the marquee selection down to the next icon and begins the process all over again. (See H)
    <td>*_misc</td>
+
  
<td>Represents an icon that does not fit into any of the other categories</td>
 
    <td>
 
<ul>
 
<li>Toolbar icons used in cascading menus, and global toolbars.</li>
 
<li>View and perspective icons found in the top, left corner of a view.</li>
 
</ul>
 
</td>
 
  
</tr>
+
: To ensure the last step works properly, make sure the pink cut square for each icon is spaced exactly as specified in the icon_design_template.psd.
<tr valign="top">
+
    <td>*_tsk</td>
+
<td>Represents tasks that a user can do</td>
+
    <td>
+
<ul>
+
<li>Local toolbar icons found on the far right of the title area of a view</li>
+
  
<li>Overlay icons placed on top of a model object icon to indicate a change in condition</li>
+
: '''Detailed View of Cutting Actions'''
<li>Model object icons used in the tree view, list view, and properties view</li>
+
<li>View and perspective icons found in the top, left corner of a view</li>
+
</ul>
+
</td>
+
</tr>
+
<tr valign="top" bgcolor="#e4e4e4">
+
  
    <td>*_mode</td>
+
: [[Image:imp_cut_icons.gif]]
<td>Toggles the working mode of the view</td>
+
    <td>
+
<ul>
+
<li>Local toolbar icons found on the far right of the title area of a view</li>
+
</ul>
+
</td>
+
  
</tr>
+
===Cutting 7 x 8 Pixel Object Overlay Icons===
<tr valign="top">
+
    <td>*_menu</td>
+
<td>Represents an icon located in a menu</td>
+
    <td>
+
<ul>
+
<li>Local toolbar icons found on the far right of the title area of a view</li>
+
  
</ul>
+
Follow the steps as laid out above, except cut the icon at 7 x 8 pixels, using the Eclipse icon cuts_overlays action.
</td>
+
</tr>
+
<tr valign="top" bgcolor="#e4e4e4">
+
    <td>*_ps</td>
+
<td>Represents an icon located in a property sheet</td>
+
    <td>
+
<ul>
+
  
<li>Local toolbar icons found on the far right of the title area of a view</li>
+
===Cutting Wizard graphics===
<li>View and perspective icons: found in the top, left corner of a view</li>
+
</ul>
+
</td>
+
</tr>
+
<tr valign="top">
+
    <td>*_obj</td>
+
  
<td>Represents a model object</td>
+
# Ensure that the wizard psd has a path called "wizard cut path" under '''Paths''' tab.
    <td>
+
# Play the Dupe and Flatten_main file action to create a new, flat file.
<ul>
+
# Ensure that the layer called "soft curves" is visible.
<li>Model object icons used in the tree view, list view, and properties view</li>
+
# Ensure that each wizard graphic is in a layer set.
</ul>
+
# Select the top layer set where you want to being cutting and ensure all other layer sets are not visible.
</td>
+
# Play the Wizard Dupe and crop action to create a new file that is cropped to 75 x 66 pixels. (See A-C below)
</tr>
+
# Play the Wizard cut action. The action will then automatically move through the cutting process from top to bottom in the layers palette. (See D below)
<tr valign="top" bgcolor="#e4e4e4">
+
# When prompted, provide a name for the icon in lower case and click Save to save it as a Compuserve .gif in the folder you      specify. (See E)
 +
# When you click OK to finish saving the image as either a Normal or Interlaced .gif file, the action then automatically delete the current layer set, and moves to the next one and begins the process all over again. (See F)
  
    <td>*_pal</td>
 
<td>Represents a model object on an object palette</td>
 
    <td>
 
<ul>
 
<li>Model object icons used in the tree view, list view, and properties view</li>
 
</ul>
 
</td>
 
  
</tr>
+
: To ensure the last step works properly, make sure each wizard graphic is contained in a layer set folder.
<tr valign="top">
+
    <td>*_co</td>
+
<td>Represents a command that engages the system, such as build command</td>
+
    <td>
+
<ul>
+
<li>Toolbar icons used in cascading menus, and global toolbars</li>
+
  
<li>Local toolbar icons found on the far right of the title area of a view</li>
+
:'''Detailed View of Cutting Actions'''
</ul>
+
</td>
+
</tr>
+
<tr valign="top" bgcolor="#e4e4e4">
+
    <td>*_tbl</td>
+
<td>Represents an icon located in a table</td>
+
  
    <td>
+
: [[Image:imp_cut_wizards.gif]]
<ul>
+
<li>Model object icons used in a table or properties view</li>
+
</ul>
+
</td>
+
</tr>
+
<!-- use the following table row if the last row of data has a white background. It provides
+
a line to define the table information from the rest of the text.  If the last row of data has
+
the dark gray background, you don't need it, so comment it out.
+
<tr height="1" valign="top" bgcolor="#e4e4e4"> -->
+
</table>
+

Latest revision as of 18:56, 14 November 2007

Return to the main UI Graphics (3.x Updates) section on the UI Best Practices page.


Cutting Actions for Icons and Wizard Graphics

This section describes the macros for cutting icons, icon overlays, and wizard banner graphics to get them ready for implementation.


In the process described here for creating icons, we use the term 'cut' to mean the action of generating the individual .gif files for each icon. This term refers to the fact that the icons are created in a single original .psd file that contains all the icons for a given product (the icon_template.psd file), and then the individual icons are 'cut' out of the file into individual files.


To increase the speed and efficiency of cutting hundreds of icons at a time, a series of cutting actions has been created that, when run in Adobe Photoshop, will automatically guide you through the cutting process for each icon in a matter of seconds. All you need to do is start the action and when prompted, name and save each icon into its proper folder.


To use these actions, click here to download the eclipse_cutting_R3V6.atn file, and then load it into the Actions Palette.


Cutting 16 x 16 Pixel Icons

  1. Make sure that the pink cut layer is turned on, in the psd file.
  2. Play the Dupe and Flatten_main file action to create a new, flat file. (See A in the Detailed View of Cutting Actions below)
  3. Using the Marquee tool at a fixed size of 16 x 16 pixels, select the first icon to be cut.
  4. Play the eclipse icon cuts_16s action. The action will then automatically move through the cutting process. (See B-F below)
  5. When prompted, provide a name for the icon in lower case and click Save to save it as a Compuserve .gif in the folder you specify. (See G)
  6. When you click OK to finish saving the image as either a Normal or Interlaced .gif file, the action then automatically moves the marquee selection down to the next icon and begins the process all over again. (See H)


To ensure the last step works properly, make sure the pink cut square for each icon is spaced exactly as specified in the icon_design_template.psd.
Detailed View of Cutting Actions
Imp cut icons.gif

Cutting 7 x 8 Pixel Object Overlay Icons

Follow the steps as laid out above, except cut the icon at 7 x 8 pixels, using the Eclipse icon cuts_overlays action.

Cutting Wizard graphics

  1. Ensure that the wizard psd has a path called "wizard cut path" under Paths tab.
  2. Play the Dupe and Flatten_main file action to create a new, flat file.
  3. Ensure that the layer called "soft curves" is visible.
  4. Ensure that each wizard graphic is in a layer set.
  5. Select the top layer set where you want to being cutting and ensure all other layer sets are not visible.
  6. Play the Wizard Dupe and crop action to create a new file that is cropped to 75 x 66 pixels. (See A-C below)
  7. Play the Wizard cut action. The action will then automatically move through the cutting process from top to bottom in the layers palette. (See D below)
  8. When prompted, provide a name for the icon in lower case and click Save to save it as a Compuserve .gif in the folder you specify. (See E)
  9. When you click OK to finish saving the image as either a Normal or Interlaced .gif file, the action then automatically delete the current layer set, and moves to the next one and begins the process all over again. (See F)


To ensure the last step works properly, make sure each wizard graphic is contained in a layer set folder.
Detailed View of Cutting Actions
File:Imp cut wizards.gif