Example usage for org.springframework.ide.eclipse.ui SpringUIUtils openInEditor

List of usage examples for org.springframework.ide.eclipse.ui SpringUIUtils openInEditor

Introduction

In this page you can find the example usage for org.springframework.ide.eclipse.ui SpringUIUtils openInEditor.

Prototype

public static IEditorPart openInEditor(IEditorInput input, String editorId) 

Source Link

Usage

From source file:org.eclipse.virgo.ide.runtime.internal.ui.actions.OpenManifestAction.java

private void openResource(IResource resource) {
    if (resource instanceof IFile) {
        SpringUIUtils.openInEditor((IFile) resource, -1);
    }
}