Class VAPIDPublicKeyPropEditor
java.lang.Object
com.iizigo.prop.BaseEditor<StringProp, String>
com.iizigo.prop.editor.StringPropEditor
com.iizigo.push.VAPIDPublicKeyPropEditor
- All Implemented Interfaces:
IThemeListener, IEditedPropControllerOwner<StringProp, String>, IEditedPropertyEntry<StringProp, String>, IEditedPropertyEntryMultiProp<StringProp, String>, IPropertyDefined, IDisposedPart
The property editor of the VAPID public key: a read-only entry field. The key is generated with its private pair by the Push page's Generate button, which writes it into the container (CC-PUSH-PWA-PAGES, ruling PP-2); typing one here would leave it without its pair, which is in this machine's secrets store.
- Author:
- Christopher Mindus
Field Summary
Fields inherited from class StringPropEditor
descrFields inherited from class BaseEditor
appUI, combo, control, controller, definedButton, display, editor, focusListener, hasBeenModified, info, more, multipleValueWarningInput, options, parent, propController, shell, text, validator, wasDefinedAtFocusGainedConstructor Summary
ConstructorsMethod Summary
Modifier and TypeMethodDescriptionprotected voidcreate()Creates the property editor controls: the entry field, never editable.protected StringGets the tooltip text to display in the entry field.protected voidsetEditable(boolean on) Keeps the entry field read-only whatever the property's state.Methods inherited from class StringPropEditor
doUndefineIfEmpty, formatValue, getDefaultValue, getToolTipText2, getValue, parseOptionsMethods inherited from class BaseEditor
assignMaster, beginProcessEvent, canProcessEvents, checkInput, createCCombo, createControls, createGridLayout, createIzMenu, createMoreButton, createMoreIzMenu, createText, dispose, doValueChangeConversion, endProcessEvent, getBaseEditor, getCurrentInput, getCurrentValue, getCurrentValues, getModifyListener, getNativeToolTip, getOption, getSelectionListener, getSeverity, getShell, hasFocus, initialize, isDisposed, isPropReadOnly, onDefine, onDispose, onDoubleClick, onError, onF4List, onFocusGained, onFocusLost, onMore, onReadOnly, onThemeChanged, onUndefined, onUpdate, setColors, setCurrentValue, setFocus, setInput, setInputValue, setInputValueFromProp, setToolTipText, showMenu, updateTooltip, validate
Constructor Details
VAPIDPublicKeyPropEditor
public VAPIDPublicKeyPropEditor()Default constructor called before createControls.
Method Details
create
protected void create()Creates the property editor controls: the entry field, never editable.- Overrides:
createin classStringPropEditor
setEditable
protected void setEditable(boolean on) Keeps the entry field read-only whatever the property's state.- Overrides:
setEditablein classBaseEditor<StringProp, String>- Parameters:
on- The editable state requested, ignored for the entry field.
getToolTipText
Gets the tooltip text to display in the entry field.- Overrides:
getToolTipTextin classStringPropEditor