|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.vividsolutions.jump.workbench.plugin.Extension
de.soldin.gt2jump.cts.CSLayerSetExtension
CSLayerSetExtension acts as extension, plugin and therefore is a
listener to this extensions ui components.
The plugin itself only creates CSSetting objects which are
saved in the workbenchs blackboard. If there is a layer assigned to a cs,
then there is a matching CSSetting in the blackboard.
For the setting to take effect there are CSTransform objects
registered as CSSetListener which on a setting trial get informed
and transform the CSSettings geometries, speak the geometries of
all features in the CSSettings layer.
Extension,
PlugIn| Field Summary | |
JComboBox |
chooser_src
|
JComboBox |
chooser_trg
|
JPanel |
p_buttons
|
JPanel |
p_categories
|
JPanel |
p_layers
|
| Constructor Summary | |
CSLayerSetExtension()
|
|
| Method Summary | |
void |
actionPerformed(ActionEvent e)
implementation of the actionlisteners method ActionListener.actionPerformed(java.awt.event.ActionEvent)
to catch events from the dialog's buttons. |
void |
configure(com.vividsolutions.jump.workbench.plugin.PlugInContext context)
|
com.vividsolutions.jump.workbench.plugin.EnableCheck |
createCategorySelectedMustHaveAtLeastNItems(int i,
com.vividsolutions.jump.workbench.WorkbenchContext workbenchContext)
Creates a EnableCheck
with the given count of layers necessary for a category. |
boolean |
execute(com.vividsolutions.jump.workbench.plugin.PlugInContext context)
builds the dialog, adds the necessary listeners, which take care of setting the cs's for the layers and transforms if requested. |
String |
getName()
|
String |
getVersion()
|
void |
initialize(com.vividsolutions.jump.workbench.plugin.PlugInContext context)
Adds the menu entries, intializes swix stuff |
Collection |
transform(Collection csss)
implementation of changing the cs by transforming the coordinates of different geometries, parameter is a Collection of
CSSettings |
Collection |
transform(CSSetting css)
implementation of changing the cs by transforming the coordinates of different geometries, parameter is a CSSetting |
void |
windowActivated(WindowEvent e)
does nothing |
void |
windowClosed(WindowEvent e)
does nothing |
void |
windowClosing(WindowEvent e)
of window closes the event will be cancelled |
void |
windowDeactivated(WindowEvent e)
|
void |
windowDeiconified(WindowEvent e)
|
void |
windowIconified(WindowEvent e)
|
void |
windowOpened(WindowEvent e)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public JComboBox chooser_src
public JComboBox chooser_trg
public JPanel p_layers
public JPanel p_categories
public JPanel p_buttons
| Constructor Detail |
public CSLayerSetExtension()
| Method Detail |
public void configure(com.vividsolutions.jump.workbench.plugin.PlugInContext context)
throws Exception
configure in interface com.vividsolutions.jump.workbench.plugin.ConfigurationExceptionConfiguration.configure(com.vividsolutions.jump.workbench.plugin.PlugInContext)public String getVersion()
Extension.getVersion()public void initialize(com.vividsolutions.jump.workbench.plugin.PlugInContext context)
initialize in interface com.vividsolutions.jump.workbench.plugin.PlugInPlugIn.initialize(com.vividsolutions.jump.workbench.plugin.PlugInContext)public String getName()
getName in interface com.vividsolutions.jump.workbench.plugin.PlugInExtension.getName()
public boolean execute(com.vividsolutions.jump.workbench.plugin.PlugInContext context)
throws Exception
execute in interface com.vividsolutions.jump.workbench.plugin.PlugInExceptionPlugIn.execute(com.vividsolutions.jump.workbench.plugin.PlugInContext)public Collection transform(Collection csss)
Collection of
CSSettings
transform in interface CSTransformFilterCSTransformFilter.transform(java.util.Collection)public Collection transform(CSSetting css)
CSSetting
transform in interface CSTransformFilterCSTransformFilter.transform(de.soldin.gt2jump.cts.CSSetting)public void actionPerformed(ActionEvent e)
ActionListener.actionPerformed(java.awt.event.ActionEvent)
to catch events from the dialog's buttons.
actionPerformed in interface ActionListenerActionListener.actionPerformed(java.awt.event.ActionEvent)public void windowActivated(WindowEvent e)
windowActivated in interface WindowListenerWindowListener.windowActivated(java.awt.event.WindowEvent)public void windowClosed(WindowEvent e)
windowClosed in interface WindowListenerWindowListener.windowClosed(java.awt.event.WindowEvent)public void windowClosing(WindowEvent e)
windowClosing in interface WindowListenerWindowListener.windowClosing(java.awt.event.WindowEvent)public void windowDeactivated(WindowEvent e)
windowDeactivated in interface WindowListenerpublic void windowDeiconified(WindowEvent e)
windowDeiconified in interface WindowListenerpublic void windowIconified(WindowEvent e)
windowIconified in interface WindowListenerpublic void windowOpened(WindowEvent e)
windowOpened in interface WindowListener
public com.vividsolutions.jump.workbench.plugin.EnableCheck createCategorySelectedMustHaveAtLeastNItems(int i,
com.vividsolutions.jump.workbench.WorkbenchContext workbenchContext)
EnableCheck
with the given count of layers necessary for a category.
i - count of necessary layers, for the check not to return a errormessageworkbenchContext -
EnableCheck,
MultiEnableCheck
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||