Adobe 65007312 Programming Guide - Page 17
object is passed to, When extending a Lightroom dialog, a factory
UPC - 883919154398
View all Adobe 65007312 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 17 highlights
CHAPTER 1: Using the Lightroom SDK The Lightroom SDK scripting environment 17 Class Description Object creation LrPublishedPhoto Encapsulates the publishing information associated with a photo that is part of a published collection. Returned by LrPublishedCollection:getPublishedPhotos() LrPublishService Provides access to a named publishing service. Returned by LrCatalog:getPublishServices() LrRecursionGuard Provides a simple recursion guard for function execution. Import constructor: local LrRecursionGuard = import 'LrRecursionGuard' LrView Allows you to construct dialog box elements. Import the namespace: local LrView = import 'LrView' X When creating a dialog to be invoked from a menu command, import namespace and obtain a factory object with the namespace function LrView.osFactory(). X When extending a Lightroom dialog, a factory object is passed to sectionsForTopOfDialog() and sectionsForBottomOfDialog() LrWebViewFactory Allows you to construct elements for panels in the Web module. In a web-engine plug-in's galleryInfo.lrweb file, this object is passed to the views function. It extends the standard view factory with additional functions. This object is only available within web-engine plug-ins. LrXml Both a namespace and a class. There are two types of object: X A builder object allows you to create and manipulate XML documents. X A DOM object is read-only, and allows you to examine an existing XML document. Import the namespace: local LrXml = import 'LrXml' X Create a builder object with the namespace function LrXml.createXmlBuilder(). X Create a DOM object with the namespace function LrXml.parseXml().