Esempio n. 1
0
        override public void Render(TileRenderContext ctx)
        {
            if (errorString != null)
            {
                ctx.Write(errorString);
                if (offerDaemonRestart)
                {
                    ctx.Write("<hr noshade>");
                    ctx.Link("Click to start the Beagle daemon...", new TileActionHandler(StartDaemon));
                    offerDaemonRestart = false;
                }
                errorString = null;
                return;
            }

            if (hit_collection != null)
            {
                ctx.Tile(hit_collection);
            }
        }
Esempio n. 2
0
		override public void Render (TileRenderContext ctx)
		{
			if (errorString != null) {
				ctx.Write (errorString);
				if (offerDaemonRestart) {
					ctx.Write ("<hr noshade>");
					ctx.Link ("Click to start the Beagle daemon...", new TileActionHandler (StartDaemon));
					offerDaemonRestart = false;
				}
				errorString = null;
				return;
			}

			if (hit_collection != null)
				ctx.Tile (hit_collection);
		}