Apple Newton Utilities Guía de usuario Pagina 575

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 942
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 574
CHAPTER 15
Filing
About Filing 15-9
Filing Compatibility Information 15
Version 2.0 of the Newton operating system supports earlier versions of the Filing
interface completely—no code modications are required for older ling code to
continue working under the version 2.0 operating system. However, it is strongly
suggested that you update your application to the version 2.0 Filing interface to
take advantage of new features and to remain compatible with future versions of
the Newton operating system. This section provides version 2.0 compatibility
information for applications that use earlier versions of the Filing interface.
Users can now create folders visible only to a specied application; the folders are
said to be local to that application. Folders created using previous versions of the
Filing interface are visible to all applications when rst read on a 2.0-based system.
Applications can now lter the display of items according to the store on which
they reside and according to whether they are led in local or global folders.
The symbols that represent folders are no longer tied to the strings that represent
them to the user, as they were in previous versions of the Newton operating system.
This new scheme allows you to use the same folder symbol everywhere for a
particular concept, such as a business, while varying the user-visible string
representing that folder; for example the user-visible string could be localized for
various languages.
Applications can now route items directly to a specied store from the Filing slip.
In addition, registration for notication of changes to folder names has been
simplied.
The
protoFolderTab proto is replaced by the protoNewFolderTab and
protoClockFolderTab protos.
The
protoFilingButton proto now supplies its own borders. You do not need
to enclose the ling button in another view to produce a border around the button.
The
FolderChanged and FilingChanged methods are obsolete. They are
replaced by the
FileThis method and the folder change notication mechanism.
If your application supplies a
FileThis method, the system does not send
FolderChanged and FilingChanged messages to your application. Instead of
supplying a
FolderChanged method, your application should register a callback
function with the folder change notication mechanism to perform tasks when the
user adds, deletes, or edits folders.
The
FilterChanged method is obsolete; your application should supply a
NewFilingFilter method instead. Your NewFilingFilter method must
update the query that retrieves items matching the current ling category and
perform any other actions that are appropriate, such as redrawing views affected by
the change of ling lter. If your application supplies a
NewFilingFilter
method, the system does not send
FilterChanged messages to your application.
Vista de pagina 574
1 2 ... 570 571 572 573 574 575 576 577 578 579 580 ... 941 942

Comentarios a estos manuales

Sin comentarios