User's Guide

Changing the default name

By default, the clipboard tool bar part's name is My Clipboard Tools View1. To change the name to Clipboard Tools, add a class method to MyClipboardToolsView called displayName with the following code:

displayName
  "Answer the name that is to be displayed when this
   part is dropped on the layout surface."
  ^'Clipboard Tools'

Move this method to your edit-time application, MyEditSamplePartsApp.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]