Package org.eclipse.jface.action

Examples of org.eclipse.jface.action.Action.addPropertyChangeListener()


                if (action != null && action.isEnabled()) {
                    action.runWithEvent(event );
                }
            }
        };
        toolAction.addPropertyChangeListener(new IPropertyChangeListener(){

            public void propertyChange( PropertyChangeEvent event ) {
                if( event.getProperty().equals(IAction.ENABLED)){
                    toolAction.setEnabled((Boolean) event.getNewValue());
                }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.