|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Generic interface for all plug-ins. All plug-ins of fdda must implement this interface.
Field Summary | |
static int |
ALGORITHM_READER
Plug-in type: loads algorithms |
static int |
SYSTEM_READER
Plug-in type: loads projects |
static int |
SYSTEM_WRITER
Plug-in type: saves projects |
Method Summary | |
void |
configure()
This method is used to configure the plug-in by user interaction. |
String |
getName()
Returns the name of the plug-in. |
int |
getType()
Returns the type of the plug-in (one of the constants of this interface) |
boolean |
hasOptions()
Returns whether this plug-in can be configured by a call to configure() |
void |
useDialog(String component)
Tells the plug-in to use the specified dialog component for its interactions with the user. |
Field Detail |
public static final int SYSTEM_READER
public static final int SYSTEM_WRITER
public static final int ALGORITHM_READER
Method Detail |
public String getName()
public int getType()
public boolean hasOptions()
public void useDialog(String component) throws ComponentNotSupportedException
component
- name of the dialog component (e.g. "swing")
ComponentNotSupportedException
- if the plug-in can't use this
componentpublic void configure()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |