Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 
 package de.xwic.etlgine.server.admin;
 
 

Author(s):
Developer
public class AdminPage extends Page {

Parameters:
container
	public AdminPage(IControlContainer container) {
		this(containernull);
	}

Parameters:
container
name
	public AdminPage(IControlContainer containerString name) {
		super(containername);
		setTitle("ETLgine (" + getServerInstance() +")");
		 = new StackedContentContainer(this"content");
		new BreadCrumpControl(this"breadcrump");
		new MainMenuControl("mm");
		new StatusControl(this"status");
        //Garbage collector button
		Button btGC = new Button(this"btGC");
		btGC.setTitle("Run GC");
			public void objectSelected(SelectionEvent event) {
				System.gc();
			}
		});
		new OnOffControl(this"on_off");
	}

Returns the server name.

Returns:
	public String getServerName() {
	}
	}
	protected void createVersionInfoControl(IControlContainer container) {
		// set the version label
		Label verInfo = new Label(container"lblVersionInfo");
		if (StringUtils.isEmpty(implementationVersion)) {
		}
" | v"
implementationVersion );
	}
New to GrepCode? Check out our FAQ X