Пример #1
0
  private void setBraces() {
    myOpeningBrace = new EditorCell_Brace(getContext(), getSNode(), true);
    myClosingBrace = new EditorCell_Brace(getContext(), getSNode(), false);

    if (myLastCellSelectionListener == null) {
      myLastCellSelectionListener = new MyLastCellSelectionListener();
    }
    addEditorCellAt(0, myOpeningBrace, true);
    addEditorCellAt(getChildCount(), myClosingBrace, true);
  }
Пример #2
0
 private void addCell(EditorCell cellToAdd) {
   addEditorCellAt(getChildCount(), cellToAdd, false);
 }