com.pvx.ooadide.editors
Class XEditorMatchingStrategy

java.lang.Object
  extended by com.pvx.ooadide.editors.XEditorMatchingStrategy
All Implemented Interfaces:
org.eclipse.ui.IEditorMatchingStrategy

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


Constructor Summary
XEditorMatchingStrategy()
           
 
Method Summary
static boolean isFileOpenAlready(org.eclipse.ui.IEditorReference editorRef, org.eclipse.core.resources.IFile file)
           
static org.eclipse.ui.IEditorReference isFileOpenAlready(org.eclipse.core.resources.IFile file)
           
 boolean matches(org.eclipse.ui.IEditorReference editorRef, org.eclipse.ui.IEditorInput input)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XEditorMatchingStrategy

public XEditorMatchingStrategy()
Method Detail

matches

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

isFileOpenAlready

public static org.eclipse.ui.IEditorReference isFileOpenAlready(org.eclipse.core.resources.IFile file)

isFileOpenAlready

public static boolean isFileOpenAlready(org.eclipse.ui.IEditorReference editorRef,
                                        org.eclipse.core.resources.IFile file)