cz.cuni.jagrlib.reg
Interface RegTables

All Known Implementing Classes:
RegTablesXML

public interface RegTables

Abstract class for registry database.

Version:
0.25 $Rev: 376 $ $Date: 2006-12-25 04:22:48 +0100 (po, 25 XII 2006) $ $Author: pepca $
Author:
Jan Kostlivy
See Also:
RegTables.java

Field Summary
static String MULTI_TEMPLATE
          Multitemplate class.
 
Method Summary
 InfoModule getInfo(String _package, String _class, String _template)
          Gets information about module or group.
 Set<String> getInterfaces()
          Returns set of all used interfaces (Plug types).
 AbstractTableModel getTableModelModule(SelectFilter _filter)
          Gets TableModel for table of modules.
 AbstractTableModel getTableModelParam(String _package, String _class, String _template)
          Gets TableModel for table of parameters.
 AbstractTableModel getTableModelPlug(String _package, String _class, String _template)
          Gets TableModel for table of plugs.
 void moveModule(InfoModule _info, String newPackageName)
          Move module to diferent package.
 void registerGroup(InfoGroup _info)
          Registration of group into registry data.
 void registerModule(InfoModule _info)
          Registration of Piece into registry data.
 void save()
          Saves registry data.
 void unregister(InfoModule _info)
          Unregistration of Piece into registry data.
 

Field Detail

MULTI_TEMPLATE

static final String MULTI_TEMPLATE
Multitemplate class.

See Also:
Constant Field Values
Method Detail

registerModule

void registerModule(InfoModule _info)
Registration of Piece into registry data.

Parameters:
_info - Information about module.

registerGroup

void registerGroup(InfoGroup _info)
Registration of group into registry data.

Parameters:
_info - Information about group.

unregister

void unregister(InfoModule _info)
Unregistration of Piece into registry data.

Parameters:
_info - Information about module.

moveModule

void moveModule(InfoModule _info,
                String newPackageName)
Move module to diferent package.

Parameters:
_info - Information about module.
newPackageName - new package.

getInfo

InfoModule getInfo(String _package,
                   String _class,
                   String _template)
Gets information about module or group.

Parameters:
_package - Name of package.
_class - Name of class.
_template - Name of template.
Returns:
information about module or group.

getTableModelModule

AbstractTableModel getTableModelModule(SelectFilter _filter)
Gets TableModel for table of modules.

Parameters:
_filter - Filter.
Returns:
table.

getTableModelPlug

AbstractTableModel getTableModelPlug(String _package,
                                     String _class,
                                     String _template)
Gets TableModel for table of plugs.

Parameters:
_package - Name of package.
_class - Name of class.
_template - Name of template.
Returns:
table.

getTableModelParam

AbstractTableModel getTableModelParam(String _package,
                                      String _class,
                                      String _template)
Gets TableModel for table of parameters.

Parameters:
_package - Name of package.
_class - Name of class.
_template - Name of template.
Returns:
table.

getInterfaces

Set<String> getInterfaces()
Returns set of all used interfaces (Plug types).


save

void save()
Saves registry data.