SalesFilter.java (34dd1e25) | SalesFilter.java (2df387e6) |
---|---|
1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 80 unchanged lines hidden (view full) --- 89 90 // ---------------------------------------------------------- 91 // add as listener to the events which require action 92 93 // want to know about changed selection 94 m_xFilterList.addPropertyChangeListener( "SelectedItems", this ); 95 m_xManualFilter.addPropertyChangeListener( "Date", this ); 96 | 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 80 unchanged lines hidden (view full) --- 89 90 // ---------------------------------------------------------- 91 // add as listener to the events which require action 92 93 // want to know about changed selection 94 m_xFilterList.addPropertyChangeListener( "SelectedItems", this ); 95 m_xManualFilter.addPropertyChangeListener( "Date", this ); 96 |
97 // want to know about the date field beeing reset | 97 // want to know about the date field being reset |
98 XReset xReset = UNO.queryReset( m_xManualFilter ); 99 xReset.addResetListener( this ); 100 101 // for the button, we can add to the control only, not to the model 102 // - clicking a button is something which happens on the _control_. 103 DocumentViewHelper aView = m_aDocument.getCurrentView(); 104 XButton xButton = (XButton)aView.getFormControl( m_xApplyFilter, XButton.class ); 105 xButton.addActionListener( this ); --- 396 unchanged lines hidden --- | 98 XReset xReset = UNO.queryReset( m_xManualFilter ); 99 xReset.addResetListener( this ); 100 101 // for the button, we can add to the control only, not to the model 102 // - clicking a button is something which happens on the _control_. 103 DocumentViewHelper aView = m_aDocument.getCurrentView(); 104 XButton xButton = (XButton)aView.getFormControl( m_xApplyFilter, XButton.class ); 105 xButton.addActionListener( this ); --- 396 unchanged lines hidden --- |