[Jsxe-cvs] SF.net SVN: jsxe: [892] trunk/jsxe
Status: Inactive
Brought to you by:
ian_lewis
From: <ian...@us...> - 2006-06-01 04:22:02
|
Revision: 892 Author: ian_lewis Date: 2006-05-31 21:21:50 -0700 (Wed, 31 May 2006) ViewCVS: http://svn.sourceforge.net/jsxe/?rev=892&view=rev Log Message: ----------- Plugins now implement EBListener and are added to the EditBus Modified Paths: -------------- trunk/jsxe/Changelog trunk/jsxe/src/net/sourceforge/jsxe/ActionPlugin.java trunk/jsxe/src/net/sourceforge/jsxe/jsXe.java Modified: trunk/jsxe/Changelog =================================================================== --- trunk/jsxe/Changelog 2006-05-31 22:27:12 UTC (rev 891) +++ trunk/jsxe/Changelog 2006-06-01 04:21:50 UTC (rev 892) @@ -1,3 +1,8 @@ +05/31/2006 Ian Lewis <Ian...@me...> + + * All plugins now implement EBListener and are added to the EditBus + * Updated the use of EditBus messages + 05/24/2006 Ian Lewis <Ian...@me...> * Updated the minimum version of xerces needed to run jsXe to 2.8. Modified: trunk/jsxe/src/net/sourceforge/jsxe/ActionPlugin.java =================================================================== --- trunk/jsxe/src/net/sourceforge/jsxe/ActionPlugin.java 2006-05-31 22:27:12 UTC (rev 891) +++ trunk/jsxe/src/net/sourceforge/jsxe/ActionPlugin.java 2006-06-01 04:21:50 UTC (rev 892) @@ -57,7 +57,7 @@ * @since jsXe 0.3 beta * @version $Id$ */ -public abstract class ActionPlugin { +public abstract class ActionPlugin implements EBListener { //{{{ Private members private ActionSet m_actionSet; @@ -123,6 +123,9 @@ return m_actionSet; }//}}} + //{{{ handleMessage() + public void handleMessage(EBMessage message) {}//}}} + //{{{ Broken class public static class Broken extends ActionPlugin { Modified: trunk/jsxe/src/net/sourceforge/jsxe/jsXe.java =================================================================== --- trunk/jsxe/src/net/sourceforge/jsxe/jsXe.java 2006-05-31 22:27:12 UTC (rev 891) +++ trunk/jsxe/src/net/sourceforge/jsxe/jsXe.java 2006-06-01 04:21:50 UTC (rev 892) @@ -284,6 +284,9 @@ } addActionSet(plugin.getActionSet()); + + //add the plugin to the editbus + EditBus.addToBus(plugin); } progressScreen.updateSplashScreenDialog(60); //}}} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |