Lines 47-53
Link Here
|
47 |
* @deprecated Use DataEditorSupport instead |
47 |
* @deprecated Use DataEditorSupport instead |
48 |
*/ |
48 |
*/ |
49 |
public class EditorSupport extends OpenSupport |
49 |
public class EditorSupport extends OpenSupport |
50 |
implements EditorCookie.Observable, OpenCookie, CloseCookie, PrintCookie { |
50 |
implements EditorCookie.Observable, OpenCookie, CloseCookie, PrintCookie |
|
|
51 |
// <> |
52 |
// So that we can obtain the undoredo for the Java editor top components |
53 |
, org.openide.cookies.UndoRedoCookie |
54 |
// </> |
55 |
{ |
51 |
/** Common name for editor mode. |
56 |
/** Common name for editor mode. |
52 |
* @deprecated Use {@link org.openide.text.CloneableEditorSupport#EDITOR_MODE} instead. |
57 |
* @deprecated Use {@link org.openide.text.CloneableEditorSupport#EDITOR_MODE} instead. |
53 |
*/ |
58 |
*/ |
Lines 436-441
Link Here
|
436 |
del.superNotifyClosed (); |
441 |
del.superNotifyClosed (); |
437 |
} |
442 |
} |
438 |
|
443 |
|
|
|
444 |
// <> |
445 |
// Useful for test suite |
446 |
// XXX #5055050 and now also in project exit dialog. |
447 |
public void closeDocumentPublic() { |
448 |
del.closeDocumentPublic(); |
449 |
} |
450 |
// </> |
451 |
|
439 |
|
452 |
|
440 |
/** Utility method to extract EditorSupport from Del instance. |
453 |
/** Utility method to extract EditorSupport from Del instance. |
441 |
* @param ces cloneable editor support |
454 |
* @param ces cloneable editor support |
Lines 940-943
Link Here
|
940 |
return o; |
953 |
return o; |
941 |
} |
954 |
} |
942 |
} |
955 |
} |
|
|
956 |
|
957 |
|
958 |
// <> |
959 |
// So that we can obtain the undoredo for the Java editor top components |
960 |
// ------- implements UndoRedoCookie |
961 |
public UndoRedo getUndoRedoI() { |
962 |
return del.getUndoRedoI(); |
963 |
} |
964 |
// </> |
965 |
|
943 |
} |
966 |
} |