Author: tmortagne
Date: 2007-10-03 18:18:42 +0200 (Wed, 03 Oct 2007)
New Revision: 5263

Modified:
   
xwiki-platform/xwiki-plugins/trunk/application-manager/src/main/java/com/xpn/xwiki/plugin/applicationmanager/doc/XWikiApplication.java
   
xwiki-platform/xwiki-plugins/trunk/application-manager/src/main/java/com/xpn/xwiki/plugin/applicationmanager/doc/XWikiApplicationClass.java
Log:
Hide the "docsToLink" feature as it is not implemented yet

Modified: 
xwiki-platform/xwiki-plugins/trunk/application-manager/src/main/java/com/xpn/xwiki/plugin/applicationmanager/doc/XWikiApplication.java
===================================================================
--- 
xwiki-platform/xwiki-plugins/trunk/application-manager/src/main/java/com/xpn/xwiki/plugin/applicationmanager/doc/XWikiApplication.java
      2007-10-03 16:12:59 UTC (rev 5262)
+++ 
xwiki-platform/xwiki-plugins/trunk/application-manager/src/main/java/com/xpn/xwiki/plugin/applicationmanager/doc/XWikiApplication.java
      2007-10-03 16:18:42 UTC (rev 5263)
@@ -229,6 +229,7 @@
         setListValue(XWikiApplicationClass.FIELD_docstoinclude, docstoinclude);
     }
 
+    /* TODO : add support for real linked documents in xwiki-core to be able 
to use it 
     public List getDocsToLink()
     {
         return getListValue(XWikiApplicationClass.FIELD_docstolink);
@@ -238,6 +239,7 @@
     {
         setListValue(XWikiApplicationClass.FIELD_docstolink, docstolink);
     }
+    */
 
     /**
      * @return the list of documents containing translations strings.
@@ -509,7 +511,9 @@
         return docsToInclude;
     }
 
-    /**
+    /*
+     * TODO : add support for real linked documents in xwiki-core to be able 
to use it 
+     * 
      * Get and resolve all documents names to link application contains.
      * <p>
      * For each of these documents names, if are between "[" and "]", are 
considered as SQL matching
@@ -523,8 +527,9 @@
      * @see #getDocsToLink()
      * @see XWikiApplicationClass#FIELD_docstolink
      */
+    /* TODO : add support for real linked documents in xwiki-core to be able 
to use it 
     public Set getDocsNameToLink(boolean recurse, XWikiContext context) throws 
XWikiException
     {
         return getDocsNameSet(XWikiApplicationClass.FIELD_docstolink, recurse, 
false, context);
-    }
+    }*/
 }

Modified: 
xwiki-platform/xwiki-plugins/trunk/application-manager/src/main/java/com/xpn/xwiki/plugin/applicationmanager/doc/XWikiApplicationClass.java
===================================================================
--- 
xwiki-platform/xwiki-plugins/trunk/application-manager/src/main/java/com/xpn/xwiki/plugin/applicationmanager/doc/XWikiApplicationClass.java
 2007-10-03 16:12:59 UTC (rev 5262)
+++ 
xwiki-platform/xwiki-plugins/trunk/application-manager/src/main/java/com/xpn/xwiki/plugin/applicationmanager/doc/XWikiApplicationClass.java
 2007-10-03 16:18:42 UTC (rev 5263)
@@ -262,6 +262,7 @@
             needsUpdate = true;
         }
 
+        /* TODO : add support for real linked documents in xwiki-core to be 
able to use it 
         if (baseClass.addStaticListField(FIELD_docstolink, FIELDPN_docstolink, 
80, true, "",
             "input")) {
 
@@ -274,6 +275,7 @@
 
             needsUpdate = true;
         }
+        */
 
         if (baseClass.addStaticListField(FIELD_translationdocs, 
FIELDPN_translationdocs, 80,
             true, "", "input")) {

_______________________________________________
notifications mailing list
notifications@xwiki.org
http://lists.xwiki.org/mailman/listinfo/notifications

Reply via email to