com.ibm.etools.systems.application.visual.editor
Class SystemGraphicalEditorMatchingStrategy
java.lang.Object
com.ibm.etools.systems.application.visual.editor.SystemGraphicalEditorMatchingStrategy
public class SystemGraphicalEditorMatchingStrategy
- extends Object
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 |
copyright
public static final String copyright
- See Also:
- Constant Field Values
SystemGraphicalEditorMatchingStrategy
public SystemGraphicalEditorMatchingStrategy()
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.
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.