From: <bh...@us...> - 2006-09-12 23:17:02
|
Revision: 181 http://svn.sourceforge.net/cishell/?rev=181&view=rev Author: bh2 Date: 2006-09-12 16:16:48 -0700 (Tue, 12 Sep 2006) Log Message: ----------- added the update manager and manage configuration features to the cishell gui Modified Paths: -------------- trunk/clients/gui/org.cishell.reference.gui.brand.cishell/META-INF/MANIFEST.MF trunk/clients/gui/org.cishell.reference.gui.brand.cishell/plugin.xml trunk/clients/gui/org.cishell.reference.gui.workspace/src/org/cishell/reference/gui/workspace/ApplicationActionBarAdvisor.java trunk/clients/gui/org.cishell.reference.gui.workspace/src/org/cishell/reference/gui/workspace/CIShellApplication.java Added Paths: ----------- trunk/clients/gui/org.cishell.reference.gui.brand.cishell/icons/findandinstall.gif trunk/clients/gui/org.cishell.reference.gui.brand.cishell/icons/manage.gif trunk/clients/gui/org.cishell.reference.gui.brand.cishell/src/org/cishell/reference/gui/brand/cishell/ManageConfigurationAction.java trunk/clients/gui/org.cishell.reference.gui.brand.cishell/src/org/cishell/reference/gui/brand/cishell/UpdateAction.java Modified: trunk/clients/gui/org.cishell.reference.gui.brand.cishell/META-INF/MANIFEST.MF =================================================================== --- trunk/clients/gui/org.cishell.reference.gui.brand.cishell/META-INF/MANIFEST.MF 2006-09-12 21:03:09 UTC (rev 180) +++ trunk/clients/gui/org.cishell.reference.gui.brand.cishell/META-INF/MANIFEST.MF 2006-09-12 23:16:48 UTC (rev 181) @@ -10,5 +10,6 @@ org.cishell.reference.gui.datamanager, org.cishell.reference.gui.log, org.cishell.reference.gui.workspace, - org.cishell.reference.gui.menumanager + org.cishell.reference.gui.menumanager, + org.eclipse.update.ui Eclipse-LazyStart: true Added: trunk/clients/gui/org.cishell.reference.gui.brand.cishell/icons/findandinstall.gif =================================================================== (Binary files differ) Property changes on: trunk/clients/gui/org.cishell.reference.gui.brand.cishell/icons/findandinstall.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/clients/gui/org.cishell.reference.gui.brand.cishell/icons/manage.gif =================================================================== (Binary files differ) Property changes on: trunk/clients/gui/org.cishell.reference.gui.brand.cishell/icons/manage.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Modified: trunk/clients/gui/org.cishell.reference.gui.brand.cishell/plugin.xml =================================================================== --- trunk/clients/gui/org.cishell.reference.gui.brand.cishell/plugin.xml 2006-09-12 21:03:09 UTC (rev 180) +++ trunk/clients/gui/org.cishell.reference.gui.brand.cishell/plugin.xml 2006-09-12 23:16:48 UTC (rev 181) @@ -41,4 +41,26 @@ <extension point="org.eclipse.ui.startup"> <startup/> </extension> + <extension + point="org.eclipse.ui.actionSets"> + <actionSet + id="org.cishell.reference.gui.management" + label="Manager Action Set" + visible="true"> + <action + class="org.cishell.reference.gui.brand.cishell.ManageConfigurationAction" + icon="icons/manage.gif" + id="org.cishell.reference.gui.configuration.manager.action" + label="Manage Configuration..." + menubarPath="help/end" + style="push"/> + <action + class="org.cishell.reference.gui.brand.cishell.UpdateAction" + icon="icons/findandinstall.gif" + id="org.cishell.reference.gui.update.manager.action" + label="Update..." + menubarPath="help/end" + style="push"/> + </actionSet> + </extension> </plugin> Added: trunk/clients/gui/org.cishell.reference.gui.brand.cishell/src/org/cishell/reference/gui/brand/cishell/ManageConfigurationAction.java =================================================================== --- trunk/clients/gui/org.cishell.reference.gui.brand.cishell/src/org/cishell/reference/gui/brand/cishell/ManageConfigurationAction.java (rev 0) +++ trunk/clients/gui/org.cishell.reference.gui.brand.cishell/src/org/cishell/reference/gui/brand/cishell/ManageConfigurationAction.java 2006-09-12 23:16:48 UTC (rev 181) @@ -0,0 +1,35 @@ +/* **************************************************************************** + * CIShell: Cyberinfrastructure Shell, An Algorithm Integration Framework. + * + * All rights reserved. This program and the accompanying materials are made + * available under the terms of the Apache License v2.0 which accompanies + * this distribution, and is available at: + * http://www.apache.org/licenses/LICENSE-2.0.html + * + * Created on Sep 12, 2006 at Indiana University. + * + * Contributors: + * Indiana University - + * ***************************************************************************/ +package org.cishell.reference.gui.brand.cishell; + +import org.eclipse.jface.action.IAction; +import org.eclipse.jface.viewers.ISelection; +import org.eclipse.swt.widgets.Shell; +import org.eclipse.ui.IWorkbenchWindow; +import org.eclipse.ui.IWorkbenchWindowActionDelegate; +import org.eclipse.update.ui.UpdateManagerUI; + +public class ManageConfigurationAction implements IWorkbenchWindowActionDelegate { + Shell s; + + public void run(IAction action) { + UpdateManagerUI.openConfigurationManager(s); + } + + public void init(IWorkbenchWindow window) { + s = window.getShell(); + } + public void dispose() {} + public void selectionChanged(IAction action, ISelection selection) {} +} Added: trunk/clients/gui/org.cishell.reference.gui.brand.cishell/src/org/cishell/reference/gui/brand/cishell/UpdateAction.java =================================================================== --- trunk/clients/gui/org.cishell.reference.gui.brand.cishell/src/org/cishell/reference/gui/brand/cishell/UpdateAction.java (rev 0) +++ trunk/clients/gui/org.cishell.reference.gui.brand.cishell/src/org/cishell/reference/gui/brand/cishell/UpdateAction.java 2006-09-12 23:16:48 UTC (rev 181) @@ -0,0 +1,35 @@ +/* **************************************************************************** + * CIShell: Cyberinfrastructure Shell, An Algorithm Integration Framework. + * + * All rights reserved. This program and the accompanying materials are made + * available under the terms of the Apache License v2.0 which accompanies + * this distribution, and is available at: + * http://www.apache.org/licenses/LICENSE-2.0.html + * + * Created on Sep 12, 2006 at Indiana University. + * + * Contributors: + * Indiana University - + * ***************************************************************************/ +package org.cishell.reference.gui.brand.cishell; + +import org.eclipse.jface.action.IAction; +import org.eclipse.jface.viewers.ISelection; +import org.eclipse.swt.widgets.Shell; +import org.eclipse.ui.IWorkbenchWindow; +import org.eclipse.ui.IWorkbenchWindowActionDelegate; +import org.eclipse.update.ui.UpdateManagerUI; + +public class UpdateAction implements IWorkbenchWindowActionDelegate { + Shell s; + + public void run(IAction action) { + UpdateManagerUI.openInstaller(s); + } + + public void init(IWorkbenchWindow window) { + s = window.getShell(); + } + public void dispose() {} + public void selectionChanged(IAction action, ISelection selection) {} +} Modified: trunk/clients/gui/org.cishell.reference.gui.workspace/src/org/cishell/reference/gui/workspace/ApplicationActionBarAdvisor.java =================================================================== --- trunk/clients/gui/org.cishell.reference.gui.workspace/src/org/cishell/reference/gui/workspace/ApplicationActionBarAdvisor.java 2006-09-12 21:03:09 UTC (rev 180) +++ trunk/clients/gui/org.cishell.reference.gui.workspace/src/org/cishell/reference/gui/workspace/ApplicationActionBarAdvisor.java 2006-09-12 23:16:48 UTC (rev 181) @@ -3,6 +3,7 @@ import org.eclipse.jface.action.GroupMarker; import org.eclipse.jface.action.IMenuManager; import org.eclipse.jface.action.MenuManager; +import org.eclipse.jface.action.Separator; import org.eclipse.ui.IWorkbenchActionConstants; import org.eclipse.ui.IWorkbenchWindow; import org.eclipse.ui.actions.ActionFactory; @@ -21,20 +22,19 @@ // them in the fill methods. This ensures that the actions aren't recreated // when fillActionBars is called with FILL_PROXY. private IWorkbenchAction exitAction; - private IWorkbenchAction aboutAction; - + private IWorkbenchAction aboutAction; public ApplicationActionBarAdvisor(IActionBarConfigurer configurer) { super(configurer); } protected void makeActions(final IWorkbenchWindow window) { + CIShellApplication.setWorkbench(window); // Creates the actions and registers them. // Registering is needed to ensure that key bindings work. // The corresponding commands keybindings are defined in the plugin.xml // file. Registering also provides automatic disposal of the actions // when the window is closed. - exitAction = ActionFactory.QUIT.create(window); register(exitAction); @@ -60,6 +60,7 @@ fileMenu.add(exitAction); //Help menu items + helpMenu.add(new Separator()); helpMenu.add(aboutAction); } Modified: trunk/clients/gui/org.cishell.reference.gui.workspace/src/org/cishell/reference/gui/workspace/CIShellApplication.java =================================================================== --- trunk/clients/gui/org.cishell.reference.gui.workspace/src/org/cishell/reference/gui/workspace/CIShellApplication.java 2006-09-12 21:03:09 UTC (rev 180) +++ trunk/clients/gui/org.cishell.reference.gui.workspace/src/org/cishell/reference/gui/workspace/CIShellApplication.java 2006-09-12 23:16:48 UTC (rev 181) @@ -3,6 +3,7 @@ import org.eclipse.core.runtime.IPlatformRunnable; import org.eclipse.jface.action.IMenuManager; import org.eclipse.swt.widgets.Display; +import org.eclipse.ui.IWorkbenchWindow; import org.eclipse.ui.PlatformUI; /** @@ -10,6 +11,7 @@ */ public class CIShellApplication implements IPlatformRunnable { private static IMenuManager menuManager; + private static IWorkbenchWindow workbench; /** * @see org.eclipse.core.runtime.IPlatformRunnable#run(java.lang.Object) @@ -27,11 +29,19 @@ } } - public static void setMenuManager(IMenuManager menuManager) { + protected static void setMenuManager(IMenuManager menuManager) { CIShellApplication.menuManager = menuManager; } public static IMenuManager getMenuManager() { return menuManager; } + + protected static void setWorkbench(IWorkbenchWindow workbench) { + CIShellApplication.workbench = workbench; + } + + public static IWorkbenchWindow getWorkbench() { + return CIShellApplication.workbench; + } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <bh...@us...> - 2006-09-13 20:48:09
|
Revision: 182 http://svn.sourceforge.net/cishell/?rev=182&view=rev Author: bh2 Date: 2006-09-13 13:47:59 -0700 (Wed, 13 Sep 2006) Log Message: ----------- moved the update and manage config action classes from the brand plugin to the generic workspace plugin and updated the plugin.xml to reflect that Modified Paths: -------------- trunk/clients/gui/org.cishell.reference.gui.brand.cishell/META-INF/MANIFEST.MF trunk/clients/gui/org.cishell.reference.gui.brand.cishell/plugin.xml trunk/clients/gui/org.cishell.reference.gui.workspace/META-INF/MANIFEST.MF trunk/clients/gui/org.cishell.reference.gui.workspace/src/org/cishell/reference/gui/workspace/CIShellApplication.java Added Paths: ----------- trunk/clients/gui/org.cishell.reference.gui.workspace/src/org/cishell/reference/gui/workspace/ManageConfigurationAction.java trunk/clients/gui/org.cishell.reference.gui.workspace/src/org/cishell/reference/gui/workspace/UpdateAction.java Removed Paths: ------------- trunk/clients/gui/org.cishell.reference.gui.brand.cishell/src/org/cishell/reference/gui/brand/cishell/ManageConfigurationAction.java trunk/clients/gui/org.cishell.reference.gui.brand.cishell/src/org/cishell/reference/gui/brand/cishell/UpdateAction.java Modified: trunk/clients/gui/org.cishell.reference.gui.brand.cishell/META-INF/MANIFEST.MF =================================================================== --- trunk/clients/gui/org.cishell.reference.gui.brand.cishell/META-INF/MANIFEST.MF 2006-09-12 23:16:48 UTC (rev 181) +++ trunk/clients/gui/org.cishell.reference.gui.brand.cishell/META-INF/MANIFEST.MF 2006-09-13 20:47:59 UTC (rev 182) @@ -5,11 +5,10 @@ Bundle-Version: 0.0.1.qualifier Bundle-Activator: org.cishell.reference.gui.brand.cishell.Activator Bundle-Localization: plugin -Require-Bundle: org.eclipse.ui, - org.eclipse.core.runtime, +Require-Bundle: org.eclipse.core.runtime, + org.eclipse.ui, org.cishell.reference.gui.datamanager, org.cishell.reference.gui.log, org.cishell.reference.gui.workspace, - org.cishell.reference.gui.menumanager, - org.eclipse.update.ui + org.cishell.reference.gui.menumanager Eclipse-LazyStart: true Modified: trunk/clients/gui/org.cishell.reference.gui.brand.cishell/plugin.xml =================================================================== --- trunk/clients/gui/org.cishell.reference.gui.brand.cishell/plugin.xml 2006-09-12 23:16:48 UTC (rev 181) +++ trunk/clients/gui/org.cishell.reference.gui.brand.cishell/plugin.xml 2006-09-13 20:47:59 UTC (rev 182) @@ -14,6 +14,9 @@ <property name="aboutText" value="%blurb"/> + <property + name="startupProgressRect" + value="0,163,500,10"/> </product> </extension> @@ -39,7 +42,7 @@ </extension> <extension point="org.eclipse.ui.startup"> - <startup/> + <startup class="org.cishell.reference.gui.brand.cishell.Activator"/> </extension> <extension point="org.eclipse.ui.actionSets"> @@ -48,14 +51,14 @@ label="Manager Action Set" visible="true"> <action - class="org.cishell.reference.gui.brand.cishell.ManageConfigurationAction" + class="org.cishell.reference.gui.workspace.ManageConfigurationAction" icon="icons/manage.gif" id="org.cishell.reference.gui.configuration.manager.action" label="Manage Configuration..." menubarPath="help/end" style="push"/> <action - class="org.cishell.reference.gui.brand.cishell.UpdateAction" + class="org.cishell.reference.gui.workspace.UpdateAction" icon="icons/findandinstall.gif" id="org.cishell.reference.gui.update.manager.action" label="Update..." Deleted: trunk/clients/gui/org.cishell.reference.gui.brand.cishell/src/org/cishell/reference/gui/brand/cishell/ManageConfigurationAction.java =================================================================== --- trunk/clients/gui/org.cishell.reference.gui.brand.cishell/src/org/cishell/reference/gui/brand/cishell/ManageConfigurationAction.java 2006-09-12 23:16:48 UTC (rev 181) +++ trunk/clients/gui/org.cishell.reference.gui.brand.cishell/src/org/cishell/reference/gui/brand/cishell/ManageConfigurationAction.java 2006-09-13 20:47:59 UTC (rev 182) @@ -1,35 +0,0 @@ -/* **************************************************************************** - * CIShell: Cyberinfrastructure Shell, An Algorithm Integration Framework. - * - * All rights reserved. This program and the accompanying materials are made - * available under the terms of the Apache License v2.0 which accompanies - * this distribution, and is available at: - * http://www.apache.org/licenses/LICENSE-2.0.html - * - * Created on Sep 12, 2006 at Indiana University. - * - * Contributors: - * Indiana University - - * ***************************************************************************/ -package org.cishell.reference.gui.brand.cishell; - -import org.eclipse.jface.action.IAction; -import org.eclipse.jface.viewers.ISelection; -import org.eclipse.swt.widgets.Shell; -import org.eclipse.ui.IWorkbenchWindow; -import org.eclipse.ui.IWorkbenchWindowActionDelegate; -import org.eclipse.update.ui.UpdateManagerUI; - -public class ManageConfigurationAction implements IWorkbenchWindowActionDelegate { - Shell s; - - public void run(IAction action) { - UpdateManagerUI.openConfigurationManager(s); - } - - public void init(IWorkbenchWindow window) { - s = window.getShell(); - } - public void dispose() {} - public void selectionChanged(IAction action, ISelection selection) {} -} Deleted: trunk/clients/gui/org.cishell.reference.gui.brand.cishell/src/org/cishell/reference/gui/brand/cishell/UpdateAction.java =================================================================== --- trunk/clients/gui/org.cishell.reference.gui.brand.cishell/src/org/cishell/reference/gui/brand/cishell/UpdateAction.java 2006-09-12 23:16:48 UTC (rev 181) +++ trunk/clients/gui/org.cishell.reference.gui.brand.cishell/src/org/cishell/reference/gui/brand/cishell/UpdateAction.java 2006-09-13 20:47:59 UTC (rev 182) @@ -1,35 +0,0 @@ -/* **************************************************************************** - * CIShell: Cyberinfrastructure Shell, An Algorithm Integration Framework. - * - * All rights reserved. This program and the accompanying materials are made - * available under the terms of the Apache License v2.0 which accompanies - * this distribution, and is available at: - * http://www.apache.org/licenses/LICENSE-2.0.html - * - * Created on Sep 12, 2006 at Indiana University. - * - * Contributors: - * Indiana University - - * ***************************************************************************/ -package org.cishell.reference.gui.brand.cishell; - -import org.eclipse.jface.action.IAction; -import org.eclipse.jface.viewers.ISelection; -import org.eclipse.swt.widgets.Shell; -import org.eclipse.ui.IWorkbenchWindow; -import org.eclipse.ui.IWorkbenchWindowActionDelegate; -import org.eclipse.update.ui.UpdateManagerUI; - -public class UpdateAction implements IWorkbenchWindowActionDelegate { - Shell s; - - public void run(IAction action) { - UpdateManagerUI.openInstaller(s); - } - - public void init(IWorkbenchWindow window) { - s = window.getShell(); - } - public void dispose() {} - public void selectionChanged(IAction action, ISelection selection) {} -} Modified: trunk/clients/gui/org.cishell.reference.gui.workspace/META-INF/MANIFEST.MF =================================================================== --- trunk/clients/gui/org.cishell.reference.gui.workspace/META-INF/MANIFEST.MF 2006-09-12 23:16:48 UTC (rev 181) +++ trunk/clients/gui/org.cishell.reference.gui.workspace/META-INF/MANIFEST.MF 2006-09-13 20:47:59 UTC (rev 182) @@ -6,7 +6,8 @@ Bundle-Activator: org.cishell.reference.gui.workspace.Activator Bundle-Localization: plugin Require-Bundle: org.eclipse.ui, - org.eclipse.core.runtime + org.eclipse.core.runtime, + org.eclipse.update.ui Eclipse-LazyStart: true Export-Package: org.cishell.reference.gui.workspace Import-Package: org.cishell.reference.gui.guibuilder.temp, Modified: trunk/clients/gui/org.cishell.reference.gui.workspace/src/org/cishell/reference/gui/workspace/CIShellApplication.java =================================================================== --- trunk/clients/gui/org.cishell.reference.gui.workspace/src/org/cishell/reference/gui/workspace/CIShellApplication.java 2006-09-12 23:16:48 UTC (rev 181) +++ trunk/clients/gui/org.cishell.reference.gui.workspace/src/org/cishell/reference/gui/workspace/CIShellApplication.java 2006-09-13 20:47:59 UTC (rev 182) @@ -3,13 +3,14 @@ import org.eclipse.core.runtime.IPlatformRunnable; import org.eclipse.jface.action.IMenuManager; import org.eclipse.swt.widgets.Display; +import org.eclipse.ui.IStartup; import org.eclipse.ui.IWorkbenchWindow; import org.eclipse.ui.PlatformUI; /** * This class controls all aspects of the application's execution */ -public class CIShellApplication implements IPlatformRunnable { +public class CIShellApplication implements IPlatformRunnable, IStartup { private static IMenuManager menuManager; private static IWorkbenchWindow workbench; @@ -44,4 +45,8 @@ public static IWorkbenchWindow getWorkbench() { return CIShellApplication.workbench; } + + public void earlyStartup() { + + } } Copied: trunk/clients/gui/org.cishell.reference.gui.workspace/src/org/cishell/reference/gui/workspace/ManageConfigurationAction.java (from rev 181, trunk/clients/gui/org.cishell.reference.gui.brand.cishell/src/org/cishell/reference/gui/brand/cishell/ManageConfigurationAction.java) =================================================================== --- trunk/clients/gui/org.cishell.reference.gui.workspace/src/org/cishell/reference/gui/workspace/ManageConfigurationAction.java (rev 0) +++ trunk/clients/gui/org.cishell.reference.gui.workspace/src/org/cishell/reference/gui/workspace/ManageConfigurationAction.java 2006-09-13 20:47:59 UTC (rev 182) @@ -0,0 +1,35 @@ +/* **************************************************************************** + * CIShell: Cyberinfrastructure Shell, An Algorithm Integration Framework. + * + * All rights reserved. This program and the accompanying materials are made + * available under the terms of the Apache License v2.0 which accompanies + * this distribution, and is available at: + * http://www.apache.org/licenses/LICENSE-2.0.html + * + * Created on Sep 12, 2006 at Indiana University. + * + * Contributors: + * Indiana University - + * ***************************************************************************/ +package org.cishell.reference.gui.workspace; + +import org.eclipse.jface.action.IAction; +import org.eclipse.jface.viewers.ISelection; +import org.eclipse.swt.widgets.Shell; +import org.eclipse.ui.IWorkbenchWindow; +import org.eclipse.ui.IWorkbenchWindowActionDelegate; +import org.eclipse.update.ui.UpdateManagerUI; + +public class ManageConfigurationAction implements IWorkbenchWindowActionDelegate { + Shell s; + + public void run(IAction action) { + UpdateManagerUI.openConfigurationManager(s); + } + + public void init(IWorkbenchWindow window) { + s = window.getShell(); + } + public void dispose() {} + public void selectionChanged(IAction action, ISelection selection) {} +} Copied: trunk/clients/gui/org.cishell.reference.gui.workspace/src/org/cishell/reference/gui/workspace/UpdateAction.java (from rev 181, trunk/clients/gui/org.cishell.reference.gui.brand.cishell/src/org/cishell/reference/gui/brand/cishell/UpdateAction.java) =================================================================== --- trunk/clients/gui/org.cishell.reference.gui.workspace/src/org/cishell/reference/gui/workspace/UpdateAction.java (rev 0) +++ trunk/clients/gui/org.cishell.reference.gui.workspace/src/org/cishell/reference/gui/workspace/UpdateAction.java 2006-09-13 20:47:59 UTC (rev 182) @@ -0,0 +1,35 @@ +/* **************************************************************************** + * CIShell: Cyberinfrastructure Shell, An Algorithm Integration Framework. + * + * All rights reserved. This program and the accompanying materials are made + * available under the terms of the Apache License v2.0 which accompanies + * this distribution, and is available at: + * http://www.apache.org/licenses/LICENSE-2.0.html + * + * Created on Sep 12, 2006 at Indiana University. + * + * Contributors: + * Indiana University - + * ***************************************************************************/ +package org.cishell.reference.gui.workspace; + +import org.eclipse.jface.action.IAction; +import org.eclipse.jface.viewers.ISelection; +import org.eclipse.swt.widgets.Shell; +import org.eclipse.ui.IWorkbenchWindow; +import org.eclipse.ui.IWorkbenchWindowActionDelegate; +import org.eclipse.update.ui.UpdateManagerUI; + +public class UpdateAction implements IWorkbenchWindowActionDelegate { + Shell s; + + public void run(IAction action) { + UpdateManagerUI.openInstaller(s); + } + + public void init(IWorkbenchWindow window) { + s = window.getShell(); + } + public void dispose() {} + public void selectionChanged(IAction action, ISelection selection) {} +} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <hu...@us...> - 2007-03-15 21:39:42
|
Revision: 381 http://svn.sourceforge.net/cishell/?rev=381&view=rev Author: huangb Date: 2007-03-15 14:39:40 -0700 (Thu, 15 Mar 2007) Log Message: ----------- Clean up code a bit Modified Paths: -------------- trunk/clients/gui/org.cishell.reference.gui.log/src/org/cishell/reference/gui/log/Activator.java trunk/clients/gui/org.cishell.reference.gui.log/src/org/cishell/reference/gui/log/LogToFile.java trunk/clients/gui/org.cishell.reference.gui.menumanager/src/org/cishell/reference/gui/menumanager/menu/AlgorithmAction.java Modified: trunk/clients/gui/org.cishell.reference.gui.log/src/org/cishell/reference/gui/log/Activator.java =================================================================== --- trunk/clients/gui/org.cishell.reference.gui.log/src/org/cishell/reference/gui/log/Activator.java 2007-03-15 21:33:40 UTC (rev 380) +++ trunk/clients/gui/org.cishell.reference.gui.log/src/org/cishell/reference/gui/log/Activator.java 2007-03-15 21:39:40 UTC (rev 381) @@ -3,10 +3,8 @@ import org.eclipse.ui.plugin.AbstractUIPlugin; import org.osgi.framework.BundleContext; -import org.osgi.service.log.LogEntry; import org.osgi.service.log.LogListener; import org.osgi.service.log.LogReaderService; -import org.osgi.service.log.LogService; import org.osgi.framework.ServiceReference; /** Modified: trunk/clients/gui/org.cishell.reference.gui.log/src/org/cishell/reference/gui/log/LogToFile.java =================================================================== --- trunk/clients/gui/org.cishell.reference.gui.log/src/org/cishell/reference/gui/log/LogToFile.java 2007-03-15 21:33:40 UTC (rev 380) +++ trunk/clients/gui/org.cishell.reference.gui.log/src/org/cishell/reference/gui/log/LogToFile.java 2007-03-15 21:39:40 UTC (rev 381) @@ -4,7 +4,6 @@ import org.osgi.service.log.LogEntry; import org.osgi.service.log.LogListener; -import org.osgi.service.log.LogService; import java.util.Calendar; import java.util.logging.FileHandler; @@ -14,7 +13,7 @@ import java.io.IOException; /** - * This is a basic implementation. It write log records to files + * This is a basic implementation. It writes log records to files * @author Weixia(Bonnie) Huang (hu...@in...) */ public class LogToFile implements LogListener { Modified: trunk/clients/gui/org.cishell.reference.gui.menumanager/src/org/cishell/reference/gui/menumanager/menu/AlgorithmAction.java =================================================================== --- trunk/clients/gui/org.cishell.reference.gui.menumanager/src/org/cishell/reference/gui/menumanager/menu/AlgorithmAction.java 2007-03-15 21:33:40 UTC (rev 380) +++ trunk/clients/gui/org.cishell.reference.gui.menumanager/src/org/cishell/reference/gui/menumanager/menu/AlgorithmAction.java 2007-03-15 21:39:40 UTC (rev 381) @@ -15,27 +15,22 @@ import java.util.ArrayList; import java.util.Arrays; -import java.util.Dictionary; -import java.util.Hashtable; import java.util.List; import org.cishell.app.service.datamanager.DataManagerListener; import org.cishell.app.service.datamanager.DataManagerService; import org.cishell.app.service.scheduler.SchedulerService; import org.cishell.framework.CIShellContext; -import org.cishell.framework.algorithm.AlgorithmFactory; import org.cishell.framework.algorithm.AlgorithmProperty; -import org.cishell.framework.algorithm.DataValidator; +//import org.cishell.framework.algorithm.DataValidator; import org.cishell.framework.data.Data; import org.cishell.service.conversion.Converter; import org.cishell.service.conversion.DataConversionService; -import org.cishell.service.guibuilder.GUIBuilderService; import org.eclipse.jface.action.Action; import org.osgi.framework.BundleContext; -import org.osgi.framework.Constants; +//import org.osgi.framework.Constants; import org.osgi.framework.ServiceReference; import org.osgi.service.log.LogService; -import org.osgi.service.metatype.MetaTypeProvider; public class AlgorithmAction extends Action implements AlgorithmProperty, DataManagerListener { @@ -182,7 +177,7 @@ //This method will be disabled until we can find a better solution //for extra validation beyond input/output checking - private boolean isValid() { +/* private boolean isValid() { String valid = null; String[] classes = (String[]) ref.getProperty(Constants.OBJECTCLASS); @@ -207,7 +202,7 @@ return valid == null || valid.length() == 0; } - +*/ private boolean isAsignableFrom(String type, Data datum) { Object data = datum.getData(); boolean assignable = false; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <hu...@us...> - 2007-05-17 18:50:20
|
Revision: 403 http://svn.sourceforge.net/cishell/?rev=403&view=rev Author: huangb Date: 2007-05-17 11:50:19 -0700 (Thu, 17 May 2007) Log Message: ----------- Update the Bundle-Version to 0.5.0 Modified Paths: -------------- trunk/clients/gui/org.cishell.reference.gui.log/META-INF/MANIFEST.MF trunk/clients/gui/org.cishell.reference.gui.menumanager/META-INF/MANIFEST.MF trunk/clients/gui/org.cishell.reference.gui.persistence/META-INF/MANIFEST.MF trunk/clients/gui/org.cishell.reference.gui.workspace/META-INF/MANIFEST.MF Modified: trunk/clients/gui/org.cishell.reference.gui.log/META-INF/MANIFEST.MF =================================================================== --- trunk/clients/gui/org.cishell.reference.gui.log/META-INF/MANIFEST.MF 2007-05-17 18:49:45 UTC (rev 402) +++ trunk/clients/gui/org.cishell.reference.gui.log/META-INF/MANIFEST.MF 2007-05-17 18:50:19 UTC (rev 403) @@ -2,7 +2,7 @@ Bundle-ManifestVersion: 2 Bundle-Name: Log GUI Plug-in Bundle-SymbolicName: org.cishell.reference.gui.log;singleton:=true -Bundle-Version: 0.3.0 +Bundle-Version: 0.5.0 Bundle-Activator: org.cishell.reference.gui.log.Activator Bundle-Localization: plugin Require-Bundle: org.eclipse.ui, Modified: trunk/clients/gui/org.cishell.reference.gui.menumanager/META-INF/MANIFEST.MF =================================================================== --- trunk/clients/gui/org.cishell.reference.gui.menumanager/META-INF/MANIFEST.MF 2007-05-17 18:49:45 UTC (rev 402) +++ trunk/clients/gui/org.cishell.reference.gui.menumanager/META-INF/MANIFEST.MF 2007-05-17 18:50:19 UTC (rev 403) @@ -2,7 +2,7 @@ Bundle-ManifestVersion: 2 Bundle-Name: Menu Manager Plug-in Bundle-SymbolicName: org.cishell.reference.gui.menumanager;singleton:=true -Bundle-Version: 0.4.0 +Bundle-Version: 0.5.0 Bundle-Activator: org.cishell.reference.gui.menumanager.Activator Bundle-Localization: plugin Require-Bundle: org.eclipse.ui, Modified: trunk/clients/gui/org.cishell.reference.gui.persistence/META-INF/MANIFEST.MF =================================================================== --- trunk/clients/gui/org.cishell.reference.gui.persistence/META-INF/MANIFEST.MF 2007-05-17 18:49:45 UTC (rev 402) +++ trunk/clients/gui/org.cishell.reference.gui.persistence/META-INF/MANIFEST.MF 2007-05-17 18:50:19 UTC (rev 403) @@ -2,7 +2,7 @@ Bundle-ManifestVersion: 2 Bundle-Name: Persistence Plug-in Bundle-SymbolicName: org.cishell.reference.gui.persistence;singleton:=true -Bundle-Version: 0.3.0 +Bundle-Version: 0.5.0 Bundle-ClassPath: . Bundle-Localization: plugin Import-Package: org.cishell.app.service.datamanager, Modified: trunk/clients/gui/org.cishell.reference.gui.workspace/META-INF/MANIFEST.MF =================================================================== --- trunk/clients/gui/org.cishell.reference.gui.workspace/META-INF/MANIFEST.MF 2007-05-17 18:49:45 UTC (rev 402) +++ trunk/clients/gui/org.cishell.reference.gui.workspace/META-INF/MANIFEST.MF 2007-05-17 18:50:19 UTC (rev 403) @@ -2,7 +2,7 @@ Bundle-ManifestVersion: 2 Bundle-Name: CIShell Reference GUI Workspace Plug-in Bundle-SymbolicName: org.cishell.reference.gui.workspace; singleton:=true -Bundle-Version: 0.3.0 +Bundle-Version: 0.5.0 Bundle-Activator: org.cishell.reference.gui.workspace.Activator Bundle-Localization: plugin Require-Bundle: org.eclipse.ui, This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <fu...@us...> - 2008-03-25 14:58:23
|
Revision: 690 http://cishell.svn.sourceforge.net/cishell/?rev=690&view=rev Author: fugu13 Date: 2008-03-25 07:57:57 -0700 (Tue, 25 Mar 2008) Log Message: ----------- Verified no need to update for changes in algorithm and such. Updated version numbers. Modified Paths: -------------- trunk/clients/gui/org.cishell.reference.gui.guibuilder.swt/META-INF/MANIFEST.MF trunk/clients/gui/org.cishell.reference.gui.scheduler/META-INF/MANIFEST.MF Modified: trunk/clients/gui/org.cishell.reference.gui.guibuilder.swt/META-INF/MANIFEST.MF =================================================================== --- trunk/clients/gui/org.cishell.reference.gui.guibuilder.swt/META-INF/MANIFEST.MF 2008-03-25 14:53:56 UTC (rev 689) +++ trunk/clients/gui/org.cishell.reference.gui.guibuilder.swt/META-INF/MANIFEST.MF 2008-03-25 14:57:57 UTC (rev 690) @@ -2,7 +2,7 @@ Bundle-ManifestVersion: 2 Bundle-Name: GUI Builder Reference Implementation Using SWT Bundle-SymbolicName: org.cishell.reference.gui.guibuilder.swt -Bundle-Version: 0.6.0 +Bundle-Version: 1.0.0 Bundle-Localization: plugin Import-Package: org.cishell.framework, org.cishell.service.guibuilder, Modified: trunk/clients/gui/org.cishell.reference.gui.scheduler/META-INF/MANIFEST.MF =================================================================== --- trunk/clients/gui/org.cishell.reference.gui.scheduler/META-INF/MANIFEST.MF 2008-03-25 14:53:56 UTC (rev 689) +++ trunk/clients/gui/org.cishell.reference.gui.scheduler/META-INF/MANIFEST.MF 2008-03-25 14:57:57 UTC (rev 690) @@ -2,7 +2,7 @@ Bundle-ManifestVersion: 2 Bundle-Name: Scheduler GUI Plug-in Bundle-SymbolicName: org.cishell.reference.gui.scheduler;singleton:=true -Bundle-Version: 0.4.0 +Bundle-Version: 1.0.0 Bundle-Activator: org.cishell.reference.gui.scheduler.Activator Bundle-Localization: plugin Require-Bundle: org.eclipse.ui, This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |