org.apache.pivot.wtk.Window Java Examples

The following examples show how to use org.apache.pivot.wtk.Window. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: Master.java    From setupmaker with Apache License 2.0 6 votes vote down vote up
@Override public void startup(Display display, Map<String, String> properties) throws Exception// App start
{
    Out.print(LOG_LEVEL.DEBUG, "Data loaded to memory");
    
    Locale.setDefault(Locale.ENGLISH);// Set default UI language to English
    BXMLSerializer bxmlSerializer = new BXMLSerializer();
    window = (Window) bxmlSerializer.readObject(getClass().getResource("master.bxml"));
    window.open(display);

    // Helper launch if first time
    if (facade.appConfig.isHelp()) {
        helper.open(window);
        facade.appConfig.setHelp(false);
    }
    
    Out.print(LOG_LEVEL.DEBUG, "Window open");
}
 
Example #2
Source File: GeoTriplesWindow.java    From GeoTriples with Apache License 2.0 5 votes vote down vote up
@Override
public void open(Display display, Window owner) {
	super.open(display, owner);
	

	/*
	 * ApplicationContext.scheduleRecurringCallback(new Runnable() {
	 * 
	 * @Override public void run() { refreshTable(); } }, REFRESH_INTERVAL);
	 */
	}
 
Example #3
Source File: MosaicPaneRefImpl.java    From Mosaic with Apache License 2.0 4 votes vote down vote up
public MosaicPaneRefImpl() {
	window = new Window();
	random = new Random();
}
 
Example #4
Source File: Facade.java    From setupmaker with Apache License 2.0 4 votes vote down vote up
/**
 * initialize window pointer to application
 * @param application
 */
public void setWindow(Window application)
{
    this.master = application;
}
 
Example #5
Source File: NGDialog.java    From setupmaker with Apache License 2.0 4 votes vote down vote up
@Override public void open(Display display, Window owner, DialogCloseListener dialogCloseListenerArgument)
{
    inGroupName.setText("");
    validated=false;
    super.open(display, owner, dialogCloseListenerArgument);
}