Class AbstractHomepagePanelDescriptor
java.lang.Object
com.inductiveautomation.ignition.gateway.model.AbstractHomepagePanelDescriptor
- All Implemented Interfaces:
IHomepagePanelDescriptor
public abstract class AbstractHomepagePanelDescriptor
extends Object
implements IHomepagePanelDescriptor
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAbstractHomepagePanelDescriptor
(String panelName, String titleResourceKey, int suggestedOrder) -
Method Summary
Modifier and TypeMethodDescriptionReturn the resource key for the panel's help blurb.Deprecated.int
getOrder()
A relative ordering for this panel.A unique name for this panel.A resource key to use as the panel title.boolean
Should this panel be initially expanded or collapsed?boolean
Is this homepage visible?abstract org.apache.wicket.markup.html.panel.Panel
Create the new panel to display.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.inductiveautomation.ignition.gateway.model.IHomepagePanelDescriptor
getSearchableItems
-
Field Details
-
panelName
A unique identifying name for this panel. Used to track the panel as the user reorders them and chooses to not display some panels. -
order
protected int order -
titleResourceKey
-
initiallyExpanded
protected boolean initiallyExpanded -
visible
protected boolean visible
-
-
Constructor Details
-
AbstractHomepagePanelDescriptor
-
-
Method Details
-
getPanelName
Description copied from interface:IHomepagePanelDescriptor
A unique name for this panel. Used as a key to store preferences for the user to override this panel's settings.- Specified by:
getPanelName
in interfaceIHomepagePanelDescriptor
-
getOrder
public int getOrder()Description copied from interface:IHomepagePanelDescriptor
A relative ordering for this panel. Lower numbers appear first.- Specified by:
getOrder
in interfaceIHomepagePanelDescriptor
-
getTitleResourceKey
Description copied from interface:IHomepagePanelDescriptor
A resource key to use as the panel title.- Specified by:
getTitleResourceKey
in interfaceIHomepagePanelDescriptor
-
isInitiallyExpanded
public boolean isInitiallyExpanded()Description copied from interface:IHomepagePanelDescriptor
Should this panel be initially expanded or collapsed?- Specified by:
isInitiallyExpanded
in interfaceIHomepagePanelDescriptor
-
newPanel
Description copied from interface:IHomepagePanelDescriptor
Create the new panel to display.- Specified by:
newPanel
in interfaceIHomepagePanelDescriptor
-
isVisible
public boolean isVisible()Description copied from interface:IHomepagePanelDescriptor
Is this homepage visible?- Specified by:
isVisible
in interfaceIHomepagePanelDescriptor
-
getHelpResourceKey
Description copied from interface:IHomepagePanelDescriptor
Return the resource key for the panel's help blurb.- Specified by:
getHelpResourceKey
in interfaceIHomepagePanelDescriptor
-
getHelpTopicId
Deprecated.Description copied from interface:IHomepagePanelDescriptor
Return the name of the user manual topic to link to. The string ${HELP} will be replaced to a url to this help topic if found in the content pointed to by the help resource key. For example, the help blurb might be:This panel is great. You should use it lots. <a href="${HELP}">Learn more...</a>
- Specified by:
getHelpTopicId
in interfaceIHomepagePanelDescriptor
-