Adobe 65007312 Programming Guide - Page 117
GalleryInfo top-level entries, Web > About
UPC - 883919154398
View all Adobe 65007312 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 117 highlights
CHAPTER 6: Writing a Web-engine Plug-in Defining the data model 117 GalleryInfo top-level entries The following top-level properties are defined in the galleryInfo.lrweb file: title id galleryType maximumGallerySize model views iconicPreview aboutBoxFile supportsLiveUpdate A localizable title string for the gallery type, which appears in the Web module's Engine list. You can localize the title string using the LOC function. Each gallery must have a unique identifying string. By convention, use reverse-domain nomenclature, as for Java packages. For example, com.myCompany.myDivision.myGallery. The type of gallery. Currently only one type is allowed: X "lua" - An HTML gallery that uses Lua Server Pages. The maximum number of photos this gallery can reasonably display. A table of user-configurable options for this web engine such as colors, labels, dimensions, image quality settings, grid row and column specifications, and so on. The keys in this table are strings that use dot-separated notation to break into separate areas; for example, "model.nonDynamic.numRows". See"Data model entries" on page 118. A function that returns a table of view descriptions by name, with entries for "labels", "colorPalette", "appearanceConfiguration", and "outputSettings". Each of these corresponds to a panel in the Web module, and each entry defines new UI controls to be added to that panel. See "Defining a UI for your model" on page 120. A table of information for controlling the live preview movie for a gallery in the Preview panel. See "Creating a preview" on page 125. The name of an HTML file to be displayed in the About box for this web engine. The file must be simple, self-contained HTML that does not reference any other resources (such as CSS or images). The About box is displayed when the user chooses Web > About [thisEngine]. Boolean, true if this web engine supports the Live Update mechanism. See "Web HTML Live Update" on page 139. This example shows the top-level entries from the galleryInfo.lrweb file of the built-in HTML gallery: return { LrSdkVersion = 3.0, LrSdkMinimumVersion = 2.0, -- minimum SDK version required by this plugin