Defining A Ui For Your Model - Adobe 65007312 - Photoshop Lightroom Programmer's Manual

Mac
Hide thumbs Also See for 65007312 - Photoshop Lightroom:
Table of Contents

Advertisement

C
6: Writing a Web-engine Plug-in
HAPTER
lightroomApplication.property
identityPlateExport
jpegQuality
useWatermark
outputSharpeningOn
outputSharpening
perImageSetting.property
setting_names
plug-in-defined properties

Defining a UI for your model

The
views
web engine. It is a function that is passed two arguments, a
contains your model data) and a
elements (as described in
entry in the table returned by the
webViewFactory
Chapter 5, "Creating a User Interface for Your
These properties control how Lightroom behaves when creating
the gallery:
identityPlateExport
PNG version of the identity plate, use the value "(main)".
—The quality of the rendered JPEGs. Range is
jpegQuality
[0..100], where 100 is the best quality.
—True if rendered JPEGs should include a
useWatermark
copyright watermark.
outputSharpeningOn
sharpened. Default is true.
outputSharpening
2 (standard, the default), or 3 (high).
A table that defines a per-image text description. Specifying one
of these entries customizes the Image Info panel in the Web
module. Each
perImageSetting
and edit text control, like those for the built-in per-gallery Title
and Caption.
Each table has these entries:
—The localizable display name of this setting, which
title
appears in the label.
— Text to associate with each image. A string that can
value
contain text-token placeholders in double curly braces. The
user can edit this text.
— When true, the checkbox is checked.
enabled
These values are stored as properties of
template for the image details page can reference the text in order
to display it with the image. For example, if you name a setting
, access the value using
description
$image.metadata.description.value
See
"Customizing per-image text" on page
You can define additional properties to store gallery-wide text
labels; for example, a site title or collection title. You can also
define properties to store appearance parameters that control the
look of the gallery, but do not work through CSS; for example,
how many rows or columns in the grid, or color properties that
need to be accessed dynamically by JavaScript. The names of such
properties are defined by your plug-in for its own use.
galleryInfo.lrweb
controller
object that allows you to create and populate UI
Defining the data model 120
—If your gallery can encorporate a
—True if rendered JPEGs should be
—The type of sharpening, one of 1 (low),
entry defines a checkbox, label,
image.metadata
.
123.
file defines the user interface for your
(which is an observable table that
Plug-in.")
. Your

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Photoshop lightroom sdk 3.0

Table of Contents