當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。