Changeset 5691
- Timestamp:
- Aug 11, 2011, 12:45:58 PM (12 years ago)
- Location:
- trunk/src
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/clients/web/net/sf/basedb/clients/web/extensions/ExtensionsControl.java
r5617 r5691 509 509 in the request form. 510 510 511 a manual scan for new/updated/deleted extensions. 512 If <code>forceUpdate</code> is TRUE all extensions are updated, 513 which means that the definitions are re-loaded and resource 514 files are extracted even if nothing has changed. 515 516 @param forceUpdate TRUE to force an update for unmodified 517 extensions, FALSE otherwise 511 @param request The HTTP request with parameters 518 512 @throws PermissionDeniedException If the logged in user doesn't 519 513 have WRITE permission -
trunk/src/clients/web/net/sf/basedb/clients/web/extensions/JspContext.java
r5689 r5691 146 146 public String getHome(Extension extension) 147 147 { 148 // TODO (#1593) 149 //ExtensionsFile file = directory.getFileByExtensionId(extension.getId()); 150 //return file == null ? null : directory.getResourcesUrl(file); 151 return null; 148 return ExtensionsControl.getHomeUrl(extension.getId()); 152 149 } 153 150 -
trunk/src/clients/web/net/sf/basedb/clients/web/extensions/UninstallFilter.java
r5616 r5691 1 /** 2 $Id $ 3 4 Copyright (C) 2011 Nicklas Nordborg 5 6 This file is part of BASE - BioArray Software Environment. 7 Available at http://base.thep.lu.se/ 8 9 BASE is free software; you can redistribute it and/or 10 modify it under the terms of the GNU General Public License 11 as published by the Free Software Foundation; either version 3 12 of the License, or (at your option) any later version. 13 14 BASE is distributed in the hope that it will be useful, 15 but WITHOUT ANY WARRANTY; without even the implied warranty of 16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 GNU General Public License for more details. 18 19 You should have received a copy of the GNU General Public License 20 along with BASE. If not, see <http://www.gnu.org/licenses/>. 21 */ 1 22 package net.sf.basedb.clients.web.extensions; 2 23 … … 7 28 import net.sf.basedb.util.filter.Filter; 8 29 30 /** 31 Filter implementation that selects only those extensions that 32 was selected for uninstallation by the user in the gui. Eg. if the request 33 parameter <i>filename</i>.uninstall is set. 34 @author Nicklas 35 @since 3.0 36 @base.modified $Date $ 37 */ 9 38 public class UninstallFilter 10 39 implements Filter<ExtensionsFile> -
trunk/src/core/net/sf/basedb/util/extensions/manager/ExtensionsFile.java
r5617 r5691 305 305 Re-validation of modified files are usually performed 306 306 by the extensions manager by calling 307 {@link ExtensionsManager#scanFor NewAndUpdated()}307 {@link ExtensionsManager#scanForChanges()} 308 308 309 309 <p> -
trunk/src/core/net/sf/basedb/util/extensions/manager/ExtensionsManager.java
r5617 r5691 281 281 /** 282 282 Get the number of new files that was found in the last 283 call to {@link #scanFor NewAndUpdated()}.283 call to {@link #scanForChanges()}. 284 284 */ 285 285 public int getNumNew() … … 290 290 /** 291 291 Get the number of modified files that was found in the last 292 call to {@link #scanFor NewAndUpdated()}.292 call to {@link #scanForChanges()}. 293 293 */ 294 294 public int getNumModified() … … 299 299 /** 300 300 Get the number of unmodified files that was found in the last 301 call to {@link #scanFor NewAndUpdated()}.301 call to {@link #scanForChanges()}. 302 302 */ 303 303 public int getNumUnmodified() … … 308 308 /** 309 309 Get the number of deleted files that was found in the last 310 call to {@link #scanFor NewAndUpdated()}.310 call to {@link #scanForChanges()}. 311 311 */ 312 312 public int getNumDeleted() -
trunk/src/core/net/sf/basedb/util/extensions/manager/PluginInfoKey.java
r5615 r5691 51 51 52 52 /** 53 Create a new key for an extension.54 @param ext The extension point(required)53 Create a new key for an plug-in definition. 54 @param info Information about the plug-in (required) 55 55 */ 56 56 public PluginInfoKey(PluginInfo info) -
trunk/src/core/net/sf/basedb/util/extensions/manager/processor/RegisterExtensionsProcessor.java
r5616 r5691 54 54 The second step is either automatically executed when all files 55 55 have been processed or executed by by calling 56 {@link #finalizeRegistration(ExtensionsManager )}.56 {@link #finalizeRegistration(ExtensionsManager, boolean)}. 57 57 <p> 58 58 Note! It is recommended that this processor is paired with a … … 165 165 it happend when the {@link #done(ExtensionsManager)} method is 166 166 called by the manager. If this flag is set the 167 {@link #finalizeRegistration(ExtensionsManager )}167 {@link #finalizeRegistration(ExtensionsManager, boolean)} 168 168 method must be explicitely called. 169 169 */
Note: See TracChangeset
for help on using the changeset viewer.