Révision 1456
tmp/org.txm.rcp/src/main/java/org/txm/rcp/editors/TXMEditor.java (revision 1456) | ||
---|---|---|
95 | 95 |
* @author sjacquot |
96 | 96 |
* |
97 | 97 |
*/ |
98 |
public abstract class TXMEditor<T extends TXMResult> extends EditorPart implements TXMResultListener, Comparable<TXMEditor> {
|
|
98 |
public abstract class TXMEditor<T extends TXMResult> extends EditorPart implements TXMResultListener { |
|
99 | 99 |
|
100 | 100 |
/** |
101 | 101 |
* ID to use in plugin.xml to contribute to the top toolbar. |
... | ... | |
220 | 220 |
} |
221 | 221 |
|
222 | 222 |
|
223 |
@Override |
|
224 |
public boolean isSaveOnCloseNeeded() { |
|
225 |
return false; |
|
226 |
} |
|
227 |
|
|
228 | 223 |
/** |
229 | 224 |
* Initializes plug-ins extensions. |
230 | 225 |
*/ |
... | ... | |
1630 | 1625 |
return editors; |
1631 | 1626 |
} |
1632 | 1627 |
|
1633 |
public int compareTo(TXMEditor other) { |
|
1634 |
return 1; |
|
1628 |
@Override |
|
1629 |
public boolean isSaveOnCloseNeeded() { |
|
1630 |
return false; |
|
1635 | 1631 |
} |
1632 |
|
|
1636 | 1633 |
|
1637 | 1634 |
|
1638 | 1635 |
} |
Formats disponibles : Unified diff