@@ -0,0 +1,2234 @@
+package gov.nih.nci.cbiit.cdms.formula.gui.listener;%0D%0A%0D%0Aimport gov.nih.nci.cbiit.cdms.formula.gui.FormulaButtonPane;%0D%0Aimport gov.nih.nci.cbiit.cdms.formula.gui.FormulaMainPanel;%0D%0Aimport gov.nih.nci.cbiit.cdms.formula.gui.FrameMain;%0D%0Aimport gov.nih.nci.cbiit.cdms.formula.gui.NodeContentElement;%0D%0Aimport gov.nih.nci.cbiit.cdms.formula.gui.properties.PanelDefaultProperties;%0D%0Aimport gov.nih.nci.cbiit.cdms.formula.core.BaseMeta;%0D%0Aimport gov.nih.nci.cbiit.cdms.formula.core.TermMeta;%0D%0A%0D%0Aimport java.awt.event.MouseListener;%0D%0Aimport java.awt.event.MouseEvent;%0D%0A%0D%0A/**%0D%0A * Created by IntelliJ IDEA.%0D%0A * User: umkis%0D%0A * Date: Nov 19, 2010%0D%0A * Time: 12:04:56 PM%0D%0A * To change this template use File %7C Settings %7C File Templates.%0D%0A */%0D%0Apublic class FormulaMouseListener implements MouseListener%0D%0A%7B%0D%0A    FormulaButtonPane parentButton;%0D%0A%0D%0A    PanelDefaultProperties propertiePanel = null;%0D%0A    BaseMeta beforeMeta = null;%0D%0A    public FormulaMouseListener(FormulaButtonPane pane)%0D%0A    %7B%0D%0A        parentButton = pane;%0D%0A    %7D%0D%0A    public void mouseClicked(MouseEvent e)%0D%0A    %7B%0D%0A    %7D%0D%0A%0D%0A    public void mousePressed(MouseEvent ae)%0D%0A    %7B%0D%0A    %7D%0D%0A%0D%0A    public void mouseReleased(MouseEvent ae)%0D%0A    %7B%0D%0A    %7D%0D%0A%0D%0A    public void mouseEntered(MouseEvent ae)%0D%0A    %7B%0D%0A        NodeContentElement element = parentButton.getNodeContentElement();%0D%0A        if (element == null) return;%0D%0A%0D%0A        //System.out.println(%22TTTT4 element %22 + element.toString() + %22 : %22 + element.convertToMeta());%0D%0A        TermMeta termMeta = element.convertToMeta();%0D%0A        if (termMeta == null) return;%0D%0A%0D%0A        try%0D%0A        %7B%0D%0A            propertiePanel = FrameMain.getSingletonInstance().getMainPanel().getRightSplitPanel().getPropertiePanel();%0D%0A            beforeMeta = propertiePanel.getCurrentBaseMeta();%0D%0A        %7D%0D%0A        catch(Exception ee)%0D%0A        %7B%0D%0A            beforeMeta = null;%0D%0A            return;%0D%0A        %7D%0D%0A%0D%0A        propertiePanel.updateProptiesDisplay(element.convertToMeta());%0D%0A%0D%0A    %7D%0D%0A    public void mouseExited(MouseEvent ae)%0D%0A    %7B%0D%0A        if (beforeMeta == null) return;%0D%0A        if (propertiePanel == null) return;%0D%0A        propertiePanel.updateProptiesDisplay(beforeMeta);%0D%0A        beforeMeta = null;%0D%0A        propertiePanel = null;%0D%0A    %7D%0D%0A%7D%0D%0A

Add a mouse listener for displaying term meta properties.