コード例 #1
0
 public void execute(EditorContext editorContext) {
   RestorableSelection selection = saveSelection(editorContext);
   doExecute();
   if (selection != null) {
     editorContext.flushEvents();
     selection.restore(editorContext);
   }
 }
コード例 #2
0
 private static boolean check_j6szs9_a3a1(
     RestorableSelection checkedDotOperand, EditorContext editorContext) {
   if (null != checkedDotOperand) {
     return checkedDotOperand.restore(editorContext);
   }
   return false;
 }