Initial commit from SVN.

This commit is contained in:
wcrisman
2014-05-30 10:31:51 -07:00
commit b45e56b890
1968 changed files with 370949 additions and 0 deletions

View File

@@ -0,0 +1,39 @@
/*
* Copyright (c) 2006,2009 Declarative Engineering LLC.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Declarative Engineering LLC
* verson 1 which accompanies this distribution, and is available at
* http://declarativeengineering.com/legal/DE_Developer_License_v1.txt
*/
package com.foundation.view.swt;
import org.eclipse.swt.widgets.Shell;
import com.foundation.view.IViewContext;
public class SwtWrapperWindow extends Window {
private IViewContext viewContext = null;
/**
* SwtWrapperWindow constructor.
* @param parent The parent shell. This is optional.
* @param style The style for the new shell.
* @param viewContext The window's view context.
*/
public SwtWrapperWindow(Shell parent, int style, IViewContext viewContext) {
super();
this.viewContext = viewContext;
setSwtWidget(new Shell(parent, style));
isInitialized(true);
}//SwtWrapperWindow()//
/* (non-Javadoc)
* @see com.foundation.view.swt.AbstractComponent#initializeControl(int)
*/
protected void initializeControl(int style, Object data) {
}//initializeControl()//
/* (non-Javadoc)
* @see com.foundation.view.swt.AbstractComponent#internalGetViewContext()
*/
protected IViewContext internalGetViewContext() {
return viewContext;
}//internalGetViewContext()//
}//SwtWrapperWindow//