public class DefaultEditingSwingManager extends AbstractManager implements EditingSwingManager
Constructor and Description |
---|
DefaultEditingSwingManager() |
Modifier and Type | Method and Description |
---|---|
EditingContextMenu |
getContextualMenu(Component parent,
AcceptValueListener listener,
EditingServiceParameter parameter)
Gets an instance of current parameter contextual menu.
|
EditingConsole |
getEditingConsole(List<ResponseListener> listeners)
Gets and instance of
EditingConsole . |
EditingConsole |
getEditingConsole(ResponseListener listener)
Gets and instance of
EditingConsole . |
EditingContext |
getEditingContext(MapControl mapControl) |
Service |
getService(DynObject parameters)
Creates a new
Service based on the given parameters. |
void |
registerEditingContext(MapControl mapControl) |
int |
showPanelExportOrDiscard(MapControl parent,
String name) |
int |
showPanelSaveOrDiscard(MapControl parent,
String name) |
createServiceParameters, getProviderManager
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createServiceParameters
public EditingContext getEditingContext(MapControl mapControl)
getEditingContext
in interface EditingSwingManager
public Service getService(DynObject parameters) throws ServiceException
Manager
Service
based on the given parameters.getService
in interface Manager
parameters
- of the Service
to createService
ServiceException
- if there is an error creating the Service, or the parameters
are not validpublic void registerEditingContext(MapControl mapControl)
registerEditingContext
in interface EditingSwingManager
public int showPanelExportOrDiscard(MapControl parent, String name)
showPanelExportOrDiscard
in interface EditingSwingManager
public int showPanelSaveOrDiscard(MapControl parent, String name)
showPanelSaveOrDiscard
in interface EditingSwingManager
public EditingContextMenu getContextualMenu(Component parent, AcceptValueListener listener, EditingServiceParameter parameter)
EditingSwingManager
EditingContextMenu.show(java.awt.Component, int, int)
.getContextualMenu
in interface EditingSwingManager
parent
- of contextual menuparameter
- to build contextual menu according to it types.public EditingConsole getEditingConsole(ResponseListener listener)
EditingSwingManager
EditingConsole
.
The response listener will receive the response typed
by user when ENTER key is pressed.getEditingConsole
in interface EditingSwingManager
listener
- Object that will received the responseEditingConsole
public EditingConsole getEditingConsole(List<ResponseListener> listeners)
EditingSwingManager
EditingConsole
.
Response listener list will receive the response
typed by user when ENTER key is pressed.getEditingConsole
in interface EditingSwingManager
EditingConsole