@Override public Panel get(final String id, final VirSchemaTO schemaTO) { return new EmptyPanel(id); } }
/** * Creates Bootstrap card footer. * Default is invisible {@link EmptyPanel} * @param id {@link String} component id * @return {@link WebMarkupContainer} */ protected WebMarkupContainer createLoginFooter(String id) { EmptyPanel panel = new EmptyPanel(id); panel.setVisible(false); return panel; }
public DrawerManager(String id) { super(id); add(new EmptyPanel("next").setOutputMarkupId(true)); }
private Component emptyPanel() { return new EmptyPanel(INSTANCE_INFO_MARKUP_ID).setVisibilityAllowed(false); } }
public ItemFragment(String id, IMenuItem item) { super(id, "item-fragment", Menu.this); this.add(new EmptyPanel("icon").add(AttributeModifier.append("class", new PropertyModel<String>(item, "iconClass")))); this.add(new Label("title", item.getTitle())); } }
public DynamicListItem(String id) { super(id); add(new EmptyPanel("next").setOutputMarkupPlaceholderTag(true)); }
closeLink.add(closeIcon); } else { EmptyPanel hidden = new EmptyPanel("close"); hidden.setVisible(false); hidden.add(HippoIcon.fromSprite("close-icon", Icon.EMPTY)); container.add(hidden); icon = new EmptyPanel("icon").setRenderBodyOnly(true);
@Override protected void onInitialize() { super.onInitialize(); this.add(new EmptyPanel("icon").add(AttributeModifier.append("class", KendoIcon.getCssClass(icon)))); this.add(new Label("text", this.getDefaultModel())); } }
private Component emptyPanel() { return new EmptyPanel(INSTANCE_INFO_MARKUP_ID).setVisibilityAllowed(false); } }
/** * return a constructed panel containing the footer * * @param panelId * id of the panel to Return * @return a constructed panel */ public Panel createFooter(String panelId) { return new EmptyPanel(panelId); }
@Override protected void onInitialize() { super.onInitialize(); this.add(new EmptyPanel("icon").add(AttributeModifier.append("class", KendoIcon.getCssClass(icon)))); this.add(new Label("text", this.getDefaultModel())); } }
public Dialog(final IModel<ModelType> model) { super(model); setButtonCssClass("btn btn-default"); add(new EmptyPanel(BOTTOM_LEFT_ID).setVisible(false)); }
private void renderNewPageWizard(boolean show, AjaxRequestTarget target) { wizardEnabled = show; if (wizardEnabled) { form.addOrReplace(newPageWizard = new NewPageWizard("wizard", getPluginContext(), getPluginConfig()) { @Override public void onCancel() { super.onCancel(); renderNewPageWizard(false, RequestCycle.get().find(AjaxRequestTarget.class)); } @Override protected void onFinish(org.hippoecm.hst.plugins.frontend.editor.domain.Component page) { AjaxRequestTarget target = RequestCycle.get().find(AjaxRequestTarget.class); renderNewPageWizard(false, target); getBean().setPage(page.getName()); if (pagePicker != null) { pagePicker.refresh(); } if (target != null) { target.add(form); } } }); } else { form.addOrReplace(new EmptyPanel("wizard").setOutputMarkupId(true)); newPageWizard = null; } if (target != null) { target.add(form); } }
public ConceptInstancePanel(String aId, IModel<KnowledgeBase> aKbModel, IModel<KBHandle> selectedConceptHandle, IModel<KBConcept> selectedConceptModel) { super(aId, selectedConceptModel); setOutputMarkupId(true); kbModel = aKbModel; selectedInstanceHandle = Model.of(); this.selectedConceptHandle = selectedConceptHandle; add(new BootstrapAjaxTabbedPanel<ITab>("tabPanel", makeTabs())); add(new ConceptInfoPanel("info", kbModel, selectedConceptHandle, selectedConceptModel)); instanceInfoPanel = new EmptyPanel(INSTANCE_INFO_MARKUP_ID).setVisibilityAllowed(false); add(instanceInfoPanel); }
/** * * @param id * @param item * @return */ protected Component newListItem(String id, ListItem<T> item) { return new EmptyPanel(id); }
@Override protected Component newMessageDisplayComponent(String id, FeedbackMessage message) { WebMarkupContainer container = new WebMarkupContainer(id); container.add(new EmptyPanel("icon").add(AttributeModifier.replace("class", this.getIconClass(message)))); container.add(super.newMessageDisplayComponent("label", message)); return container; }
void handleSimple_OK_Description() { final WebMarkupContainer parent = new WebMarkupContainer(Constants.PAYLOAD_ID); add(parent); parent.add(new EmptyPanel(Constants.NODE_ID).setVisible(false)); }
form.addOrReplace(new EmptyPanel("wizard").setOutputMarkupId(true)); newPageWizard = null;
public ConceptInstancePanel(String aId, IModel<KnowledgeBase> aKbModel, IModel<KBHandle> selectedConceptHandle, IModel<KBConcept> selectedConceptModel) { super(aId, selectedConceptModel); setOutputMarkupId(true); kbModel = aKbModel; selectedInstanceHandle = Model.of(); this.selectedConceptHandle = selectedConceptHandle; add(new BootstrapAjaxTabbedPanel<ITab>("tabPanel", makeTabs())); add(new ConceptInfoPanel("info", kbModel, selectedConceptHandle, selectedConceptModel)); instanceInfoPanel = new EmptyPanel(INSTANCE_INFO_MARKUP_ID).setVisibilityAllowed(false); add(instanceInfoPanel); }
@Override public Component createTraitsEditor(String aId, IModel<Recommender> aModel) { return new EmptyPanel(aId); }