public abstract class ClassicModuleGui
extends com.smartbear.ready.core.module.support.SimpleModuleGui
implements com.eviware.soapui.ui.NavigatorModelItemFilter
Modifier and Type | Class and Description |
---|---|
static class |
ClassicModuleGui.DesktopType
Enumerates the different desktop types and carries information about how they should
work in the GUI.
|
Modifier and Type | Field and Description |
---|---|
protected com.eviware.soapui.ui.desktop.RecentModelItemDesktopListener |
recentModelItemDesktopListener |
static String |
STARTER_PAGE_TOOL_TIP |
Constructor and Description |
---|
ClassicModuleGui(com.eviware.soapui.model.workspace.Workspace workspace,
String description) |
ClassicModuleGui(com.eviware.soapui.model.workspace.Workspace workspace,
String description,
com.smartbear.ready.license.protection.LicensedModule licensedModule) |
Modifier and Type | Method and Description |
---|---|
void |
activate() |
void |
addRecentItemListener(com.eviware.soapui.ui.desktop.RecentModelItemDesktopListener listener) |
protected abstract List<JMenu> |
buildMenus() |
protected ClassicModulePanel |
buildUI() |
boolean |
canDisplay(Object item) |
void |
deactivate() |
Object |
display(Object item) |
protected void |
finalizeUI(JComponent component) |
protected abstract com.eviware.soapui.support.action.swing.ActionListBuilderProvider |
getActionListBuilderProvider() |
protected abstract URL |
getBackupUrl() |
ClassicModulePanel |
getComponent() |
protected String |
getDescription() |
protected ClassicModuleGui.DesktopType |
getDesktopType()
Override this to specify another desktop type for module
|
protected abstract Map<String,Object> |
getJavaScriptCallbacks() |
protected abstract String |
getModuleId() |
protected abstract String |
getModuleLabel() |
abstract String |
getModuleToolbarComponentGroupId() |
protected ReadyApiPanelBuilderRegistry |
getPanelBuilderRegistry() |
static Set<StarterPageDesktopPanel> |
getStarterPagePanels() |
protected abstract Map<com.smartbear.ready.license.module.ModuleLicenseType,String> |
getStarterPageUrls() |
protected com.eviware.soapui.model.workspace.Workspace |
getWorkspace() |
void |
handleModelItemDeleted(com.smartbear.ready.core.event.ModelItemDeletionMessage deletionMessage) |
void |
handleModelItemSelected(com.smartbear.ready.core.event.ModelItemSelectionMessage message) |
void |
handleShowStartPageMessage(com.smartbear.ready.messages.ShowStartPageMessage message) |
boolean |
hasComponent(String name) |
protected void |
initializeUI(JComponent component) |
boolean |
isComponentVisible(String name) |
protected ClassicModuleGui.DesktopType |
loadDesktopTypeFromSettings() |
protected abstract void |
logMalformedURLException(MalformedURLException e) |
void |
moduleUIPrefsChanged() |
void |
reloadOtherStarterPages() |
void |
setDesktopHistory(com.eviware.soapui.ui.desktop.DesktopHistory desktopHistory) |
void |
setReadyApiPanelBuilderRegistry(ReadyApiPanelBuilderRegistry panelBuilderRegistry) |
getImageIcon, getMenus, getShortDescription, hasRootComponent, hideInspectors, isActive, updateChildComponentsUI
public static final String STARTER_PAGE_TOOL_TIP
protected com.eviware.soapui.ui.desktop.RecentModelItemDesktopListener recentModelItemDesktopListener
public ClassicModuleGui(com.eviware.soapui.model.workspace.Workspace workspace, String description, com.smartbear.ready.license.protection.LicensedModule licensedModule)
public ClassicModuleGui(com.eviware.soapui.model.workspace.Workspace workspace, String description)
public static Set<StarterPageDesktopPanel> getStarterPagePanels()
@OverridingMethodsMustInvokeSuper public void handleModelItemSelected(com.smartbear.ready.core.event.ModelItemSelectionMessage message)
@OverridingMethodsMustInvokeSuper public void handleModelItemDeleted(com.smartbear.ready.core.event.ModelItemDeletionMessage deletionMessage)
public void handleShowStartPageMessage(com.smartbear.ready.messages.ShowStartPageMessage message)
protected String getDescription()
protected abstract void logMalformedURLException(MalformedURLException e)
protected abstract URL getBackupUrl()
protected abstract Map<com.smartbear.ready.license.module.ModuleLicenseType,String> getStarterPageUrls()
protected abstract String getModuleId()
protected abstract String getModuleLabel()
protected abstract List<JMenu> buildMenus()
buildMenus
in class com.smartbear.ready.core.module.support.SimpleModuleGui
public abstract String getModuleToolbarComponentGroupId()
getModuleToolbarComponentGroupId
in interface com.smartbear.ready.core.module.ModuleGui
getModuleToolbarComponentGroupId
in class com.smartbear.ready.core.module.support.SimpleModuleGui
protected abstract com.eviware.soapui.support.action.swing.ActionListBuilderProvider getActionListBuilderProvider()
protected ClassicModuleGui.DesktopType getDesktopType()
public void addRecentItemListener(com.eviware.soapui.ui.desktop.RecentModelItemDesktopListener listener)
@Inject public void setDesktopHistory(com.eviware.soapui.ui.desktop.DesktopHistory desktopHistory)
protected com.eviware.soapui.model.workspace.Workspace getWorkspace()
public boolean canDisplay(Object item)
canDisplay
in interface com.smartbear.ready.core.module.ModuleGui
canDisplay
in class com.smartbear.ready.core.module.support.SimpleModuleGui
public Object display(Object item)
display
in interface com.smartbear.ready.core.module.ModuleGui
display
in class com.smartbear.ready.core.module.support.SimpleModuleGui
public void activate()
activate
in interface com.smartbear.ready.core.module.ModuleGui
activate
in class com.smartbear.ready.core.module.support.SimpleModuleGui
public void deactivate()
deactivate
in interface com.smartbear.ready.core.module.ModuleGui
deactivate
in class com.smartbear.ready.core.module.support.SimpleModuleGui
public ClassicModulePanel getComponent()
getComponent
in interface com.smartbear.ready.core.module.ModuleGui
getComponent
in class com.smartbear.ready.core.module.support.SimpleModuleGui
@Inject public void setReadyApiPanelBuilderRegistry(ReadyApiPanelBuilderRegistry panelBuilderRegistry)
protected void finalizeUI(JComponent component)
finalizeUI
in class com.smartbear.ready.core.module.support.SimpleModuleGui
protected ClassicModulePanel buildUI()
buildUI
in class com.smartbear.ready.core.module.support.SimpleModuleGui
protected void initializeUI(JComponent component)
initializeUI
in class com.smartbear.ready.core.module.support.SimpleModuleGui
public void reloadOtherStarterPages()
protected ReadyApiPanelBuilderRegistry getPanelBuilderRegistry()
public boolean hasComponent(String name)
hasComponent
in interface com.smartbear.ready.core.module.ModuleGui
hasComponent
in class com.smartbear.ready.core.module.support.SimpleModuleGui
public boolean isComponentVisible(String name)
isComponentVisible
in interface com.smartbear.ready.core.module.ModuleGui
isComponentVisible
in class com.smartbear.ready.core.module.support.SimpleModuleGui
public void moduleUIPrefsChanged()
moduleUIPrefsChanged
in interface com.smartbear.ready.core.module.ModuleGui
moduleUIPrefsChanged
in class com.smartbear.ready.core.module.support.SimpleModuleGui
protected ClassicModuleGui.DesktopType loadDesktopTypeFromSettings()
Copyright © 2019. All rights reserved.