Skip to content

Commit

Permalink
Merge branch 'master' of github.com:Evolveum/midpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
1azyman committed Aug 3, 2023
2 parents b2d5e18 + 41f701f commit f3e2b59
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,11 @@ protected ContainerPanelConfigurationType getContainerConfiguration() {
return getContainerConfiguration(getPanelType());
}

@Override
public String getStepId() {
return getPanelType();
}

protected abstract String getPanelType();

protected boolean checkMandatory(ItemWrapper itemWrapper) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,11 @@ protected ObjectQuery getCustomQuery() {

protected abstract String getPanelType();

@Override
public String getStepId() {
return getPanelType();
}

protected TileTablePanel<TemplateTile<SelectableBean<O>>, SelectableBean<O>> getTable() {
return (TileTablePanel) get(ID_TABLE);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,11 @@ protected ContainerPanelConfigurationType getContainerConfiguration() {

protected abstract String getPanelType();

@Override
public String getStepId() {
return getPanelType();
}

protected ItemVisibilityHandler getVisibilityHandler() {
return null;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,25 +32,10 @@
*/
public class BasicResourceWizardPanel extends AbstractWizardPanel<ResourceType, ResourceDetailsModel> {

// private static final String ID_FRAGMENT = "fragment";
// private static final String ID_TEMPLATE_FRAGMENT = "templateFragment";
// private static final String ID_TEMPLATE = "template";
// private static final String ID_WIZARD_FRAGMENT = "wizardFragment";
// private static final String ID_MAIN_FORM = "mainForm";
// private static final String ID_WIZARD = "wizard";

// private final ResourceDetailsModel resourceModel;

public BasicResourceWizardPanel(String id, WizardPanelHelper<ResourceType, ResourceDetailsModel> helper) {
super(id, helper);
// this.resourceModel = model;
}

// @Override
// protected void onInitialize() {
// super.onInitialize();
// initLayout();
// }

protected void initLayout() {
add(createChoiceFragment(createTemplatePanel()));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -257,4 +257,9 @@ protected IModel<?> getTextModel() {
protected IModel<?> getSubTextModel() {
return createStringResource("PageResource.wizard.step.synchronization.reaction.action.subText");
}

@Override
public String getStepId() {
return PANEL_TYPE;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -344,4 +344,9 @@ public void onStepChanged(WizardStep newStep) {
oldOidResource = resourceOid;
}
}

@Override
public String getStepId() {
return PANEL_TYPE;
}
}

0 comments on commit f3e2b59

Please sign in to comment.