Package OpenCAGE.Analyses.Default_Analysis_Action_Factories

This package contains the default analysis action factories.

Class Default_Analysis_Action_Factory

extends OpenCAGE.Analyses.Analysis_Action_Factory

This is an implementation of an analysis action factory which should be quite generic. It uses OC_Data to retrieve the graph model (a Node_Model) from which it will try to get the action specified with ID.


private Ada.Strings.Unbounded.Unbounded_String Id 

the id - used to get the action from a node model

private OpenCAGE.GUI.Widget_Controllers.Parameter_Widget_Controller Widget_Controller 

the widget controller

private OpenCAGE.Data.Data Data 



public OpenCAGE.Actions.Action Get_Action(void);

Returns the (already configured) action representing this analysis. The parameters required are taken from the parameter applet controller. [This description is adopted from 'OpenCAGE.Analyses.Analysis_Action_Factory'.]

public String Get_Id(void);

Returns the id of this Analysis. [This description is adopted from 'OpenCAGE.Analyses.Analysis_Action_Factory'.]

public FET.Data_Source Get_Data_Source(void);

Returns a data source containing some stuff from the widget and the factory. [This description is adopted from 'OpenCAGE.Analyses.Analysis_Action_Factory'.]

public Boolean Can_Execute(void);

returns true, if a analysis action can be created with the given data source and the acual settings in the widget, false else. [This description is adopted from 'OpenCAGE.Analyses.Analysis_Action_Factory'.]