wip #34 - updating the decoder editors to the new editor format

This commit is contained in:
denny
2016-03-21 18:30:19 -04:00
parent d93f497b33
commit e89e7bd361
6 changed files with 53 additions and 49 deletions

View File

@@ -30,8 +30,7 @@ public class EmptyValidatingEditor<T> extends ValidatingEditor<T>
}
@Override
public boolean isValid( Editor<T> editor ) throws EditorValidationException
public void validate( Editor<T> editor ) throws EditorValidationException
{
return true;
}
}

View File

@@ -11,5 +11,5 @@ public abstract class ValidatingEditor<T> extends Editor<T>
/**
* Indicates if the editor argument is valid according to the settings of this editor
*/
public abstract boolean isValid( Editor<T> editor ) throws EditorValidationException;
public abstract void validate( Editor<T> editor ) throws EditorValidationException;
}