Rational Developer for Power Systems Software

Class SystemGraphicalEditorMatchingStrategy

  extended by com.ibm.etools.systems.application.visual.editor.SystemGraphicalEditorMatchingStrategy

public class SystemGraphicalEditorMatchingStrategy
extends Object

Field Summary
static String copyright
Constructor Summary
Method Summary
protected  boolean isMappedInput(IEditorInput existingInput, IEditorInput newInput)
          Return true if the diagram file is mapped to the model file.
 boolean matches(IEditorReference editorRef, IEditorInput input)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Detail


public static final String copyright
See Also:
Constant Field Values
Constructor Detail


public SystemGraphicalEditorMatchingStrategy()
Method Detail


public boolean matches(IEditorReference editorRef,
                       IEditorInput input)


protected boolean isMappedInput(IEditorInput existingInput,
                                IEditorInput newInput)
Return true if the diagram file is mapped to the model file. The model file and diagram file are mapped if they have same based name and in same location.

existingInput: - the existing input for open editor.
newInput: - the new input used to find a matching editor.

Rational Developer for Power Systems Software

Copyright 2011 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.