Author: mattmann
Date: Sat Aug 22 22:20:34 2015
New Revision: 1697142

URL: http://svn.apache.org/r1697142
Log:
OODT-842: WIP
 CAS Curator Wicket
 
 - refactored the Workbench into its own Panel component (paving way for it to 
move to oodt-webapp-components)
 - next move: move Workbench panel to OODT webapp components
 

Added:
    
oodt/trunk/curator/webapp/src/main/java/org/apache/oodt/cas/curation/workbench/Workbench.html
    
oodt/trunk/curator/webapp/src/main/java/org/apache/oodt/cas/curation/workbench/info.gif
   (with props)
    
oodt/trunk/curator/webapp/src/main/java/org/apache/oodt/cas/curation/workbench/title.gif
   (with props)
Modified:
    
oodt/trunk/curator/webapp/src/main/java/org/apache/oodt/cas/curation/CurationApp.java
    
oodt/trunk/curator/webapp/src/main/java/org/apache/oodt/cas/curation/HomePage.html
    
oodt/trunk/curator/webapp/src/main/java/org/apache/oodt/cas/curation/HomePage.java
    
oodt/trunk/curator/webapp/src/main/java/org/apache/oodt/cas/curation/workbench/Workbench.java
    
oodt/trunk/curator/webapp/src/main/java/org/apache/oodt/cas/curation/workbench/Workbench_wicket.css

Modified: 
oodt/trunk/curator/webapp/src/main/java/org/apache/oodt/cas/curation/CurationApp.java
URL: 
http://svn.apache.org/viewvc/oodt/trunk/curator/webapp/src/main/java/org/apache/oodt/cas/curation/CurationApp.java?rev=1697142&r1=1697141&r2=1697142&view=diff
==============================================================================
--- 
oodt/trunk/curator/webapp/src/main/java/org/apache/oodt/cas/curation/CurationApp.java
 (original)
+++ 
oodt/trunk/curator/webapp/src/main/java/org/apache/oodt/cas/curation/CurationApp.java
 Sat Aug 22 22:20:34 2015
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You 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.
+ */
+
 package org.apache.oodt.cas.curation;
 
 import java.util.Set;

Modified: 
oodt/trunk/curator/webapp/src/main/java/org/apache/oodt/cas/curation/HomePage.html
URL: 
http://svn.apache.org/viewvc/oodt/trunk/curator/webapp/src/main/java/org/apache/oodt/cas/curation/HomePage.html?rev=1697142&r1=1697141&r2=1697142&view=diff
==============================================================================
--- 
oodt/trunk/curator/webapp/src/main/java/org/apache/oodt/cas/curation/HomePage.html
 (original)
+++ 
oodt/trunk/curator/webapp/src/main/java/org/apache/oodt/cas/curation/HomePage.html
 Sat Aug 22 22:20:34 2015
@@ -21,19 +21,7 @@
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
 <wicket:link>
   <link type="text/css" rel="stylesheet" href="HomePage.css"/>
-  <link type="text/css" rel="stylesheet" 
href="workbench/Workbench_wicket.css"/>
-  <link type="text/css" rel="stylesheet" href="workbench/jquery.alerts.css"/>
-  <script type="text/javascript" src="workbench/jquery-1.3.2.js"></script>
-  <script type="text/javascript" 
src="workbench/jquery-ui-1.7.2.full.min.js"></script>
-  <script type="text/javascript" 
src="workbench/jquery.periodicalupdater.js"></script>
-  <script type="text/javascript" src="workbench/jquery.alerts.js"></script>    
-  <script type="text/javascript" src="workbench/Workbench.js"></script>
-</wicket:link>
-
-<wicket:remove>
-  <link type="text/css" rel="stylesheet" href="workbench/Workbench.css"/>
-</wicket:remove>
-    
+</wicket:link>    
 </head>
 
 <body onload="refreshIngestTaskList();registerIngestionTaskListener();">
@@ -59,129 +47,138 @@
 
 <!-- begin main content -->
 <div style="position:relative;min-height:300px;">
-
-<!-- Curator Widget -->
-<div class="page">
-    <div class="container browsers">
-        <div id="browseStagingContainer">
-        <h5>Staging Area</h5>
-            <div id="browseStagingPath" class="pathbar">initializing...</div>
-            <div id="browseStaging" class="browser">
-                <div id="browseStagingNav">
-                    <ul class="fileTree">
-                        <li class="directory nav"><a id="stagingNavUpRoot" 
href="#" rel=".">.</a></li>
-                        <li class="directory nav"><a id="stagingNavUpOne"  
href="#" rel="..">..</a></li>
-                    </ul>
-                </div>
-                <div id="browseStagingContents"></div>
-            </div>
-            <div id="stagedMetadataWorkbench"   class="editor">
-                <div id="infoNoMetadataExtractorDefined" class="info overlay">
-                    <div class="infoContent">
-                        No Metadata Detected...<br/>
-                    </div>
-                </div>
-                <div id="stagingMetContainer">              
-                    <div id="stagingMetExtractorSelection">
-                        <select id="stagingMetExtractorConfigList">
-                            <option value="-1">Initializing...</option>
-                        </select>
-                        <input id="stagingMetExtractorRefreshButton" 
type="button" value="Refresh"/>
-                        &nbsp;
-                        
-                    </div>
-                    <div id="stagedMetadataWorkbenchContent"></div>
-                </div>
-            </div>
-        </div>
-        <div id="browseCatalogContainer">
-        <h5>File Manager Catalog</h5>
-            <div id="browseCatalogPath" class="pathbar">initializing...</div>
-            <div id="browseCatalog" class="browser">
-                <div id="browseCatalogNav">
-                    <ul class="fileTree">
-                        <li class="directory nav"><a id="catalogNavUpRoot" 
href="#" rel=".">.</a></li>
-                        <li class="directory nav"><a id="catalogNavUpOne"  
href="#" rel="..">..</a></li>
-                    </ul>
-                </div>
-                <div id="browseCatalogContents"></div>
-            </div>
-            <div id="catalogMetadataWorkbench" class="editor">
-                <div id="catalogMetadataWorkbenchContent"></div>
-            </div>
-        </div>
-        <br class="clr"/>
-    </div>
-    <div class="container tasks">
-        <div id="ingestionTaskList">
-            <h5>File Manager Ingestion Task List</h5>
-            <div id="ingestionTaskListContent">
-            <table cellspacing="0" cellpadding="0" id="ingestionTaskListItems">
-              <thead>
-              <tr>
-                <th style="width:50px;">TaskId</th>
-                <th>Created</th>
-                <th>Files</th>
-                <th>Policy</th>
-                <th>ProductType</th>
-                <th>MetExtractor</th>
-                <th>MetExt Config</th>
-                <th>Status</th>
-                <th style="border-right-width:0px;">Action</th>
-              </tr>
-              </thead>
-              <tbody>
-              
-              </tbody>
-              
-            </table>
-            </div>
-        </div>
-    </div>
-</div>
-
-<!-- product type workbench -->
-<div id="productTypeWorkbenchContents" style="display:none">
-    <ul>
-        <li><a href='#ptwbAddProducts'>Add Products</a></li>
-        <li><a href='#ptwbMetadata'>View Metadata</a></li>
-    </ul><br class="clr"/>
-    <div id="ptwbAddProducts">
-        <span class="instructions">
-        Add files from the staging area by dragging them into the target box 
below. Once you have 
-        Finished, click 'Save as Ingestion Task' to finalize.
-        </span>
-        <div id="droppedFileTarget" class="ptwbSectionBox">
-            <h5>File Drop Target...</h5>
-        
-        </div>
-        <div id="droppedFileList" class="ptwbSectionBox">
-            <h5>Files to be ingested...</h5>
-            <ul></ul>
-        </div>
-        <div id="itMetExtractorSelector" class="ptwbSectionBox">
-            <h5>Metadata Extraction Configuration...</h5>
-            <span class="instructions">Choose a metadata extractor 
configuration from
-                the list below:
-            </span>
-            <select name="itMetExtractorConfigId" id="itMetExtractorConfigId">
-                <option value="">Initializing...</option>
-            </select><br/><br/>
-        </div>
-        <div id="itCreateIngestionTaskButton">
-            <span class="instructions">Click here to create an ingestion task 
for these files</span>
-            <input type="button" value="Save as Ingestion Task" 
onclick="createIngestionTask();"/>
-        </div>
-    
-    </div>
-    <div id="ptwbMetadata">
-        <span class="instructions">
-            The following metadata has been defined for this product type.
-        </span>
-        <div class="ptwbMetadataList"></div>
-    </div>
-</div>
-
+  
+  <div id="curator_workbench" wicket:id="curator_workbench">
+  </div>
+  
+  
+  <!--  so that it previews right -->
+  <wicket:remove>      
+  <link type="text/css" rel="stylesheet" href="workbench/Workbench.css"/>
+       
+       <div class="page">
+           <div class="container browsers">
+               <div id="browseStagingContainer">
+               <h5>Staging Area</h5>
+                   <div id="browseStagingPath" 
class="pathbar">initializing...</div>
+                   <div id="browseStaging" class="browser">
+                       <div id="browseStagingNav">
+                           <ul class="fileTree">
+                               <li class="directory nav"><a 
id="stagingNavUpRoot" href="#" rel=".">.</a></li>
+                               <li class="directory nav"><a 
id="stagingNavUpOne"  href="#" rel="..">..</a></li>
+                           </ul>
+                       </div>
+                       <div id="browseStagingContents"></div>
+                   </div>
+                   <div id="stagedMetadataWorkbench"   class="editor">
+                       <div id="infoNoMetadataExtractorDefined" class="info 
overlay">
+                           <div class="infoContent">
+                               No Metadata Detected...<br/>
+                           </div>
+                       </div>
+                       <div id="stagingMetContainer">              
+                           <div id="stagingMetExtractorSelection">
+                               <select id="stagingMetExtractorConfigList">
+                                   <option value="-1">Initializing...</option>
+                               </select>
+                               <input id="stagingMetExtractorRefreshButton" 
type="button" value="Refresh"/>
+                               &nbsp;
+                               
+                           </div>
+                           <div id="stagedMetadataWorkbenchContent"></div>
+                       </div>
+                   </div>
+               </div>
+               <div id="browseCatalogContainer">
+               <h5>File Manager Catalog</h5>
+                   <div id="browseCatalogPath" 
class="pathbar">initializing...</div>
+                   <div id="browseCatalog" class="browser">
+                       <div id="browseCatalogNav">
+                           <ul class="fileTree">
+                               <li class="directory nav"><a 
id="catalogNavUpRoot" href="#" rel=".">.</a></li>
+                               <li class="directory nav"><a 
id="catalogNavUpOne"  href="#" rel="..">..</a></li>
+                           </ul>
+                       </div>
+                       <div id="browseCatalogContents"></div>
+                   </div>
+                   <div id="catalogMetadataWorkbench" class="editor">
+                       <div id="catalogMetadataWorkbenchContent"></div>
+                   </div>
+               </div>
+               <br class="clr"/>
+           </div>
+           <div class="container tasks">
+               <div id="ingestionTaskList">
+                   <h5>File Manager Ingestion Task List</h5>
+                   <div id="ingestionTaskListContent">
+                   <table cellspacing="0" cellpadding="0" 
id="ingestionTaskListItems">
+                     <thead>
+                     <tr>
+                       <th style="width:50px;">TaskId</th>
+                       <th>Created</th>
+                       <th>Files</th>
+                       <th>Policy</th>
+                       <th>ProductType</th>
+                       <th>MetExtractor</th>
+                       <th>MetExt Config</th>
+                       <th>Status</th>
+                       <th style="border-right-width:0px;">Action</th>
+                     </tr>
+                     </thead>
+                     <tbody>
+                     
+                     </tbody>
+                     
+                   </table>
+                   </div>
+               </div>
+           </div>
+       </div>
+       
+       <!-- product type workbench -->
+       <div id="productTypeWorkbenchContents" style="display:none">
+           <ul>
+               <li><a href='#ptwbAddProducts'>Add Products</a></li>
+               <li><a href='#ptwbMetadata'>View Metadata</a></li>
+           </ul><br class="clr"/>
+           <div id="ptwbAddProducts">
+               <span class="instructions">
+               Add files from the staging area by dragging them into the 
target box below. Once you have 
+               Finished, click 'Save as Ingestion Task' to finalize.
+               </span>
+               <div id="droppedFileTarget" class="ptwbSectionBox">
+                   <h5>File Drop Target...</h5>
+               
+               </div>
+               <div id="droppedFileList" class="ptwbSectionBox">
+                   <h5>Files to be ingested...</h5>
+                   <ul></ul>
+               </div>
+               <div id="itMetExtractorSelector" class="ptwbSectionBox">
+                   <h5>Metadata Extraction Configuration...</h5>
+                   <span class="instructions">Choose a metadata extractor 
configuration from
+                       the list below:
+                   </span>
+                   <select name="itMetExtractorConfigId" 
id="itMetExtractorConfigId">
+                       <option value="">Initializing...</option>
+                   </select><br/><br/>
+               </div>
+               <div id="itCreateIngestionTaskButton">
+                   <span class="instructions">Click here to create an 
ingestion task for these files</span>
+                   <input type="button" value="Save as Ingestion Task" 
onclick="createIngestionTask();"/>
+               </div>
+           
+           </div>
+           <div id="ptwbMetadata">
+               <span class="instructions">
+                   The following metadata has been defined for this product 
type.
+               </span>
+               <div class="ptwbMetadataList"></div>
+           </div>
+       </div>
+  
+  </wicket:remove>
+  
 </div>
 
 <!--  end main content -->

Modified: 
oodt/trunk/curator/webapp/src/main/java/org/apache/oodt/cas/curation/HomePage.java
URL: 
http://svn.apache.org/viewvc/oodt/trunk/curator/webapp/src/main/java/org/apache/oodt/cas/curation/HomePage.java?rev=1697142&r1=1697141&r2=1697142&view=diff
==============================================================================
--- 
oodt/trunk/curator/webapp/src/main/java/org/apache/oodt/cas/curation/HomePage.java
 (original)
+++ 
oodt/trunk/curator/webapp/src/main/java/org/apache/oodt/cas/curation/HomePage.java
 Sat Aug 22 22:20:34 2015
@@ -1,7 +1,31 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You 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.
+ */
+
 package org.apache.oodt.cas.curation;
 
+import org.apache.oodt.cas.curation.workbench.Workbench;
 import org.apache.wicket.markup.html.WebPage;
 
 public class HomePage extends WebPage {
 
+  public HomePage() {
+    super();
+    add(new Workbench("curator_workbench"));
+
+  }
+ 
 }

Added: 
oodt/trunk/curator/webapp/src/main/java/org/apache/oodt/cas/curation/workbench/Workbench.html
URL: 
http://svn.apache.org/viewvc/oodt/trunk/curator/webapp/src/main/java/org/apache/oodt/cas/curation/workbench/Workbench.html?rev=1697142&view=auto
==============================================================================
--- 
oodt/trunk/curator/webapp/src/main/java/org/apache/oodt/cas/curation/workbench/Workbench.html
 (added)
+++ 
oodt/trunk/curator/webapp/src/main/java/org/apache/oodt/cas/curation/workbench/Workbench.html
 Sat Aug 22 22:20:34 2015
@@ -0,0 +1,137 @@
+
+<wicket:panel>
+<wicket:link>
+  <link type="text/css" rel="stylesheet" href="Workbench_wicket.css"/>
+  <link type="text/css" rel="stylesheet" href="jquery.alerts.css"/>
+  <script type="text/javascript" src="jquery-1.3.2.js"></script>
+  <script type="text/javascript" src="jquery-ui-1.7.2.full.min.js"></script>
+  <script type="text/javascript" src="jquery.periodicalupdater.js"></script>
+  <script type="text/javascript" src="jquery.alerts.js"></script>    
+  <script type="text/javascript" src="Workbench.js"></script>
+</wicket:link>
+
+<wicket:remove>
+  <link type="text/css" rel="stylesheet" href="Workbench.css"/>
+</wicket:remove>
+
+<div class="page">
+    <div class="container browsers">
+        <div id="browseStagingContainer">
+        <h5>Staging Area</h5>
+            <div id="browseStagingPath" class="pathbar">initializing...</div>
+            <div id="browseStaging" class="browser">
+                <div id="browseStagingNav">
+                    <ul class="fileTree">
+                        <li class="directory nav"><a id="stagingNavUpRoot" 
href="#" rel=".">.</a></li>
+                        <li class="directory nav"><a id="stagingNavUpOne"  
href="#" rel="..">..</a></li>
+                    </ul>
+                </div>
+                <div id="browseStagingContents"></div>
+            </div>
+            <div id="stagedMetadataWorkbench"   class="editor">
+                <div id="infoNoMetadataExtractorDefined" class="info overlay">
+                    <div class="infoContent">
+                        No Metadata Detected...<br/>
+                    </div>
+                </div>
+                <div id="stagingMetContainer">              
+                    <div id="stagingMetExtractorSelection">
+                        <select id="stagingMetExtractorConfigList">
+                            <option value="-1">Initializing...</option>
+                        </select>
+                        <input id="stagingMetExtractorRefreshButton" 
type="button" value="Refresh"/>
+                        &nbsp;
+                        
+                    </div>
+                    <div id="stagedMetadataWorkbenchContent"></div>
+                </div>
+            </div>
+        </div>
+        <div id="browseCatalogContainer">
+        <h5>File Manager Catalog</h5>
+            <div id="browseCatalogPath" class="pathbar">initializing...</div>
+            <div id="browseCatalog" class="browser">
+                <div id="browseCatalogNav">
+                    <ul class="fileTree">
+                        <li class="directory nav"><a id="catalogNavUpRoot" 
href="#" rel=".">.</a></li>
+                        <li class="directory nav"><a id="catalogNavUpOne"  
href="#" rel="..">..</a></li>
+                    </ul>
+                </div>
+                <div id="browseCatalogContents"></div>
+            </div>
+            <div id="catalogMetadataWorkbench" class="editor">
+                <div id="catalogMetadataWorkbenchContent"></div>
+            </div>
+        </div>
+        <br class="clr"/>
+    </div>
+    <div class="container tasks">
+        <div id="ingestionTaskList">
+            <h5>File Manager Ingestion Task List</h5>
+            <div id="ingestionTaskListContent">
+            <table cellspacing="0" cellpadding="0" id="ingestionTaskListItems">
+              <thead>
+              <tr>
+                <th style="width:50px;">TaskId</th>
+                <th>Created</th>
+                <th>Files</th>
+                <th>Policy</th>
+                <th>ProductType</th>
+                <th>MetExtractor</th>
+                <th>MetExt Config</th>
+                <th>Status</th>
+                <th style="border-right-width:0px;">Action</th>
+              </tr>
+              </thead>
+              <tbody>
+              
+              </tbody>
+              
+            </table>
+            </div>
+        </div>
+    </div>
+</div>
+
+<!-- product type workbench -->
+<div id="productTypeWorkbenchContents" style="display:none">
+    <ul>
+        <li><a href='#ptwbAddProducts'>Add Products</a></li>
+        <li><a href='#ptwbMetadata'>View Metadata</a></li>
+    </ul><br class="clr"/>
+    <div id="ptwbAddProducts">
+        <span class="instructions">
+        Add files from the staging area by dragging them into the target box 
below. Once you have 
+        Finished, click 'Save as Ingestion Task' to finalize.
+        </span>
+        <div id="droppedFileTarget" class="ptwbSectionBox">
+            <h5>File Drop Target...</h5>
+        
+        </div>
+        <div id="droppedFileList" class="ptwbSectionBox">
+            <h5>Files to be ingested...</h5>
+            <ul></ul>
+        </div>
+        <div id="itMetExtractorSelector" class="ptwbSectionBox">
+            <h5>Metadata Extraction Configuration...</h5>
+            <span class="instructions">Choose a metadata extractor 
configuration from
+                the list below:
+            </span>
+            <select name="itMetExtractorConfigId" id="itMetExtractorConfigId">
+                <option value="">Initializing...</option>
+            </select><br/><br/>
+        </div>
+        <div id="itCreateIngestionTaskButton">
+            <span class="instructions">Click here to create an ingestion task 
for these files</span>
+            <input type="button" value="Save as Ingestion Task" 
onclick="createIngestionTask();"/>
+        </div>
+    
+    </div>
+    <div id="ptwbMetadata">
+        <span class="instructions">
+            The following metadata has been defined for this product type.
+        </span>
+        <div class="ptwbMetadataList"></div>
+    </div>
+</div>
+</wicket:panel>

Modified: 
oodt/trunk/curator/webapp/src/main/java/org/apache/oodt/cas/curation/workbench/Workbench.java
URL: 
http://svn.apache.org/viewvc/oodt/trunk/curator/webapp/src/main/java/org/apache/oodt/cas/curation/workbench/Workbench.java?rev=1697142&r1=1697141&r2=1697142&view=diff
==============================================================================
--- 
oodt/trunk/curator/webapp/src/main/java/org/apache/oodt/cas/curation/workbench/Workbench.java
 (original)
+++ 
oodt/trunk/curator/webapp/src/main/java/org/apache/oodt/cas/curation/workbench/Workbench.java
 Sat Aug 22 22:20:34 2015
@@ -1,24 +1,59 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You 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.
+ */
+
 package org.apache.oodt.cas.curation.workbench;
 
+import java.util.HashMap;
+import java.util.HashSet;
+import java.util.Map;
 import java.util.Set;
 import java.util.regex.Pattern;
 
-import org.apache.wicket.markup.html.WebComponent;
+import org.apache.wicket.markup.html.panel.Panel;
+import org.apache.wicket.util.file.File;
 import org.reflections.Reflections;
 import org.reflections.scanners.ResourcesScanner;
 
-public class Workbench extends WebComponent{
+public class Workbench extends Panel {
+
+  private static final long serialVersionUID = 3911179455208050261L;
 
+  
   public Workbench(String id) {
     super(id);
   }
 
-  private static final long serialVersionUID = 3911179455208050261L;
 
   public static Set<String> getImageFiles() {
-    Pattern pattern = Pattern.compile(".*\\.png");
-    return new Reflections(Workbench.class.getPackage(), new 
ResourcesScanner())
+    Pattern pattern = Pattern.compile(".*\\.(png|gif)");
+    
+    Set<String> resources = new Reflections(Workbench.class.getPackage(), new 
ResourcesScanner())
         .getResources(pattern);
+    Set<String> filteredResources = new HashSet<String>();
+    Map<String, Boolean> resMap = new HashMap<String, Boolean>();
+    for(String res: resources){
+      String resName = new File(res).getName();
+      if (!resMap.containsKey(resName)){
+        resMap.put(resName, true);
+        filteredResources.add(resName);
+      }
+    }
+    
+    return filteredResources;
   }
 
 }

Modified: 
oodt/trunk/curator/webapp/src/main/java/org/apache/oodt/cas/curation/workbench/Workbench_wicket.css
URL: 
http://svn.apache.org/viewvc/oodt/trunk/curator/webapp/src/main/java/org/apache/oodt/cas/curation/workbench/Workbench_wicket.css?rev=1697142&r1=1697141&r2=1697142&view=diff
==============================================================================
--- 
oodt/trunk/curator/webapp/src/main/java/org/apache/oodt/cas/curation/workbench/Workbench_wicket.css
 (original)
+++ 
oodt/trunk/curator/webapp/src/main/java/org/apache/oodt/cas/curation/workbench/Workbench_wicket.css
 Sat Aug 22 22:20:34 2015
@@ -36,69 +36,69 @@ UL.fileTree A:hover, LI.helper A {
 }
 
 /* Core Styles */
-.fileTree LI.directory, LI.helper.directory { background: 
url(../../../images/directory.png) left top no-repeat; }
-.fileTree LI.expanded, LI.helper.expanded   { background: 
url(../../../images/folder_open.png) left top no-repeat; }
-.fileTree LI.file, LI.helper.file           { background: 
url(../../../images/file.png) left top no-repeat; }
-.fileTree LI.wait, LI.helper.wait           { background: 
url(../../../images/spinner.gif) left top no-repeat; }
+.fileTree LI.directory, LI.helper.directory { background: 
url(../../images/directory.png) left top no-repeat; }
+.fileTree LI.expanded, LI.helper.expanded   { background: 
url(../../images/folder_open.png) left top no-repeat; }
+.fileTree LI.file, LI.helper.file           { background: 
url(../../images/file.png) left top no-repeat; }
+.fileTree LI.wait, LI.helper.wait           { background: 
url(../../images/spinner.gif) left top no-repeat; }
 /* File Extensions*/
-.fileTree LI.ext_3gp, LI.helper.ext_3gp { background: 
url(../../../images/film.png) left top no-repeat; }
-.fileTree LI.ext_afp, LI.helper.ext_afp { background: 
url(../../../images/code.png) left top no-repeat; }
-.fileTree LI.ext_afpa, LI.helper.ext_afpa { background: 
url(../../../images/code.png) left top no-repeat; }
-.fileTree LI.ext_asp, LI.helper.ext_asp { background: 
url(../../../images/code.png) left top no-repeat; }
-.fileTree LI.ext_aspx, LI.helper.ext_aspx { background: 
url(../../../images/code.png) left top no-repeat; }
-.fileTree LI.ext_avi, LI.helper.ext_avi { background: 
url(../../../images/film.png) left top no-repeat; }
-.fileTree LI.ext_bat, LI.helper.ext_bat { background: 
url(../../../images/application.png) left top no-repeat; }
-.fileTree LI.ext_bmp, LI.helper.ext_bmp { background: 
url(../../../images/picture.png) left top no-repeat; }
-.fileTree LI.ext_c, LI.helper.ext_c { background: 
url(../../../images/code.png) left top no-repeat; }
-.fileTree LI.ext_cfm, LI.helper.ext_cfm { background: 
url(../../../images/code.png) left top no-repeat; }
-.fileTree LI.ext_cgi, LI.helper.ext_cgi { background: 
url(../../../images/code.png) left top no-repeat; }
-.fileTree LI.ext_com, LI.helper.ext_com { background: 
url(../../../images/application.png) left top no-repeat; }
-.fileTree LI.ext_cpp, LI.helper.ext_cpp { background: 
url(../../../images/code.png) left top no-repeat; }
-.fileTree LI.ext_css, LI.helper.ext_css { background: 
url(../../../images/css.png) left top no-repeat; }
-.fileTree LI.ext_doc, LI.helper.ext_doc { background: 
url(../../../images/doc.png) left top no-repeat; }
-.fileTree LI.ext_exe, LI.helper.ext_exe { background: 
url(../../../images/application.png) left top no-repeat; }
-.fileTree LI.ext_gif, LI.helper.ext_gif { background: 
url(../../../images/picture.png) left top no-repeat; }
-.fileTree LI.ext_fla, LI.helper.ext_fla { background: 
url(../../../images/flash.png) left top no-repeat; }
-.fileTree LI.ext_h, LI.helper.ext_h { background: 
url(../../../images/code.png) left top no-repeat; }
-.fileTree LI.ext_htm, LI.helper.ext_htm { background: 
url(../../../images/html.png) left top no-repeat; }
-.fileTree LI.ext_html, LI.helper.ext_html { background: 
url(../../../images/html.png) left top no-repeat; }
-.fileTree LI.ext_jar, LI.helper.ext_jar { background: 
url(../../../images/java.png) left top no-repeat; }
-.fileTree LI.ext_jpg, LI.helper.ext_jpg { background: 
url(../../../images/picture.png) left top no-repeat; }
-.fileTree LI.ext_jpeg, LI.helper.ext_jpeg { background: 
url(../../../images/picture.png) left top no-repeat; }
-.fileTree LI.ext_js, LI.helper.ext_js { background: 
url(../../../images/script.png) left top no-repeat; }
-.fileTree LI.ext_lasso, LI.helper.ext_lasso { background: 
url(../../../images/code.png) left top no-repeat; }
-.fileTree LI.ext_log, LI.helper.ext_log { background: 
url(../../../images/txt.png) left top no-repeat; }
-.fileTree LI.ext_m4p, LI.helper.ext_m4p { background: 
url(../../../images/music.png) left top no-repeat; }
-.fileTree LI.ext_mov, LI.helper.ext_mov { background: 
url(../../../images/film.png) left top no-repeat; }
-.fileTree LI.ext_mp3, LI.helper.ext_mp3 { background: 
url(../../../images/music.png) left top no-repeat; }
-.fileTree LI.ext_mp4, LI.helper.ext_mp4 { background: 
url(../../../images/film.png) left top no-repeat; }
-.fileTree LI.ext_mpg, LI.helper.ext_mpg { background: 
url(../../../images/film.png) left top no-repeat; }
-.fileTree LI.ext_mpeg, LI.helper.ext_mpeg { background: 
url(../../../images/film.png) left top no-repeat; }
-.fileTree LI.ext_ogg, LI.helper.ext_ogg { background: 
url(../../../images/music.png) left top no-repeat; }
-.fileTree LI.ext_pcx, LI.helper.ext_pcx { background: 
url(../../../images/picture.png) left top no-repeat; }
-.fileTree LI.ext_pdf, LI.helper.ext_pdf { background: 
url(../../../images/pdf.png) left top no-repeat; }
-.fileTree LI.ext_php, LI.helper.ext_php { background: 
url(../../../images/php.png) left top no-repeat; }
-.fileTree LI.ext_png, LI.helper.ext_png { background: 
url(../../../images/picture.png) left top no-repeat; }
-.fileTree LI.ext_ppt, LI.helper.ext_ppt { background: 
url(../../../images/ppt.png) left top no-repeat; }
-.fileTree LI.ext_psd, LI.helper.ext_psd { background: 
url(../../../images/psd.png) left top no-repeat; }
-.fileTree LI.ext_pl, LI.helper.ext_pl { background: 
url(../../../images/script.png) left top no-repeat; }
-.fileTree LI.ext_py, LI.helper.ext_py { background: 
url(../../../images/script.png) left top no-repeat; }
-.fileTree LI.ext_rb, LI.helper.ext_rb { background: 
url(../../../images/ruby.png) left top no-repeat; }
-.fileTree LI.ext_rbx, LI.helper.ext_rbx { background: 
url(../../../images/ruby.png) left top no-repeat; }
-.fileTree LI.ext_rhtml, LI.helper.ext_rhtml { background: 
url(../../../images/ruby.png) left top no-repeat; }
-.fileTree LI.ext_rpm, LI.helper.ext_rpm { background: 
url(../../../images/linux.png) left top no-repeat; }
-.fileTree LI.ext_ruby, LI.helper.ext_ruby { background: 
url(../../../images/ruby.png) left top no-repeat; }
-.fileTree LI.ext_sql, LI.helper.ext_sql { background: 
url(../../../images/db.png) left top no-repeat; }
-.fileTree LI.ext_swf, LI.helper.ext_swf { background: 
url(../../../images/flash.png) left top no-repeat; }
-.fileTree LI.ext_tif, LI.helper.ext_tif { background: 
url(../../../images/picture.png) left top no-repeat; }
-.fileTree LI.ext_tiff, LI.helper.ext_tiff { background: 
url(../../../images/picture.png) left top no-repeat; }
-.fileTree LI.ext_txt, LI.helper.ext_txt { background: 
url(../../../images/txt.png) left top no-repeat; }
-.fileTree LI.ext_vb, LI.helper.ext_vb { background: 
url(../../../images/code.png) left top no-repeat; }
-.fileTree LI.ext_wav, LI.helper.ext_wav { background: 
url(../../../images/music.png) left top no-repeat; }
-.fileTree LI.ext_wmv, LI.helper.ext_wmv { background: 
url(../../../images/film.png) left top no-repeat; }
-.fileTree LI.ext_xls, LI.helper.ext_xls { background: 
url(../../../images/xls.png) left top no-repeat; }
-.fileTree LI.ext_xml, LI.helper.ext_xml { background: 
url(../../../images/code.png) left top no-repeat; }
-.fileTree LI.ext_zip, LI.helper.ext_zip { background: 
url(../../../images/zip.png) left top no-repeat; }
+.fileTree LI.ext_3gp, LI.helper.ext_3gp { background: 
url(../../images/film.png) left top no-repeat; }
+.fileTree LI.ext_afp, LI.helper.ext_afp { background: 
url(../../images/code.png) left top no-repeat; }
+.fileTree LI.ext_afpa, LI.helper.ext_afpa { background: 
url(../../images/code.png) left top no-repeat; }
+.fileTree LI.ext_asp, LI.helper.ext_asp { background: 
url(../../images/code.png) left top no-repeat; }
+.fileTree LI.ext_aspx, LI.helper.ext_aspx { background: 
url(../../images/code.png) left top no-repeat; }
+.fileTree LI.ext_avi, LI.helper.ext_avi { background: 
url(../../images/film.png) left top no-repeat; }
+.fileTree LI.ext_bat, LI.helper.ext_bat { background: 
url(../../images/application.png) left top no-repeat; }
+.fileTree LI.ext_bmp, LI.helper.ext_bmp { background: 
url(../../images/picture.png) left top no-repeat; }
+.fileTree LI.ext_c, LI.helper.ext_c { background: url(../../images/code.png) 
left top no-repeat; }
+.fileTree LI.ext_cfm, LI.helper.ext_cfm { background: 
url(../../images/code.png) left top no-repeat; }
+.fileTree LI.ext_cgi, LI.helper.ext_cgi { background: 
url(../../images/code.png) left top no-repeat; }
+.fileTree LI.ext_com, LI.helper.ext_com { background: 
url(../../images/application.png) left top no-repeat; }
+.fileTree LI.ext_cpp, LI.helper.ext_cpp { background: 
url(../../images/code.png) left top no-repeat; }
+.fileTree LI.ext_css, LI.helper.ext_css { background: 
url(../../images/css.png) left top no-repeat; }
+.fileTree LI.ext_doc, LI.helper.ext_doc { background: 
url(../../images/doc.png) left top no-repeat; }
+.fileTree LI.ext_exe, LI.helper.ext_exe { background: 
url(../../images/application.png) left top no-repeat; }
+.fileTree LI.ext_gif, LI.helper.ext_gif { background: 
url(../../images/picture.png) left top no-repeat; }
+.fileTree LI.ext_fla, LI.helper.ext_fla { background: 
url(../../images/flash.png) left top no-repeat; }
+.fileTree LI.ext_h, LI.helper.ext_h { background: url(../../images/code.png) 
left top no-repeat; }
+.fileTree LI.ext_htm, LI.helper.ext_htm { background: 
url(../../images/html.png) left top no-repeat; }
+.fileTree LI.ext_html, LI.helper.ext_html { background: 
url(../../images/html.png) left top no-repeat; }
+.fileTree LI.ext_jar, LI.helper.ext_jar { background: 
url(../../images/java.png) left top no-repeat; }
+.fileTree LI.ext_jpg, LI.helper.ext_jpg { background: 
url(../../images/picture.png) left top no-repeat; }
+.fileTree LI.ext_jpeg, LI.helper.ext_jpeg { background: 
url(../../images/picture.png) left top no-repeat; }
+.fileTree LI.ext_js, LI.helper.ext_js { background: 
url(../../images/script.png) left top no-repeat; }
+.fileTree LI.ext_lasso, LI.helper.ext_lasso { background: 
url(../../images/code.png) left top no-repeat; }
+.fileTree LI.ext_log, LI.helper.ext_log { background: 
url(../../images/txt.png) left top no-repeat; }
+.fileTree LI.ext_m4p, LI.helper.ext_m4p { background: 
url(../../images/music.png) left top no-repeat; }
+.fileTree LI.ext_mov, LI.helper.ext_mov { background: 
url(../../images/film.png) left top no-repeat; }
+.fileTree LI.ext_mp3, LI.helper.ext_mp3 { background: 
url(../../images/music.png) left top no-repeat; }
+.fileTree LI.ext_mp4, LI.helper.ext_mp4 { background: 
url(../../images/film.png) left top no-repeat; }
+.fileTree LI.ext_mpg, LI.helper.ext_mpg { background: 
url(../../images/film.png) left top no-repeat; }
+.fileTree LI.ext_mpeg, LI.helper.ext_mpeg { background: 
url(../../images/film.png) left top no-repeat; }
+.fileTree LI.ext_ogg, LI.helper.ext_ogg { background: 
url(../../images/music.png) left top no-repeat; }
+.fileTree LI.ext_pcx, LI.helper.ext_pcx { background: 
url(../../images/picture.png) left top no-repeat; }
+.fileTree LI.ext_pdf, LI.helper.ext_pdf { background: 
url(../../images/pdf.png) left top no-repeat; }
+.fileTree LI.ext_php, LI.helper.ext_php { background: 
url(../../images/php.png) left top no-repeat; }
+.fileTree LI.ext_png, LI.helper.ext_png { background: 
url(../../images/picture.png) left top no-repeat; }
+.fileTree LI.ext_ppt, LI.helper.ext_ppt { background: 
url(../../images/ppt.png) left top no-repeat; }
+.fileTree LI.ext_psd, LI.helper.ext_psd { background: 
url(../../images/psd.png) left top no-repeat; }
+.fileTree LI.ext_pl, LI.helper.ext_pl { background: 
url(../../images/script.png) left top no-repeat; }
+.fileTree LI.ext_py, LI.helper.ext_py { background: 
url(../../images/script.png) left top no-repeat; }
+.fileTree LI.ext_rb, LI.helper.ext_rb { background: url(../../images/ruby.png) 
left top no-repeat; }
+.fileTree LI.ext_rbx, LI.helper.ext_rbx { background: 
url(../../images/ruby.png) left top no-repeat; }
+.fileTree LI.ext_rhtml, LI.helper.ext_rhtml { background: 
url(../../images/ruby.png) left top no-repeat; }
+.fileTree LI.ext_rpm, LI.helper.ext_rpm { background: 
url(../../images/linux.png) left top no-repeat; }
+.fileTree LI.ext_ruby, LI.helper.ext_ruby { background: 
url(../../images/ruby.png) left top no-repeat; }
+.fileTree LI.ext_sql, LI.helper.ext_sql { background: url(../../images/db.png) 
left top no-repeat; }
+.fileTree LI.ext_swf, LI.helper.ext_swf { background: 
url(../../images/flash.png) left top no-repeat; }
+.fileTree LI.ext_tif, LI.helper.ext_tif { background: 
url(../../images/picture.png) left top no-repeat; }
+.fileTree LI.ext_tiff, LI.helper.ext_tiff { background: 
url(../../images/picture.png) left top no-repeat; }
+.fileTree LI.ext_txt, LI.helper.ext_txt { background: 
url(../../images/txt.png) left top no-repeat; }
+.fileTree LI.ext_vb, LI.helper.ext_vb { background: url(../../images/code.png) 
left top no-repeat; }
+.fileTree LI.ext_wav, LI.helper.ext_wav { background: 
url(../../images/music.png) left top no-repeat; }
+.fileTree LI.ext_wmv, LI.helper.ext_wmv { background: 
url(../../images/film.png) left top no-repeat; }
+.fileTree LI.ext_xls, LI.helper.ext_xls { background: 
url(../../images/xls.png) left top no-repeat; }
+.fileTree LI.ext_xml, LI.helper.ext_xml { background: 
url(../../images/code.png) left top no-repeat; }
+.fileTree LI.ext_zip, LI.helper.ext_zip { background: 
url(../../images/zip.png) left top no-repeat; }
 
 /**
  * .CLR

Added: 
oodt/trunk/curator/webapp/src/main/java/org/apache/oodt/cas/curation/workbench/info.gif
URL: 
http://svn.apache.org/viewvc/oodt/trunk/curator/webapp/src/main/java/org/apache/oodt/cas/curation/workbench/info.gif?rev=1697142&view=auto
==============================================================================
Binary file - no diff available.

Propchange: 
oodt/trunk/curator/webapp/src/main/java/org/apache/oodt/cas/curation/workbench/info.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: 
oodt/trunk/curator/webapp/src/main/java/org/apache/oodt/cas/curation/workbench/title.gif
URL: 
http://svn.apache.org/viewvc/oodt/trunk/curator/webapp/src/main/java/org/apache/oodt/cas/curation/workbench/title.gif?rev=1697142&view=auto
==============================================================================
Binary file - no diff available.

Propchange: 
oodt/trunk/curator/webapp/src/main/java/org/apache/oodt/cas/curation/workbench/title.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream


Reply via email to