Class ExtensionEdit
- java.lang.Object
-
- org.parosproxy.paros.extension.ExtensionAdaptor
-
- org.parosproxy.paros.extension.edit.ExtensionEdit
-
- All Implemented Interfaces:
Extension
public class ExtensionEdit extends ExtensionAdaptor
-
-
Constructor Summary
Constructors Constructor Description ExtensionEdit()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getAuthor()
Gets the author of the extension.static javax.swing.KeyStroke
getFindDefaultKeyStroke()
Gets the default keyboard shortcut for find functionality.java.lang.String
getUIName()
By default returns the name returned bygetName()
.void
hook(ExtensionHook extensionHook)
Called during extension's initialisation to allow to add new functionality to core components.boolean
supportsDb(java.lang.String type)
No database tables used, so all supported-
Methods inherited from class org.parosproxy.paros.extension.ExtensionAdaptor
canUnload, databaseOpen, destroy, getActiveActions, getAddOn, getDependencies, getDescription, getExtensionMenu, getExtensionView, getI18nPrefix, getMessages, getModel, getName, getOrder, getUnsavedResources, getView, hasView, init, initModel, initView, initXML, isCore, isDepreciated, isEnabled, optionsLoaded, postInit, postInstall, setAddOn, setDescription, setEnabled, setI18nPrefix, setMessages, setName, setOrder, start, stop, supportsLowMemory, unload
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.parosproxy.paros.extension.Extension
getURL, getVersion
-
-
-
-
Method Detail
-
getUIName
public java.lang.String getUIName()
Description copied from class:ExtensionAdaptor
By default returns the name returned bygetName()
.- Specified by:
getUIName
in interfaceExtension
- Overrides:
getUIName
in classExtensionAdaptor
- Returns:
- the UI name of the extension, never
null
- See Also:
ExtensionAdaptor.getName()
-
hook
public void hook(ExtensionHook extensionHook)
Description copied from interface:Extension
Called during extension's initialisation to allow to add new functionality to core components.- Specified by:
hook
in interfaceExtension
- Overrides:
hook
in classExtensionAdaptor
- Parameters:
extensionHook
- the hook to add the components.
-
getFindDefaultKeyStroke
public static javax.swing.KeyStroke getFindDefaultKeyStroke()
Gets the default keyboard shortcut for find functionality.Should be called/used only when in view mode.
- Returns:
- the keyboard shortcut, never
null
. - Since:
- 2.7.0
-
getAuthor
public java.lang.String getAuthor()
Description copied from interface:Extension
Gets the author of the extension.Since 2.9.0 defaults to the author of the add-on, if set, otherwise an empty string.
- Returns:
- the author of the extension, might be
null
.
-
supportsDb
public boolean supportsDb(java.lang.String type)
No database tables used, so all supported- Specified by:
supportsDb
in interfaceExtension
- Overrides:
supportsDb
in classExtensionAdaptor
- Parameters:
type
- the db type- Returns:
- true if the specified db type is supported by the extension (or if it doesn't use any db)
- See Also:
Database.getType()
-
-