|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opencms.workplace.explorer.CmsExplorerContextMenuItem
Provides information about a single context menu item for a resource type in the OpenCms explorer view.
An item can be a context menu entry or a separator line.
Field Summary | |
static java.lang.String |
TYPE_ENTRY
The name for an entry type. |
static java.lang.String |
TYPE_SEPARATOR
The name for a separator type. |
Constructor Summary | |
CmsExplorerContextMenuItem(java.lang.String type,
java.lang.String key,
java.lang.String uri,
java.lang.String rules,
java.lang.String target,
java.lang.Integer order)
Constructor that creates a single context menu entry with all necessary information. |
Method Summary | |
java.lang.Object |
clone()
|
int |
compareTo(java.lang.Object obj)
|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getKey()
Returns the key for localization. |
java.lang.Integer |
getOrder()
Returns the sort order of this item. |
java.lang.String |
getRules()
Returns the set of display rules. |
java.lang.String |
getTarget()
Returns the frame target of the current item. |
java.lang.String |
getType()
Returns the type of the current item. |
java.lang.String |
getUri()
Returns the dialog URI of the current item. |
int |
hashCode()
|
void |
setKey(java.lang.String key)
Sets the key for localization. |
void |
setOrder(java.lang.Integer order)
Returns the sort order of this item. |
void |
setRules(java.lang.String rules)
Sets the set of display rules. |
void |
setTarget(java.lang.String target)
Sets the frame target of the current item. |
void |
setType(java.lang.String type)
Sets the type of the current item. |
void |
setUri(java.lang.String uri)
Sets the dialog URI of the current item. |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String TYPE_ENTRY
public static final java.lang.String TYPE_SEPARATOR
Constructor Detail |
public CmsExplorerContextMenuItem(java.lang.String type, java.lang.String key, java.lang.String uri, java.lang.String rules, java.lang.String target, java.lang.Integer order)
type
- the item type (entry oder separator)key
- the key for localizationuri
- the URI of the dialogrules
- the set of display rulestarget
- the frame target of the entry (e.g. "_top")order
- the order of the itemMethod Detail |
public java.lang.Object clone()
Object.clone()
public int compareTo(java.lang.Object obj)
compareTo
in interface java.lang.Comparable
Comparable.compareTo(java.lang.Object)
public boolean equals(java.lang.Object obj)
Object.equals(java.lang.Object)
public java.lang.String getKey()
public java.lang.Integer getOrder()
public java.lang.String getRules()
public java.lang.String getTarget()
public java.lang.String getType()
public java.lang.String getUri()
public int hashCode()
Object.hashCode()
public void setKey(java.lang.String key)
key
- the key for localizationpublic void setOrder(java.lang.Integer order)
order
- the sort order of this itempublic void setRules(java.lang.String rules)
rules
- the set of display rulespublic void setTarget(java.lang.String target)
target
- the frame target of the current itempublic void setType(java.lang.String type)
type
- the type of the current itempublic void setUri(java.lang.String uri)
uri
- the dialog URI of the current item
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |