Révision 378

tmp/org.txm.rcp/src/main/java/org/txm/rcp/commands/BackToTextCommand.java (revision 378)
1
package org.txm.rcp.commands;
2

  
3
import org.eclipse.core.commands.AbstractHandler;
4
import org.eclipse.core.commands.ExecutionEvent;
5
import org.eclipse.core.commands.ExecutionException;
6
import org.txm.concordances.functions.Line;
7
import org.txm.rcp.editors.concordances.ConcordancesEditor;
8

  
9
public abstract class BackToTextCommand extends AbstractHandler {
10

  
11
	protected String name = "BackToText"; //$NON-NLS-1$
12
	@Override
13
	public abstract Object execute(ExecutionEvent event) throws ExecutionException;
14
	
15
	public boolean backToText(ConcordancesEditor editor, Line line) {
16
		return false;
17
	}
18
}

Formats disponibles : Unified diff