Logo Search packages:      
Sourcecode: wims version File versions

void fr::ove::openmath::jome::ctrlview::bidim::DisplayLayout::deselectDisplay (  )  [inline, inherited]

Deselects the display.

Parameters:
the display to deselect.

Reimplemented in fr::ove::openmath::jome::ctrlview::bidim::OneFormulaLayout.

Definition at line 107 of file DisplayLayout.java.

References fr::ove::openmath::jome::ctrlview::bidim::Display::deselect(), fr::ove::openmath::jome::ctrlview::bidim::DisplayLayout::displayToLay, fr::ove::openmath::jome::ctrlview::bidim::Display::fireSelectionEvent(), fr::ove::openmath::jome::ctrlview::bidim::selection::events::SelectionEvent::setAction(), and fr::ove::openmath::jome::ctrlview::bidim::DisplayLayout::validateDeselection().

Referenced by fr::ove::openmath::jome::ctrlview::bidim::Display::Display().

                                  {
        displayToLay.deselect();

        SelectionEvent selEvt = new SelectionEvent(displayToLay);
        selEvt.setAction(SelectionEvent.REMOVE, displayToLay);
        displayToLay.fireSelectionEvent(selEvt);
        
        if (displayToLay.getParent() instanceof Display) {
            Display display = (Display) displayToLay.getParent();
            ((DisplayLayout) display.getLayout()).validateDeselection(displayToLay);
        }
    }


Generated by  Doxygen 1.6.0   Back to index