|
|||||||||||
| 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 String |
TYPE_ENTRY
The name for an entry type. |
static String |
TYPE_SEPARATOR
The name for a separator type. |
| Constructor Summary | |
CmsExplorerContextMenuItem(String type,
String key,
String uri,
String rules,
String target,
Integer order)
Constructor that creates a single context menu entry with all necessary information. |
|
| Method Summary | |
Object |
clone()
|
int |
compareTo(Object obj)
|
boolean |
equals(Object obj)
|
String |
getKey()
Returns the key for localization. |
Integer |
getOrder()
Returns the sort order of this item. |
String |
getRules()
Returns the set of display rules. |
String |
getTarget()
Returns the frame target of the current item. |
String |
getType()
Returns the type of the current item. |
String |
getUri()
Returns the dialog URI of the current item. |
int |
hashCode()
|
void |
setKey(String key)
Sets the key for localization. |
void |
setOrder(Integer order)
Returns the sort order of this item. |
void |
setRules(String rules)
Sets the set of display rules. |
void |
setTarget(String target)
Sets the frame target of the current item. |
void |
setType(String type)
Sets the type of the current item. |
void |
setUri(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 String TYPE_ENTRY
public static final String TYPE_SEPARATOR
| Constructor Detail |
public CmsExplorerContextMenuItem(String type,
String key,
String uri,
String rules,
String target,
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 item| Method Detail |
public Object clone()
Object.clone()public int compareTo(Object obj)
compareTo in interface ComparableComparable.compareTo(java.lang.Object)public boolean equals(Object obj)
Object.equals(java.lang.Object)public String getKey()
public Integer getOrder()
public String getRules()
public String getTarget()
public String getType()
public String getUri()
public int hashCode()
Object.hashCode()public void setKey(String key)
key - the key for localizationpublic void setOrder(Integer order)
order - the sort order of this itempublic void setRules(String rules)
rules - the set of display rulespublic void setTarget(String target)
target - the frame target of the current itempublic void setType(String type)
type - the type of the current itempublic void setUri(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 | ||||||||||