EGF Engine
Release 0.1.0

org.eclipse.egf.core.ui.internal.data
Class UiReferencedFactoryComponentContainer

java.lang.Object
  extended by org.eclipse.egf.core.ui.internal.data.AbstractUiContainer
      extended by org.eclipse.egf.core.ui.internal.data.UiReferencedFactoryComponentContainer

public class UiReferencedFactoryComponentContainer
extends AbstractUiContainer

Define an UI container for UI Referenced factory component used in a Contract.


Constructor Summary
UiReferencedFactoryComponentContainer(ContractElement[] contractElements_p)
          Constructor.
 
Method Summary
 boolean addChild(Object child_p)
          Add a child in the children set.
 Object[] getChildren()
          Return the children as an array of objects.
 String getText()
          Return the text used as label for this UI container.
 UiReferencedFactoryComponent getUiReferencedFactoryComponent(FactoryComponent factoryComponent_p)
          Get the UiReferencedFactoryComponent for given factory component.
 boolean hasChildren()
          Return whether or not this container has children.
 boolean isEmpty()
          Return true if this container contains no elements.
 boolean removeChild(Object child_p)
          Remove a child from the children set.
 
Methods inherited from class org.eclipse.egf.core.ui.internal.data.AbstractUiContainer
getImage, getParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UiReferencedFactoryComponentContainer

public UiReferencedFactoryComponentContainer(ContractElement[] contractElements_p)
Constructor.

Parameters:
parent_p -
children_p -
Method Detail

addChild

public boolean addChild(Object child_p)
Description copied from class: AbstractUiContainer
Add a child in the children set.

Overrides:
addChild in class AbstractUiContainer
See Also:
AbstractUiContainer.addChild(java.lang.Object)

isEmpty

public boolean isEmpty()
Description copied from class: AbstractUiContainer
Return true if this container contains no elements.

Overrides:
isEmpty in class AbstractUiContainer
Returns:
See Also:
AbstractUiContainer.isEmpty()

removeChild

public boolean removeChild(Object child_p)
Description copied from class: AbstractUiContainer
Remove a child from the children set.

Overrides:
removeChild in class AbstractUiContainer
See Also:
AbstractUiContainer.removeChild(java.lang.Object)

getChildren

public Object[] getChildren()
Description copied from class: AbstractUiContainer
Return the children as an array of objects.

Overrides:
getChildren in class AbstractUiContainer
Returns:
See Also:
AbstractUiContainer.getChildren()

hasChildren

public boolean hasChildren()
Description copied from class: AbstractUiContainer
Return whether or not this container has children.

Overrides:
hasChildren in class AbstractUiContainer
Returns:
See Also:
AbstractUiContainer.hasChildren()

getUiReferencedFactoryComponent

public UiReferencedFactoryComponent getUiReferencedFactoryComponent(FactoryComponent factoryComponent_p)
Get the UiReferencedFactoryComponent for given factory component.

Parameters:
factoryComponent_p -
Returns:

getText

public String getText()
Description copied from class: AbstractUiContainer
Return the text used as label for this UI container.

Specified by:
getText in class AbstractUiContainer
Returns:
See Also:
AbstractUiContainer.getText()

EGF Engine
Release 0.1.0

Copyright (c) Thales Corporate Services S.A.S, 2009.

This page is made available under license. For full details see the LEGAL in the documentation book that contains this page.