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,38 @@
/*
* Copyright (c) 2006,2007 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.Composite;
import com.common.util.IIterator;
import com.foundation.view.IAbstractContainer;
import com.foundation.view.swt.cell.CellComponent;
public interface ICellContainer {
/**
* Gets the composite that will contain the swt resources for the contained control.
* @param rowObject The row object whose composite is required. The composite may be the container for the cells, or a sub-container within the cell.
* @return The composite that the cell controls can be added to.
*/
public Composite getSwtComposite(Object rowObject);
/**
* Gets the composites that the cells use as the parent SWT component.
* @return The iterator over all active SWT composites that contain all children.
*/
public IIterator getSwtComposites();
/**
* Gets the container for the cell container.
* @return The container for the cells.
*/
public IAbstractContainer getContainer();
/**
* Adds a cell component as a child of this container.
* @param component The cell component to be contained by this container.
*/
public void addCellComponent(CellComponent component);
}//ICellContainer//