public class UICompsDesignerProp extends UIDesignerProp
DESIGNER_PROPERTY, isFolder, isRoot, moveDownProperty, moveUpProperty, OP_COPY, OP_DELETE, OP_MOVE, propertyContainer
CN_PREFERENCE_FLAGS_NAME, DEFAULT_COMPARATOR, EMPTY_ARRAY, FLAG_ADD_FILE_ITEM_PACKAGE_LOCATION, FLAG_ADD_FILE_ITEM_PROJECT, FLAG_ADD_FOLDER_PACKAGE_LOCATION, FLAG_ADD_FOLDER_PROJECT, FLAG_CUSTOM_1, FLAG_CUSTOM_2, FLAG_CUSTOM_3, FLAG_JAVA_SUPPORT, FLAG_PACKAGE_VIEW, FLAG_SHOW_DESIGNER_PROPERTIES, FLAG_SHOW_EMPTY_MODULE_FOLDERS, FLAG_SHOW_EMPTY_PACKAGES, FLAG_SHOW_FILE_ITEMS, FLAG_SHOW_SUBPROPERTIES, FLAGS_NORMAL, FLAGS_ONLY_FOLDERS
Modifier and Type | Method and Description |
---|---|
String |
canPerform(int operation)
Checks if an operation on this property is permitted.
|
int |
getCNCategory()
Gets the category of this Common Navigator object, used for sorting.
|
String |
getCNDescriptionType()
Provide a type description for the status bar view, if available.
|
Image |
getCNImage(int flags)
Gets the image for the Common Navigator.
|
String |
getCNText(int flags)
Gets the label text for the Common Navigator.
|
PasteFeedback |
paste(boolean doPerformPaste,
int position,
GProp<?>[] props,
int operation,
String description,
IPropUndoRedo undoRedo)
Validates or performs a paste operation.
|
String |
pasteProperties(boolean doPerformPaste,
GProp<?>[] props,
int operation,
String description,
IPropUndoRedo undoRedo,
GProp<?> reference,
boolean isAfter)
Validates or performs a paste operation.
|
addTooltipInfo, createCNToolTip, getCNStyledText, getCNToolTipShift, getCNToolTipTimeDisplayed, getDojoRelativeCSSs, getPropertyEditorSetup, getUndoContextFromTree, hasCNToolTip, selectInOpenEditor
addCommandContributionItem, addContextMenuItems, addContextMenuItems, addContextMenuItems, addMarker, appendCNStyledTextAdditions, appendTooltipPropErrors, appendTooltipPropErrors, clearPropErrorMarkers, createCNToolTip, createCNToolTip0, createCNToolTipItemList, createFileErrorAtom, createImageDefinitions, dispose, doSortIndexOnCategories, firePropertyUpdateViewerEvent, getAdapter, getCNBackground, getCNBackground, getCNBackground0, getCNChildren, getCNComparator, getCNDescription, getCNDescription, getCNDescription0, getCNForeground, getCNForeground, getCNForeground0, getCNImage, getCNImage, getCNImage, getCNImage0, getCNImage0, getCNParent, getCNParent, getCNRealProp, getCNStyledText, getCNStyledText0, getCNText, getCNText, getCNText, getCNText0, getCNText0, getCNToolTipDisplayDelayTime, getCNToolTipDisplayDelayTime, getCNToolTipDisplayDelayTime0, getCNToolTipShift, getCNToolTipShift0, getCNToolTipTimeDisplayed, getCNToolTipTimeDisplayed0, getContextMenuItems, getDataDesignerProp, getErrorSeverity, getException, getFolder, getFolderProp, getIEditorFileActions, getInstance, getInstance, getIResource, getJavaProject, getMarkers, getModel, getModificationStamp, getParent, getParentFolderProp, getProject, getPropCnr, getRoot, getSubPropertyName, getTransferDefaultPasteAllowed, hasCNChildren, hasCNToolTip, hasCNToolTip0, hasMarkerID, hasNamingError, isBeforeAfterDropTarget, isCNVisible, isCNVisible0, isDesignerLoaded, isDesignerMoved, onEvent, onPropErrorChanged, processQuery, rebuildPropErrorMarkers, removeFileErrors, removeMarkers, setDesignerLoaded, setDesignerMoved, setException, setIEditorFileActions, setIResource, setIResource, setModificationStamp, setTransferDefaultPasteAllowed, toString, updateFolderResources, validateClasses, validateResouce
public String canPerform(int operation)
Overridden for Web Service: delete/move not possible for Input/Output, link supported for Input/Output and Input Parameters.
canPerform
in class DesignerProp
operation
- The operation: OP_MOVE, OP_DELETE.public int getCNCategory()
getCNCategory
in interface INavigatorPresentation
getCNCategory
in class DesignerProp
public Image getCNImage(int flags)
getCNImage
in interface INavigatorPresentation
getCNImage
in class DesignerProp
flags
- The flags for the image, see FLAG_IMAGE_*.null
if there is no image.public String getCNDescriptionType()
getCNDescriptionType
in class UIDesignerProp
public String getCNText(int flags)
getCNText
in interface INavigatorPresentation
getCNText
in class UIDesignerProp
null
if there is no text.public PasteFeedback paste(boolean doPerformPaste, int position, GProp<?>[] props, int operation, String description, IPropUndoRedo undoRedo)
paste
in class UIDesignerProp
doPerformPaste
- Flag indication operation is to be performed (true) or just tested for validity (false).position
- Position for paste: -1=before target, 0=in target, 1=after target.props
- The properties.operation
- The operation: OP_COPY or OP_MOVE.description
- The description of the operation "source" for undo history.undoRedo
- The undo/redo interface.public String pasteProperties(boolean doPerformPaste, GProp<?>[] props, int operation, String description, IPropUndoRedo undoRedo, GProp<?> reference, boolean isAfter)
pasteProperties
in class DesignerProp
doPerformPaste
- Flag indication operation is to be performed (true) or just tested for validity (false).props
- The properties.operation
- The operation: OP_COPY or OP_MOVE.description
- The description of the operation "source" for undo history.undoRedo
- The undo/redo interface.reference
- Reference property where to place the new properties (important only when container has index-based ordering).isAfter
- Flag for after, otherwise before.null
if OK.iizi® is a registered trademark of Mindus SARL. © Copyright Mindus SARL, 2020. All rights reserved.