public class ReferenceChooserDialogPlugin extends DialogServerPlugin implements RenderableObjectScope
Modifier and Type | Class and Description |
---|---|
static class |
ReferenceChooserDialogPlugin.LinkValidator |
ServerPlugin.PluginResponseType, ServerPlugin.PluginScope, ServerPlugin.ProcessEditorServerPluginType
ObjectScope.IconOffsetInfo, ObjectScope.Orientation
jsFiles, mainClassName
scope, SUPPORT_ALL, supportedModels, supportedObjects, type
Constructor and Description |
---|
ReferenceChooserDialogPlugin() |
Modifier and Type | Method and Description |
---|---|
static void |
addSupportedObject(java.lang.Class<? extends ProcessObject> cls) |
static void |
addSupportedObject(java.lang.Class<? extends ProcessObject> cls,
ReferenceChooserDialogPlugin.LinkValidator val) |
JavaScriptFunction |
getCheckFunction() |
protected JSONObject |
getData(ModelInformation mi,
RequestFacade req,
LoginableUser u) |
ObjectScope.IconOffsetInfo |
getIconOffsetInfo() |
static ReferenceChooserDialogPlugin |
getInstance() |
protected java.lang.String |
getItemIconPath() |
protected java.lang.String |
getItemText() |
ObjectScope.IconOffsetInfo |
getRenderingIconOffset() |
java.lang.String |
getRenderingIconPath() |
java.util.Set<java.lang.Class<? extends ProcessObject>> |
getSupportedObjects() |
protected JSONObject |
saveData(JSONArray data,
ModelInformation mi) |
getJSFileList, processRequest, respondWithFileList
getItemIconUri, getMenuItemConfig, getPluginScope, getPluginType, showInToolbar, supportsModel, supportsObject
protected JSONObject getData(ModelInformation mi, RequestFacade req, LoginableUser u) throws JSONException
getData
in class DialogServerPlugin
JSONException
protected JSONObject saveData(JSONArray data, ModelInformation mi) throws JSONException
saveData
in class DialogServerPlugin
JSONException
protected java.lang.String getItemText()
getItemText
in class ServerPlugin
protected java.lang.String getItemIconPath()
getItemIconPath
in class ServerPlugin
public ObjectScope.IconOffsetInfo getIconOffsetInfo()
getIconOffsetInfo
in interface ObjectScope
public java.util.Set<java.lang.Class<? extends ProcessObject>> getSupportedObjects()
getSupportedObjects
in interface ObjectScope
public static void addSupportedObject(java.lang.Class<? extends ProcessObject> cls)
public static void addSupportedObject(java.lang.Class<? extends ProcessObject> cls, ReferenceChooserDialogPlugin.LinkValidator val)
public ObjectScope.IconOffsetInfo getRenderingIconOffset()
getRenderingIconOffset
in interface RenderableObjectScope
public java.lang.String getRenderingIconPath()
getRenderingIconPath
in interface RenderableObjectScope
public JavaScriptFunction getCheckFunction()
getCheckFunction
in interface RenderableObjectScope
public static ReferenceChooserDialogPlugin getInstance()