Minor Update
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-portlet@113976 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
e0c22400bd
commit
52d2031e7c
|
@ -14,8 +14,6 @@ import com.allen_sauer.gwt.log.client.Log;
|
|||
import com.google.gwt.core.client.GWT;
|
||||
import com.google.gwt.dom.client.Element;
|
||||
import com.google.gwt.dom.client.NodeList;
|
||||
import com.google.gwt.event.logical.shared.SelectionEvent;
|
||||
import com.google.gwt.event.logical.shared.SelectionHandler;
|
||||
import com.google.gwt.user.client.ui.FlexTable;
|
||||
import com.google.web.bindery.event.shared.EventBus;
|
||||
import com.sencha.gxt.cell.core.client.ButtonCell.ButtonArrowAlign;
|
||||
|
@ -26,9 +24,6 @@ import com.sencha.gxt.widget.core.client.button.ButtonGroup;
|
|||
import com.sencha.gxt.widget.core.client.button.TextButton;
|
||||
import com.sencha.gxt.widget.core.client.event.SelectEvent;
|
||||
import com.sencha.gxt.widget.core.client.event.SelectEvent.SelectHandler;
|
||||
import com.sencha.gxt.widget.core.client.menu.Item;
|
||||
import com.sencha.gxt.widget.core.client.menu.Menu;
|
||||
import com.sencha.gxt.widget.core.client.menu.MenuItem;
|
||||
import com.sencha.gxt.widget.core.client.toolbar.ToolBar;
|
||||
|
||||
/**
|
||||
|
@ -68,13 +63,13 @@ public class FileToolBar {
|
|||
|
||||
//Help
|
||||
private TextButton helpButton;
|
||||
private TextButton languageButton;
|
||||
//private TextButton languageButton;
|
||||
//private TextButton logsButton;
|
||||
|
||||
//Language Menu
|
||||
private MenuItem enItem;
|
||||
/*private MenuItem enItem;
|
||||
private MenuItem itItem;
|
||||
private MenuItem esItem;
|
||||
private MenuItem esItem;*/
|
||||
|
||||
|
||||
|
||||
|
@ -429,9 +424,8 @@ public class FileToolBar {
|
|||
|
||||
FlexTable helpLayout = new FlexTable();
|
||||
helpGroup.add(helpLayout);
|
||||
|
||||
|
||||
|
||||
|
||||
/*
|
||||
languageButton = new TextButton(msgs.languageButton(),
|
||||
TabularDataResources.INSTANCE.language32());
|
||||
languageButton.enable();
|
||||
|
@ -443,7 +437,7 @@ public class FileToolBar {
|
|||
|
||||
helpLayout.setWidget(0, 0, languageButton);
|
||||
helpLayout.getFlexCellFormatter().setRowSpan(0, 0, 2);
|
||||
|
||||
*/
|
||||
|
||||
helpButton = new TextButton(msgs.helpButton(),
|
||||
TabularDataResources.INSTANCE.help32());
|
||||
|
@ -505,7 +499,7 @@ public class FileToolBar {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
private Menu createLanguageMenu() {
|
||||
Menu menuReplace = new Menu();
|
||||
enItem = new MenuItem(msgs.english(),
|
||||
|
@ -552,7 +546,7 @@ public class FileToolBar {
|
|||
menuReplace.add(esItem);
|
||||
menuReplace.add(itItem);
|
||||
return menuReplace;
|
||||
}
|
||||
}*/
|
||||
|
||||
|
||||
public void setUI(UIStateEvent event) {
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
<inherits name='com.google.gwt.user.User' />
|
||||
<inherits name="com.google.gwt.http.HTTP"/>
|
||||
<inherits name="com.google.gwt.i18n.I18N" />
|
||||
<!-- <inherits name="com.google.gwt.i18n.I18N" /> -->
|
||||
|
||||
<!-- <inherits name='com.extjs.gxt.ui.GXT' /> -->
|
||||
<inherits name='com.sencha.gxt.ui.GXT' />
|
||||
|
@ -70,7 +70,7 @@
|
|||
<!-- Specify the app entry point class. -->
|
||||
<entry-point class='org.gcube.portlets.user.td.client.TabularDataPortlet' />
|
||||
|
||||
<!-- -->
|
||||
<!--
|
||||
<set-configuration-property name="locale.cookie"
|
||||
value="TDLangCookie" />
|
||||
<set-configuration-property name="locale.queryparam"
|
||||
|
@ -88,6 +88,7 @@
|
|||
<extend-property name="locale" values="es" />
|
||||
<set-property name="locale" value="en, it, es" />
|
||||
<set-property-fallback name="locale" value="en" />
|
||||
-->
|
||||
|
||||
<!-- <set-property name="log_DivLogger" value="ENABLED" /> <set-property
|
||||
name="log_ConsoleLogger" value="ENABLED" /> <set-property name="log_GWTLogger" value="ENABLED" />
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
<inherits name='com.google.gwt.user.User' />
|
||||
<inherits name="com.google.gwt.http.HTTP"/>
|
||||
<inherits name="com.google.gwt.i18n.I18N" />
|
||||
<!-- <inherits name="com.google.gwt.i18n.I18N" /> -->
|
||||
|
||||
<!-- <inherits name='com.extjs.gxt.ui.GXT' /> -->
|
||||
<inherits name='com.sencha.gxt.ui.GXT' />
|
||||
|
@ -77,6 +77,7 @@
|
|||
<!-- Specify the app entry point class. -->
|
||||
<entry-point class='org.gcube.portlets.user.td.client.TabularDataPortlet' />
|
||||
|
||||
<!--
|
||||
<set-configuration-property name="locale.cookie"
|
||||
value="TDLangCookie" />
|
||||
<set-configuration-property name="locale.queryparam"
|
||||
|
@ -94,7 +95,7 @@
|
|||
<extend-property name="locale" values="es" />
|
||||
<set-property name="locale" value="en, it, es" />
|
||||
<set-property-fallback name="locale" value="en" />
|
||||
|
||||
-->
|
||||
|
||||
<!--
|
||||
<set-property name="log_ConsoleLogger" value="ENABLED" />
|
||||
|
|
Loading…
Reference in New Issue