Project

General

Profile

« Previous | Next » 

Revision f18e39bb

Added by Niels Hoffmann over 12 years ago

Taxon Relationship type is now editable in details view

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/store/StoreUtil.java
15 15
import org.eclipse.core.commands.operations.IOperationHistory;
16 16
import org.eclipse.core.commands.operations.IUndoContext;
17 17
import org.eclipse.jface.action.IStatusLineManager;
18
import org.eclipse.ui.IEditorInput;
19
import org.eclipse.ui.IEditorPart;
18 20

  
19 21
import eu.etaxonomy.taxeditor.model.AbstractUtility;
20 22
import eu.etaxonomy.taxeditor.store.internal.TaxeditorStorePlugin;
......
77 79
	protected static String getPluginId(){
78 80
		return TaxeditorStorePlugin.PLUGIN_ID;
79 81
	}
82

  
83
	/**
84
	 * 
85
	 * @return
86
	 */
87
	public static IEditorInput getActiveEditorInput() {
88
		IEditorPart activeEditor = getActiveEditor();
89
		if (activeEditor != null){
90
			return activeEditor.getEditorInput();
91
		}
92
		return null;
93
	}
80 94
}

Also available in: Unified diff