当前位置: 首页>>代码示例>>Java>>正文


Java EditorDelegate类代码示例

本文整理汇总了Java中com.google.gwt.editor.client.EditorDelegate的典型用法代码示例。如果您正苦于以下问题:Java EditorDelegate类的具体用法?Java EditorDelegate怎么用?Java EditorDelegate使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


EditorDelegate类属于com.google.gwt.editor.client包,在下文中一共展示了EditorDelegate类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: testCreateEditorForTraversal

import com.google.gwt.editor.client.EditorDelegate; //导入依赖的package包/类
@Test
public void testCreateEditorForTraversal() {
    presenter.createEditorForTraversal();
    verify(listEditor, times(1)).createEditorForTraversal();
    verify(listEditor, times(0)).getPathElement(any(DataColumnDefEditor.class));
    verify(listEditor, times(0)).setEditorChain(any(CompositeEditor.EditorChain.class));
    verify(listEditor, times(0)).setDelegate(any(EditorDelegate.class));
    verify(listEditor, times(0)).flush();
    verify(listEditor, times(0)).onPropertyChange(anyString());
    verify(listEditor, times(0)).setValue(any(List.class));
}
 
开发者ID:kiegroup,项目名称:appformer,代码行数:12,代码来源:ColumnListEditorTest.java

示例2: testGetPathElement

import com.google.gwt.editor.client.EditorDelegate; //导入依赖的package包/类
@Test
public void testGetPathElement() {
    presenter.getPathElement(dataColumnDefEditor);
    verify(listEditor, times(1)).getPathElement(dataColumnDefEditor);
    verify(listEditor, times(0)).createEditorForTraversal();
    verify(listEditor, times(0)).setEditorChain(any(CompositeEditor.EditorChain.class));
    verify(listEditor, times(0)).setDelegate(any(EditorDelegate.class));
    verify(listEditor, times(0)).flush();
    verify(listEditor, times(0)).onPropertyChange(anyString());
    verify(listEditor, times(0)).setValue(any(List.class));
}
 
开发者ID:kiegroup,项目名称:appformer,代码行数:12,代码来源:ColumnListEditorTest.java

示例3: testSetEditorChain

import com.google.gwt.editor.client.EditorDelegate; //导入依赖的package包/类
@Test
public void testSetEditorChain() {
    final CompositeEditor.EditorChain<DataColumnDef, org.dashbuilder.dataset.client.editor.DataColumnDefEditor> chain = mock(CompositeEditor.EditorChain.class);
    presenter.setEditorChain(chain);
    verify(listEditor, times(1)).setEditorChain(chain);
    verify(listEditor, times(0)).createEditorForTraversal();
    verify(listEditor, times(0)).getPathElement(any(DataColumnDefEditor.class));
    verify(listEditor, times(0)).setDelegate(any(EditorDelegate.class));
    verify(listEditor, times(0)).flush();
    verify(listEditor, times(0)).onPropertyChange(anyString());
    verify(listEditor, times(0)).setValue(any(List.class));
}
 
开发者ID:kiegroup,项目名称:appformer,代码行数:13,代码来源:ColumnListEditorTest.java

示例4: testSetDelegate

import com.google.gwt.editor.client.EditorDelegate; //导入依赖的package包/类
@Test
public void testSetDelegate() {
    final EditorDelegate<List<DataColumnDef>> delegate = mock(EditorDelegate.class);
    presenter.setDelegate(delegate);
    verify(listEditor, times(1)).setDelegate(delegate);
    verify(listEditor, times(0)).createEditorForTraversal();
    verify(listEditor, times(0)).getPathElement(any(DataColumnDefEditor.class));
    verify(listEditor, times(0)).setEditorChain(any(CompositeEditor.EditorChain.class));
    verify(listEditor, times(0)).flush();
    verify(listEditor, times(0)).onPropertyChange(anyString());
    verify(listEditor, times(0)).setValue(any(List.class));
}
 
开发者ID:kiegroup,项目名称:appformer,代码行数:13,代码来源:ColumnListEditorTest.java

示例5: testFlush

import com.google.gwt.editor.client.EditorDelegate; //导入依赖的package包/类
@Test
public void testFlush() {
    presenter.flush();
    verify(listEditor, times(1)).flush();
    verify(listEditor, times(0)).createEditorForTraversal();
    verify(listEditor, times(0)).getPathElement(any(DataColumnDefEditor.class));
    verify(listEditor, times(0)).setEditorChain(any(CompositeEditor.EditorChain.class));
    verify(listEditor, times(0)).setDelegate(any(EditorDelegate.class));
    verify(listEditor, times(0)).onPropertyChange(anyString());
    verify(listEditor, times(0)).setValue(any(List.class));
}
 
开发者ID:kiegroup,项目名称:appformer,代码行数:12,代码来源:ColumnListEditorTest.java

示例6: testOnPropertyChange

import com.google.gwt.editor.client.EditorDelegate; //导入依赖的package包/类
@Test
public void testOnPropertyChange() {
    final String s = "prop1";
    presenter.onPropertyChange(s);
    verify(listEditor, times(1)).onPropertyChange(s);
    verify(listEditor, times(0)).createEditorForTraversal();
    verify(listEditor, times(0)).getPathElement(any(DataColumnDefEditor.class));
    verify(listEditor, times(0)).setEditorChain(any(CompositeEditor.EditorChain.class));
    verify(listEditor, times(0)).setDelegate(any(EditorDelegate.class));
    verify(listEditor, times(0)).flush();
    verify(listEditor, times(0)).setValue(any(List.class));
}
 
开发者ID:kiegroup,项目名称:appformer,代码行数:13,代码来源:ColumnListEditorTest.java

示例7: testSetValue

import com.google.gwt.editor.client.EditorDelegate; //导入依赖的package包/类
@Test
public void testSetValue() {
    final List<DataColumnDef> value = mock(List.class);
    presenter.setValue(value);
    verify(listEditor, times(1)).setValue(value);
    verify(listEditor, times(0)).createEditorForTraversal();
    verify(listEditor, times(0)).getPathElement(any(DataColumnDefEditor.class));
    verify(listEditor, times(0)).setEditorChain(any(CompositeEditor.EditorChain.class));
    verify(listEditor, times(0)).setDelegate(any(EditorDelegate.class));
    verify(listEditor, times(0)).flush();
    verify(listEditor, times(0)).onPropertyChange(anyString());
}
 
开发者ID:kiegroup,项目名称:appformer,代码行数:13,代码来源:ColumnListEditorTest.java

示例8: setDelegate

import com.google.gwt.editor.client.EditorDelegate; //导入依赖的package包/类
@Override
public void setDelegate(EditorDelegate<ProjectAccess> delegate) {}
 
开发者ID:gerrit-review,项目名称:gerrit,代码行数:3,代码来源:ProjectAccessEditor.java

示例9: setDelegate

import com.google.gwt.editor.client.EditorDelegate; //导入依赖的package包/类
@Override
public void setDelegate(EditorDelegate<Permission> delegate) {}
 
开发者ID:gerrit-review,项目名称:gerrit,代码行数:3,代码来源:PermissionEditor.java

示例10: setDelegate

import com.google.gwt.editor.client.EditorDelegate; //导入依赖的package包/类
@Override
public void setDelegate(EditorDelegate<AccessSection> delegate) {}
 
开发者ID:gerrit-review,项目名称:gerrit,代码行数:3,代码来源:AccessSectionEditor.java

示例11: setDelegate

import com.google.gwt.editor.client.EditorDelegate; //导入依赖的package包/类
@Override
public void setDelegate(EditorDelegate<PermissionRule> delegate) {}
 
开发者ID:gerrit-review,项目名称:gerrit,代码行数:3,代码来源:PermissionRuleEditor.java

示例12: setDelegate

import com.google.gwt.editor.client.EditorDelegate; //导入依赖的package包/类
@Override
public void setDelegate(final EditorDelegate<DataSetFilter> delegate) {
    // No delegation required.
}
 
开发者ID:kiegroup,项目名称:appformer,代码行数:5,代码来源:DataSetDefFilterEditor.java

示例13: setDelegate

import com.google.gwt.editor.client.EditorDelegate; //导入依赖的package包/类
@Override
public void setDelegate(final EditorDelegate<List<DataColumnDef>> delegate) {
    listEditor.setDelegate(delegate);
}
 
开发者ID:kiegroup,项目名称:appformer,代码行数:5,代码来源:ColumnListEditor.java

示例14: setDelegate

import com.google.gwt.editor.client.EditorDelegate; //导入依赖的package包/类
@Override
public void setDelegate(final EditorDelegate<T> delegate) {
    // No delegation required.
}
 
开发者ID:kiegroup,项目名称:appformer,代码行数:5,代码来源:DataSetEditor.java

示例15: setDelegate

import com.google.gwt.editor.client.EditorDelegate; //导入依赖的package包/类
@Override
public void setDelegate(final EditorDelegate<SQLDataSetDef> delegate) {
    // No delegation required.
}
 
开发者ID:kiegroup,项目名称:appformer,代码行数:5,代码来源:SQLDataSetDefAttributesEditor.java


注:本文中的com.google.gwt.editor.client.EditorDelegate类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。