Apple Newton Utilities Podręcznik Użytkownika Strona 576

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 942
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 575
CHAPTER 15
Filing
15-10 Using the Filing Service
The new slots appObjectFileThisIn and appObjectFileThisOn support
localization of your application’s Filing messages into languages having masculine
and feminine nouns.
The
DefaultFolderChanged function is obsolete. Do not use this function.
The
target and targetView slots are superseded by your override of the
GetTargetInfo method. However, if you do not override the system-supplied
GetTargetInfo method, you must include these slots in your application’s
base view.
Registration for notication of changes to folder names has been simplied. Use
the new functions
RegFolderChanged and UnRegFolderChanged to register
for folder change notication.
Using the Filing Service 15
To support the Filing service, your application must
provide three views (a folder tab view, a ling button view, and a view that
images the ling target)
respond to two messages (FileThis and NewFilingFilter)
register a callback function with the folder change notication service
Additionally, you can
support the use of multiple target items
customize the Filing slip and folder set that your application uses
The remainder of this section describes these tasks in detail.
Overview of Filing Support 15
You need to take the following steps to support the Filing service:
Add a labels slot to your application’s soup entries.
Create in your application’s base view the slots appName, appAll,
appObjectFileThisIn, appObjectFileThisOn, and
appObjectUnfiled.
Supply a ling target. It is recommended that you override the GetTargetInfo
method; if you do not, your application base view must supply
target and
targetView slots for use by the default method. You are responsible for
keeping the values of these slots current.
Create a labelsFilter slot in your application’s target view.
Przeglądanie stron 575
1 2 ... 571 572 573 574 575 576 577 578 579 580 581 ... 941 942

Komentarze do niniejszej Instrukcji

Brak uwag