|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.m2m.atl.adt.ui.text.atl.LastSaveComparator
public class LastSaveComparator
It compares the current input of an editor with the last saved input.
| Constructor Summary | |
|---|---|
LastSaveComparator(AtlEditor editor)
Constructor. |
|
| Method Summary | |
|---|---|
int[] |
current2savePosition(int[] current)
Gets the save position for the current position. |
void |
markAsSave()
Marks the last saved input. |
int[] |
save2currentPosition(int[] save)
Gets the current position for the save position. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LastSaveComparator(AtlEditor editor)
editor - is the editor to compare| Method Detail |
|---|
public void markAsSave()
public int[] save2currentPosition(int[] save)
save - is the save position
public int[] current2savePosition(int[] current)
current - is the current position
|
Copyright 2007 IBM Corporation and others. All Rights Reserved. |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||