Source Code Cross Referenced for IEditManager.java in  » GIS » udig-1.1 » net » refractions » udig » project » 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 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /*
002:         * uDig - User Friendly Desktop Internet GIS client http://udig.refractions.net (C) 2004,
003:         * Refractions Research Inc. This library is free software; you can redistribute it and/or modify it
004:         * under the terms of the GNU Lesser General Public License as published by the Free Software
005:         * Foundation; version 2.1 of the License. This library is distributed in the hope that it will be
006:         * useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
007:         * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
008:         */
009:        package net.refractions.udig.project;
010:
011:        import org.geotools.feature.Feature;
012:
013:        /**
014:         * Defines and implements controllers a map. The EditManager is the central piece and has the
015:         * following functionality:
016:         * <ul>
017:         * <li>Controlling transactions</li>
018:         * <li>Modifying ContextModel</li>
019:         * <li>Creating Layer Objects</li>
020:         * </ul>
021:         * <p>
022:         * Transactions and locks are also part of map core.
023:         * </p>
024:         * 
025:         * @author jeichar
026:         * @since 0.1
027:         */
028:        public interface IEditManager {
029:
030:            /**
031:             * Returns the map this EditManager is associated with
032:             * 
033:             * @return the map this EditManager is associated with
034:             */
035:            public IMap getMap();
036:
037:            /**
038:             * Gets the Feature that that is currently being edited.
039:             * <p>
040:             * Returns null if there is currently no edit feature. This is different from the current
041:             * selection. Each layer has a selection that may contain many features but there is only only
042:             * feature that can be editted at one time.
043:             * </p>
044:             * 
045:             * @return the Feature that that is currently being edited.
046:             */
047:            public Feature getEditFeature();
048:
049:            /**
050:             * The layer that contains the edit features. Often feature edit commands will require the layer
051:             * that contains the Edit feature so that the feature may be editted.
052:             * 
053:             * @return the layer that contains the edit feature in its feature store.
054:             */
055:            public ILayer getEditLayer();
056:
057:            /**
058:             * Indicates whether the editlayer can be changed.
059:             * 
060:             * @return true if the current editlayer is locked and cannot be changed.
061:             */
062:            public boolean isEditLayerLocked();
063:
064:            /**
065:             * Returns the layer that is "currently" selected. The workbench is monitored for changes to
066:             * selection and this will reflect that layer.
067:             * 
068:             * @return the layer that is "currently" selected
069:             */
070:            public ILayer getSelectedLayer();
071:
072:            /**
073:             * Returns true if there is a currently active transaction (editing has occured and not been
074:             * committed). false is returned if there is no current transaction. If false is returned it is
075:             * understood that no editing is occurring.
076:             * 
077:             * @return Returns true if there is a currently active transaction. false is returned if there
078:             *         is no current transaction.
079:             */
080:            public boolean isEditing();
081:
082:            /**
083:             * Adds a EditManager Listener
084:             * 
085:             * @param listener the new listener.
086:             */
087:            public void addListener(IEditManagerListener listener);
088:
089:            /**
090:             * Removes a EditManager Listener
091:             * 
092:             * @param listener the listener to remove
093:             */
094:            public void removeListener(IEditManagerListener listener);
095:
096:            /**
097:             * Checks containment of the spesified EditManager listener in the
098:             * list of already existing listeners.
099:             * 
100:             * @param listener
101:             * @return
102:             */
103:            public boolean containsListener(IEditManagerListener listener);
104:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.