public void execute(ActionEvent e) {
Alert.info(createDisplayer(), "Additional Details");
}
private UiProvider createDisplayer() {
BasicTwoColumnLabelDisplayer disp = new BasicTwoColumnLabelDisplayer(Mode.TEXTFIELD);
disp.setFieldWidth(30);
disp.addRow("Type:", object.getEntityType().getDisplayName());
disp.addRow("Name:", object.getName());
disp.addRow("GUID:", object.getID());
disp.addRow("Created on:", object.getCreatedAt());
disp.addRow("Last modified on:", object.getModifiedAt());
addBoolean(disp, "Deployed:", object.hasBeenDeployed());
if (object.hasBeenDeployed()) {
addBoolean(disp, "Changed since deployed:", object.isDeployDirty());
addBoolean(disp, "Moved since deployed:", object.hasMoved());
}