Package adams.gui.goe
Class AbstractEditorRegistration
- java.lang.Object
-
- adams.gui.goe.AbstractEditorRegistration
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AdamsEditorsRegistration
,WekaEditorsRegistration
public abstract class AbstractEditorRegistration extends Object implements Serializable
Ancestor for classes that register GenericObjectEditor editors.- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AbstractEditorRegistration()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract boolean
doRegister()
Performs the registration of the editors.protected Logger
getLogger()
Returns the logger in use.static String[]
getRegistrations()
Returns a list with classnames of registration classes.protected abstract boolean
hasRegistered()
Returns whether registration already occurred.boolean
register()
Performs the registration of the editors.static void
registerEditors()
Registers the GOE editors, using all available registration schemes.
-
-
-
Method Detail
-
getLogger
protected Logger getLogger()
Returns the logger in use.- Returns:
- the logger
-
hasRegistered
protected abstract boolean hasRegistered()
Returns whether registration already occurred.- Returns:
- true if registration already occurred
-
doRegister
protected abstract boolean doRegister()
Performs the registration of the editors.- Returns:
- true if registration successful
-
register
public boolean register()
Performs the registration of the editors.- Returns:
- true if registration successful
-
getRegistrations
public static String[] getRegistrations()
Returns a list with classnames of registration classes.- Returns:
- the registration classnames
-
registerEditors
public static void registerEditors()
Registers the GOE editors, using all available registration schemes.
-
-