EGF Engine
Release 0.1.0

org.eclipse.egf.core.ui.data.explorer
Class FactoryComponentInWorkspace

java.lang.Object
  extended by org.eclipse.egf.core.ui.data.explorer.FactoryComponentInWorkspace

public class FactoryComponentInWorkspace
extends Object


Constructor Summary
FactoryComponentInWorkspace()
           
 
Method Summary
 boolean addFactoryComponent(FactoryComponent factoryComponent_p)
          Add given factory component to this factory components container.
 Object getAdapter(Class adapter_p)
           
 Collection<FactoryComponent> getFactoryComponents()
          Get all existing factory components in the workspace.
 void removeFactoryComponent(FactoryComponent factoryComponent_p)
          Remove given factory component from this factory components container.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FactoryComponentInWorkspace

public FactoryComponentInWorkspace()
Method Detail

getAdapter

public Object getAdapter(Class adapter_p)
See Also:
org.eclipse.core.runtime.IAdaptable#getAdapter(java.lang.Class)

getFactoryComponents

public Collection<FactoryComponent> getFactoryComponents()
Get all existing factory components in the workspace.

Returns:
a shallow copy of the internal collection.

addFactoryComponent

public boolean addFactoryComponent(FactoryComponent factoryComponent_p)
Add given factory component to this factory components container.

Parameters:
factoryComponent_p -
Returns:
trueif given factory component was not already contained.

removeFactoryComponent

public void removeFactoryComponent(FactoryComponent factoryComponent_p)
Remove given factory component from this factory components container.

Parameters:
factoryComponent_p -

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.