[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jedit-cvs
Subject:    [ jEdit-CVS ] plugins/ProjectViewer/projectviewer/persist
From:       Marcelo Vanzin <vanza () users ! sourceforge ! net>
Date:       2006-06-30 5:42:54
Message-ID: E1FwBmJ-0001Lz-E5 () mail ! sourceforge ! net
[Download RAW message or body]

Update of /cvsroot/jedit/plugins/ProjectViewer/projectviewer/persist
In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv24466/projectviewer/persist

Modified Files:
	DeferredProperty.java ProjectPersistenceManager.java 
Log Message:
- use jEdit.setTemporaryProperty() for the fake dependencies
- check in modifications that I missed last time.
- update CHANGELOG.

Index: DeferredProperty.java
===================================================================
RCS file: /cvsroot/jedit/plugins/ProjectViewer/projectviewer/persist/DeferredProperty.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- DeferredProperty.java	16 Feb 2006 05:18:36 -0000	1.2
+++ DeferredProperty.java	30 Jun 2006 05:42:52 -0000	1.3
@@ -66,7 +66,7 @@
 
 	/**
 	 *	Tries to load the object represented by the serialized data;
-	 *	returns the object, or "this" is loading failed. An error message
+	 *	returns the object, or "this" if loading failed. An error message
 	 *	is logged to the activity log in the latter case.
 	 */
 	public Object getValue() {

Index: ProjectPersistenceManager.java
===================================================================
RCS file: /cvsroot/jedit/plugins/ProjectViewer/projectviewer/persist/ProjectPersistenceManager.java,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- ProjectPersistenceManager.java	26 Jun 2006 01:11:10 -0000	1.15
+++ ProjectPersistenceManager.java	30 Jun 2006 05:42:52 -0000	1.16
@@ -96,8 +96,8 @@
 	 *	Checks the plugin's properties to see if it declares any node
 	 *	handlers, and register those node handlers within this class.
 	 */
-	public static void loadNodeHandlers(PluginJAR jar) {
-		if (jar.getPlugin() == null) return;
+	public static int loadNodeHandlers(PluginJAR jar) {
+		if (jar.getPlugin() == null) return 0;
 		String list = jEdit.getProperty("plugin.projectviewer." +
 						jar.getPlugin().getClassName() + ".node-handlers");
 		Collection aList = PVActions.listToObjectCollection(list, jar, NodeHandler.class);
@@ -106,7 +106,9 @@
 				NodeHandler nh = (NodeHandler) i.next();
 				registerHandler(nh);
 			}
+			return aList.size();
 		}
+		return 0;
 	} //}}}
 
 	//{{{ +_registerHandler(NodeHandler)_ : void


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
jEdit-CVS mailing list
jEdit-CVS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jedit-cvs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic