Project

General

Profile

« Previous | Next » 

Revision cd6e99b3

Added by Patrick Plitzner almost 6 years ago

Initial import of handler for opening taxa from navigator in bulk editor

View differences:

eu.etaxonomy.taxeditor.bulkeditor/plugin.xml
299 299
            id="eu.etaxonomy.taxeditor.openReferencingObjectsView"
300 300
            name="%command.name.OPEN_REFERENCING_OBJECTS_VIEW">
301 301
      </command>
302
      <command
303
            defaultHandler="eu.etaxonomy.taxeditor.bulkeditor.handler.defaultHandler.OpenBulkEditorForTaxonNodeHandler"
304
            id="eu.etaxonomy.taxeditor.bulkeditor.openBulkEditorForTaxonNode"
305
            name="Open bulk editor for taxon  node">
306
      </command>
302 307
      <!--command
303 308
            defaultHandler="eu.etaxonomy.taxeditor.bulkeditor.handler.NewEntityHandler"
304 309
            id="eu.etaxonomy.taxeditor.bulkeditor.command.new"
......
509 514
            selection="java.lang.Object"
510 515
            viewerName="Referencing Objects View">
511 516
      </viewCommandMapping>
517
      <viewCommandMapping
518
            commandId="eu.etaxonomy.taxeditor.bulkeditor.openBulkEditorForTaxonNode"
519
            selection="eu.etaxonomy.cdm.model.taxon.TaxonNode"
520
            viewerName="Bulk Editor">
521
      </viewCommandMapping>
512 522
   </extension>
513 523
<!-- start set marker -->
514 524

  
eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/handler/defaultHandler/OpenBulkEditorForTaxonNodeHandler.java
1
package eu.etaxonomy.taxeditor.bulkeditor.handler.defaultHandler;
2

  
3
import org.eclipse.core.commands.AbstractHandler;
4
import org.eclipse.core.commands.ExecutionEvent;
5
import org.eclipse.core.commands.ExecutionException;
6

  
7
public class OpenBulkEditorForTaxonNodeHandler extends AbstractHandler {
8

  
9
	@Override
10
	public Object execute(ExecutionEvent event) throws ExecutionException {
11
		System.out.println("event");
12
		return null;
13
	}
14

  
15
}

Also available in: Unified diff