git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-column-widget@113803 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
071cf1fbe2
commit
f675d9c37f
|
@ -40,6 +40,7 @@
|
|||
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
|
||||
<attributes>
|
||||
<attribute name="maven.pomderived" value="true"/>
|
||||
<attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/>
|
||||
</attributes>
|
||||
</classpathentry>
|
||||
<classpathentry kind="lib" path="/home/giancarlo/gwt/gwt-2.6.1/validation-api-1.0.0.GA.jar" sourcepath="/home/giancarlo/gwt/gwt-2.6.1/validation-api-1.0.0.GA-sources.jar"/>
|
||||
|
|
8
pom.xml
8
pom.xml
|
@ -100,12 +100,7 @@
|
|||
<version>${gwtVersion}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.google.gwt</groupId>
|
||||
<artifactId>gwt-dev</artifactId>
|
||||
<version>${gwtVersion}</version>
|
||||
</dependency>
|
||||
|
||||
|
||||
<!--
|
||||
<dependency>
|
||||
<groupId>javax.validation</groupId>
|
||||
|
@ -347,4 +342,5 @@
|
|||
</dependency>
|
||||
</dependencies>
|
||||
</dependencyManagement>
|
||||
<packaging>war</packaging>
|
||||
</project>
|
||||
|
|
|
@ -25,8 +25,8 @@
|
|||
|
||||
|
||||
<!-- Specify the app entry point class. -->
|
||||
<!-- <entry-point class='org.gcube.portlets.user.td.columnwidget.client.ColumnWidgetEntry'
|
||||
/> -->
|
||||
<entry-point class='org.gcube.portlets.user.td.columnwidget.client.ColumnWidgetEntry'
|
||||
/>
|
||||
|
||||
<!-- Specify the paths for translatable code -->
|
||||
<source path='client' />
|
||||
|
|
|
@ -40,6 +40,12 @@ public class ColumnTypeCodeStore implements Serializable {
|
|||
|
||||
public static ArrayList<ColumnTypeCodeElement> getColumnTypeCodes(TRId trId) {
|
||||
store = new ArrayList<ColumnTypeCodeElement>();
|
||||
if(trId==null|| trId.getTableTypeName()==null){
|
||||
Log.debug("Attention no valid table type, trId:"+trId);
|
||||
store.add(annotation);
|
||||
return store;
|
||||
}
|
||||
|
||||
if (trId.getTableTypeName().compareTo("Generic") == 0) {
|
||||
store.add(annotation);
|
||||
store.add(attribute);
|
||||
|
@ -75,6 +81,12 @@ public class ColumnTypeCodeStore implements Serializable {
|
|||
|
||||
public static ArrayList<ColumnTypeCodeElement> getColumnTypeCodesForAddColumn(TRId trId) {
|
||||
store = new ArrayList<ColumnTypeCodeElement>();
|
||||
if(trId==null|| trId.getTableTypeName()==null){
|
||||
Log.debug("Attention no valid table type, trId:"+trId);
|
||||
store.add(annotation);
|
||||
return store;
|
||||
}
|
||||
|
||||
if (trId.getTableTypeName().compareTo("Generic") == 0) {
|
||||
store.add(annotation);
|
||||
store.add(attribute);
|
||||
|
|
|
@ -28,7 +28,21 @@
|
|||
|
||||
|
||||
<!-- Specify the app entry point class. -->
|
||||
<!-- <entry-point class='org.gcube.portlets.user.td.columnwidget.client.ColumnWidgetEntry' /> -->
|
||||
<entry-point class='org.gcube.portlets.user.td.columnwidget.client.ColumnWidgetEntry' />
|
||||
|
||||
|
||||
|
||||
<set-property name="log_ConsoleLogger" value="ENABLED" />
|
||||
<set-property name="log_DivLogger" value="ENABLED" />
|
||||
<set-property name="log_GWTLogger" value="ENABLED" />
|
||||
<set-property name="log_SystemLogger" value="ENABLED" />
|
||||
|
||||
<!--
|
||||
<set-property name="log_ConsoleLogger" value="DISABLED" />
|
||||
<set-property name="log_DivLogger" value="DISABLED" />
|
||||
<set-property name="log_GWTLogger" value="DISABLED" />
|
||||
<set-property name="log_SystemLogger" value="DISABLED" /> -->
|
||||
|
||||
|
||||
<!-- Specify the paths for translatable code -->
|
||||
<source path='client' />
|
||||
|
|
Loading…
Reference in New Issue