Ignore:
Timestamp:
2006-03-16T14:42:37+13:00 (18 years ago)
Author:
mdewsnip
Message:

Now looks at a plugin's block_exp as well as its process_exp to determine if it will "process" a file.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/cdm/PluginManager.java

    r11130 r11378  
    140140    for (int i = 0; i < super.getSize(); i++) {
    141141        Plugin assigned_plugin = (Plugin) getElementAt(i);
    142         if (assigned_plugin.isSeparator() == false && assigned_plugin.doesProcessFile(file) == true) {
     142        if (assigned_plugin.isSeparator() == false && (assigned_plugin.doesProcessFile(file) == true || assigned_plugin.doesBlockFile(file) == true)) {
    143143        // This file will be processed by an assigned plugin, so no suggestion is necessary
    144144        DebugStream.println("Processed by assigned plugin: " + assigned_plugin);
Note: See TracChangeset for help on using the changeset viewer.