EGF Engine
Release 0.1.0

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

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

public class UiReferencedFactoryComponent
extends AbstractUiContainer

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


Constructor Summary
UiReferencedFactoryComponent(UiReferencedFactoryComponentContainer uiReferencedFactoryComponentContainer_p, FactoryComponent fc_p)
          Constructor.
 
Method Summary
 FactoryComponent getFactoryComponent()
          Return the underlying factory component.
 Image getImage()
          Return the image used as icon for this UI container.
 String getText()
          Return the text used as label for this UI container.
 
Methods inherited from class org.eclipse.egf.core.ui.internal.data.AbstractUiContainer
addChild, getChildren, getParent, hasChildren, isEmpty, removeChild
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UiReferencedFactoryComponent

public UiReferencedFactoryComponent(UiReferencedFactoryComponentContainer uiReferencedFactoryComponentContainer_p,
                                    FactoryComponent fc_p)
Constructor.

Parameters:
uiReferencedFactoryComponentContainer_p -
name_p -
Method Detail

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()

getImage

public Image getImage()
Description copied from class: AbstractUiContainer
Return the image used as icon for this UI container.
Default implementation returns null.

Overrides:
getImage in class AbstractUiContainer
Returns:
an image or null if not provided.
See Also:
AbstractUiContainer.getImage()

getFactoryComponent

public FactoryComponent getFactoryComponent()
Return the underlying factory component.

Returns:

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.