import org.apache.log4j.Logger;
import org.eclipse.core.expressions.PropertyTester;
-
import org.eclipse.ui.IEditorInput;
import eu.etaxonomy.taxeditor.bulkeditor.BulkEditor;
private static final String IS_MERGING_ENABLED = "isMergingEnabled";
- private static final String IS_GROUP_EDITOR = "isGroupEditor";
+ public static final String IS_GROUP_EDITOR = "isGroupEditor";
public static final String IS_DERIVED_UNIT_EDITOR = "isDerivedUnitEditor";
public static final String IS_TAXON_EDITOR = "isTaxonEditor";
public static final String IS_CONVERT_ENABLED = "isConvertingEnabled";
public boolean test(Object receiver, String property, Object[] args,
Object expectedValue) {
BulkEditor bulkEditor = null;
-
-
+
+
bulkEditor = (BulkEditor) receiver;
if (IS_MERGING_ENABLED.equals(property)) {
IEditorInput input = bulkEditor.getEditorInput();
else if(IS_TAXON_EDITOR.equals(property)){
return bulkEditor.getEditorInput() instanceof TaxonEditorInput;
}
-
+
// if (("isPublishFlagEditingEnabled").equals(property)) {
// IEditorInput input = bulkEditor.getEditorInput();
// if (input instanceof NameEditorInput) {