public abstract class AbstractTypesPage extends OntopolyAbstractPage
Modifier and Type | Field and Description |
---|---|
protected static int |
ASSOCIATION_TYPES_INDEX_IN_SUBMENU |
protected static int |
NAME_TYPES_INDEX_IN_SUBMENU |
protected static int |
OCCURRENCE_TYPES_INDEX_IN_SUBMENU |
protected static int |
ROLE_TYPES_INDEX_IN_SUBMENU |
protected static int |
TOPIC_TYPES_INDEX_IN_SUBMENU |
ADMIN_PAGE_INDEX_IN_MAINMENU, DESCRIPTION_PAGE_INDEX_IN_MAINMENU, INSTANCES_PAGE_INDEX_IN_MAINMENU, NONE_SELECTED, ONTOLOGY_INDEX_IN_MAINMENU
log
Constructor and Description |
---|
AbstractTypesPage() |
AbstractTypesPage(org.apache.wicket.PageParameters parameters) |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
createFunctionBoxes(org.apache.wicket.MarkupContainer parent,
String id) |
protected abstract org.apache.wicket.Component |
createTreePanel(String id) |
protected TreePanel |
createTreePanel(String id,
org.apache.wicket.model.IModel<TreeModel> treeModelModel) |
protected int |
getMainMenuIndex() |
static org.apache.wicket.model.IModel<String> |
getNameModelForHelpLinkAddress(int type) |
static org.apache.wicket.model.IModel<String> |
getNameModelForType(int type) |
Class<? extends org.apache.wicket.Page> |
getPageClass(Topic topic)
Given the topic return the page class to use.
|
org.apache.wicket.PageParameters |
getPageParameters(Topic topic)
Given the topic return the page parameters to use.
|
protected abstract int |
getSubMenuIndex() |
static List<MenuItem> |
getSubMenuItems(TopicMapModel topicMapModel) |
getTopicMap, getTopicMapModel, initParentComponents, onDetach
filterTopic, filterTopics, getLabel, getListener, getOntopolySession, getStylesheet, isAddAllowed, isAddAllowed, isAdministrationEnabled, isAnnotationEnabled, isCreateAllowed, isReadOnlyPage, isRemoveAllowed, isRemoveAllowed, isShortcutsEnabled, onAfterAdd, onAfterCreate, onBeforeDelete, onBeforeRemove, setReadOnlyPage
configureResponse, getMarkupType, getUrlCompressor, getWebRequestCycle, homePageLink, onAfterRender, onNewBrowserWindow, setHeaders
afterCallComponent, beforeCallComponent, componentChanged, componentRendered, detachModels, dirty, endComponentRender, expireOldestVersion, getAjaxVersionNumber, getAutoIndex, getCurrentVersionNumber, getId, getNumericId, getPageClass, getPageId, getPageMap, getPageMapEntry, getPageMapName, getPageParameters, getPageReference, getSizeInBytes, getStatelessHint, getVersion, getVersions, hierarchyAsString, ignoreVersionMerge, internalOnModelChanged, isBookmarkable, isErrorPage, isPageStateless, moveToPageMap, newVersionManager, onBeforeRender, onPageAttached, onRedirect, onRender, removePersistedFormData, renderPage, rollbackPage, setNumericId, setStatelessHint, startComponentRender, toString, writeReplace
add, addOrReplace, autoAdd, autoAdd, contains, findMarkupStream, get, get, getAssociatedMarkupStream, getMarkupStream, hasAssociatedMarkup, internalAdd, isTransparentResolver, iterator, iterator, newMarkupResourceStream, onComponentTagBody, remove, remove, removeAll, renderAll, renderAssociatedMarkup, renderComponentTagBody, renderNext, replace, setDefaultModel, setMarkupStream, size, swap, toString, visitChildren, visitChildren
add, addStateChange, afterRender, beforeRender, callOnBeforeRenderIfNotVisible, checkComponentTag, checkComponentTagAttribute, checkHierarchyChange, continueToOriginalDestination, debug, detach, detachBehaviors, detachModel, determineVisibility, error, exceptionMessage, fatal, findPage, findParent, findParentWithAssociatedMarkup, getApplication, getBehaviors, getBehaviors, getBehaviorsRawList, getClassRelativePath, getComponentBorder, getConverter, getConverter, getDefaultModel, getDefaultModelObject, getDefaultModelObjectAsString, getDefaultModelObjectAsString, getEscapeModelStrings, getFeedbackMessage, getFlag, getFlag, getInnermostModel, getInnermostModel, getLocale, getLocalizer, getMarkupAttributes, getMarkupId, getMarkupId, getMarkupIdImpl, getMetaData, getModelComparator, getOutputMarkupId, getOutputMarkupPlaceholderTag, getPage, getPageRelativePath, getParent, getPath, getRenderBodyOnly, getRequest, getRequestCycle, getResponse, getSession, getString, getString, getString, getStyle, getVariation, hasBeenRendered, hasErrorMessage, hasFeedbackMessage, info, initModel, internalAttach, internalDetach, internalOnAttach, internalOnDetach, isActionAuthorized, isAncestorOf, isAttached, isBehaviorAccepted, isEnableAllowed, isEnabled, isEnabledInHierarchy, isIgnoreAttributeModifier, isRenderAllowed, isStateless, isVersioned, isVisibilityAllowed, isVisible, isVisibleInHierarchy, locateMarkupStream, markAttached, markRendering, modelChanged, modelChanging, onAttach, onBeginRequest, onComponentTag, onEndRequest, onModelChanged, onModelChanging, onRemove, prepareForRender, prepareForRender, redirectToInterceptPage, remove, remove, render, render, renderComponent, renderComponent, renderComponentTag, rendered, renderHead, renderPlaceholderTag, replaceComponentTagBody, replaceWith, sameInnermostModel, sameInnermostModel, setAuto, setComponentBorder, setDefaultModelObject, setEnabled, setEscapeModelStrings, setFlag, setFlag, setIgnoreAttributeModifier, setMarkupId, setMarkupIdImpl, setMetaData, setOutputMarkupId, setOutputMarkupPlaceholderTag, setRedirect, setRenderBodyOnly, setResponsePage, setResponsePage, setResponsePage, setVersioned, setVisibilityAllowed, setVisible, urlFor, urlFor, urlFor, urlFor, urlFor, urlFor, visitParents, warn, wrap
protected static final int TOPIC_TYPES_INDEX_IN_SUBMENU
protected static final int OCCURRENCE_TYPES_INDEX_IN_SUBMENU
protected static final int ASSOCIATION_TYPES_INDEX_IN_SUBMENU
protected static final int ROLE_TYPES_INDEX_IN_SUBMENU
protected static final int NAME_TYPES_INDEX_IN_SUBMENU
public AbstractTypesPage()
public AbstractTypesPage(org.apache.wicket.PageParameters parameters)
protected int getMainMenuIndex()
getMainMenuIndex
in class OntopolyAbstractPage
protected abstract void createFunctionBoxes(org.apache.wicket.MarkupContainer parent, String id)
protected abstract int getSubMenuIndex()
public static org.apache.wicket.model.IModel<String> getNameModelForType(int type)
public static org.apache.wicket.model.IModel<String> getNameModelForHelpLinkAddress(int type)
public static List<MenuItem> getSubMenuItems(TopicMapModel topicMapModel)
protected abstract org.apache.wicket.Component createTreePanel(String id)
protected TreePanel createTreePanel(String id, org.apache.wicket.model.IModel<TreeModel> treeModelModel)
public Class<? extends org.apache.wicket.Page> getPageClass(Topic topic)
AbstractOntopolyPage
getPageClass
in class AbstractOntopolyPage
public org.apache.wicket.PageParameters getPageParameters(Topic topic)
AbstractOntopolyPage
getPageParameters
in class AbstractOntopolyPage