Package com.iizigo.actionactor
Interface IEditorActionActorSettings
- All Superinterfaces:
IActionActorSettings
,org.eclipse.core.runtime.IAdaptable
,IGProp<GProp<?>[]>
,IPropCnr
,IPropDesigner
- All Known Implementing Classes:
EditorDatabaseActionActor.Settings
,EditorHistoryBackward.Settings
,EditorHistoryForward.Settings
,EditorJavaActionActor.Settings
,EditorSetFocus.Settings
,EditorSetSourceFieldValue.Settings
,EditorSetTargetFieldValue.Settings
,EditorTerminalActionActor.Settings
,EditorTransportField.Settings
,EditorWebServiceActionActor.Settings
public interface IEditorActionActorSettings extends IPropDesigner, IActionActorSettings
Editor interface for the Settings containers for Actions in the Designer.- Author:
- Christopher Mindus
Field Summary
Fields inherited from interface com.iizix.prop.IGProp
EQC_ERROR_IGNORE_ALL, EQC_ERROR_IGNORE_REFERENCES, EQC_IGNORE_ARRAY, EQC_IGNORE_VOLATILE_OR_EDITOR, EQC_PRIVATE, EQC_SAVE_FILE, EXT_CONTAINER_EXTENDS, EXT_CONTAINER_EXTENDS_VALID, EXT_EXTENDED, EXT_FINAL, EXT_OVERRIDES, EXT_OVERRIDES_FINAL_ERR, EXT_PRIVATE
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default boolean
canGoto()
Returns if the actor settings provides a way to go to the element in question.default boolean
doEditActorSettings()
Returns the Designer editability of the settings in the properties dialog box as provided by default for the Action Actors.org.eclipse.swt.graphics.Image
getActorImage()
Gets the image to use.ActionActorDesignerProp
getDesigner()
Gets the Designer Extension for Properties.java.lang.String
getDetails()
Gets details for this action actor.default java.util.ArrayList<PropertyEditorInfo>
getFixedSettings()
Gets fixed settings for the container.default java.lang.String
getGotoText()
Gets the go to text that will be displayed in the UI.default PropertyEditorSetup
getPropertyEditorSetup()
Gets the Setup used for iiziGo, subclasses must override and provide their instance.default void
gotoActionActorDefinition(org.eclipse.swt.widgets.Shell shell)
Goes to the actor definition.default boolean
needsRefreshButton(org.eclipse.swt.widgets.Control control, java.lang.Runnable refresh)
Checks if fixed settings can be provided or not.Methods inherited from interface com.iizix.prop.vs.actor.IActionActorSettings
getActionActor, getDescription
Methods inherited from interface com.iizix.prop.IGProp
addPropError, addPropListener, dispose, equals, fine, fine, finer, finer, finest, finest, fromElementString, getAppSessionGyro, getAtomPath, getClientSessionGyro, getConstraints, getEnvironment, getErroredPropItems, getErroredProps, getErrorsProp, getExtendsRootContainer, getFullPropName, getFullPropNameDebug, getModuleFolder, getModuleFolder, getParent, getParent, getPropAtom, getPropBaseReference, getPropError, getPropError, getPropErrorSeverity, getPropExtendsFlags, getPropFromPath, getPropFromReference, getPropIndex, getPropName, getPropPath, getPropPath, getPropRootPropMgr, getPropTreeErrorSeverity, getPropValue, getPropValue, getReferencePropName, getReferences, getRelativePropName, getRootParent, getTreeLock, getValueClasses, getVSReference, hasChanged, hasPrivateChangeEventProp, hasPropError, hasPropTreeError, info, info, initializeGElement, initializeGProp, isDisposed, isPropChildOf, isPropClientCreated, isPropCommunicating, isPropCreateRequired, isPropExtended, isPropExtendsFinal, isPropExtendsPrivate, isPropExtendsPrivateInRoot, isPropExtendsPrivateInRoot, isPropFile, isPropFolder, isPropNullable, isPropPrivate, isPropReadOnly, isPropReferenceTreeValid, isPropRoot, isPropVirtualized, list, list, list, list, list, mapAliasToReference, mapReferenceToAlias, mapReferenceToProjectRelative, moveProp, moveProp, moveProp, onEvent, onEventSelf, onPropTreeInitialized, onRemoteEvent, removePropError, removePropListener, renameProp, resolveRuntimeReferences, setChanged, setConstraints, setConstraints, setParent, setPrivateChangeEventProp, setPropError, setPropExtendsFinal, setPropExtendsPrivate, setPropNullable, setPropPrivate, setPropReadOnly, setPropValue, setPropValue, severe, severe, severe, toElementString, toNativeValue, triggerRemoteEvent, triggerRemoteEvent, validateProp, validatePropType, validatePropValue, verify, verifyHasPropertyItem, warning, warning, warning
Methods inherited from interface com.iizix.prop.IPropCnr
addProp, addProp, addProp2, addProp2, canRequestFocus, canRequestFocus, canRequestFocus, containsProp, containsProp, couldRequestFocusIfVirtualized, couldRequestFocusIfVirtualized, couldRequestFocusIfVirtualized, createCopyOfAtom, createUniqueAtom, createUniqueAtom, enablePropCommunication, enablePropHashMap, getAllProps, getAllProps, getAllProps, getAllProps, getAllProps, getAllProps, getAllProps, getAllProps, getBool, getBool, getBool, getBool, getChildPropError, getChildPropError, getChildPropErrorSeverity, getChildPropErrorSeverity, getErrorsProp, getExtendsError, getExtendsName, getExtendsPossibleClasses, getFirstProp, getFirstProp, getFocusEngine, getInt, getInt, getInt, getInt, getLong, getLong, getLong, getLong, getNumber, getNumber, getNumber, getNumber, getPossibleChildren, getProp, getProp, getProp, getProp, getProp, getProp, getProp, getProp, getProp, getProp, getProp, getPropCnr, getPropCount, getPropIndex, getPropIndex, getPropIndexes, getProps, getProps, getPropValue, getPropValue, getPropValue, getPropValue, getPropValue, getPropValue, getPropValue, getString, getString, getString, getString, hasFocus, initializeExtendsFramework, insertProp, insertProp2, isChild, isExtendsOverriden, isExtendsRoot, isPropAddRemoveAllowed, isPropExtended, isSibling, removeAllProps, removeAllProps2, removeProp, removeProp, removeProp, removeProp, removeProp, removeProp, removeProp, removeProp2, removeProp2, removeProp2, removeProp2, removeProp2, removeProp2, removeProp2, reorderProps, requestFocus, requestFocusEx, setBool, setBool, setBool, setBool, setExtendsName, setExtendsOverride, setInt, setInt, setInt, setLong, setLong, setLong, setLong, setNumber, setNumber, setNumber, setNumber, setProp, setProp, setProp, setProp2, setProp2, setPropValue, setPropValue, setPropValue, setPropValue, setPropValue, setPropValue, setString, setString, setString, setString, usePropHashMap, usesPropIndex, validateClassInstances
Methods inherited from interface com.iizigo.prop.IPropDesigner
findIResource, getAdapter
Method Detail
getDesigner
ActionActorDesignerProp getDesigner()
Gets the Designer Extension for Properties.- Specified by:
getDesigner
in interfaceIPropDesigner
- Returns:
- The instance of the Designer Extension.
getActorImage
org.eclipse.swt.graphics.Image getActorImage()
Gets the image to use.
canGoto
default boolean canGoto()
Returns if the actor settings provides a way to go to the element in question.- Returns:
- true if this is possible.
getGotoText
default java.lang.String getGotoText()
Gets the go to text that will be displayed in the UI.- Returns:
- A text to be used, null for default.
gotoActionActorDefinition
default void gotoActionActorDefinition(org.eclipse.swt.widgets.Shell shell)
Goes to the actor definition. Override to provide functionality. This method will only be called ifcanGoto()
returnstrue
.- Parameters:
shell
- A shell instance of the requestor.
doEditActorSettings
default boolean doEditActorSettings()
Returns the Designer editability of the settings in the properties dialog box as provided by default for the Action Actors. A data connector being an action actor could provide its own settings editor.- Returns:
- true if the default Action Actors Edit settings should be provided or not. Override to return false.
getPropertyEditorSetup
default PropertyEditorSetup getPropertyEditorSetup()
Gets the Setup used for iiziGo, subclasses must override and provide their instance.- Returns:
- The PropertyEditor setup data, or null to use the one from VirtualSpaceEditor.
getDetails
java.lang.String getDetails()
Gets details for this action actor.- Returns:
- A string used in Eclipse details column for the Action Actors table.
needsRefreshButton
default boolean needsRefreshButton(org.eclipse.swt.widgets.Control control, java.lang.Runnable refresh)
Checks if fixed settings can be provided or not. If e.g. a class name is entered, the properties that is shown in the dialog box are taken from the Java code, and in this case, a refresh is needed.- Parameters:
control
- Shell to listen to when destroyed.refresh
- Method to call to enable refresh button.- Returns:
- true in order to show the button "Refresh properties" (will appear in the dialog box), false not to do so.
Default is to return false.
getFixedSettings
default java.util.ArrayList<PropertyEditorInfo> getFixedSettings()
Gets fixed settings for the container.- Returns:
- null (default) for property based, otherwise an array of the editable properties.