org.eclipse.graphiti.ui.editor
Class DiagramEditorFactory.DiagramEditorMatchingStrategy

java.lang.Object
  extended by org.eclipse.graphiti.ui.editor.DiagramEditorFactory.DiagramEditorMatchingStrategy
Enclosing class:
DiagramEditorFactory

public static final class DiagramEditorFactory.DiagramEditorMatchingStrategy
extends Object

For internal use only. Checks whether any file editor input matches one of the opened editors. Scenario is a user's double-clicking on a diagram file in the explorer. If done multiple times on the same file, no new editor must be opened.


Constructor Summary
DiagramEditorFactory.DiagramEditorMatchingStrategy()
           
 
Method Summary
 boolean matches(IEditorReference editorRef, IEditorInput input)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DiagramEditorFactory.DiagramEditorMatchingStrategy

public DiagramEditorFactory.DiagramEditorMatchingStrategy()
Method Detail

matches

public boolean matches(IEditorReference editorRef,
                       IEditorInput input)


Copyright (c) SAP AG 2005, 2010.