@Override public Panel get(final String id, final VirSchemaTO schemaTO) { return new EmptyPanel(id); } }
/** * 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); }
/** * * @param id * @param item * @return */ protected Component newListItem(String id, ListItem<T> item) { return new EmptyPanel(id); }
protected Panel createQuestionPanel(final String id, final IModel<String> question, final IModel<String> answer) { if (question != null && answer != null) { return new QuestionPanel(id, question, answer); } else { return new EmptyPanel(id); } }
@Override public Panel getPanel(String panelId) { if (selectedInstanceHandle.getObject() != null) { return new AnnotatedListIdentifiers(panelId, kbModel, selectedConceptHandle, selectedInstanceHandle, true); } else { return new EmptyPanel(panelId); } } });
@Override public Panel getPanel(String panelId) { if (selectedConceptHandle.getObject() != null) { return new AnnotatedListIdentifiers(panelId, kbModel, selectedConceptHandle, selectedInstanceHandle,false); } else { return new EmptyPanel(panelId); } } });
/** * Override this method to provide a footer for this panel. * @param id * @param model * @return */ protected Panel newFooterPanel(String id, IModel<T> model){ Panel emptyPanel = new EmptyPanel(id); emptyPanel.setDefaultModel(null); return emptyPanel; }
protected final Component createContentComponent(String markupId) { if (loadContent) { return createAjaxContentComponent(markupId); } else { return new EmptyPanel(markupId); } }
private void prepareResults() { if (selectedClassModel != null) { prepareResults(selectedClassModel.getObject()); } else resultsContainer.addOrReplace(new EmptyPanel("results")); }
public FileUploadWidget(String id, FileUploadWidgetSettings settings) { super(id); setOutputMarkupId(true); this.settings = settings; add(panel = new EmptyPanel(COMPONENT_ID)); }
public void removeService(IRenderService service, String name) { replace(new EmptyPanel("root")); root.unbind(); root = null; }
@SuppressWarnings("unchecked") public AbstractListingPlugin(IPluginContext context, IPluginConfig config) { super(context, config); if (config.getString("model.document") != null) { documentReference = context.getService(config.getString("model.document"), IModelReference.class); } else { documentReference = null; log.info("No document model service configured (model.document)"); } add(new EmptyPanel("table")); }
public Dialog(final IModel<ModelType> model) { super(model); setButtonCssClass("btn btn-default"); add(new EmptyPanel(BOTTOM_LEFT_ID).setVisible(false)); }
private void cleanup() { shown = null; setContent(new EmptyPanel(getContentId())); setWindowClosedCallback(null); setTitle(new Model("title")); }
void handleSimple_OK_Description() { final WebMarkupContainer parent = new WebMarkupContainer(Constants.PAYLOAD_ID); add(parent); parent.add(new EmptyPanel(Constants.NODE_ID).setVisible(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 ItemFragment(String id, IMenuItem item) { super(id, "item-fragment", Menu.this); this.add(new EmptyPanel("icon").add(AttributeModifier.append("class", KendoIcon.getCssClass(item.getIcon())))); this.add(new Label("title", item.getTitle()).setRenderBodyOnly(true)); } }
protected Panel getRoleSourcePanel(RoleSource model) { if (PreAuthenticatedUserNameRoleSource.UserGroupService.equals(model)) { return new UserGroupServicePanel("panel"); } else if (PreAuthenticatedUserNameRoleSource.RoleService.equals(model)) { return new RoleServicePanel("panel"); } else if (PreAuthenticatedUserNameRoleSource.Header.equals(model)) { return new HeaderPanel("panel"); } return new EmptyPanel("panel"); }
@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; }
public LinkFragment(String id, UrlMenuItem item) { super(id, "link-fragment", Menu.this); WebMarkupContainer link = new WebMarkupContainer("link"); link.add(AttributeModifier.replace("href", item.getUrl())); link.add(new EmptyPanel("icon").add(AttributeModifier.append("class", KendoIcon.getCssClass(item.getIcon())))); link.add(new Label("title", item.getTitle()).setRenderBodyOnly(true)); this.add(link); } }