Class PaletteColorDesignerProp
java.lang.Object
com.iizigo.prop.DesignerProp
com.iizigo.color.prop.PaletteColorDesignerProp
- All Implemented Interfaces:
INavigatorPresentation, EventListener, IAdaptable
Class for the palette color Designer Prop: the icon is a swatch of the color's light value as the Designer's saved theme family resolves it, so that the IIZI Explorer and the palette tree show the color itself.
- Author:
- Christopher Mindus
Field Summary
Fields inherited from class DesignerProp
DESIGNER_PROPERTY, isFolder, isRoot, moveDownProperty, moveUpProperty, OP_COPY, OP_DELETE, OP_MOVE, propertyContainerFields inherited from interface INavigatorPresentation
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_FOLDERSMethod Summary
Modifier and TypeMethodDescriptionProvide a type description for the status bar view, if available.getCNImage(int flags) Gets the image for the Common Navigator: a swatch of the light value, the color icon when the color does not resolve.getCNImage(int columnIndex, int flags) Gets the image of a column of the palette tree editor: a swatch of the light or the dark value for columns 1 and 2.getCNText(int columnIndex, int flags) Gets the text of a column of the palette tree editor: the light value, the dark value (a literal, a pointer, or what it resolves to), the description.protected PropertyEditorSetupGets the Setup used for iiziGo, subclasses must override and provide their instance.Methods inherited from class DesignerProp
addCommandContributionItem, addContextMenuItems, addContextMenuItems, addContextMenuItems, addMarker, appendCNStyledTextAdditions, appendTooltipPropErrors, appendTooltipPropErrors, canPerform, clearPropErrorMarkers, createCNToolTip, createCNToolTip, createCNToolTip0, createCNToolTipItemList, createFileErrorAtom, createImageDefinitions, dispose, doSortIndexOnCategories, firePropertyUpdateViewerEvent, getAdapter, getCNBackground, getCNBackground, getCNBackground0, getCNCategory, getCNChildren, getCNComparator, getCNDescription, getCNDescription, getCNDescription0, getCNForeground, getCNForeground, getCNForeground0, getCNImage, getCNImage, getCNImage0, getCNImage0, getCNParent, getCNParent, getCNRealProp, getCNStyledText, getCNStyledText, getCNStyledText0, getCNText, getCNText, getCNText, getCNText0, getCNText0, getCNToolTipDisplayDelayTime, getCNToolTipDisplayDelayTime, getCNToolTipDisplayDelayTime0, getCNToolTipShift, getCNToolTipShift, getCNToolTipShift0, getCNToolTipTimeDisplayed, getCNToolTipTimeDisplayed, getCNToolTipTimeDisplayed0, getContextMenuItems, getDataDesignerProp, getErrorSeverity, getException, getFolder, getFolderProp, getIEditorFileActions, getInstance, getInstance, getIResource, getJavaProject, getMarkers, getModel, getModificationStamp, getParent, getParentFolderProp, getProject, getPropCnr, getRoot, getSubPropertyName, getTransferDefaultPasteAllowed, getUndoContextFromTree, hasCNChildren, hasCNToolTip, hasCNToolTip, hasCNToolTip0, hasMarkerID, hasNamingError, isBeforeAfterDropTarget, isCNVisible, isCNVisible0, isDesignerLoaded, isDesignerMoved, onEvent, onPropErrorChanged, paste, pasteProperties, processQuery, rebuildPropErrorMarkers, removeFileErrors, removeMarkers, setDesignerLoaded, setDesignerMoved, setException, setIEditorFileActions, setIResource, setIResource, setModificationStamp, setTransferDefaultPasteAllowed, toString, updateFolderResources, validateClasses, validateResouce
Method Details
getPropertyEditorSetup
Gets the Setup used for iiziGo, subclasses must override and provide their instance.- Overrides:
getPropertyEditorSetupin classDesignerProp
getCNImage
Gets the image for the Common Navigator: a swatch of the light value, the color icon when the color does not resolve.- Specified by:
getCNImagein interfaceINavigatorPresentation- Overrides:
getCNImagein classDesignerProp- Parameters:
flags- The flags for the image, see FLAG_IMAGE_*.- Returns:
- Image or
nullif there is no image.
getCNImage
Gets the image of a column of the palette tree editor: a swatch of the light or the dark value for columns 1 and 2.- Specified by:
getCNImagein interfaceINavigatorPresentation- Overrides:
getCNImagein classDesignerProp- Parameters:
columnIndex- The zero-based index for the column (zero is never used, the method getCNImage() is called instead.flags- The flags for the image, see FLAG_IMAGE_*.- Returns:
- Image or
nullif there is no image.
getCNText
Gets the text of a column of the palette tree editor: the light value, the dark value (a literal, a pointer, or what it resolves to), the description.- Specified by:
getCNTextin interfaceINavigatorPresentation- Overrides:
getCNTextin classDesignerProp- Parameters:
columnIndex- The zero-based index for the column (zero is never used, the method getCNText() is called instead.flags- The flags for the text, see FLAG_TEXT_*.- Returns:
- The text, or null.
getCNDescriptionType
Provide a type description for the status bar view, if available.- Overrides:
getCNDescriptionTypein classDesignerProp- Returns:
- A type description for the status bar view, or null if not available.