public class ExtensionBreak extends ExtensionAdaptor implements SessionChangedListener, OptionsChangedListener
Modifier and Type | Class and Description |
---|---|
static class |
ExtensionBreak.DialogType
Deprecated.
(2.6.0) Should not be used/relied on, breakpoint dialogues should be modal.
|
Constructor and Description |
---|
ExtensionBreak() |
Modifier and Type | Method and Description |
---|---|
void |
addBreakpoint(BreakpointMessageInterface breakpoint) |
void |
addBreakpointsUiManager(BreakpointsUiManagerInterface uiManager) |
void |
addHttpBreakpoint(String string,
String location,
String match,
boolean inverse,
boolean ignoreCase) |
void |
addUiBreakpoint(Message aMessage) |
boolean |
canAddBreakpoint()
Deprecated.
(2.6.0) Use modal breakpoint dialogues instead of relying on this behaviour.
|
boolean |
canEditBreakpoint()
Deprecated.
(2.6.0) Use modal breakpoint dialogues instead of relying on this behaviour.
|
boolean |
canRemoveBreakpoint()
Deprecated.
(2.6.0) Use modal breakpoint dialogues instead of relying on this behaviour.
|
void |
destroy()
Plugin cleanup, finalize etc when program shutdown.
|
void |
dialogClosed()
Deprecated.
(2.6.0) Use modal breakpoint dialogues instead of relying on this behaviour.
|
void |
dialogShown(ExtensionBreak.DialogType type)
Deprecated.
(2.6.0) Use modal breakpoint dialogues instead of relying on this behaviour.
|
void |
editBreakpoint(BreakpointMessageInterface oldBreakpoint,
BreakpointMessageInterface newBreakpoint) |
void |
editUiSelectedBreakpoint() |
String |
getAuthor() |
BreakPanel |
getBreakPanel()
Deprecated.
(2.6.0) Classes outside of this package should not access the UI directly
|
BreakpointManagementInterface |
getBreakpointManagementInterface() |
List<BreakpointMessageInterface> |
getBreakpointsEnabledList()
Exposes list of enabled breakpoints.
|
List<BreakpointMessageInterface> |
getBreakpointsList() |
String |
getDescription()
Returns the description of the extension, to be shown in UI components.
|
String |
getUIName()
By default returns the name returned by
getName() . |
BreakpointMessageInterface |
getUiSelectedBreakpoint() |
URL |
getURL() |
void |
hook(ExtensionHook extensionHook)
Called during extension's initialisation to allow to add new functionality to core
components.
|
boolean |
isInScopeOnly() |
boolean |
messageReceivedFromClient(Message aMessage) |
boolean |
messageReceivedFromServer(Message aMessage) |
void |
optionsChanged(OptionsParam optionsParam) |
void |
optionsLoaded()
Called after the options for this extension have been loaded, so that the extension can make
use of them.
|
void |
removeBreakpoint(BreakpointMessageInterface breakpoint) |
void |
removeBreakpointsUiManager(BreakpointsUiManagerInterface uiManager) |
void |
removeHttpBreakpoint(String string,
String location,
String match,
boolean inverse,
boolean ignoreCase) |
void |
removeUiSelectedBreakpoint() |
void |
sessionAboutToChange(Session session)
Called just prior to the session changing.
|
void |
sessionChanged(Session session)
Called just after the session has changed.
|
void |
sessionModeChanged(Control.Mode mode)
Called when the user changes the mode.
|
void |
sessionScopeChanged(Session session)
Called when the user has changes the session scope.
|
void |
setBreakAllRequests(boolean brk) |
void |
setBreakAllResponses(boolean brk) |
void |
setBreakOnId(String id,
boolean enable) |
boolean |
supportsDb(String type)
Return true if the specified db type is supported by the extension (or if it doesnt use any
db) If this method returns false (meaning the db in use is not supported) then the extension
will not be loaded.
|
canUnload, databaseOpen, getActiveActions, getAddOn, getDependencies, getExtensionMenu, getExtensionView, getI18nPrefix, getMessages, getModel, getName, getOrder, getUnsavedResources, getView, init, initModel, initView, initXML, isCore, isDepreciated, isEnabled, postInit, postInstall, setAddOn, setDescription, setEnabled, setI18nPrefix, setMessages, setName, setOrder, start, stop, supportsLowMemory, unload
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
sessionPropertiesChanged
getVersion
public static final String NAME
public String getUIName()
ExtensionAdaptor
getName()
.getUIName
in interface Extension
getUIName
in class ExtensionAdaptor
null
ExtensionAdaptor.getName()
public BreakpointManagementInterface getBreakpointManagementInterface()
@Deprecated public BreakPanel getBreakPanel()
public void hook(ExtensionHook extensionHook)
Extension
hook
in interface Extension
hook
in class ExtensionAdaptor
extensionHook
- the hook to add the components.public void addBreakpoint(BreakpointMessageInterface breakpoint)
public void editBreakpoint(BreakpointMessageInterface oldBreakpoint, BreakpointMessageInterface newBreakpoint)
public void removeBreakpoint(BreakpointMessageInterface breakpoint)
public List<BreakpointMessageInterface> getBreakpointsList()
public BreakpointMessageInterface getUiSelectedBreakpoint()
public void addBreakpointsUiManager(BreakpointsUiManagerInterface uiManager)
public void removeBreakpointsUiManager(BreakpointsUiManagerInterface uiManager)
public void setBreakAllRequests(boolean brk)
public void setBreakAllResponses(boolean brk)
public void addHttpBreakpoint(String string, String location, String match, boolean inverse, boolean ignoreCase)
public void removeHttpBreakpoint(String string, String location, String match, boolean inverse, boolean ignoreCase)
public void addUiBreakpoint(Message aMessage)
public void editUiSelectedBreakpoint()
public void removeUiSelectedBreakpoint()
@Deprecated public boolean canAddBreakpoint()
@Deprecated public boolean canEditBreakpoint()
@Deprecated public boolean canRemoveBreakpoint()
@Deprecated public void dialogShown(ExtensionBreak.DialogType type)
@Deprecated public void dialogClosed()
public String getDescription()
Extension
getDescription
in interface Extension
getDescription
in class ExtensionAdaptor
null
public URL getURL()
getURL
in interface Extension
getURL
in class ExtensionAdaptor
public void sessionAboutToChange(Session session)
SessionChangedListener
sessionAboutToChange
in interface SessionChangedListener
session
- the session about to be closedpublic void sessionChanged(Session session)
SessionChangedListener
sessionChanged
in interface SessionChangedListener
session
- the new sessionpublic void sessionScopeChanged(Session session)
SessionChangedListener
sessionScopeChanged
in interface SessionChangedListener
session
- the current sessionpublic void destroy()
Extension
destroy
in interface Extension
destroy
in class ExtensionAdaptor
public boolean messageReceivedFromClient(Message aMessage)
public boolean messageReceivedFromServer(Message aMessage)
public List<BreakpointMessageInterface> getBreakpointsEnabledList()
public void sessionModeChanged(Control.Mode mode)
SessionChangedListener
sessionModeChanged
in interface SessionChangedListener
mode
- the new modepublic void setBreakOnId(String id, boolean enable)
public void optionsChanged(OptionsParam optionsParam)
optionsChanged
in interface OptionsChangedListener
public void optionsLoaded()
Extension
optionsLoaded
in interface Extension
optionsLoaded
in class ExtensionAdaptor
Extension.postInit()
public boolean isInScopeOnly()
public boolean supportsDb(String type)
Extension
supportsDb
in interface Extension
supportsDb
in class ExtensionAdaptor
type
- the db typeDatabase.getType()