org.eclipse.xtext.xbase.ui.editor
Class JavaEditorInputMatcher

java.lang.Object
  extended by org.eclipse.xtext.xbase.ui.editor.JavaEditorInputMatcher
All Implemented Interfaces:
org.eclipse.ui.IEditorMatchingStrategy

public class JavaEditorInputMatcher
extends java.lang.Object
implements org.eclipse.ui.IEditorMatchingStrategy

This strategy matches existing Xbase editors to Java editor input.

Author:
Sebastian Zarnekow - Initial contribution and API

Constructor Summary
JavaEditorInputMatcher()
           
 
Method Summary
 boolean matches(org.eclipse.ui.IEditorReference editorRef, org.eclipse.ui.IEditorInput newInput)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaEditorInputMatcher

public JavaEditorInputMatcher()
Method Detail

matches

public boolean matches(org.eclipse.ui.IEditorReference editorRef,
                       org.eclipse.ui.IEditorInput newInput)
Specified by:
matches in interface org.eclipse.ui.IEditorMatchingStrategy