Class BasePanel<T>
- java.lang.Object
-
- org.apache.wicket.Component
-
- org.apache.wicket.MarkupContainer
-
- org.apache.wicket.markup.html.WebMarkupContainer
-
- org.apache.wicket.markup.html.panel.Panel
-
- com.evolveum.midpoint.gui.api.component.BasePanel<T>
-
- All Implemented Interfaces:
Serializable,Iterable<org.apache.wicket.Component>,org.apache.wicket.event.IEventSink,org.apache.wicket.event.IEventSource,org.apache.wicket.feedback.IFeedbackContributor,org.apache.wicket.IConverterLocator,org.apache.wicket.IMetadataContext<Serializable,org.apache.wicket.Component>,org.apache.wicket.IQueueRegion,org.apache.wicket.markup.html.IHeaderContributor,org.apache.wicket.request.component.IRequestableComponent,org.apache.wicket.util.IHierarchical<org.apache.wicket.Component>,org.apache.wicket.util.io.IClusterable
- Direct Known Subclasses:
AbstractAssignmentListPanel,AbstractItemWrapperColumnPanel,AbstractOrgTabPanel,AbstractPopupTabPanel,AbstractResourceWizardPanel,AbstractSearchConfigurationPanel,AbstractSearchItemPanel,AbstractSearchItemPanel,AbstractSummaryPanel,AbstractTreeTablePanel,AbstractWizardBasicPanel,ACAttributePanel,ACAttributeValuePanel,AceEditorFormGroup,AceEditorPanel,ActivitiesItemProcessingPanel,ApplicablePolicyConfigPanel,ApplicablePolicyGroupPanel,ApprovalProcessesPreviewPanel,ApprovalProcessExecutionInformationPanel,ApprovalProcessExecutionInformationPanelTextOnly,AssignmentConflictPanel,AssignmentConstructionPanel,AssignmentEditorPanel,AssignmentHeaderPanel,AssignmentPopup,AssignmentsInfoDialog,AssociationExpressionValuePanel,AsyncUpdatePanel,AutoRefreshPanel,BadgeListPanel,BadgePanel,BasePageAwarePanel,BasicResourceWizardPanel,BasicSearchPanel,BoxedTablePanel,BrowserPopupPanel,CapabilitiesPanel,CapabilitiesPanel,CapabilityActivationPanel,CapabilityCredentialsPanel,CapabilityScriptPanel,CapabilityValuePanel,CaptchaPanel,CartSummaryPanel,CaseWorkItemActionsPanel,CaseWorkItemsTableWithDetailsPanel,CatalogItemDetailsPanel,CatalogTilePanel,ChangePasswordPanel,ChangePasswordPanel,CheckFormGroup,ChooseFocusTypeAndRelationDialogPanel,ChooseMemberPopup,ChooseTypePanel,ColumnResultPanel,ComboPopupPanel,CompositedButtonPanel,CompositedIconPanel,ConditionalSearchFilterEditor,ConfirmationPanel,ConflictItemPanel,ConflictSolverPanel,ConstructionAssociationPanel,ContactOrgUnitPanel,ContainerableListPanel,ContainersDropDownPanel,ContainerValuePanel,CountIconPanel,CreateResourceTemplatePanel,CreateTemplatePanel,CsvDownloadButtonPanel,CustomContainerPanel,CustomValidityPanel,DashboardLinkComponent,DashboardPanel,DashboardSearchPanel,DateFormGroup,DateRangePicker,DebugButtonPanel,DecisionsPanel,DefaultContainerablePanel,DefinitionBasicPanel,DefinitionScopePanel,DefinitionStagePanel,DefinitionStagesPanel,DefinitionXmlPanel,DeltaPanel,DetailsNavigationPanel,DisplayNamePanel,DoubleButtonPanel,DownloadButtonPanel,DropdownButtonPanel,DropDownFormGroup,DynamicFieldGroupPanel,DynamicFormPanel,ErrorPanel,EvaluatedTriggerGroupListPanel,EvaluatedTriggerGroupPanel,EvaluatedTriggerPanel,ExecuteChangeOptionsPanel,ExecuteChangeOptionsPanel,ExportingPanel,ExpressionEditorPanel,ExpressionTypeSelectPopup,GenericMultiValueLabelEditPanel,ImagePanel,ImportOptionsPanel,ImportReportPopupPanel,InfoBox,InformationListPanel,InformationPanel,InternalsCachePanel,InternalsClockPanel,InternalsConfigPanel,InternalsCountersPanel,InternalsDebugUtilPanel,InternalsLoggedInUsersPanel,InternalsMemoryPanel,InternalsPerformancePanel,InternalsThreadsPanel,InternalsTracesPanel,ItemHeaderPanel,ItemPanel,ItemPathPanel,ItemPathSegmentPanel,ItemRefinedPanel,LabelWithCheck,LabelWithHelpPanel,LeftMenuPanel,LinkedReferencePanel,LinksPanel,ListContainersPopup,ListGroupMenuItemPanel,ListGroupMenuPanel,ListMappingPanel,LivesyncTokenEditorPanel,LocalePanel,LocalesDropDownMenu,MainMenuPanel,MappingColumnPanel,MenuItemLinkPanel,MenuLinkPanel,MergeObjectDetailsPanel,MergeObjectsPanel,MessagePanel,MetadataPanel,ModelOperationStatusPanel,ModificationsPanel,MultiButtonPanel,MultiCompositedButtonPanel,MultifunctionalButton,MultiStateHorizontalButton,MultiValueAutoCompleteTextPanel,MultiValueChoosePanel,MultivalueContainerDetailsPanel,MultiValueDropDownPanel,MultiValueObjectChoosePanel,MultiValueTextEditPanel,MultiValueTextFormGroup,MultiValueTextPanel,MyAccountsPanel,MyAssignmentsPanel,NewObjectCreationPopup,NotificationConfigTabPanel,ObjectBasicPanel,ObjectBrowserPanel,ObjectDeltaOperationPanel,ObjectReferenceColumnPanel,ObjectTypeSelectPanel,OperationalButtonsPanel,OperationResultPanel,OperationResultPopupPanel,OrgTreeAssignablePanel,OrgTreeFolderContent,PagingSizePanel,PasswordLimitationsPanel,PasswordPolicyValidationPanel,PendingOperationPanel,PersonalInfoPanel,PopoverSearchPanel,PopoverSearchPopupPanel,PreviewChangesTabPanel,PrismObjectValuePanel,PrismValueMetadataPanel,PrismValuePanel,ProcessInstancesPanel,ProgressPanel,ProgressPanel,ProvenanceAcquisitionHeaderPanel,QNameEditorPanel,RelationDropDownChoicePanel,ResourceActivationEditor,ResourceAssociationEditor,ResourceAttributeEditor,ResourceContentPanel,ResourceCredentialsEditor,ResourceDependencyEditor,ResourceIterationEditor,ResourceProtectedEditor,ResourceTilePanel,ResourceWizardPanel,RoleOfTeammateMenuPanel,RoundedIconPanel,RoundedImagePanel,RunReportPopupPanel,SaveSearchPanel,SceneItemLinePanel,SceneItemValuePanel,ScenePanel,SchemaListPanel,SearchButtonWithDropdownMenu,SearchFilterConfigurationPanel,SearchFilterPanel,SearchPanel,SecurityQuestionsPanel,SelectableItemListPopoverPanel,SelfConsentPanel,ShadowPanel,ShoppingCartEditPanel,SideBarMenuPanel,SimpleAceEditorPanel,SimpleErrorPanel,SimplePanel,SimpleRoleSelector,SimpleValueExpressionPanel,SingleButtonPanel,SingleContainerPanel,SingleContainerPopupPanel,SmallBox,StageEditorPanel,StatisticDashboardWidget,StatisticsPanel,StringLimitationPanel,SwitchableApprovalProcessPreviewsPanel,SwitchablePropertyValuePanel,SynchronizationExpressionEditor,SynchronizationReactionEditor,SynchronizationSituationTransitionPanel,SystemInfoPanel,TestConnectionMessagesPanel,TestConnectionResultPanel,TextAreaFormGroup,TextFormGroup,TextPopupPanel,ThreeStateBooleanPanel,TilePanel,TileTablePanel,TogglePanel,TreeTablePanel,TriStateFormGroup,TwoStateBooleanPanel,TypedAssignablePanel,ValueChoosePanel,VariableBindingDefinitionTypePanel,VerticalFormPanel,WidgetTableHeader,Wizard,WizardHeader,WizardHeaderStepPanel,WizardIssuesPanel,WizardPanel,WizardStepPanel,WizardSteps,WorkItemDetailsPanel,XmlEditorPanel
public class BasePanel<T> extends org.apache.wicket.markup.html.panel.PanelBase class for most midPoint GUI panels. It has a constructor and utility methods for convenient handling of the model. It also has other utility methods often used in reusable components.Almost all reusable components should extend this class.
- Author:
- lazyman, semancik
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringcreateComponentPath(String... components)org.apache.wicket.model.IModel<T>createModel()org.apache.wicket.model.StringResourceModelcreateStringResource(PolyString polystringKey, Object... objects)org.apache.wicket.model.StringResourceModelcreateStringResource(PolyStringType polystringKey, Object... objects)org.apache.wicket.model.StringResourceModelcreateStringResource(Enum<?> e)org.apache.wicket.model.StringResourceModelcreateStringResource(Enum<?> e, String prefix)org.apache.wicket.model.StringResourceModelcreateStringResource(Enum<?> e, String prefix, String nullKey)org.apache.wicket.model.StringResourceModelcreateStringResource(String resourceKey, Object... objects)org.apache.wicket.model.StringResourceModelcreateStringResource(String resourceKey, org.apache.wicket.model.IModel<?> model, Object... objects)org.apache.wicket.ComponentgetFeedbackPanel()MidpointConfigurationgetMidpointConfiguration()org.apache.wicket.model.IModel<T>getModel()TgetModelObject()PageBasegetPageBase()PageAdminLTEgetParentPage()This method was created to be used instead of getPageBase after a big number of the util methods moved to the PageAdminLTE.PrismContextgetPrismContext()GuiComponentRegistrygetRegistry()SchemaServicegetSchemaService()MidPointAuthWebSessiongetSession()StringgetString(Enum<?> e)StringgetString(String resourceKey, Object... objects)WebApplicationConfigurationgetWebApplicationConfiguration()protected voidshowResult(OperationResult result)-
Methods inherited from class org.apache.wicket.markup.html.panel.Panel
getRegionMarkup, newMarkupSourcingStrategy
-
Methods inherited from class org.apache.wicket.markup.html.WebMarkupContainer
getWebApplication, getWebPage, getWebRequest, getWebResponse, getWebSession
-
Methods inherited from class org.apache.wicket.MarkupContainer
add, addDequeuedComponent, addOrReplace, autoAdd, canDequeueTag, contains, dequeue, dequeue, dequeuePreamble, findChildComponent, findComponentToDequeue, get, getAssociatedMarkup, getAssociatedMarkupStream, getMarkup, getMarkupType, internalAdd, internalInitialize, iterator, iterator, newDequeueContext, onComponentTagBody, onDetach, onInitialize, onRender, queue, remove, remove, removeAll, renderAll, renderAssociatedMarkup, renderAssociatedMarkup, renderNext, replace, setDefaultModel, size, stream, streamChildren, toString, toString, visitChildren, visitChildren
-
Methods inherited from class org.apache.wicket.Component
add, addStateChange, beforeRender, canCallListener, canCallListenerAfterExpiry, checkComponentTag, checkComponentTagAttribute, checkHierarchyChange, clearOriginalDestination, configure, continueToOriginalDestination, createConverter, debug, detach, detachModel, detachModels, determineVisibility, error, exceptionMessage, fatal, findMarkupStream, findPage, findParent, findParentWithAssociatedMarkup, getAjaxRegionMarkupId, getApplication, getBehaviorById, getBehaviorId, getBehaviors, getBehaviors, getClassRelativePath, getConverter, getDefaultModel, getDefaultModelObject, getDefaultModelObjectAsString, getDefaultModelObjectAsString, getEscapeModelStrings, getFeedbackMessages, getFlag, getId, getInnermostModel, getInnermostModel, getLocale, getLocalizer, getMarkup, getMarkupAttributes, getMarkupId, getMarkupId, getMarkupIdFromMarkup, getMarkupIdImpl, getMarkupSourcingStrategy, getMarkupTag, getMetaData, getModelComparator, getOutputMarkupId, getOutputMarkupPlaceholderTag, getPage, getPageRelativePath, getParent, getPath, getRenderBodyOnly, getRequest, getRequestCycle, getRequestFlag, getResponse, getSizeInBytes, getStatelessHint, getString, getString, getString, getStyle, getVariation, hasBeenRendered, hasErrorMessage, hasFeedbackMessage, info, initModel, internalOnModelChanged, internalRenderComponent, internalRenderHead, isActionAuthorized, isAuto, isBehaviorAccepted, isEnableAllowed, isEnabled, isEnabledInHierarchy, isIgnoreAttributeModifier, isInitialized, isRenderAllowed, isRendering, isStateless, isVersioned, isVisibilityAllowed, isVisible, isVisibleInHierarchy, markRendering, modelChanged, modelChanging, onAfterRender, onBeforeRender, onComponentTag, onConfigure, onEvent, onModelChanged, onModelChanging, onReAdd, onRemove, redirectToInterceptPage, remove, remove, render, renderComponentTag, rendered, renderHead, renderPart, renderPlaceholderTag, replaceComponentTagBody, replaceWith, sameInnermostModel, sameInnermostModel, send, setAuto, setDefaultModelObject, setEnabled, setEscapeModelStrings, setFlag, setIgnoreAttributeModifier, setMarkup, setMarkupId, setMarkupIdImpl, setMetaData, setOutputMarkupId, setOutputMarkupPlaceholderTag, setParent, setRenderBodyOnly, setResponsePage, setResponsePage, setResponsePage, setVersioned, setVisibilityAllowed, setVisible, success, urlFor, urlFor, urlFor, urlForListener, urlForListener, visitParents, visitParents, warn, wrap
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Method Detail
-
createModel
public org.apache.wicket.model.IModel<T> createModel()
-
getModel
public org.apache.wicket.model.IModel<T> getModel()
-
getModelObject
public T getModelObject()
-
createStringResource
public org.apache.wicket.model.StringResourceModel createStringResource(String resourceKey, org.apache.wicket.model.IModel<?> model, Object... objects)
-
createStringResource
public org.apache.wicket.model.StringResourceModel createStringResource(String resourceKey, Object... objects)
-
createStringResource
public org.apache.wicket.model.StringResourceModel createStringResource(PolyString polystringKey, Object... objects)
-
createStringResource
public org.apache.wicket.model.StringResourceModel createStringResource(PolyStringType polystringKey, Object... objects)
-
createStringResource
public org.apache.wicket.model.StringResourceModel createStringResource(Enum<?> e)
-
createStringResource
public org.apache.wicket.model.StringResourceModel createStringResource(Enum<?> e, String prefix)
-
createStringResource
public org.apache.wicket.model.StringResourceModel createStringResource(Enum<?> e, String prefix, String nullKey)
-
getPageBase
@Contract(pure=true) public PageBase getPageBase()
-
getParentPage
@Contract(pure=true) public PageAdminLTE getParentPage()
This method was created to be used instead of getPageBase after a big number of the util methods moved to the PageAdminLTE. For now it is used only by the components on the non-PageBase pages, in the future should be reviewed and refactored to be more generally used
-
showResult
protected void showResult(OperationResult result)
-
getFeedbackPanel
public org.apache.wicket.Component getFeedbackPanel()
-
getRegistry
public GuiComponentRegistry getRegistry()
-
getMidpointConfiguration
public MidpointConfiguration getMidpointConfiguration()
-
getPrismContext
public PrismContext getPrismContext()
-
getSchemaService
public SchemaService getSchemaService()
-
getWebApplicationConfiguration
public WebApplicationConfiguration getWebApplicationConfiguration()
-
getSession
public MidPointAuthWebSession getSession()
- Overrides:
getSessionin classorg.apache.wicket.Component
-
-