This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

View | Details | Raw Unified | Return to bug 42190
Collapse All | Expand All

(-)web/project/src/org/netbeans/modules/web/project/WebProjectModule.java (-1 / +10 lines)
Lines 157-163 Link Here
157
        
157
        
158
        public ActionWrapper( Action action ) {
158
        public ActionWrapper( Action action ) {
159
            this.action = action;
159
            this.action = action;
160
            this.action.addPropertyChangeListener( this );
161
        }
160
        }
162
            
161
            
163
        public String getName() {
162
        public String getName() {
Lines 183-189 Link Here
183
        public boolean isEnabled() {
182
        public boolean isEnabled() {
184
            return action.isEnabled();            
183
            return action.isEnabled();            
185
        }
184
        }
185
186
        protected void addNotify() {
187
            this.action.addPropertyChangeListener( this );
188
            super.addNotify();
189
        }
186
        
190
        
191
        protected void removeNotify() {
192
            this.action.removePropertyChangeListener( this );
193
            super.removeNotify();
194
        }
195
                       
187
        public void performAction() {
196
        public void performAction() {
188
            actionPerformed( new ActionEvent( this, 0, "" ) ); // NOI18N
197
            actionPerformed( new ActionEvent( this, 0, "" ) ); // NOI18N
189
        }
198
        }

Return to bug 42190