Java Doc for EditCommandFactory.java in  » GIS » udig-1.1 » net » refractions » udig » project » command » factory » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » GIS » udig 1.1 » net.refractions.udig.project.command.factory 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   net.refractions.udig.project.command.EditCommandFactory
      net.refractions.udig.project.command.factory.EditCommandFactory

EditCommandFactory
public class EditCommandFactory extends net.refractions.udig.project.command.EditCommandFactory (Code)
Creates Edit commands which must be used to modify editable feature data. API internal classes are in the returned API
author:
   jeichar
since:
   0.3



Constructor Summary
protected  EditCommandFactory()
    

Method Summary
public  UndoableMapCommandcreateAddFeatureCommand(Feature feature, ILayer layer)
    
public  MapCommandcreateCommitCommand()
    
public  UndoableMapCommandcreateCopyFeaturesCommand(ILayer sourceLayer, Filter filter, ILayer destinationLayer)
    
public  UndoableMapCommandcreateCreateLayerCommand(URL resourceId)
    
public  UndoableMapCommandcreateCreateLayerCommand(IGeoResource resource)
    
public  UndoableMapCommandcreateDeleteFeature(Feature feature, ILayer layer)
    
public  UndoableMapCommandcreateDeleteFeature(IBlockingProvider<Feature> provider, IBlockingProvider<ILayer> layerProvider)
    
public  MapCommandcreateDeleteFeatures(ILayer selectedLayer, Filter filter)
    
public  UndoableMapCommandcreateDeleteLayer(ILayer layer)
    
public  UndoableMapCommandcreateDeleteLayers(ILayer[] layers)
    
public  UndoableMapCommandcreateFeature(Coordinate[] coordinates)
    
Parameters:
  coordinates - the coordinates of the new feature in Map CRS.
public  UndoableMapCommandcreateNullEditFeatureCommand()
     Creates a object that sets the current editable Feature to null.
public  UndoableMapCommandcreateResetEditFeatureCommand()
    
public  MapCommandcreateRollbackCommand()
    
public  UndoableMapCommandcreateSetAttributeCommand(String xpath, Object value)
     Creates a object.
Parameters:
  xpath - xpath that identifies an attribute in the current editable Feature
Parameters:
  value - the value that the attribute will be set to.
public  UndoableMapCommandcreateSetAttributeCommand(Feature feature, ILayer layer, String xpath, Object value)
     Creates a object.
Parameters:
  xpath - xpath that identifies an attribute in the current editable Feature
Parameters:
  value - the value that the attribute will be set to.
public  UndoableMapCommandcreateSetEditFeatureCommand(Feature feature, ILayer layer)
     Creates a object that sets the current editVictim victim.
Parameters:
  feature - the feature that will be the new editable Feature.
Parameters:
  layer - A victim Store that contains the editable Feature.
public  UndoableMapCommandcreateSetEditFeatureCommand(Feature feature)
     Creates a object that sets the current editable Feature.
Parameters:
  feature - the feature that will be the new editable Feature.
public  UndoableMapCommandcreateSetGeometryCommand(String xpath, Geometry geom)
     Creates a object.
Parameters:
  xpath - xpath that identifies an attribute in the current editable Feature
Parameters:
  geom - the geom (in layer CRS) that the geometry will be set to.
public  UndoableMapCommandcreateSetGeometryCommand(Geometry geom)
     Creates a object that sets the default geometry.
Parameters:
  geom - the geom (in layer CRS) that the geometry will be set to.
public  UndoableMapCommandcreateSetGeomteryCommand(Feature feature, ILayer layer, String xpath, Geometry geom)
     Creates a object.
Parameters:
  xpath - xpath that identifies an attribute in the current editable Feature
Parameters:
  geom - the geom (in layer CRS) that the geometry will be set to.
public  UndoableMapCommandcreateSetGeomteryCommand(Feature feature, ILayer layer, Geometry geom)
     Creates a object that sets the default geometry.
Parameters:
  feature - a feature that has a default feature type that will accept the geometry type.
Parameters:
  layer - the layer containing the feature.
Parameters:
  geom - the geom (in layer CRS) that the geometry will be set to.
public  UndoableMapCommandcreateSetGeomteryCommand(String featureID, ILayer layer, Geometry geom)
     Creates a object that sets the default geometry.
Parameters:
  featureID - the id of a feature in layer.
Parameters:
  layer - the layer containing the feature.
Parameters:
  geom - the geom (in layer CRS) that the geometry will be set to.
public  UndoableMapCommandcreateWriteEditFeatureCommand()
    
public static  EditCommandFactorygetInstance()
    


Constructor Detail
EditCommandFactory
protected EditCommandFactory()(Code)




Method Detail
createAddFeatureCommand
public UndoableMapCommand createAddFeatureCommand(Feature feature, ILayer layer)(Code)



createCommitCommand
public MapCommand createCommitCommand()(Code)
Create a Commit command a new object that deletes the feature.
See Also:   CommitCommand



createCopyFeaturesCommand
public UndoableMapCommand createCopyFeaturesCommand(ILayer sourceLayer, Filter filter, ILayer destinationLayer)(Code)



createCreateLayerCommand
public UndoableMapCommand createCreateLayerCommand(URL resourceId)(Code)
Create a
See Also:   CreateLayerCommand



createCreateLayerCommand
public UndoableMapCommand createCreateLayerCommand(IGeoResource resource)(Code)
Create a
See Also:   CreateLayerCommand



createDeleteFeature
public UndoableMapCommand createDeleteFeature(Feature feature, ILayer layer)(Code)
Create a Delete Feature command
Parameters:
  layer - the layer containing the feature
Parameters:
  feature - the feature to delete a new object that deletes the feature.
See Also:   DeleteFeatureCommand



createDeleteFeature
public UndoableMapCommand createDeleteFeature(IBlockingProvider<Feature> provider, IBlockingProvider<ILayer> layerProvider)(Code)
Create a Delete Feature command
Parameters:
  evaluationObject - the layer containing the feature
Parameters:
  feature - the feature to delete a new object that deletes the feature.
See Also:   DeleteFeatureCommand



createDeleteFeatures
public MapCommand createDeleteFeatures(ILayer selectedLayer, Filter filter)(Code)



createDeleteLayer
public UndoableMapCommand createDeleteLayer(ILayer layer)(Code)
Create a delete layer command
Parameters:
  map - the map containing the layer
Parameters:
  layer - the layer to delete a new object that deletes the layer.
See Also:   DeleteLayerCommand



createDeleteLayers
public UndoableMapCommand createDeleteLayers(ILayer[] layers)(Code)
Create a delete multiple layers command
Parameters:
  map - the map containing the layer
Parameters:
  evaluationObject - the layer to delete a new object that deletes the layer.
See Also:   DeleteLayerCommand



createFeature
public UndoableMapCommand createFeature(Coordinate[] coordinates)(Code)

Parameters:
  coordinates - the coordinates of the new feature in Map CRS. a new object creates the feature.
See Also:   CreateFeatureCommand



createNullEditFeatureCommand
public UndoableMapCommand createNullEditFeatureCommand()(Code)
Creates a object that sets the current editable Feature to null. a new object that sets the current editableFeature to null..
See Also:   UndoableMapCommand



createResetEditFeatureCommand
public UndoableMapCommand createResetEditFeatureCommand()(Code)
Create a command a new object that deletes the feature.
See Also:   ResetEditFeatureCommand



createRollbackCommand
public MapCommand createRollbackCommand()(Code)
Create a Commit command a new object that deletes the feature.
See Also:   RollbackCommand



createSetAttributeCommand
public UndoableMapCommand createSetAttributeCommand(String xpath, Object value)(Code)
Creates a object.
Parameters:
  xpath - xpath that identifies an attribute in the current editable Feature
Parameters:
  value - the value that the attribute will be set to. a new object
See Also:   EditCommand



createSetAttributeCommand
public UndoableMapCommand createSetAttributeCommand(Feature feature, ILayer layer, String xpath, Object value)(Code)
Creates a object.
Parameters:
  xpath - xpath that identifies an attribute in the current editable Feature
Parameters:
  value - the value that the attribute will be set to. a new object
See Also:   EditCommand



createSetEditFeatureCommand
public UndoableMapCommand createSetEditFeatureCommand(Feature feature, ILayer layer)(Code)
Creates a object that sets the current editVictim victim.
Parameters:
  feature - the feature that will be the new editable Feature.
Parameters:
  layer - A victim Store that contains the editable Feature. a new object.
See Also:   Feature
See Also:   Layer
See Also:   UndoableMapCommand



createSetEditFeatureCommand
public UndoableMapCommand createSetEditFeatureCommand(Feature feature)(Code)
Creates a object that sets the current editable Feature.
Parameters:
  feature - the feature that will be the new editable Feature. a new object.
See Also:   UndoableMapCommand
See Also:   Feature



createSetGeometryCommand
public UndoableMapCommand createSetGeometryCommand(String xpath, Geometry geom)(Code)
Creates a object.
Parameters:
  xpath - xpath that identifies an attribute in the current editable Feature
Parameters:
  geom - the geom (in layer CRS) that the geometry will be set to. a new object
See Also:   EditCommand
See Also:   Geometry



createSetGeometryCommand
public UndoableMapCommand createSetGeometryCommand(Geometry geom)(Code)
Creates a object that sets the default geometry.
Parameters:
  geom - the geom (in layer CRS) that the geometry will be set to. a new object.
See Also:   EditCommand
See Also:   Geometry



createSetGeomteryCommand
public UndoableMapCommand createSetGeomteryCommand(Feature feature, ILayer layer, String xpath, Geometry geom)(Code)
Creates a object.
Parameters:
  xpath - xpath that identifies an attribute in the current editable Feature
Parameters:
  geom - the geom (in layer CRS) that the geometry will be set to. a new object
See Also:   EditCommand
See Also:   Geometry



createSetGeomteryCommand
public UndoableMapCommand createSetGeomteryCommand(Feature feature, ILayer layer, Geometry geom)(Code)
Creates a object that sets the default geometry.
Parameters:
  feature - a feature that has a default feature type that will accept the geometry type.
Parameters:
  layer - the layer containing the feature.
Parameters:
  geom - the geom (in layer CRS) that the geometry will be set to. a new object.
See Also:   EditCommand
See Also:   Geometry



createSetGeomteryCommand
public UndoableMapCommand createSetGeomteryCommand(String featureID, ILayer layer, Geometry geom)(Code)
Creates a object that sets the default geometry.
Parameters:
  featureID - the id of a feature in layer.
Parameters:
  layer - the layer containing the feature.
Parameters:
  geom - the geom (in layer CRS) that the geometry will be set to. a new object.
See Also:   EditCommand
See Also:   Geometry



createWriteEditFeatureCommand
public UndoableMapCommand createWriteEditFeatureCommand()(Code)
Create a command a new object that deletes the feature.
See Also:   WriteEditFeatureCommand



getInstance
public static EditCommandFactory getInstance()(Code)
Creates a new EditCommandFactory object a new EditCommandFactory object



Methods inherited from net.refractions.udig.project.command.EditCommandFactory
public MapCommand createCommitCommand()(Code)(Java Doc)
public UndoableMapCommand createCreateLayerCommand(URL resourceId)(Code)(Java Doc)
public UndoableMapCommand createCreateLayerCommand(IGeoResource resource)(Code)(Java Doc)
public UndoableMapCommand createDeleteFeature(Feature feature, ILayer layer)(Code)(Java Doc)
public UndoableMapCommand createDeleteLayer(Layer layer)(Code)(Java Doc)
public UndoableMapCommand createFeature(Coordinate[] coordinates)(Code)(Java Doc)
public UndoableMapCommand createNullEditFeatureCommand()(Code)(Java Doc)
public UndoableMapCommand createResetEditFeatureCommand()(Code)(Java Doc)
public MapCommand createRollbackCommand()(Code)(Java Doc)
public UndoableMapCommand createSetAttributeCommand(String xpath, Object value)(Code)(Java Doc)
public UndoableMapCommand createSetEditFeatureCommand(Feature feature, ILayer layer)(Code)(Java Doc)
public UndoableMapCommand createSetEditFeatureCommand(Feature feature)(Code)(Java Doc)
public UndoableMapCommand createSetGeometryCommand(String xpath, Geometry geom)(Code)(Java Doc)
public UndoableMapCommand createSetGeometryCommand(Geometry geom)(Code)(Java Doc)
public UndoableMapCommand createWriteEditFeatureCommand()(Code)(Java Doc)
public static EditCommandFactory getInstance()(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.