EGF Engine
Release 0.1.0

org.eclipse.egf.core.ui.internal.dialogs
Class FactoryComponentSelectionDialog

java.lang.Object
  extended by ElementListSelectionDialog
      extended by org.eclipse.egf.core.ui.internal.dialogs.ModelElementSelectionDialog
          extended by org.eclipse.egf.core.ui.internal.dialogs.FactoryComponentSelectionDialog

public class FactoryComponentSelectionDialog
extends ModelElementSelectionDialog

A class to select factory components from either the eclipse platform or the current workspace.


Constructor Summary
FactoryComponentSelectionDialog(Shell parent_p)
          Constructor.
 
Method Summary
protected  List<FactoryComponent> getInitialInput()
          Return the initial factory components.
 void setFilteredFactoryComponents(List<FactoryComponent> filteredFactoryComponents_p)
          Set given factory component as filtered and non displayed in the dialog.
protected  void setListElements(Object[] elements_p)
           
 
Methods inherited from class org.eclipse.egf.core.ui.internal.dialogs.ModelElementSelectionDialog
setElements
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FactoryComponentSelectionDialog

public FactoryComponentSelectionDialog(Shell parent_p)
Constructor.

Parameters:
parent_p -
Method Detail

setFilteredFactoryComponents

public void setFilteredFactoryComponents(List<FactoryComponent> filteredFactoryComponents_p)
Set given factory component as filtered and non displayed in the dialog.

Parameters:
filteredFactoryComponents_p -

setListElements

protected void setListElements(Object[] elements_p)
See Also:
org.eclipse.ui.dialogs.AbstractElementListSelectionDialog#setListElements(java.lang.Object[])

getInitialInput

protected List<FactoryComponent> getInitialInput()
Return the initial factory components.
Default implementation returns a list containing all factory components located in both workspace and target platform.

Returns:
a not null list.

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.