List of usage examples for com.google.gwt.user.client Window setStatus
public static void setStatus(String status)
From source file:com.allen_sauer.gwt.dnd.client.util.DOMUtil.java
License:Apache License
/** * Set the browser's status bar text, if supported and enabled in the client browser. * /*w w w . j a v a2 s . co m*/ * @param text the message to use as the window status */ public static void setStatus(String text) { Window.setStatus(text); }
From source file:com.jettmarks.routes.client.rep.ServiceWrapper.java
License:Apache License
/** * /*from w ww. jav a 2s .co m*/ public static void addOverlays() { GeoXmlLoadCallback callback = new * GeoXmlLoadCallback() { * * @Override public void onFailure(String url, Throwable caught) { } * @Override public void onSuccess(String url, GeoXmlOverlay overlay) { * MapPanel.addOverlay(overlay); } }; GeoXmlOverlay.load( * "http://gpx.cycling.jettmarks.com/master/CyclingRides.kmz", * callback); } */ public void populateTree(RouteContainer passedTree, String routeSourceName) { Window.setStatus("Loading list of routes from: " + routeSourceName); routeContainer = passedTree; // Create Async callback ReadRouteNamesAsync service = ReadRouteNames.Util.getInstance(); AsyncCallback<String[]> callback = new RouteNamesAsyncCallback(); // Make call service.getRouteNames(routeSourceName, callback); }
From source file:com.qualogy.qafe.gwt.client.context.ClientApplicationContext.java
License:Apache License
public void setBusy(boolean busy) { if (busy) {/*from ww w. j a v a 2 s . c o m*/ pi.start(); Window.setStatus("Processing...."); } else { Window.setStatus("Finished processing...."); pi.stop(); } }
From source file:com.qualogy.qafe.gwt.client.context.ClientApplicationContext.java
License:Apache License
public void setLogText(String title, String text) { if (isMDI()) { } else {/*from ww w . ja v a 2s . co m*/ if (getShowLog()) { notify(title, text); } } Window.setStatus(title + ": " + text); }
From source file:com.qualogy.qafe.mgwt.client.context.ClientApplicationContext.java
License:Apache License
public void setBusy(boolean busy) { if (busy) {/* w w w. j av a 2s . c o m*/ Window.setStatus("Processing...."); } else { Window.setStatus("Finished processing...."); } }
From source file:com.totsp.gwittir.client.util.WindowContext.java
License:Open Source License
private WindowContext() { super(); Window.addWindowCloseListener(wcl); Window.setStatus(this.instrumentModuleFrame()); }
From source file:edu.caltech.ipac.firefly.core.DefaultRequestHandler.java
protected void onRequestSuccess(Request req, boolean createHistory) { if (req.isBookmarkable()) { Window.setTitle(getWindowTitle(req.getShortDesc())); Window.setStatus(""); if (createHistory) { History.newItem(req.toString(), false); }// www . ja v a 2 s . c o m } Application app = Application.getInstance(); if (req.isSearchResult()) { String desc = getSearchDescResolver().getTitle(req) + ": " + getSearchDescResolver().getDesc(req); if (createHistory && doRecordHistory) { UserServices.App.getInstance().addSearchHistory(req.toString(), desc, false, new BaseCallback<SearchInfo>() { public void doSuccess(SearchInfo result) { } }); } WebEventManager.getAppEvManager().fireEvent(new WebEvent<Request>(this, Name.SEARCH_RESULT_END, req)); } if (req.isDrilldownRoot()) { if (app.getDrillDownItems().size() > 0) { app.getDrillDownItems().clear(); } app.getDrillDownItems().addLast(req); } else if (req.isDrilldown()) { List<Request> l = app.getDrillDownItems().getList(); if (l.contains(req)) { int idx = l.indexOf(req); app.getDrillDownItems().removeRange(idx + 1, l.size()); } else { app.getDrillDownItems().addLast(req); } } else { // for now, leave as-is //app.getDrillDownItems().clear(); } }
From source file:org.drools.guvnor.client.BpmRuntimeEntryPoint.java
License:Apache License
private void showMain(final String userName) { Window.setStatus(ConstantsCore.INSTANCE.LoadingUserPermissions()); loadConfigurations(userName); }
From source file:org.drools.guvnor.client.BpmRuntimeEntryPoint.java
License:Apache License
private void setUpMain(String userName) { Window.setStatus(" "); createMain(); appController.setUserName(userName); }
From source file:org.drools.guvnor.client.GuvnorDroolsEntryPoint.java
License:Apache License
private void showMain(final String userName) { Window.setStatus(Constants.INSTANCE.LoadingUserPermissions()); loadConfigurations(userName); }