Class FakeEditorContext<T>
java.lang.Object
com.google.gwt.editor.client.testing.FakeEditorContext<T>
- Type Parameters:
T- the type of data not being edited
- All Implemented Interfaces:
EditorContext<T>
A no-op implementation of EditorContext for testing.
-
Field Summary
Fields inherited from interface com.google.gwt.editor.client.EditorContext
ROOT_PATH -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCompositeEditor<T,?, ?> Returnsnull.Returnsnull.Returnsnull.Returnsnull.Returnsnull.booleanReturnsfalse.checkAssignment(Object value) Returnsvaluevia an unchecked generic cast.ReturnsEditorContext.ROOT_PATH.Returnsnull.Returnsnull.Returnsnull.Returnsnull.voidsetInModel(T data) A no-op.voidNo-op.
-
Constructor Details
-
FakeEditorContext
public FakeEditorContext()
-
-
Method Details
-
asCompositeEditor
Returnsnull.- Specified by:
asCompositeEditorin interfaceEditorContext<T>
-
asHasEditorDelegate
Returnsnull.- Specified by:
asHasEditorDelegatein interfaceEditorContext<T>
-
asHasEditorErrors
Returnsnull.- Specified by:
asHasEditorErrorsin interfaceEditorContext<T>
-
asLeafValueEditor
Returnsnull.- Specified by:
asLeafValueEditorin interfaceEditorContext<T>
-
asValueAwareEditor
Returnsnull.- Specified by:
asValueAwareEditorin interfaceEditorContext<T>
-
canSetInModel
public boolean canSetInModel()Returnsfalse.- Specified by:
canSetInModelin interfaceEditorContext<T>
-
checkAssignment
Returnsvaluevia an unchecked generic cast.- Specified by:
checkAssignmentin interfaceEditorContext<T>- Parameters:
value- any value, includingnull- Returns:
valuecast to theTtype
-
getAbsolutePath
ReturnsEditorContext.ROOT_PATH.- Specified by:
getAbsolutePathin interfaceEditorContext<T>
-
getEditedType
Returnsnull.- Specified by:
getEditedTypein interfaceEditorContext<T>
-
getEditor
Returnsnull.- Specified by:
getEditorin interfaceEditorContext<T>
-
getEditorDelegate
Returnsnull.- Specified by:
getEditorDelegatein interfaceEditorContext<T>
-
getFromModel
Returnsnull.- Specified by:
getFromModelin interfaceEditorContext<T>
-
setInModel
A no-op.- Specified by:
setInModelin interfaceEditorContext<T>
-
traverseSyntheticCompositeEditor
No-op.- Specified by:
traverseSyntheticCompositeEditorin interfaceEditorContext<T>
-