|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PropertyContext
The PropertyContext
interface provides a UIComponent
instance
access to the context of the PropertySheet
in which it is being rendered.
Nested Class Summary | |
---|---|
static interface |
PropertyContext.SchemaInfo
SchemaInfo represents the information extracted to describe a schema associated with a form. |
static class |
PropertyContext.Severity
Displays a message to user |
static class |
PropertyContext.UserAndGroupBrowserStyle
Browses for a users and/or groups. |
Method Summary | |
---|---|
java.lang.String |
browseForFilename(java.lang.String[] filter)
Deprecated. Use ServiceClientfactory.createInstance()
instead. |
java.lang.String |
browseForRepositoryItem(java.lang.String startFromFolder,
java.lang.String initialSelection,
java.lang.String aTitle,
boolean aShowOnlyFolders)
Presents a RepositoryPicker to the user |
Service |
browseForService()
Browses for a service. |
Operation |
browseForServiceOperation()
Browses for service operations. |
java.util.List |
browseForUsersAndGroups(PropertyContext.UserAndGroupBrowserStyle pickWhat)
|
java.lang.String |
browseForXPathExpression()
Deprecated. Do not use. |
void |
displayPopupMessage(PropertyContext.Severity severity,
java.lang.String msgTitle,
java.lang.String msg)
|
com.adobe.idp.dsc.propertyeditor.ApplicationContext |
getApplicationContext()
Return the application name. |
java.lang.String |
getBaseFolder()
Retrieves the project location in order to resolve external references embedded within a schema (such as include/import directives) |
Property |
getCurrentProperty()
Retrieves the currently selected property object. |
java.lang.String |
getParameter(java.lang.String aParamName)
Retrieves the value of specified parameter. |
com.adobe.idp.dsc.propertyeditor.PropertyEditorFilterMode |
getPropertyEditorFilterMode()
Returns the current property editor filter mode of the container of this property editor. |
com.adobe.idp.dsc.propertyeditor.PropertyEditorMode |
getPropertyEditorMode()
returns the current mode of the container of this property editor. |
PropertySheet |
getPropertySheet()
Retrieves the common interface of the PropertySheet
in which the currently selected property editor is running. |
ServiceClientFactory |
getServiceClientFactory()
Deprecated. Do not use. |
ServiceConfiguration |
getServiceConfiguration()
Retrieves the ServiceConfiguration
with which this context is associtated. |
PropertyContext.SchemaInfo |
loadSchemaFromForm(java.lang.String aFormUrl)
|
void |
renderOperationEditors(java.lang.Object aParentObject,
java.lang.Object aServiceCall,
com.adobe.idp.dsc.propertyeditor.UINameIdPair[] aTaskInputChoices,
com.adobe.idp.dsc.propertyeditor.UINameIdPair[] aTaskOutputChoices)
Provides customized operation rendering |
Method Detail |
---|
Property getCurrentProperty()
PropertySheet getPropertySheet()
PropertySheet
in which the currently selected property editor is running.
PropertySheet
in which the currently selected property editor is running.java.lang.String getParameter(java.lang.String aParamName)
null
is returned.
aParamName
- The name of the parameter whose value is to be retrieved.
ServiceConfiguration getServiceConfiguration()
ServiceConfiguration
with which this context is associtated.
ServiceConfiguration
instance associated with this context.ServiceClientFactory getServiceClientFactory()
ServiceClientFactory
,
which custom property editors can use to connect
to the Adobe Experience Manager forms server. In the IDE, the returned
ServiceClientFactory
is integrated into the IDE's single sign-on information.
ServiceClientFactory
,
which custom property editors can use to connect
to the Adobe Experience Manager forms server.java.lang.String browseForFilename(java.lang.String[] filter)
ServiceClientfactory.createInstance()
instead.
filter
- A list of wildcards on which to filter.
null
if the dialog was cancelled.Service browseForService()
null
if the dialog was cancelled.Operation browseForServiceOperation()
null
if the dialog was cancelled.java.lang.String browseForXPathExpression()
null
if the dialog was cancelled.java.lang.String browseForRepositoryItem(java.lang.String startFromFolder, java.lang.String initialSelection, java.lang.String aTitle, boolean aShowOnlyFolders)
startFromFolder
- a String that indicates the folder hierarchy within
which the picker should be constrained. A value of "/" can be used to
specify the repository root (in order to allow selection at any location
within the repository).initialSelection
- a String representing a RepositoryItem that (if
it exists) should be preselected when the picker is initially presented.
This value may be null if no special initial selection is desired.aTitle
- a String used for the Dialog's title.aShowOnlyFolders
- a boolean used to limit the selection to only
folders
java.util.List browseForUsersAndGroups(PropertyContext.UserAndGroupBrowserStyle pickWhat)
void displayPopupMessage(PropertyContext.Severity severity, java.lang.String msgTitle, java.lang.String msg)
PropertyContext.SchemaInfo loadSchemaFromForm(java.lang.String aFormUrl) throws java.io.IOException
java.io.IOException
void renderOperationEditors(java.lang.Object aParentObject, java.lang.Object aServiceCall, com.adobe.idp.dsc.propertyeditor.UINameIdPair[] aTaskInputChoices, com.adobe.idp.dsc.propertyeditor.UINameIdPair[] aTaskOutputChoices)
aParentObject
- an Object in a type applicable for the display surface. When the
rendrring occurs within the Eclpse framework, a org.eclipse.swt.widgets.Composite
is appropriteaServiceCall
- a Object of type com.adobe.idp.workflow.dsc.type.ServiceCallaTaskInputChoices
- aTaskOutputChoices
-
java.lang.UnsupportedOperationException
- if the context does not support operation renderingjava.lang.String getBaseFolder()
java.lang.UnsupportedOperationException
- if invoked in a context which has no concept of
base.com.adobe.idp.dsc.propertyeditor.PropertyEditorMode getPropertyEditorMode()
com.adobe.idp.dsc.propertyeditor.PropertyEditorFilterMode getPropertyEditorFilterMode()
NULL
if no filter mode is set.com.adobe.idp.dsc.propertyeditor.ApplicationContext getApplicationContext()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |