public class GeoreferencingSwingImplLibrary extends AbstractLibrary
AbstractLibrary.DefaultRequired
Library.Required, Library.TYPE
Constructor and Description |
---|
GeoreferencingSwingImplLibrary() |
Modifier and Type | Method and Description |
---|---|
protected void |
doInitialize()
Performs all the initializations of the library, only related to himself:
register implementation classes through the Locator, start services, etc.
|
protected void |
doPostInitialize()
Performs all the initializations or validations related to the library
dependencies, as getting references to objects through other libraries
Locators.
|
void |
doRegistration() |
static void |
messageBoxError(String msg,
Component c)
Shows an error dialog with a text and a accept button
|
static void |
messageBoxError(String msg,
Object parentWindow,
Exception exception)
Shows a error dialog with a text and a accept button
|
static boolean |
messageBoxYesOrNot(String msg,
Component c)
Shows an error dialog with a text and a YesOrNot button
|
equals, getLibrary, getPriority, getRequireds, getType, hashCode, initialize, isRequired, isRequired, postInitialize, registerAs, registerAsAPI, registerAsImplementationOf, registerAsImplementationOf, registerAsServiceOf, require, require, require, toString
public void doRegistration()
doRegistration
in interface Library
doRegistration
in class AbstractLibrary
protected void doInitialize() throws LibraryException
AbstractLibrary
doInitialize
in class AbstractLibrary
LibraryException
- if there is an error while performing the initialization of
the libraryprotected void doPostInitialize() throws LibraryException
AbstractLibrary
doPostInitialize
in class AbstractLibrary
LibraryException
- if there is an error while loading an implementation of the
librarypublic static void messageBoxError(String msg, Component c)
msg
- Message to show in the dialogparentWindow
- Parent windowpublic static void messageBoxError(String msg, Object parentWindow, Exception exception)
msg
- Message to show in the dialogparentWindow
- Parent windowpublic static boolean messageBoxYesOrNot(String msg, Component c)
msg
- Message to show in the dialog.parentWindow
- Parent window