com.ontimize.util.gis.client.gui.panels.actions
Class EditGisConf

java.lang.Object
  extended by com.ontimize.util.gis.client.gui.panels.actions.EditGisConf
All Implemented Interfaces:
IPopupMenuAction, java.awt.event.ActionListener, java.util.EventListener

public class EditGisConf
extends java.lang.Object
implements IPopupMenuAction

Popup menu panel action.


Field Summary
protected  com.ontimize.gui.button.Button bAccept
           
protected  com.ontimize.gui.button.Button bCancel
           
protected static java.lang.String BUTTON_ACCEPT
           
protected static java.lang.String BUTTON_CANCEL
           
protected  java.lang.String confDescription
           
protected  java.lang.String confId
           
protected  java.lang.String entityName
           
protected  com.ontimize.gui.Form form
           
protected  javax.swing.JDialog formDialog
           
protected  IGisViewer gisViewer
           
protected  java.lang.String layerConfDefinition
           
protected  java.lang.String layerConfId
           
protected  java.lang.String layerConfName
           
protected static java.lang.String PARAM_ENTITY_NAME
           
protected static java.lang.String PARAM_FORM_PATH
           
protected static java.lang.String PARAM_LAYERS_CONFIGURATION_DEF_COLUMN
           
protected static java.lang.String PARAM_LAYERS_CONFIGURATION_ID_COLUMN
           
protected static java.lang.String PARAM_LAYERS_CONFIGURATION_NAME_COLUMN
           
protected static java.lang.String PARAM_USER_ID_COLUMN
           
protected  int prevGisViewerState
           
protected  java.lang.StringBuffer strBuff
           
protected  java.lang.String userId
           
 
Constructor Summary
EditGisConf()
           
EditGisConf(IGisViewer gisViewer)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
protected  void buildEditForm()
          Build the edition form using the "formPath" parameter or the gis configuration entity parameters"
 void setParameter(java.lang.String name, java.lang.Object value)
          Set a parameter value for this action.
 void setParameters(java.util.Hashtable<java.lang.String,java.lang.Object> params)
          Set a group of parameters stored in a hashtable in [name, value] pairs.
 void setParentItem(PopupMenuItem popupItem)
          Set action parent item
 void setResourceBundle(java.util.ResourceBundle res)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PARAM_ENTITY_NAME

protected static final java.lang.String PARAM_ENTITY_NAME
See Also:
Constant Field Values

PARAM_LAYERS_CONFIGURATION_ID_COLUMN

protected static final java.lang.String PARAM_LAYERS_CONFIGURATION_ID_COLUMN
See Also:
Constant Field Values

PARAM_LAYERS_CONFIGURATION_NAME_COLUMN

protected static final java.lang.String PARAM_LAYERS_CONFIGURATION_NAME_COLUMN
See Also:
Constant Field Values

PARAM_LAYERS_CONFIGURATION_DEF_COLUMN

protected static final java.lang.String PARAM_LAYERS_CONFIGURATION_DEF_COLUMN
See Also:
Constant Field Values

PARAM_USER_ID_COLUMN

protected static final java.lang.String PARAM_USER_ID_COLUMN
See Also:
Constant Field Values

PARAM_FORM_PATH

protected static final java.lang.String PARAM_FORM_PATH
See Also:
Constant Field Values

BUTTON_ACCEPT

protected static final java.lang.String BUTTON_ACCEPT
See Also:
Constant Field Values

BUTTON_CANCEL

protected static final java.lang.String BUTTON_CANCEL
See Also:
Constant Field Values

gisViewer

protected IGisViewer gisViewer

prevGisViewerState

protected int prevGisViewerState

entityName

protected java.lang.String entityName

userId

protected java.lang.String userId

layerConfId

protected java.lang.String layerConfId

layerConfDefinition

protected java.lang.String layerConfDefinition

layerConfName

protected java.lang.String layerConfName

formDialog

protected javax.swing.JDialog formDialog

confId

protected java.lang.String confId

confDescription

protected java.lang.String confDescription

bAccept

protected com.ontimize.gui.button.Button bAccept

bCancel

protected com.ontimize.gui.button.Button bCancel

form

protected com.ontimize.gui.Form form

strBuff

protected java.lang.StringBuffer strBuff
Constructor Detail

EditGisConf

public EditGisConf()

EditGisConf

public EditGisConf(IGisViewer gisViewer)
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Specified by:
actionPerformed in interface java.awt.event.ActionListener

setParameter

public void setParameter(java.lang.String name,
                         java.lang.Object value)
Description copied from interface: IPopupMenuAction
Set a parameter value for this action. The definition of this parameter in the xml code is using the FormAttribute element

Specified by:
setParameter in interface IPopupMenuAction
Parameters:
name - Parameter name
value - Parameter value

setParameters

public void setParameters(java.util.Hashtable<java.lang.String,java.lang.Object> params)
Description copied from interface: IPopupMenuAction
Set a group of parameters stored in a hashtable in [name, value] pairs.

Specified by:
setParameters in interface IPopupMenuAction
Parameters:
params - Hashtable containing the popup menu action configuration parameters

setResourceBundle

public void setResourceBundle(java.util.ResourceBundle res)
Specified by:
setResourceBundle in interface IPopupMenuAction

setParentItem

public void setParentItem(PopupMenuItem popupItem)
Description copied from interface: IPopupMenuAction
Set action parent item

Specified by:
setParentItem in interface IPopupMenuAction
Parameters:
popupItem - Parent item

buildEditForm

protected void buildEditForm()
Build the edition form using the "formPath" parameter or the gis configuration entity parameters"