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,AbstractSearchConfigurationPanel,AbstractSearchItemPanel,AbstractSummaryPanel,AbstractTreeTablePanel,AbstractWizardBasicPanel,AbstractWizardPanel,ACAttributePanel,ACAttributeValuePanel,AceEditorFormGroup,AceEditorPanel,ActivitiesItemProcessingPanel,ApplicablePolicyConfigPanel,ApplicablePolicyGroupPanel,ApprovalProcessesPreviewPanel,ApprovalProcessExecutionInformationPanel,ApprovalProcessExecutionInformationPanelTextOnly,AssignmentConflictPanel,AssignmentConstructionPanel,AssignmentEditorPanel,AssignmentHeaderPanel,AssignmentPathPanel,AssignmentPopup,AssignmentsInfoDialog,AssociationExpressionValuePanel,AsyncUpdatePanel,AuthenticationInfoPanel,AutoRefreshPanel,AxiomSearchPanel,BadgeListPanel,BadgePanel,BasePageAwarePanel,BasicSearchPanel,BasicSearchPanel,BoxedTablePanel,CandidateAssignPanel,CapabilitiesPanel,CapabilitiesPanel,CaptchaPanel,CardOutlineLeftPanel,CartSummaryPanel,CaseWorkItemActionsPanel,CaseWorkItemsTableWithDetailsPanel,CatalogItemDetailsPanel,ChangePasswordPanel,ChangesPanel,CheckFormGroup,ChooseFocusTypeAndRelationDialogPanel,ChooseMemberPopup,ChooseRelationPanel,ChooseTypePanel,ColumnResultPanel,CompositedButtonPanel,CompositedIconPanel,ConfirmationPanel,ConflictSolverPanel,ConstructionAssociationPanel,ContactOrgUnitPanel,ContainerableListPanel,ContainersDropDownPanel,ContainerValuePanel,CountIconPanel,CreateResourceTemplatePanel,CreateTemplatePanel,CsvDownloadButtonPanel,CustomContainerPanel,CustomValidityPanel,DashboardPanel,DashboardSearchPanel,DateFormGroup,DateRangePicker,DebugButtonPanel,DecisionsPanel,DefaultContainerablePanel,DefinitionBasicPanel,DefinitionScopePanel,DefinitionStagePanel,DefinitionStagesPanel,DefinitionXmlPanel,DeltaPanel,DetailsNavigationPanel,DetailsTablePanel,DisplayNamePanel,DoubleButtonPanel,DownloadButtonPanel,DropdownButtonPanel,DropDownFormGroup,DynamicFieldGroupPanel,DynamicFormPanel,ErrorPanel,EvaluatedTriggerGroupListPanel,EvaluatedTriggerGroupPanel,EvaluatedTriggerPanel,EvaluatorExpressionPanel,ExecuteChangeOptionsPanel,ExecuteChangeOptionsPanel,ExportingPanel,ExportMiningPanel,ExpressionEditorPanel,ExpressionPanel,ExpressionTypeSelectPopup,FocusTilePanel,FulltextSearchPanel,GenericMultiValueLabelEditPanel,IdentityDetailsPanel,ImageDetailsPanel,ImagePanel,ImportOptionsPanel,ImportReportPopupPanel,InfoBox,InformationListPanel,InformationPanel,InlineButtonPanel,InternalsCachePanel,InternalsClockPanel,InternalsConfigPanel,InternalsCountersPanel,InternalsDebugUtilPanel,InternalsLoggedInUsersPanel,InternalsMemoryPanel,InternalsPerformancePanel,InternalsThreadsPanel,InternalsTracesPanel,ItemHeaderPanel,ItemPanel,ItemPathPanel,ItemPathSegmentPanel,ItemRefinedPanel,LabelWithCheck,LabelWithHelpPanel,LeftMenuPanel,LinkedReferencePanel,ListContainersPopup,ListGroupMenuItemPanel,ListGroupMenuPanel,ListMappingPanel,LivesyncTokenEditorPanel,LocalePanel,LocalesDropDownMenu,MainMenuPanel,MappingColumnPanel,MembersDetailsPanel,MenuItemLinkPanel,MenuLinkPanel,MergeObjectDetailsPanel,MergeObjectsPanel,MessagePanel,MetadataPanel,ModelOperationStatusPanel,ModificationsPanel,ModificationTargetPreviewPanel,MultiButtonPanel,MultiCompositedButtonPanel,MultifunctionalButton,MultiStateHorizontalButton,MultiValueAutoCompleteTextPanel,MultiValueChoosePanel,MultivalueContainerDetailsPanel,MultiValueDropDownPanel,MultiValueObjectChoosePanel,MultiValueTextEditPanel,MultiValueTextFormGroup,MultiValueTextPanel,MyAccountsPanel,MyAssignmentsPanel,MyTreeColumnPanel,NavigationPanel,NewObjectCreationPopup,NotificationConfigTabPanel,ObjectBasicPanel,ObjectBrowserPanel,ObjectReferenceColumnPanel,ObjectTypeSelectPanel,OperationalButtonsPanel,OperationResultPanel,OrgTreeAssignablePanel,OrgTreeFolderContent,PagingSizePanel,PasswordLimitationsPanel,PasswordPolicyValidationPanel,PatternDetailsPanel,PendingOperationPanel,PersonalInfoPanel,PopoverSearchPanel,PopoverSearchPopupPanel,PreviewChangesTabPanel,PrismObjectValuePanel,PrismValueMetadataPanel,PrismValuePanel,ProcessInstancesPanel,ProgressBarPanel,ProgressPanel,ProgressPanel,ProgressStatus,ProvenanceAcquisitionHeaderPanel,QNameEditorPanel,QueryConverterPanel,QueryPlaygroundPanel,RelationDropDownChoicePanel,RelationsPanel,ResourceContentPanel,ResourceTilePanel,RoleAnalysisChartPanel,RoleAnalysisDetectedPatternTable,RoleAnalysisRoleBasedTable,RoleAnalysisTable,RoleOfTeammateMenuPanel,RoundedIconPanel,RoundedImagePanel,RunReportPopupPanel,SaveSearchPanel,SchemaListPanel,SearchButtonWithDropdownMenu,SearchFilterConfigurationPanel,SearchFilterPanel,SearchPanel,SecurityQuestionsPanel,SelectableItemListPopoverPanel,SelfConsentPanel,ShadowPanel,ShoppingCartEditPanel,SideBarMenuPanel,SimpleErrorPanel,SimplePanel,SimplePopupable,SimpleRoleSelector,SimpleVisualizationPanel,SingleButtonPanel,SingleContainerPanel,SingleContainerPopupPanel,SingleTileChoicePanel,SmallBox,StageEditorPanel,StatisticDashboardWidget,StatisticsPanel,StringLimitationPanel,StyledPanel,SwitchableApprovalProcessPreviewsPanel,SwitchablePropertyValuePanel,SynchronizationSituationTransitionPanel,SystemInfoPanel,TaskCreationPopup,TestConnectionMessagesPanel,TestConnectionResultPanel,TextAreaFormGroup,TextFormGroup,ThreeStateBooleanPanel,TilePanel,TileTablePanel,TitleWithMarks,TogglePanel,TreeTablePanel,TriStateFormGroup,TwoStateBooleanPanel,TypedAssignablePanel,ValueChoosePanel,VariableBindingDefinitionTypePanel,VerticalFormPanel,VisualizationItemLinePanel,VisualizationItemsPanel,VisualizationItemValuePanel,VisualizationPanel,WidgetPanel,WidgetTableHeader,WizardHeaderStepPanel,WizardPanel,WizardStepPanel,WorkItemDetailsPanel,XmlSearchPanel
public class BasePanel<T>
extends org.apache.wicket.markup.html.panel.Panel
Base 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:
-
Field Summary
Fields inherited from class org.apache.wicket.markup.html.panel.Panel
PANELFields inherited from class org.apache.wicket.Component
ENABLE, FLAG_INITIALIZED, FLAG_RESERVED1, FLAG_RESERVED2, FLAG_RESERVED3, FLAG_RESERVED4, FLAG_RESERVED5, FLAG_RESERVED8, PARENT_PATH, PATH_SEPARATOR, RENDER, RFLAG_CONTAINER_DEQUEING, RFLAG_CONTAINER_HAS_REMOVALS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringcreateComponentPath(String... components) org.apache.wicket.model.IModel<T>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.Componentorg.apache.wicket.model.IModel<T>getModel()This method was created to be used instead of getPageBase after a big number of the util methods moved to the PageAdminLTE.com.evolveum.midpoint.repo.common.subscription.SubscriptionStateprotected voidshowResult(OperationResult result) Methods inherited from class org.apache.wicket.markup.html.panel.Panel
getRegionMarkup, newMarkupSourcingStrategyMethods inherited from class org.apache.wicket.markup.html.WebMarkupContainer
getWebApplication, getWebPage, getWebRequest, getWebResponse, getWebSessionMethods 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, renderNext, replace, setDefaultModel, size, stream, streamChildren, toString, toString, visitChildren, visitChildrenMethods 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, wrapMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.wicket.IQueueRegion
dequeue, newDequeueContextMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
BasePanel
-
BasePanel
-
-
Method Details
-
createModel
-
getModel
-
getModelObject
-
getString
-
getString
-
createStringResource
-
createStringResource
-
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
-
createStringResource
-
createStringResource
-
getPageBase
-
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
-
getFeedbackPanel
public org.apache.wicket.Component getFeedbackPanel() -
getRegistry
-
getMidpointConfiguration
-
getPrismContext
-
getSchemaService
-
createComponentPath
-
getWebApplicationConfiguration
-
getSession
- Overrides:
getSessionin classorg.apache.wicket.Component
-
getSubscriptionState
public com.evolveum.midpoint.repo.common.subscription.SubscriptionState getSubscriptionState()
-