Package com.iizigo.vs.link
Interface IVSLinkEnabler
- All Known Subinterfaces:
- IEUIPanel,- IVSParticipantLinkEnabler
- All Known Implementing Classes:
- EditorInputProps,- EditorOutputProps,- EditorRESTfulInputProps,- EditorResultProps,- EditorResultSetProps,- EditorScreenProp,- EMUISimpleDialog,- EUIDialog,- EUIPanel,- EUIPanelPart
public interface IVSLinkEnabler
Interface providing support for VirtualSpace or VS component linking upon drag-drop-link or paste-link.
- Author:
- Christopher Mindus
- Field SummaryFieldsModifier and TypeFieldDescription- static final VSLinkInfo<?>[]Empty links array.- static final StringOperation canceled reply when dialog is canceled.
- Method SummaryModifier and TypeMethodDescription- default String- attempVSLink- (boolean doPerform, GProp<?>[] props, String description, IPropUndoRedo undoRedo) Processes VS-linking from properties.- static void- configureSkipDialog- (IPropUndoRedo undoRedo) Configures the undoRedo operation to skip showing this dialog.- VSLinkInfo<?>[]Returns the possible array of VS links possible, their types, the reference type, and so on.- static void- performLink- (Shell shell, PropCnr target, ArrayList<VSLinkInfo<?>> infoList, ArrayList<VSSubLinkInfo> subInfoList, ArrayList<ArrayList<IVSComponent>> componentsList, ComplexOperation op) Called to perform the operations.
- Field Details- EMPTY_VSLINK_INFOEmpty links array.
- OPERATION_CANCELEDOperation canceled reply when dialog is canceled.- See Also:
 
 
- Method Details- getVSLinkInfoVSLinkInfo<?>[] getVSLinkInfo()Returns the possible array of VS links possible, their types, the reference type, and so on.- Returns:
- The array of VSLink's possible for the property container.
 
- configureSkipDialogConfigures the undoRedo operation to skip showing this dialog.- Parameters:
- undoRedo- Undo/redo operation.
 
- attempVSLinkdefault String attempVSLink- (boolean doPerform, GProp<?>[] props, String description, IPropUndoRedo undoRedo) Processes VS-linking from properties.- Parameters:
- doPerform- The perform flag when true, false = testing.
- props- The properties to link with target.
- description- The operation description for undo/redo.
- undoRedo- Undo/redo operation.
- Returns:
- null for linking OK, otherwise the error message why it failed.
 
- performLinkstatic void performLink- (Shell shell, PropCnr target, ArrayList<VSLinkInfo<?>> infoList, ArrayList<VSSubLinkInfo> subInfoList, ArrayList<ArrayList<IVSComponent>> componentsList, ComplexOperation op) Called to perform the operations.