org.netbeans.modules.properties

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 » IDE Netbeans » properties » org.netbeans.modules.properties 
org.netbeans.modules.properties
Contains the basic functionality of the Properties module.

Properties Module Architecture (l10n)

String Handling

String use escaping schema while writing them down to file. It should the only place tackling with escaping. All other string should Java strings.

Editors Relations

The content is stored in modifiable external file. It can be edited in text editor, in visulal editor or directly via an API.

These representations need to be reasonable synchronized.

Text => Struct
autoParse():113, org.netbeans.modules.properties.StructHandler
notifyModified():232, org.netbeans.modules.properties.PropertiesEditorSupport
insertUpdate():1554, org.openide.text.CloneableEditorSupport$Listener
fireInsertUpdate():184, javax.swing.text.AbstractDocument
fireInsertUpdate():1020, org.netbeans.editor.BaseDocument
insertString():583, org.netbeans.editor.BaseDocument

TableView => struct => text => struct

It does not recognize that struct modification caused the text change and needlessly handles that text change

autoParse():113, org.netbeans.modules.properties.StructHandler
notifyModified():232, org.netbeans.modules.properties.PropertiesEditorSupport
insertUpdate():1554, org.openide.text.CloneableEditorSupport$Listener
fireInsertUpdate():184, javax.swing.text.AbstractDocument
fireInsertUpdate():1020, org.netbeans.editor.BaseDocument
insertString():583, org.netbeans.editor.BaseDocument
run():84, org.openide.text.PositionBounds$1
runAtomicAsUser():906, org.netbeans.editor.BaseDocument
runAtomic():217, org.netbeans.editor.GuardedDocument
runAtomic():329, org.openide.text.NbDocument
setText():108, org.openide.text.PositionBounds
print():98, org.netbeans.modules.properties.Element
setValue():156, org.netbeans.modules.properties.Element$Basic
setKey():370, org.netbeans.modules.properties.Element$ItemElem
renameItem():164, org.netbeans.modules.properties.PropertiesStructure
setValueAt():174, org.netbeans.modules.properties.PropertiesTableModel

autoparse() does not recognize that struct was not created and always recreates it - FIXED #31593.

Class Diagrams

Issues

PropertiesTableModel.StringPair

Layered TableModels, single properties file TableModel, GroupingTableModel and SortingTableModel. Still need to maintain table cell -> document position mapping e.g. by a wrapper values.

Java Source File NameTypeComment
BundleEditPanel.javaClass Panel which shows bundle of .properties files encapsulated by PropertiesDataObject in one table view.
BundleNodeCustomizer.javaClass Customizer for bundle node (PropertiesDataNode) which represents bundle of .properties files with same basic name and set of Locales.
BundleStructure.javaClass Structure of a bundle of .properties files.
Element.javaClass Base class for representations of elements in properties files.
ElementTest.javaClass
FileEntryNode.javaClass Standard node representing a PresentableFileEntry.
FindPanel.javaClass Find panel for Resource Bundles table view component.
FindPerformer.javaClass FindPerformer is a performer of the FindAction which is invoked on Resource Bundles table view component.
KeyComparator.javaClass Comparator for comparing property keys (Strings).
KeyNode.javaClass Node representing a key-value-comment item in one .properties file.
LangRenameAction.javaClass Renames a PropertiesLocaleNode node, i.e.
LocaleNodeCustomizer.javaClass Customizer for locale node (PropertiesLocaleNode).
LocalePanel.javaClass Panel to allow user convenient to choose locale.
PresentableFileEntry.javaClass Object that represents one FileEntry and has support for presentation of this entry as a node.
PropertiesDataLoader.javaClass Data loader which recognizes properties files.
PropertiesDataLoaderBeanInfo.javaClass BeanInfo for properties loader.
PropertiesDataNode.javaClass Node representing a PropertiesDataObject.
PropertiesDataObject.javaClass Object that provides main functionality for properties data loader.
PropertiesEditorSupport.javaClass Support for viewing .properties files (EditCookie) by opening them in a text editor.
PropertiesEncoding.javaClass
PropertiesEncodingTest.javaClass
PropertiesFileEntry.javaClass Item in a set of properties files represented by a single PropertiesDataObject.
PropertiesLocaleNode.javaClass Node representing a single properties file.
PropertiesOpen.javaClass Support for opening bundle of .properties files (OpenCookie) in table view editor.
PropertiesParser.javaClass Parser of .properties files.
PropertiesRequestProcessor.javaClass Provides an org.openide.util.RequestProcessor instance for the Properties module.
PropertiesStructure.javaClass Element structure for one .properties file tightly bound with that file's document.
PropertiesTableCellEditor.javaClass
PropertiesTableModel.javaClass Model for the properties edit table.
PropertyBundleEvent.javaClass Notification of a change in a property bundle.
PropertyBundleListener.javaInterface Defines an interface for objects to be notified of changes to a bundle.
PropertyBundleSupport.javaClass Support for PropertyBundle events, registering listeners, firing events.
PropertyPanel.javaClass Panel for customizing Element.ItemElem element.
StructHandler.javaClass Class for handling structure of a single .properties file.
TableViewSettings.javaClass Template for table editor setting registered in Lookup.
Util.javaClass Miscellaneous utilities for properties(reosurce bundles) module.
UtilConvert.javaClass Contains conversion utilities which allow reading and storing a properties file while preserving formatting and comments that user may have entered.

Huge portions of this class marked by // prj40 trunk compatability are there only for being able to run unmodified i18n module code in prj40_prototype branch and trunk.

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