-
Notifications
You must be signed in to change notification settings - Fork 188
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
simulation ui, delta viewer, items table panel separated
- Loading branch information
Showing
20 changed files
with
330 additions
and
209 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
...olveum/midpoint/gui/impl/page/admin/simulation/visualization/ItemsVisualizationPanel.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<!-- | ||
~ Copyright (c) 2010-2023 Evolveum and contributors | ||
~ | ||
~ This work is dual-licensed under the Apache License 2.0 | ||
~ and European Union Public License. See LICENSE file for details. | ||
--> | ||
|
||
<!DOCTYPE html> | ||
<html xmlns:wicket="http://wicket.apache.org"> | ||
<wicket:extend> | ||
<table class="table table-striped table-hover table-bordered table-word-break"> | ||
<tr> | ||
<th style="min-width: 100px; !important"> | ||
<wicket:message key="ScenePanel.item"/> | ||
</th> | ||
<th> | ||
<wicket:message key="ScenePanel.oldValue"/> | ||
</th> | ||
<th> | ||
<wicket:message key="ScenePanel.newValue"/> | ||
</th> | ||
</tr> | ||
</table> | ||
</wicket:extend> | ||
</html> |
38 changes: 38 additions & 0 deletions
38
...olveum/midpoint/gui/impl/page/admin/simulation/visualization/ItemsVisualizationPanel.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
/* | ||
* Copyright (c) 2010-2023 Evolveum and contributors | ||
* | ||
* This work is dual-licensed under the Apache License 2.0 | ||
* and European Union Public License. See LICENSE file for details. | ||
*/ | ||
|
||
package com.evolveum.midpoint.gui.impl.page.admin.simulation.visualization; | ||
|
||
import com.evolveum.midpoint.web.component.prism.show.VisualizationDto; | ||
|
||
import org.apache.wicket.model.IModel; | ||
import org.jetbrains.annotations.NotNull; | ||
|
||
/** | ||
* Created by Viliam Repan (lazyman). | ||
*/ | ||
public class ItemsVisualizationPanel extends CardOutlineLeftPanel<VisualizationDto> { | ||
|
||
public ItemsVisualizationPanel(String id, IModel<VisualizationDto> model) { | ||
super(id, model); | ||
} | ||
|
||
@Override | ||
protected @NotNull IModel<String> createIconModel() { | ||
return () -> "fa-solid fa-user mr-1"; | ||
} | ||
|
||
@Override | ||
protected @NotNull IModel<String> createTitleModel() { | ||
return () -> getString("ItemsVisualizationPanel.title"); | ||
} | ||
|
||
@Override | ||
protected @NotNull IModel<String> createCardOutlineCssModel() { | ||
return () -> VisualizationGuiUtil.createChangeTypeCssClassForOutlineCard(getModelObject().getChangeType()); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.