nl.gx.webmanager.wcb.foundation
Class MenuItemComponentDefinitionImpl

java.lang.Object
  extended by nl.gx.webmanager.wcb.foundation.ComponentDefinitionImpl
      extended by nl.gx.webmanager.wcb.foundation.MenuItemComponentDefinitionImpl
All Implemented Interfaces:
ComponentDefinition, MenuItemComponentDefinition
Direct Known Subclasses:
ElementComponentDefinitionImpl, PanelComponentDefinitionImpl

public abstract class MenuItemComponentDefinitionImpl
extends ComponentDefinitionImpl
implements MenuItemComponentDefinition


Field Summary
 
Fields inherited from class nl.gx.webmanager.wcb.foundation.ComponentDefinitionImpl
LOG
 
Constructor Summary
MenuItemComponentDefinitionImpl(boolean isLicensed)
           
 
Method Summary
 java.lang.String getMenuTextMessageKey()
          Returns the key in the message properties file of the component which is mapped on the value that is used for the description of the component in the menustructure.
 java.lang.String getTargetMenu()
          Returns the identifying value of the WebManager menu to which the panel should be added.
 java.lang.String getTargetMenuLocationAfter()
          Returns the id of the menu item after which the new menu item should be inserted.
 java.lang.String getTargetMenuLocationBefore()
          Returns the id of the menu item before which the new menu item should be inserted.
 void setMenuTextMessageKey(java.lang.String messageKey)
          Sets the key in the message properties file of the component which is mapped on the value that is used for the description of the component in the menustructure.
 void setTargetMenu(java.lang.String targetMenu)
          Sets the identifying value of the WebManager menu to which the panel should be added.
 void setTargetMenuLocationAfter(java.lang.String menuitem)
          Sets the id of the menu item after which the new menu item should be inserted.
 void setTargetMenuLocationBefore(java.lang.String menuitem)
          Sets the id of the menu item before which the new menu item should be inserted.
 
Methods inherited from class nl.gx.webmanager.wcb.foundation.ComponentDefinitionImpl
getComponentBundleDefinition, getControllerClassName, getDependencies, getDescription, getDisplayLanguage, getEntityClassNames, getEntityFactoryClassName, getExtensions, getId, getImplementationClassName, getInstanceClassName, getInterfaceClassNames, getLanguageResourceMessage, getLanguageResourceMessages, getLanguageResources, getName, getNameSpace, getNodeType, getPermissionCategory, getPermissionsForPermissionGroups, getPersistenceManagerClassName, getProperties, getTypeId, getWrapperClassNames, isLicensed, setComponentBundleDefinition, setControllerClassName, setDependencies, setDescription, setEntityClassNames, setEntityFactoryClassName, setExtensions, setId, setImplementationClassName, setInstanceClassName, setInterfaceClassNames, setLanguageResources, setName, setNameSpace, setNodeType, setPermissionCategory, setPermissionsForPermissionGroup, setPersistenceManagerClassName, setProperties, setTypeId, setWrapperClassNames
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface nl.gx.webmanager.wcb.MenuItemComponentDefinition
getMenuItemPermissions
 
Methods inherited from interface nl.gx.webmanager.wcb.ComponentDefinition
getComponentBundleDefinition, getControllerClassName, getDependencies, getDescription, getDisplayLanguage, getEntityClassNames, getEntityFactoryClassName, getExtensions, getId, getImplementationClassName, getInstanceClassName, getInterfaceClassNames, getLanguageResourceMessage, getLanguageResourceMessages, getLanguageResources, getName, getNameSpace, getNodeType, getPermissionCategory, getPermissionsForPermissionGroups, getPersistenceManagerClassName, getProperties, getTypeId, getWrapperClassNames, isLicensed, setComponentBundleDefinition, setExtensions
 

Constructor Detail

MenuItemComponentDefinitionImpl

public MenuItemComponentDefinitionImpl(boolean isLicensed)
Method Detail

getMenuTextMessageKey

public java.lang.String getMenuTextMessageKey()
Description copied from interface: MenuItemComponentDefinition
Returns the key in the message properties file of the component which is mapped on the value that is used for the description of the component in the menustructure.

Specified by:
getMenuTextMessageKey in interface MenuItemComponentDefinition
Returns:
the key in the message properties file of the component which is mapped on the value that is used for the description of the component in the menustructure

setMenuTextMessageKey

public void setMenuTextMessageKey(java.lang.String messageKey)
Sets the key in the message properties file of the component which is mapped on the value that is used for the description of the component in the menustructure.

Parameters:
messageKey - The key in the message properties file

getTargetMenu

public java.lang.String getTargetMenu()
Description copied from interface: MenuItemComponentDefinition
Returns the identifying value of the WebManager menu to which the panel should be added.

Specified by:
getTargetMenu in interface MenuItemComponentDefinition
Returns:
the identifying value of the WebManager menu to which the panel should be added

setTargetMenu

public void setTargetMenu(java.lang.String targetMenu)
Sets the identifying value of the WebManager menu to which the panel should be added.

Parameters:
targetMenu - Identifying value of the WebManager menu

getTargetMenuLocationAfter

public java.lang.String getTargetMenuLocationAfter()
Description copied from interface: MenuItemComponentDefinition
Returns the id of the menu item after which the new menu item should be inserted.

Specified by:
getTargetMenuLocationAfter in interface MenuItemComponentDefinition
Returns:
The id of the menu item after which the new menu item should be inserted

setTargetMenuLocationAfter

public void setTargetMenuLocationAfter(java.lang.String menuitem)
Sets the id of the menu item after which the new menu item should be inserted.

Parameters:
menuitem - Id of a menu item

getTargetMenuLocationBefore

public java.lang.String getTargetMenuLocationBefore()
Description copied from interface: MenuItemComponentDefinition
Returns the id of the menu item before which the new menu item should be inserted.

Specified by:
getTargetMenuLocationBefore in interface MenuItemComponentDefinition
Returns:
The id of the menu item before which the new menu item should be inserted

setTargetMenuLocationBefore

public void setTargetMenuLocationBefore(java.lang.String menuitem)
Sets the id of the menu item before which the new menu item should be inserted.

Parameters:
menuitem - Id of a menu item


Copyright © 2007-2011 GX Software BV. All Rights Reserved.