[forceTen-commits] [forceten~src:1804] Updated dependency to TheseFoolishThings.

  • From: fabriziogiudici@kenai.com
  • To: commits@forceten.kenai.com
  • Subject: [forceTen-commits] [forceten~src:1804] Updated dependency to TheseFoolishThings.
  • Date: Sat, 12 Mar 2011 17:24:17 +0000

Project:    forceten
Repository: src
Revision:   1804
Author:     fabriziogiudici
Date:       2011-03-12 17:22:49 UTC
Link:       

Log Message:
------------
Examples moved under modules.
Updated dependency to TheseFoolishThings.


Revisions:
----------
1803
1804


Modified Paths:
---------------
pom.xml


Added Paths:
------------
modules/examples/example1/application/pom.xml
modules/examples/example1/branding/pom.xml
modules/examples/example1/branding/src/main/nbm-branding/core/core.jar/org/netbeans/core/startup/Bundle.properties
modules/examples/example1/branding/src/main/nbm-branding/core/core.jar/org/netbeans/core/startup/frame.gif
modules/examples/example1/branding/src/main/nbm-branding/modules/org-netbeans-core-windows.jar/org/netbeans/core/windows/view/ui/Bundle.properties
modules/examples/example1/branding/src/main/nbm-branding/modules/org-netbeans-core.jar/org/netbeans/core/ui/Bundle.properties
modules/examples/example1/branding/src/main/nbm/manifest.mf
modules/examples/example1/branding/src/main/nbm/module.xml
modules/examples/example1/branding/src/main/resources/it/tidalwave/geo/examples/example1/Bundle.properties
modules/examples/example1/branding/src/main/resources/it/tidalwave/geo/examples/example1/layer.xml
modules/examples/example1/module1/pom.xml
modules/examples/example1/module1/src/main/java/it/tidalwave/geo/examples/example1/SampleNodeDecorator.java
modules/examples/example1/module1/src/main/nbm/manifest.mf
modules/examples/example1/module1/src/main/nbm/module.xml
modules/examples/example1/module1/src/main/resources/it/tidalwave/geo/examples/example1/Bundle.properties
modules/examples/example1/module1/src/main/resources/it/tidalwave/geo/examples/example1/layer.xml
modules/examples/example1/pom.xml
modules/examples/example2/nbactions.xml
modules/examples/example2/pom.xml
modules/examples/example2/src/main/java/it/tidalwave/geo/examples/example2/Main.java
modules/examples/pom.xml


Diffs:
------
diff -r 2491d1cd2a66 -r ea5be5304953 examples/example1/application/pom.xml
--- a/examples/example1/application/pom.xml     Sat Mar 12 13:13:52 2011 +0100
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,41 +0,0 @@
-
-<project xmlns="http://maven.apache.org/POM/4.0.0" ;
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ;
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 ;
http://maven.apache.org/maven-v4_0_0.xsd";>
-    <parent>
-        <groupId>it.tidalwave.geo.examples</groupId>
-        <artifactId>example1</artifactId>
-        <relativePath>..</relativePath>
-        <version>1.24-SNAPSHOT</version>
-    </parent>
-    
-    <modelVersion>4.0.0</modelVersion>
-    <artifactId>application</artifactId>
-    <packaging>nbm-application</packaging>
-    <version>1.24-SNAPSHOT</version>
-    <name>forceTen Example1 - NetBeans Platform based application</name>
-    
-    <dependencies>
-        <dependency>
-            <groupId>org.netbeans.cluster</groupId>
-            <artifactId>platform11</artifactId>
-            <type>pom</type>
-            <version>RELEASE68</version> <!-- FIXME put in 
dependencyManagement -->
-        </dependency>
-        <dependency>
-            <groupId>it.tidalwave.geo.examples</groupId>
-            <artifactId>module1</artifactId>
-            <type>nbm</type>
-        </dependency>
-        <dependency>
-            <groupId>it.tidalwave.geo.examples</groupId>
-            <artifactId>branding</artifactId>
-            <type>nbm</type>
-        </dependency>
-
-        <dependency>
-            <groupId>it.tidalwave.netbeans</groupId>
-            
<artifactId>it-tidalwave-netbeans-workspacemanager-impl</artifactId>
-        </dependency>
-    </dependencies>
-
-</project>
-

diff -r 2491d1cd2a66 -r ea5be5304953 examples/example1/branding/pom.xml
--- a/examples/example1/branding/pom.xml        Sat Mar 12 13:13:52 2011 +0100
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,42 +0,0 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" ;
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ;
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 ;
http://maven.apache.org/maven-v4_0_0.xsd";>
-
-  <modelVersion>4.0.0</modelVersion>
-
-  <parent>
-      <groupId>it.tidalwave.geo.examples</groupId>
-      <artifactId>example1</artifactId>
-      <version>1.24-SNAPSHOT</version>
-      <relativePath>..</relativePath>
-  </parent>
-
-  <artifactId>branding</artifactId>
-  <packaging>nbm</packaging>
-  <version>1.24-SNAPSHOT</version>
-  <name>forceTen Example1 - Platform application branding resources</name>
-
-  <dependencies>
-      <dependency>
-         <groupId>org.netbeans.api</groupId>
-         <artifactId>org-openide-util</artifactId>
-      </dependency>
-  </dependencies>
-
-  <build>
-      <plugins>
-            <plugin>
-                <groupId>org.codehaus.mojo</groupId>
-                <artifactId>nbm-maven-plugin</artifactId>
-                <executions>
-                    <execution>
-                        <id>branding</id>
-                        <phase>process-resources</phase>
-                        <goals>
-                            <goal>branding</goal>
-                        </goals>
-                    </execution>
-                </executions>
-            </plugin>
-      </plugins>
-  </build>
-</project>
-

diff -r 2491d1cd2a66 -r ea5be5304953 
examples/example1/branding/src/main/nbm-branding/core/core.jar/org/netbeans/core/startup/Bundle.properties
--- 
a/examples/example1/branding/src/main/nbm-branding/core/core.jar/org/netbeans/core/startup/Bundle.properties
        Sat Mar 12 13:13:52 2011 +0100
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,4 +0,0 @@
-currentVersion=example1 {0}
-LBL_splash_window_title=Starting example1
-SplashProgressBarBounds=0,268,472,3
-SplashRunningTextBounds=268,253,205,12

diff -r 2491d1cd2a66 -r ea5be5304953 
examples/example1/branding/src/main/nbm-branding/core/core.jar/org/netbeans/core/startup/frame.gif
Binary file 
examples/example1/branding/src/main/nbm-branding/core/core.jar/org/netbeans/core/startup/frame.gif
 has changed

diff -r 2491d1cd2a66 -r ea5be5304953 
examples/example1/branding/src/main/nbm-branding/modules/org-netbeans-core-windows.jar/org/netbeans/core/windows/view/ui/Bundle.properties
--- 
a/examples/example1/branding/src/main/nbm-branding/modules/org-netbeans-core-windows.jar/org/netbeans/core/windows/view/ui/Bundle.properties
        Sat Mar 12 13:13:52 2011 +0100
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-CTL_MainWindow_Title=example1 {0}
-CTL_MainWindow_Title_No_Project=example1 {0}

diff -r 2491d1cd2a66 -r ea5be5304953 
examples/example1/branding/src/main/nbm-branding/modules/org-netbeans-core.jar/org/netbeans/core/ui/Bundle.properties
--- 
a/examples/example1/branding/src/main/nbm-branding/modules/org-netbeans-core.jar/org/netbeans/core/ui/Bundle.properties
     Sat Mar 12 13:13:52 2011 +0100
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-LBL_ProductInformation=example1

diff -r 2491d1cd2a66 -r ea5be5304953 
examples/example1/branding/src/main/nbm/manifest.mf
--- a/examples/example1/branding/src/main/nbm/manifest.mf       Sat Mar 12 
13:13:52 2011 +0100
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-Manifest-Version: 1.0
-OpenIDE-Module-Localizing-Bundle: 
it/tidalwave/geo/examples/example1/Bundle.properties
-OpenIDE-Module-Layer: it/tidalwave/geo/examples/example1/layer.xml

diff -r 2491d1cd2a66 -r ea5be5304953 
examples/example1/branding/src/main/nbm/module.xml
--- a/examples/example1/branding/src/main/nbm/module.xml        Sat Mar 12 
13:13:52 2011 +0100
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<nbm>
-   <!--moduleType>autoload</moduleType-->
-   <!--codeNameBase>it.tidalwave.geo.examples.example1/1</codeNameBase-->
-   <licenseName>Apache License, Version 2.0</licenseName>
-   <licenseFile>license.txt</licenseFile>
-</nbm>
\ No newline at end of file

diff -r 2491d1cd2a66 -r ea5be5304953 
examples/example1/branding/src/main/resources/it/tidalwave/geo/examples/example1/Bundle.properties
--- 
a/examples/example1/branding/src/main/resources/it/tidalwave/geo/examples/example1/Bundle.properties
        Sat Mar 12 13:13:52 2011 +0100
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-# Sample ResourceBundle properties file
-OpenIDE-Module-Display-Category=foobar

diff -r 2491d1cd2a66 -r ea5be5304953 
examples/example1/branding/src/main/resources/it/tidalwave/geo/examples/example1/layer.xml
--- 
a/examples/example1/branding/src/main/resources/it/tidalwave/geo/examples/example1/layer.xml
        Sat Mar 12 13:13:52 2011 +0100
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE filesystem PUBLIC "-//NetBeans//DTD Filesystem 1.0//EN" 
"http://www.netbeans.org/dtds/filesystem-1_0.dtd";>
-<filesystem>

-</filesystem>

diff -r 2491d1cd2a66 -r ea5be5304953 examples/example1/module1/pom.xml
--- a/examples/example1/module1/pom.xml Sat Mar 12 13:13:52 2011 +0100
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,52 +0,0 @@
-
-<project xmlns="http://maven.apache.org/POM/4.0.0" ;
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ;
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 ;
http://maven.apache.org/maven-v4_0_0.xsd";>
-    <parent>
-        <groupId>it.tidalwave.geo.examples</groupId>
-        <artifactId>example1</artifactId>
-        <version>1.24-SNAPSHOT</version>
-        <relativePath>..</relativePath>
-    </parent>
-
-    <modelVersion>4.0.0</modelVersion>
-    <artifactId>module1</artifactId>
-    <packaging>nbm</packaging>
-    <version>1.24-SNAPSHOT</version>
-    <name>forceTen Example1 - Customization Module</name>
-    
-    <dependencies>
-        <dependency>
-            <groupId>it.tidalwave.geo</groupId>
-            <artifactId>it-tidalwave-geo-geocoding</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>it.tidalwave.geo</groupId>
-            <artifactId>it-tidalwave-geo-explorer</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>it.tidalwave.netbeans</groupId>
-            <artifactId>it-tidalwave-netbeans-nodes</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>it.tidalwave.netbeans</groupId>
-            <artifactId>it-tidalwave-netbeans-util</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>it.tidalwave.thesefoolishthings</groupId>
-            <artifactId>it-tidalwave-util</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>com.kenai.nbpwr</groupId>
-            <artifactId>javax-annotation</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.netbeans.api</groupId>
-            <artifactId>org-openide-nodes</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.netbeans.api</groupId>
-            <artifactId>org-openide-util</artifactId>
-        </dependency>
-    </dependencies>
-
-</project>
-

diff -r 2491d1cd2a66 -r ea5be5304953 
examples/example1/module1/src/main/java/it/tidalwave/geo/examples/example1/SampleNodeDecorator.java
--- 
a/examples/example1/module1/src/main/java/it/tidalwave/geo/examples/example1/SampleNodeDecorator.java
       Sat Mar 12 13:13:52 2011 +0100
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,34 +0,0 @@
-package it.tidalwave.geo.examples.example1;
-
-import javax.annotation.CheckForNull;
-import javax.annotation.Nonnull;
-import java.util.Locale;
-import org.openide.nodes.Node;
-import it.tidalwave.geo.geocoding.GeoCoderEntity;
-import it.tidalwave.netbeans.nodes.GenericFilteredNode;
-import it.tidalwave.netbeans.nodes.ObjectFilter;
-import it.tidalwave.netbeans.nodes.role.NodeDecorator;
-import static it.tidalwave.role.LocalizedDisplayable.LocalizedDisplayable;
-
-/**
- *
- * @author fritz
- */
-public class SampleNodeDecorator implements NodeDecorator
-  {
-    @Override @Nonnull
-    public Node decorate (final @Nonnull Node node)
-      {
-        final ObjectFilter<GeoCoderEntity> objectFilter = new 
ObjectFilter<GeoCoderEntity>()
-          {
-            @Override
-            public boolean accept (final @CheckForNull GeoCoderEntity 
geoEntity)
-              {
-                return (geoEntity == null)
-                       || 
geoEntity.as(LocalizedDisplayable).getDisplayName(Locale.ENGLISH).matches("^[AE].*");
-              }
-          };
-          
-        return new GenericFilteredNode(node, objectFilter, 
GeoCoderEntity.class);
-      }
-  }

diff -r 2491d1cd2a66 -r ea5be5304953 
examples/example1/module1/src/main/nbm/manifest.mf
--- a/examples/example1/module1/src/main/nbm/manifest.mf        Sat Mar 12 
13:13:52 2011 +0100
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-Manifest-Version: 1.0
-OpenIDE-Module-Localizing-Bundle: 
it/tidalwave/geo/examples/example1/Bundle.properties
-OpenIDE-Module-Layer: it/tidalwave/geo/examples/example1/layer.xml

diff -r 2491d1cd2a66 -r ea5be5304953 
examples/example1/module1/src/main/nbm/module.xml
--- a/examples/example1/module1/src/main/nbm/module.xml Sat Mar 12 13:13:52 
2011 +0100
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<nbm>
-   <!--moduleType>autoload</moduleType-->
-   <!--codeNameBase>it.tidalwave.geo.examples.example1/1</codeNameBase-->
-   <licenseName>Apache License, Version 2.0</licenseName>
-   <licenseFile>license.txt</licenseFile>
-</nbm>
\ No newline at end of file

diff -r 2491d1cd2a66 -r ea5be5304953 
examples/example1/module1/src/main/resources/it/tidalwave/geo/examples/example1/Bundle.properties
--- 
a/examples/example1/module1/src/main/resources/it/tidalwave/geo/examples/example1/Bundle.properties
 Sat Mar 12 13:13:52 2011 +0100
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-# Sample ResourceBundle properties file
-OpenIDE-Module-Display-Category=foobar

diff -r 2491d1cd2a66 -r ea5be5304953 
examples/example1/module1/src/main/resources/it/tidalwave/geo/examples/example1/layer.xml
--- 
a/examples/example1/module1/src/main/resources/it/tidalwave/geo/examples/example1/layer.xml
 Sat Mar 12 13:13:52 2011 +0100
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,126 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE filesystem PUBLIC "-//NetBeans//DTD Filesystem 1.1//EN" 
"http://www.netbeans.org/dtds/filesystem-1_1.dtd";>
-<filesystem>
-    <folder name="Roles">
-        <folder name="it.tidalwave.geo.explorer.GeoExplorerPresentation">
-            <file name="FlagsOfTheWorldDecorator.instance">
-                <attr name="instanceClass" 
stringvalue="it.tidalwave.geo.node.flagsoftheworld.GeoNodeFlagsOfTheWorldDecorator"/>
-            </file>
-            <file name="NodeDecorator.instance">
-                <attr name="instanceClass" 
stringvalue="it.tidalwave.geo.examples.example1.SampleNodeDecorator"/>
-            </file>
-        </folder>
-    </folder>
-    <folder name="Menu">
-        <file name="BuildProject_hidden"/>
-        <folder name="Edit">
-            <file name="Separator1.instance_hidden"/>
-            <file name="Separator2.instance_hidden"/>
-            <file name="SeparatorAfterFindPrevious.instance_hidden"/>
-            <file name="SeparatorAfterProjectsSearch.instance_hidden"/>
-            <file name="WhereUsedAction.shadow_hidden"/>
-            <file 
name="org-netbeans-modules-editor-MainMenuAction$FindNextAction.instance_hidden"/>
-            <file 
name="org-netbeans-modules-editor-MainMenuAction$FindPreviousAction.instance_hidden"/>
-            <file 
name="org-netbeans-modules-editor-MainMenuAction$FindSelectionAction.instance_hidden"/>
-            <file 
name="org-netbeans-modules-editor-MainMenuAction$PasteFormattedAction.instance_hidden"/>
-            <file 
name="org-netbeans-modules-editor-MainMenuAction$SelectAllAction.instance_hidden"/>
-            <file 
name="org-netbeans-modules-editor-MainMenuAction$SelectIdentifierAction.instance_hidden"/>
-            <file 
name="org-netbeans-modules-editor-MainMenuAction$StartMacroRecordingAction.instance_hidden"/>
-            <file 
name="org-netbeans-modules-editor-MainMenuAction$StopMacroRecordingAction.instance_hidden"/>
-            <file 
name="org-netbeans-modules-search-FindInFilesAction.shadow_hidden"/>
-            <file 
name="org-netbeans-modules-search-ReplaceInFilesAction.shadow_hidden"/>
-            <file name="org-openide-actions-FindAction.shadow_hidden"/>
-            <file name="org-openide-actions-RedoAction.shadow_hidden"/>
-            <file name="org-openide-actions-ReplaceAction.shadow_hidden"/>
-            <file name="org-openide-actions-UndoAction.shadow_hidden"/>
-            <file name="sep-before-reposearch.instance_hidden"/>
-        </folder>
-        <folder name="File">
-            <file name="Import_hidden"/>
-            <file name="ImporterSeparator1.instance_hidden"/>
-            <file name="Separator2.instance_hidden"/>
-            <file name="Separator3.instance_hidden"/>
-            <file name="SeparatorNew.instance_hidden"/>
-            <file name="SeparatorOpen.instance_hidden"/>
-            <file 
name="org-netbeans-modules-editor-ExportHtmlAction.shadow_hidden"/>
-            <file 
name="org-netbeans-modules-kenai-ui-OpenKenaiProjectAction.shadow_hidden"/>
-            <file 
name="org-netbeans-modules-openfile-OpenFileAction.shadow_hidden"/>
-            <file 
name="org-netbeans-modules-openfile-RecentFileAction.shadow_hidden"/>
-            <file 
name="org-netbeans-modules-print-action-PageSetupAction.shadow_hidden"/>
-            <file 
name="org-netbeans-modules-print-action-PrintAction.shadow_hidden"/>
-            <file 
name="org-netbeans-modules-project-ui-CloseProject.shadow_hidden"/>
-            <file 
name="org-netbeans-modules-project-ui-CustomizeProject.shadow_hidden"/>
-            <file 
name="org-netbeans-modules-project-ui-NewFile.shadow_hidden"/>
-            <file 
name="org-netbeans-modules-project-ui-NewProject.shadow_hidden"/>
-            <file 
name="org-netbeans-modules-project-ui-OpenProject.shadow_hidden"/>
-            <file 
name="org-netbeans-modules-project-ui-RecentProjects.shadow_hidden"/>
-            <file 
name="org-netbeans-modules-project-ui-groups-GroupsMenu.shadow_hidden"/>
-            <file name="org-openide-actions-SaveAction.shadow_hidden"/>
-            <file name="org-openide-actions-SaveAllAction.shadow_hidden"/>
-            <file name="org-openide-actions-SaveAsAction.shadow_hidden"/>
-        </folder>
-        <file name="GoTo_hidden"/>
-        <file name="Profile_hidden"/>
-        <file name="Refactoring_hidden"/>
-        <file name="RunProject_hidden"/>
-        <file name="Source_hidden"/>
-        <folder name="Tools">
-            <file name="I18N_hidden"/>
-            <file name="JavaPlatformsCustomizerAction.shadow_hidden"/>
-            <file name="LibrariesCustomizerAction.shadow_hidden"/>
-            <file name="PaletteManager_hidden"/>
-            <file name="Separator1.instance_hidden"/>
-            <file name="Separator2.instance_hidden"/>
-            <file name="ServerManagerAction3.shadow_hidden"/>
-            <file name="VariablesCustomizerAction.shadow_hidden"/>
-            <file 
name="org-netbeans-modules-apisupport-project-ui-platform-NbPlatformCustomizerAction.shadow_hidden"/>
-            <file 
name="org-netbeans-modules-favorites-templates-TemplatesAction.shadow_hidden"/>
-            <file 
name="org-netbeans-modules-xml-catalog-CatalogAction.shadow_hidden"/>
-            <file name="org-openide-actions-ToolsAction.shadow_hidden"/>
-        </folder>
-        <file name="Versioning_hidden"/>
-        <folder name="View">
-            <file name="Separator1.instance_hidden"/>
-            <file name="Separator2.instance_hidden"/>
-            <file name="Separator3.instance_hidden"/>
-            <file 
name="org-netbeans-core-actions-HTMLViewAction.shadow_hidden"/>
-            <file name="org-netbeans-core-actions-LogAction.shadow_hidden"/>
-            <file 
name="org-netbeans-core-multiview-EditorsAction.instance_hidden"/>
-            <file 
name="org-netbeans-modules-editor-NbCodeFoldingAction.instance_hidden"/>
-            <file 
name="org-netbeans-modules-project-ui-SyncEditorWithViewsAction.shadow_hidden"/>
-            <file 
name="org-netbeans-modules-versioning-ShowTextAnnotationsAction.shadow_hidden"/>
-            <file 
name="org-netbeans-modules-versioning-diff-ShowDiffSidebarAction.shadow_hidden"/>
-        </folder>
-        <folder name="Window">
-            <file name="Debug_hidden"/>
-            <file name="KenaiAction.shadow_hidden"/>
-            <file name="Navigator_hidden"/>
-            <file name="Other_hidden"/>
-            <file name="Output_hidden"/>
-            <file name="Profile_hidden"/>
-            <file name="ProgressListAction.shadow_hidden"/>
-            <file name="Separator3.instance_hidden"/>
-            <file name="ShowPaletteAction.shadow_hidden"/>
-            <file name="SwitchToRecentDocumentAction.shadow_hidden"/>
-            <file name="Versioning_hidden"/>
-            <file name="ViewFavoritesTabAction.shadow_hidden"/>
-            <file 
name="org-netbeans-core-ide-ServicesTabAction.shadow_hidden"/>
-            <file 
name="org-netbeans-core-windows-actions-GlobalPropertiesAction.shadow_hidden"/>
-            <file 
name="org-netbeans-modules-kenai-collab-chat-ChatAction.shadow_hidden"/>
-            <file 
name="org-netbeans-modules-project-ui-logical-tab-action.shadow_hidden"/>
-            <file 
name="org-netbeans-modules-project-ui-physical-tab-action.shadow_hidden"/>
-            <file 
name="org-netbeans-modules-tasklist-ui-TaskListAction.shadow_hidden"/>
-        </folder>
-    </folder>
-    <folder name="Toolbars">
-        <file name="Build_hidden"/>
-        <file name="Clipboard_hidden"/>
-        <file name="Debug_hidden"/>
-        <file name="Debugging.xml_hidden"/>
-        <file name="File_hidden"/>
-            <file name="Memory_hidden"/>
-        <file name="QuickSearch_hidden"/>
-        <file name="Standard.xml_hidden"/>
-        <file name="UndoRedo_hidden"/>
-    </folder>
-</filesystem>

diff -r 2491d1cd2a66 -r ea5be5304953 examples/example1/pom.xml
--- a/examples/example1/pom.xml Sat Mar 12 13:13:52 2011 +0100
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,93 +0,0 @@
-
-<project xmlns="http://maven.apache.org/POM/4.0.0" ;
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ;
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 ;
http://maven.apache.org/maven-v4_0_0.xsd";>
-    <modelVersion>4.0.0</modelVersion>
-
-    <parent>
-        <groupId>it.tidalwave.geo</groupId>
-        <artifactId>forceten-examples</artifactId>
-        <version>0.5.13-SNAPSHOT</version>
-        <relativePath>..</relativePath>
-    </parent>
-    
-    <groupId>it.tidalwave.geo.examples</groupId>
-    <artifactId>example1</artifactId>
-    <packaging>pom</packaging>
-    <version>1.24-SNAPSHOT</version>
-    <name>forceTen Example1 (master)</name>
-
-    <properties>
-        <netbeans.brandingToken>forceten_example1</netbeans.brandingToken>
-    </properties>
-    
-    <dependencyManagement>
-        <dependencies>
-            <dependency>
-                <groupId>it.tidalwave.geo.examples</groupId>
-                <artifactId>module1</artifactId>
-                <version>1.24-SNAPSHOT</version>
-                <type>nbm</type>
-            </dependency>
-            <dependency>
-                <groupId>it.tidalwave.geo.examples</groupId>
-                <artifactId>branding</artifactId>
-                <version>1.24-SNAPSHOT</version>
-                <type>nbm</type>
-            </dependency>
-        </dependencies>
-    </dependencyManagement>
-
-    <dependencies>
-        <dependency>
-            <groupId>it.tidalwave.geo</groupId>
-            <artifactId>it-tidalwave-geo-explorer</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>it.tidalwave.geo</groupId>
-            
<artifactId>it-tidalwave-geo-geocoding-geonamesprovider</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>it.tidalwave.geo</groupId>
-            <artifactId>it-tidalwave-geo-viewer</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>it.tidalwave.geo</groupId>
-            
<artifactId>it-tidalwave-geo-viewer-spi-worldwindprovider</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>it.tidalwave.geo</groupId>
-            <artifactId>it-tidalwave-geo-viewer-spi-jxmapviewer</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>it.tidalwave.geo</groupId>
-            
<artifactId>it-tidalwave-geo-viewer-spi-openstreetmap</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>it.tidalwave.geo</groupId>
-            
<artifactId>it-tidalwave-geo-viewer-spi-microsoftvirtualearth</artifactId>
-        </dependency>
-    </dependencies>
-
-    <build>
-        <pluginManagement>
-            <plugins>
-                <plugin>
-                    <groupId>org.codehaus.mojo</groupId>
-                    <artifactId>nbm-maven-plugin</artifactId>
-                    <extensions>true</extensions>
-                    <configuration>
-                        <descriptor>src/main/nbm/module.xml</descriptor>
-                        
<brandingToken>${netbeans.brandingToken}</brandingToken>
-                        <cluster>forceten_example1</cluster>
-                    </configuration>
-                </plugin>
-            </plugins>
-        </pluginManagement>
-    </build>
-
-    <modules>
-        <module>application</module>
-        <module>branding</module>
-        <module>module1</module>
-    </modules>
-
-</project>

diff -r 2491d1cd2a66 -r ea5be5304953 examples/example2/nbactions.xml
--- a/examples/example2/nbactions.xml   Sat Mar 12 13:13:52 2011 +0100
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<actions>
-        <action>
-            <actionName>run</actionName>
-            <goals>
-                <goal>process-classes</goal>
-                <goal>org.codehaus.mojo:exec-maven-plugin:1.1.1:exec</goal>
-            </goals>
-            <properties>
-                <exec.classpathScope>runtime</exec.classpathScope>
-                <exec.args>-classpath %classpath 
it.tidalwave.geo.examples.example2.Main</exec.args>
-                <exec.executable>java</exec.executable>
-            </properties>
-        </action>
-    </actions>

diff -r 2491d1cd2a66 -r ea5be5304953 examples/example2/pom.xml
--- a/examples/example2/pom.xml Sat Mar 12 13:13:52 2011 +0100
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,32 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" ;
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ;
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 ;
http://maven.apache.org/xsd/maven-4.0.0.xsd";>
-    <modelVersion>4.0.0</modelVersion>
-
-    <parent>
-        <groupId>it.tidalwave.geo</groupId>
-        <artifactId>forceten-examples</artifactId>
-        <version>0.5.13-SNAPSHOT</version>
-        <relativePath>..</relativePath>
-    </parent>
-
-    <groupId>it.tidalwave.geo.examples</groupId>
-    <artifactId>example2</artifactId>
-    <version>1.6-SNAPSHOT</version>
-    <name>forceTen Example2 (master)</name>
-
-    <properties>
-        <mainClass>it.tidalwave.geo.examples.example2.Main</mainClass>
-    </properties>
-
-    <dependencies>
-        <dependency>
-            <groupId>it.tidalwave.geo</groupId>
-            <artifactId>it-tidalwave-geo-geocoding</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>it.tidalwave.geo</groupId>
-            
<artifactId>it-tidalwave-geo-geocoding-geonamesprovider</artifactId>
-        </dependency>
-    </dependencies>
-
-</project>

diff -r 2491d1cd2a66 -r ea5be5304953 
examples/example2/src/main/java/it/tidalwave/geo/examples/example2/Main.java
--- 
a/examples/example2/src/main/java/it/tidalwave/geo/examples/example2/Main.java
      Sat Mar 12 13:13:52 2011 +0100
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,78 +0,0 @@
-/***********************************************************************************************************************
- *
- * forceTen - open source geography
- * ================================
- *
- * Copyright (C) 2007-2011 by Tidalwave s.a.s.
- * Project home page: http://forceten.tidalwave.it
- *

***********************************************************************************************************************
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may 
not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software 
distributed under the License is distributed on
- * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either 
express or implied.  See the License for the
- * specific language governing permissions and limitations under the License.
- *

***********************************************************************************************************************
- *
- * $Id$
- *

**********************************************************************************************************************/
-package it.tidalwave.geo.examples.example2;
-
-import javax.annotation.Nonnull;
-import it.tidalwave.util.NotFoundException;
-import it.tidalwave.netbeans.util.Locator;
-import it.tidalwave.geo.Coordinate;
-import it.tidalwave.geo.Range;
-import it.tidalwave.geo.geocoding.GeoCoder;
-import it.tidalwave.geo.geocoding.GeoCoderEntity;
-import it.tidalwave.geo.geocoding.GeoCoderEntity.FactSheet;
-import it.tidalwave.geo.geocoding.GeoCoderEntity.Type;
-import static it.tidalwave.role.Displayable.Displayable;
-import static it.tidalwave.geo.Units.*;
-import static it.tidalwave.geo.GeoContainer.GeoContainer;
-import static it.tidalwave.geo.geocoding.GeoCoderManager.GeoCoderManager;
-import static it.tidalwave.geo.geocoding.GeoCoderEntity.GeoCoderEntity;
-import static it.tidalwave.geo.geocoding.GeoCoderEntity.FactSheet.*;
-import static it.tidalwave.geo.geocoding.GeoCoderEntity.FactSheet.FactSheet;
-
-/***********************************************************************************************************************
- *
- * @author  Fabrizio Giudici
- * @version $Id$
- *

**********************************************************************************************************************/
-public class Main
-  {
-    public static void main (final @Nonnull String ... args)
-      throws NotFoundException
-      {
-        final GeoCoder geoCoder = 
Locator.find(GeoCoderManager).findDefaultGeoCoder();
-        final Range range = Range.on(new Coordinate(43.5, 
6)).withRadius(km(10));
-
-        for (final GeoCoderEntity place : 
range.as(GeoContainer).find(GeoCoderEntity).with(geoCoder).results())
-          {
-            final String displayName = 
place.as(Displayable).getDisplayName();
-            final Type type = place.getType();
-            final Coordinate coordinate = place.getCoordinate();
-            final FactSheet factSheet = place.as(FactSheet);
-            
-            System.err.printf("%-30s %-5s: %s\n", displayName, type, 
coordinate);
-
-            if (factSheet.contains(POPULATION))
-              {
-                System.err.printf("%42s %d\n", "population:", 
factSheet.get(POPULATION));
-              }
-
-            if (factSheet.contains(ELEVATION))
-              {
-                System.err.printf("%42s %d\n", "elevation: ", 
factSheet.get(ELEVATION));
-              }
-          }
-      }
-  }

diff -r 2491d1cd2a66 -r ea5be5304953 examples/pom.xml
--- a/examples/pom.xml  Sat Mar 12 13:13:52 2011 +0100
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,37 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" ;
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ;
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 ;
http://maven.apache.org/maven-v4_0_0.xsd";>
-
-    <modelVersion>4.0.0</modelVersion>
-
-    <parent>
-        <groupId>it.tidalwave.geo</groupId>
-        <artifactId>forceten-modules</artifactId>
-        <version>0.5.13-SNAPSHOT</version>
-        <relativePath>../modules</relativePath>
-    </parent>
-    
-    <groupId>it.tidalwave.geo</groupId>
-    <artifactId>forceten-examples</artifactId>
-    <packaging>pom</packaging>
-    <version>0.5.13-SNAPSHOT</version>
-    <name>forceTen (examples master)</name>
-    <description>forceTen (examples master)</description>
-
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.codehaus.mojo</groupId>
-                <artifactId>exec-maven-plugin</artifactId>
-                <configuration>
-                    <mainClass>${mainClass}</mainClass>
-                </configuration>
-            </plugin>
-        </plugins>
-    </build>
-
-    <modules>
-        <module>example1</module>
-        <module>example2</module>
-    </modules>
-
-</project>

diff -r 2491d1cd2a66 -r ea5be5304953 
modules/examples/example1/application/pom.xml
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/modules/examples/example1/application/pom.xml     Sat Mar 12 15:26:13 
2011 +0100
@@ -0,0 +1,41 @@
+
+<project xmlns="http://maven.apache.org/POM/4.0.0" ;
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ;
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 ;
http://maven.apache.org/maven-v4_0_0.xsd";>
+    <parent>
+        <groupId>it.tidalwave.geo.examples</groupId>
+        <artifactId>example1</artifactId>
+        <relativePath>..</relativePath>
+        <version>1.24-SNAPSHOT</version>
+    </parent>
+    
+    <modelVersion>4.0.0</modelVersion>
+    <artifactId>application</artifactId>
+    <packaging>nbm-application</packaging>
+    <version>1.24-SNAPSHOT</version>
+    <name>forceTen Example1 - NetBeans Platform based application</name>
+    
+    <dependencies>
+        <dependency>
+            <groupId>org.netbeans.cluster</groupId>
+            <artifactId>platform11</artifactId>
+            <type>pom</type>
+            <version>RELEASE68</version> <!-- FIXME put in 
dependencyManagement -->
+        </dependency>
+        <dependency>
+            <groupId>it.tidalwave.geo.examples</groupId>
+            <artifactId>module1</artifactId>
+            <type>nbm</type>
+        </dependency>
+        <dependency>
+            <groupId>it.tidalwave.geo.examples</groupId>
+            <artifactId>branding</artifactId>
+            <type>nbm</type>
+        </dependency>
+
+        <dependency>
+            <groupId>it.tidalwave.netbeans</groupId>
+            
<artifactId>it-tidalwave-netbeans-workspacemanager-impl</artifactId>
+        </dependency>
+    </dependencies>
+
+</project>
+

diff -r 2491d1cd2a66 -r ea5be5304953 
modules/examples/example1/branding/pom.xml
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/modules/examples/example1/branding/pom.xml        Sat Mar 12 15:26:13 
2011 +0100
@@ -0,0 +1,42 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" ;
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ;
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 ;
http://maven.apache.org/maven-v4_0_0.xsd";>
+
+  <modelVersion>4.0.0</modelVersion>
+
+  <parent>
+      <groupId>it.tidalwave.geo.examples</groupId>
+      <artifactId>example1</artifactId>
+      <version>1.24-SNAPSHOT</version>
+      <relativePath>..</relativePath>
+  </parent>
+
+  <artifactId>branding</artifactId>
+  <packaging>nbm</packaging>
+  <version>1.24-SNAPSHOT</version>
+  <name>forceTen Example1 - Platform application branding resources</name>
+
+  <dependencies>
+      <dependency>
+         <groupId>org.netbeans.api</groupId>
+         <artifactId>org-openide-util</artifactId>
+      </dependency>
+  </dependencies>
+
+  <build>
+      <plugins>
+            <plugin>
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>nbm-maven-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>branding</id>
+                        <phase>process-resources</phase>
+                        <goals>
+                            <goal>branding</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
+      </plugins>
+  </build>
+</project>
+

diff -r 2491d1cd2a66 -r ea5be5304953 
modules/examples/example1/branding/src/main/nbm-branding/core/core.jar/org/netbeans/core/startup/Bundle.properties
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ 
b/modules/examples/example1/branding/src/main/nbm-branding/core/core.jar/org/netbeans/core/startup/Bundle.properties
        Sat Mar 12 15:26:13 2011 +0100
@@ -0,0 +1,4 @@
+currentVersion=example1 {0}
+LBL_splash_window_title=Starting example1
+SplashProgressBarBounds=0,268,472,3
+SplashRunningTextBounds=268,253,205,12

diff -r 2491d1cd2a66 -r ea5be5304953 
modules/examples/example1/branding/src/main/nbm-branding/core/core.jar/org/netbeans/core/startup/frame.gif
Binary file 
modules/examples/example1/branding/src/main/nbm-branding/core/core.jar/org/netbeans/core/startup/frame.gif
 has changed

diff -r 2491d1cd2a66 -r ea5be5304953 
modules/examples/example1/branding/src/main/nbm-branding/modules/org-netbeans-core-windows.jar/org/netbeans/core/windows/view/ui/Bundle.properties
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ 
b/modules/examples/example1/branding/src/main/nbm-branding/modules/org-netbeans-core-windows.jar/org/netbeans/core/windows/view/ui/Bundle.properties
        Sat Mar 12 15:26:13 2011 +0100
@@ -0,0 +1,2 @@
+CTL_MainWindow_Title=example1 {0}
+CTL_MainWindow_Title_No_Project=example1 {0}

diff -r 2491d1cd2a66 -r ea5be5304953 
modules/examples/example1/branding/src/main/nbm-branding/modules/org-netbeans-core.jar/org/netbeans/core/ui/Bundle.properties
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ 
b/modules/examples/example1/branding/src/main/nbm-branding/modules/org-netbeans-core.jar/org/netbeans/core/ui/Bundle.properties
     Sat Mar 12 15:26:13 2011 +0100
@@ -0,0 +1,1 @@
+LBL_ProductInformation=example1

diff -r 2491d1cd2a66 -r ea5be5304953 
modules/examples/example1/branding/src/main/nbm/manifest.mf
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/modules/examples/example1/branding/src/main/nbm/manifest.mf       Sat 
Mar 12 15:26:13 2011 +0100
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+OpenIDE-Module-Localizing-Bundle: 
it/tidalwave/geo/examples/example1/Bundle.properties
+OpenIDE-Module-Layer: it/tidalwave/geo/examples/example1/layer.xml

diff -r 2491d1cd2a66 -r ea5be5304953 
modules/examples/example1/branding/src/main/nbm/module.xml
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/modules/examples/example1/branding/src/main/nbm/module.xml        Sat 
Mar 12 15:26:13 2011 +0100
@@ -0,0 +1,6 @@
+<nbm>
+   <!--moduleType>autoload</moduleType-->
+   <!--codeNameBase>it.tidalwave.geo.examples.example1/1</codeNameBase-->
+   <licenseName>Apache License, Version 2.0</licenseName>
+   <licenseFile>license.txt</licenseFile>
+</nbm>
\ No newline at end of file

diff -r 2491d1cd2a66 -r ea5be5304953 
modules/examples/example1/branding/src/main/resources/it/tidalwave/geo/examples/example1/Bundle.properties
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ 
b/modules/examples/example1/branding/src/main/resources/it/tidalwave/geo/examples/example1/Bundle.properties
        Sat Mar 12 15:26:13 2011 +0100
@@ -0,0 +1,2 @@
+# Sample ResourceBundle properties file
+OpenIDE-Module-Display-Category=foobar

diff -r 2491d1cd2a66 -r ea5be5304953 
modules/examples/example1/branding/src/main/resources/it/tidalwave/geo/examples/example1/layer.xml
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ 
b/modules/examples/example1/branding/src/main/resources/it/tidalwave/geo/examples/example1/layer.xml
        Sat Mar 12 15:26:13 2011 +0100
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE filesystem PUBLIC "-//NetBeans//DTD Filesystem 1.0//EN" 
"http://www.netbeans.org/dtds/filesystem-1_0.dtd";>
+<filesystem>

+</filesystem>

diff -r 2491d1cd2a66 -r ea5be5304953 modules/examples/example1/module1/pom.xml
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/modules/examples/example1/module1/pom.xml Sat Mar 12 15:26:13 2011 +0100
@@ -0,0 +1,52 @@
+
+<project xmlns="http://maven.apache.org/POM/4.0.0" ;
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ;
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 ;
http://maven.apache.org/maven-v4_0_0.xsd";>
+    <parent>
+        <groupId>it.tidalwave.geo.examples</groupId>
+        <artifactId>example1</artifactId>
+        <version>1.24-SNAPSHOT</version>
+        <relativePath>..</relativePath>
+    </parent>
+
+    <modelVersion>4.0.0</modelVersion>
+    <artifactId>module1</artifactId>
+    <packaging>nbm</packaging>
+    <version>1.24-SNAPSHOT</version>
+    <name>forceTen Example1 - Customization Module</name>
+    
+    <dependencies>
+        <dependency>
+            <groupId>it.tidalwave.geo</groupId>
+            <artifactId>it-tidalwave-geo-geocoding</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>it.tidalwave.geo</groupId>
+            <artifactId>it-tidalwave-geo-explorer</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>it.tidalwave.netbeans</groupId>
+            <artifactId>it-tidalwave-netbeans-nodes</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>it.tidalwave.netbeans</groupId>
+            <artifactId>it-tidalwave-netbeans-util</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>it.tidalwave.thesefoolishthings</groupId>
+            <artifactId>it-tidalwave-util</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>com.kenai.nbpwr</groupId>
+            <artifactId>javax-annotation</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.netbeans.api</groupId>
+            <artifactId>org-openide-nodes</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.netbeans.api</groupId>
+            <artifactId>org-openide-util</artifactId>
+        </dependency>
+    </dependencies>
+
+</project>
+

diff -r 2491d1cd2a66 -r ea5be5304953 
modules/examples/example1/module1/src/main/java/it/tidalwave/geo/examples/example1/SampleNodeDecorator.java
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ 
b/modules/examples/example1/module1/src/main/java/it/tidalwave/geo/examples/example1/SampleNodeDecorator.java
       Sat Mar 12 15:26:13 2011 +0100
@@ -0,0 +1,34 @@
+package it.tidalwave.geo.examples.example1;
+
+import javax.annotation.CheckForNull;
+import javax.annotation.Nonnull;
+import java.util.Locale;
+import org.openide.nodes.Node;
+import it.tidalwave.geo.geocoding.GeoCoderEntity;
+import it.tidalwave.netbeans.nodes.GenericFilteredNode;
+import it.tidalwave.netbeans.nodes.ObjectFilter;
+import it.tidalwave.netbeans.nodes.role.NodeDecorator;
+import static it.tidalwave.role.LocalizedDisplayable.LocalizedDisplayable;
+
+/**
+ *
+ * @author fritz
+ */
+public class SampleNodeDecorator implements NodeDecorator
+  {
+    @Override @Nonnull
+    public Node decorate (final @Nonnull Node node)
+      {
+        final ObjectFilter<GeoCoderEntity> objectFilter = new 
ObjectFilter<GeoCoderEntity>()
+          {
+            @Override
+            public boolean accept (final @CheckForNull GeoCoderEntity 
geoEntity)
+              {
+                return (geoEntity == null)
+                       || 
geoEntity.as(LocalizedDisplayable).getDisplayName(Locale.ENGLISH).matches("^[AE].*");
+              }
+          };
+          
+        return new GenericFilteredNode(node, objectFilter, 
GeoCoderEntity.class);
+      }
+  }

diff -r 2491d1cd2a66 -r ea5be5304953 
modules/examples/example1/module1/src/main/nbm/manifest.mf
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/modules/examples/example1/module1/src/main/nbm/manifest.mf        Sat 
Mar 12 15:26:13 2011 +0100
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+OpenIDE-Module-Localizing-Bundle: 
it/tidalwave/geo/examples/example1/Bundle.properties
+OpenIDE-Module-Layer: it/tidalwave/geo/examples/example1/layer.xml

diff -r 2491d1cd2a66 -r ea5be5304953 
modules/examples/example1/module1/src/main/nbm/module.xml
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/modules/examples/example1/module1/src/main/nbm/module.xml Sat Mar 12 
15:26:13 2011 +0100
@@ -0,0 +1,6 @@
+<nbm>
+   <!--moduleType>autoload</moduleType-->
+   <!--codeNameBase>it.tidalwave.geo.examples.example1/1</codeNameBase-->
+   <licenseName>Apache License, Version 2.0</licenseName>
+   <licenseFile>license.txt</licenseFile>
+</nbm>
\ No newline at end of file

diff -r 2491d1cd2a66 -r ea5be5304953 
modules/examples/example1/module1/src/main/resources/it/tidalwave/geo/examples/example1/Bundle.properties
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ 
b/modules/examples/example1/module1/src/main/resources/it/tidalwave/geo/examples/example1/Bundle.properties
 Sat Mar 12 15:26:13 2011 +0100
@@ -0,0 +1,2 @@
+# Sample ResourceBundle properties file
+OpenIDE-Module-Display-Category=foobar

diff -r 2491d1cd2a66 -r ea5be5304953 
modules/examples/example1/module1/src/main/resources/it/tidalwave/geo/examples/example1/layer.xml
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ 
b/modules/examples/example1/module1/src/main/resources/it/tidalwave/geo/examples/example1/layer.xml
 Sat Mar 12 15:26:13 2011 +0100
@@ -0,0 +1,126 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE filesystem PUBLIC "-//NetBeans//DTD Filesystem 1.1//EN" 
"http://www.netbeans.org/dtds/filesystem-1_1.dtd";>
+<filesystem>
+    <folder name="Roles">
+        <folder name="it.tidalwave.geo.explorer.GeoExplorerPresentation">
+            <file name="FlagsOfTheWorldDecorator.instance">
+                <attr name="instanceClass" 
stringvalue="it.tidalwave.geo.node.flagsoftheworld.GeoNodeFlagsOfTheWorldDecorator"/>
+            </file>
+            <file name="NodeDecorator.instance">
+                <attr name="instanceClass" 
stringvalue="it.tidalwave.geo.examples.example1.SampleNodeDecorator"/>
+            </file>
+        </folder>
+    </folder>
+    <folder name="Menu">
+        <file name="BuildProject_hidden"/>
+        <folder name="Edit">
+            <file name="Separator1.instance_hidden"/>
+            <file name="Separator2.instance_hidden"/>
+            <file name="SeparatorAfterFindPrevious.instance_hidden"/>
+            <file name="SeparatorAfterProjectsSearch.instance_hidden"/>
+            <file name="WhereUsedAction.shadow_hidden"/>
+            <file 
name="org-netbeans-modules-editor-MainMenuAction$FindNextAction.instance_hidden"/>
+            <file 
name="org-netbeans-modules-editor-MainMenuAction$FindPreviousAction.instance_hidden"/>
+            <file 
name="org-netbeans-modules-editor-MainMenuAction$FindSelectionAction.instance_hidden"/>
+            <file 
name="org-netbeans-modules-editor-MainMenuAction$PasteFormattedAction.instance_hidden"/>
+            <file 
name="org-netbeans-modules-editor-MainMenuAction$SelectAllAction.instance_hidden"/>
+            <file 
name="org-netbeans-modules-editor-MainMenuAction$SelectIdentifierAction.instance_hidden"/>
+            <file 
name="org-netbeans-modules-editor-MainMenuAction$StartMacroRecordingAction.instance_hidden"/>
+            <file 
name="org-netbeans-modules-editor-MainMenuAction$StopMacroRecordingAction.instance_hidden"/>
+            <file 
name="org-netbeans-modules-search-FindInFilesAction.shadow_hidden"/>
+            <file 
name="org-netbeans-modules-search-ReplaceInFilesAction.shadow_hidden"/>
+            <file name="org-openide-actions-FindAction.shadow_hidden"/>
+            <file name="org-openide-actions-RedoAction.shadow_hidden"/>
+            <file name="org-openide-actions-ReplaceAction.shadow_hidden"/>
+            <file name="org-openide-actions-UndoAction.shadow_hidden"/>
+            <file name="sep-before-reposearch.instance_hidden"/>
+        </folder>
+        <folder name="File">
+            <file name="Import_hidden"/>
+            <file name="ImporterSeparator1.instance_hidden"/>
+            <file name="Separator2.instance_hidden"/>
+            <file name="Separator3.instance_hidden"/>
+            <file name="SeparatorNew.instance_hidden"/>
+            <file name="SeparatorOpen.instance_hidden"/>
+            <file 
name="org-netbeans-modules-editor-ExportHtmlAction.shadow_hidden"/>
+            <file 
name="org-netbeans-modules-kenai-ui-OpenKenaiProjectAction.shadow_hidden"/>
+            <file 
name="org-netbeans-modules-openfile-OpenFileAction.shadow_hidden"/>
+            <file 
name="org-netbeans-modules-openfile-RecentFileAction.shadow_hidden"/>
+            <file 
name="org-netbeans-modules-print-action-PageSetupAction.shadow_hidden"/>
+            <file 
name="org-netbeans-modules-print-action-PrintAction.shadow_hidden"/>
+            <file 
name="org-netbeans-modules-project-ui-CloseProject.shadow_hidden"/>
+            <file 
name="org-netbeans-modules-project-ui-CustomizeProject.shadow_hidden"/>
+            <file 
name="org-netbeans-modules-project-ui-NewFile.shadow_hidden"/>
+            <file 
name="org-netbeans-modules-project-ui-NewProject.shadow_hidden"/>
+            <file 
name="org-netbeans-modules-project-ui-OpenProject.shadow_hidden"/>
+            <file 
name="org-netbeans-modules-project-ui-RecentProjects.shadow_hidden"/>
+            <file 
name="org-netbeans-modules-project-ui-groups-GroupsMenu.shadow_hidden"/>
+            <file name="org-openide-actions-SaveAction.shadow_hidden"/>
+            <file name="org-openide-actions-SaveAllAction.shadow_hidden"/>
+            <file name="org-openide-actions-SaveAsAction.shadow_hidden"/>
+        </folder>
+        <file name="GoTo_hidden"/>
+        <file name="Profile_hidden"/>
+        <file name="Refactoring_hidden"/>
+        <file name="RunProject_hidden"/>
+        <file name="Source_hidden"/>
+        <folder name="Tools">
+            <file name="I18N_hidden"/>
+            <file name="JavaPlatformsCustomizerAction.shadow_hidden"/>
+            <file name="LibrariesCustomizerAction.shadow_hidden"/>
+            <file name="PaletteManager_hidden"/>
+            <file name="Separator1.instance_hidden"/>
+            <file name="Separator2.instance_hidden"/>
+            <file name="ServerManagerAction3.shadow_hidden"/>
+            <file name="VariablesCustomizerAction.shadow_hidden"/>
+            <file 
name="org-netbeans-modules-apisupport-project-ui-platform-NbPlatformCustomizerAction.shadow_hidden"/>
+            <file 
name="org-netbeans-modules-favorites-templates-TemplatesAction.shadow_hidden"/>
+            <file 
name="org-netbeans-modules-xml-catalog-CatalogAction.shadow_hidden"/>
+            <file name="org-openide-actions-ToolsAction.shadow_hidden"/>
+        </folder>
+        <file name="Versioning_hidden"/>
+        <folder name="View">
+            <file name="Separator1.instance_hidden"/>
+            <file name="Separator2.instance_hidden"/>
+            <file name="Separator3.instance_hidden"/>
+            <file 
name="org-netbeans-core-actions-HTMLViewAction.shadow_hidden"/>
+            <file name="org-netbeans-core-actions-LogAction.shadow_hidden"/>
+            <file 
name="org-netbeans-core-multiview-EditorsAction.instance_hidden"/>
+            <file 
name="org-netbeans-modules-editor-NbCodeFoldingAction.instance_hidden"/>
+            <file 
name="org-netbeans-modules-project-ui-SyncEditorWithViewsAction.shadow_hidden"/>
+            <file 
name="org-netbeans-modules-versioning-ShowTextAnnotationsAction.shadow_hidden"/>
+            <file 
name="org-netbeans-modules-versioning-diff-ShowDiffSidebarAction.shadow_hidden"/>
+        </folder>
+        <folder name="Window">
+            <file name="Debug_hidden"/>
+            <file name="KenaiAction.shadow_hidden"/>
+            <file name="Navigator_hidden"/>
+            <file name="Other_hidden"/>
+            <file name="Output_hidden"/>
+            <file name="Profile_hidden"/>
+            <file name="ProgressListAction.shadow_hidden"/>
+            <file name="Separator3.instance_hidden"/>
+            <file name="ShowPaletteAction.shadow_hidden"/>
+            <file name="SwitchToRecentDocumentAction.shadow_hidden"/>
+            <file name="Versioning_hidden"/>
+            <file name="ViewFavoritesTabAction.shadow_hidden"/>
+            <file 
name="org-netbeans-core-ide-ServicesTabAction.shadow_hidden"/>
+            <file 
name="org-netbeans-core-windows-actions-GlobalPropertiesAction.shadow_hidden"/>
+            <file 
name="org-netbeans-modules-kenai-collab-chat-ChatAction.shadow_hidden"/>
+            <file 
name="org-netbeans-modules-project-ui-logical-tab-action.shadow_hidden"/>
+            <file 
name="org-netbeans-modules-project-ui-physical-tab-action.shadow_hidden"/>
+            <file 
name="org-netbeans-modules-tasklist-ui-TaskListAction.shadow_hidden"/>
+        </folder>
+    </folder>
+    <folder name="Toolbars">
+        <file name="Build_hidden"/>
+        <f
[truncated due to length]



[forceTen-commits] [forceten~src:1804] Updated dependency to TheseFoolishThings.

fabriziogiudici 03/12/2011
  • Mysql
  • Glassfish
  • Jruby
  • Rails
  • Nblogo
Terms of Use; Privacy Policy;
© 2010, Oracle Corporation and/or its affiliates
(revision 20120518.3c65429)
 
 
Close
loading
Please Confirm
Close