Added ChartType
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-widget-common-event@101547 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
40c7a87f49
commit
76791a1d50
|
@ -26,7 +26,7 @@ public class TRId implements Serializable {
|
|||
private TabResourceType tabResourceType;
|
||||
|
||||
/**
|
||||
* Tabular resource type: Generic, Codelist, Dataset...
|
||||
* Tabular resource type(look TableType): Generic, Codelist, Dataset...
|
||||
*/
|
||||
private String tableTypeName;
|
||||
|
||||
|
|
|
@ -0,0 +1,27 @@
|
|||
package org.gcube.portlets.user.td.widgetcommonevent.shared.charts;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author giancarlo
|
||||
* email: <a href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
||||
*
|
||||
*/
|
||||
public enum ChartType {
|
||||
TopRating("Top Rating");
|
||||
|
||||
|
||||
/**
|
||||
* @param text
|
||||
*/
|
||||
private ChartType(final String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
private final String id;
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return id;
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue