Rational Developer for Power Systems Software
V7.6

com.ibm.etools.systems.application.visual.editor
Class SystemGraphicalEditorMatchingStrategy

java.lang.Object
  extended by com.ibm.etools.systems.application.visual.editor.SystemGraphicalEditorMatchingStrategy

public class SystemGraphicalEditorMatchingStrategy
extends Object


Field Summary
static String copyright
           
 
Constructor Summary
SystemGraphicalEditorMatchingStrategy()
           
 
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

copyright

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

SystemGraphicalEditorMatchingStrategy

public SystemGraphicalEditorMatchingStrategy()
Method Detail

matches

public boolean matches(IEditorReference editorRef,
                       IEditorInput input)

isMappedInput

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.

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

Rational Developer for Power Systems Software
V7.6

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.