41 lines
781 B
Java
41 lines
781 B
Java
package org.gcube.portlets.user.td.widgetcommonevent.shared;
|
|
|
|
/**
|
|
*
|
|
* @author "Giancarlo Panichi"
|
|
* <a href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
|
*
|
|
* Operations that can be launched from the grid menu
|
|
*/
|
|
public enum GridHeaderOperationId {
|
|
RemoveColumn("1004"),
|
|
ChangeLabel("1005"),
|
|
AddLabel("1006"),
|
|
RemoveLabel("1007"),
|
|
ChangeToType("2000"),
|
|
ModifyColumnValueOnCondition("3001"),
|
|
NewAnnotationColumn("3002"),
|
|
Filter("3003"),
|
|
ColumnDuplicateValidation("5004");
|
|
|
|
/**
|
|
* Create OperationId
|
|
* @param text
|
|
*/
|
|
private GridHeaderOperationId (final String id) {
|
|
this.id = id;
|
|
}
|
|
|
|
private final String id;
|
|
|
|
/**
|
|
* Return operation number
|
|
*/
|
|
@Override
|
|
public String toString() {
|
|
return id;
|
|
}
|
|
|
|
|
|
}
|