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


Java OpenEditorCallback类代码示例

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


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

示例1: initializeEditor

import org.eclipse.che.ide.api.editor.EditorAgent.OpenEditorCallback; //导入依赖的package包/类
@Override
protected void initializeEditor(OpenEditorCallback callback) {
}
 
开发者ID:convertigo,项目名称:convertigo-che-assembly,代码行数:4,代码来源:GraphicEditorsViewPresenter.java

示例2: createEditor

import org.eclipse.che.ide.api.editor.EditorAgent.OpenEditorCallback; //导入依赖的package包/类
private void createEditor(final String content, OpenEditorCallback openEditorCallback) {
  this.fileTypes = detectFileType(getEditorInput().getFile());
  editorWidgetFactory.createEditorWidget(
      fileTypes, new EditorWidgetInitializedCallback(content, openEditorCallback));
}
 
开发者ID:eclipse,项目名称:che,代码行数:6,代码来源:OrionEditorPresenter.java

示例3: EditorWidgetInitializedCallback

import org.eclipse.che.ide.api.editor.EditorAgent.OpenEditorCallback; //导入依赖的package包/类
private EditorWidgetInitializedCallback(String content, OpenEditorCallback openEditorCallback) {
  this.content = content;
  this.openEditorCallback = openEditorCallback;
}
 
开发者ID:eclipse,项目名称:che,代码行数:5,代码来源:OrionEditorPresenter.java

示例4: init

import org.eclipse.che.ide.api.editor.EditorAgent.OpenEditorCallback; //导入依赖的package包/类
/** {@inheritDoc} */
@Override
public void init(@NotNull EditorInput input, final OpenEditorCallback callback) {
  this.input = input;
  initializeEditor(callback);
}
 
开发者ID:eclipse,项目名称:che,代码行数:7,代码来源:AbstractEditorPresenter.java

示例5: initializeEditor

import org.eclipse.che.ide.api.editor.EditorAgent.OpenEditorCallback; //导入依赖的package包/类
/** Initializes this editor. */
protected abstract void initializeEditor(final OpenEditorCallback callback);
 
开发者ID:eclipse,项目名称:che,代码行数:3,代码来源:AbstractEditorPresenter.java

示例6: initializeEditor

import org.eclipse.che.ide.api.editor.EditorAgent.OpenEditorCallback; //导入依赖的package包/类
/** {@inheritDoc} */
@Override
protected void initializeEditor(OpenEditorCallback callback) {
  callback.onEditorOpened(this);
}
 
开发者ID:eclipse,项目名称:che,代码行数:6,代码来源:ImageViewer.java

示例7: init

import org.eclipse.che.ide.api.editor.EditorAgent.OpenEditorCallback; //导入依赖的package包/类
/**
 * Initializes this editor with the given input.
 *
 * <p>This method is automatically called shortly after the part is instantiated. It marks the
 * start of the part's lifecycle.
 *
 * <p>Implementors of this method must examine the editor input object type to determine if it is
 * understood. If not, the implementor must throw a <code>PartInitException</code>
 *
 * @param input the editor input
 * @param callback callback with actions which should be performed when editor was initialized
 */
void init(@NotNull EditorInput input, OpenEditorCallback callback);
 
开发者ID:eclipse,项目名称:che,代码行数:14,代码来源:EditorPartPresenter.java


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