Package dk.contix.eclipse.hudson.views.actions

Examples of dk.contix.eclipse.hudson.views.actions.FilterAction.addPropertyChangeListener()


    filtermenu.add(new FilterAction(viewer, "Successful builds", "Show successful builds", Activator.PREF_FILTER_SUCCESS, filter));
    filtermenu.add(new FilterAction(viewer, "Failed builds", "Show failed builds", Activator.PREF_FILTER_FAIL, filter));
    filtermenu.add(new FilterAction(viewer, "Test failures", "Show builds with test failures", Activator.PREF_FILTER_FAIL_TEST, filter));
    filtermenu.add(new FilterAction(viewer, "Unbuilt projects", "Show projects which have not been built yet", Activator.PREF_FILTER_NO_BUILD, filter));
    FilterAction nameFilterAction = new FilterAction(viewer, "Name Filter", "Show Projects by Name", Activator.PREF_FILTER_NAME, nameFilter);
    nameFilterAction.addPropertyChangeListener(new IPropertyChangeListener() {
      public void propertyChange(
          org.eclipse.jface.util.PropertyChangeEvent event) {
        if(nameText!=null && nameText.isDisposed()==false)
          nameText.setEnabled(((Boolean)event.getNewValue()).booleanValue());       
      }
View Full Code Here


    filtermenu.add(new FilterAction(viewer, "Successful builds", "Show successful builds", Activator.PREF_FILTER_SUCCESS, filter));
    filtermenu.add(new FilterAction(viewer, "Failed builds", "Show failed builds", Activator.PREF_FILTER_FAIL, filter));
    filtermenu.add(new FilterAction(viewer, "Test failures", "Show builds with test failures", Activator.PREF_FILTER_FAIL_TEST, filter));
    filtermenu.add(new FilterAction(viewer, "Unbuilt projects", "Show projects which have not been built yet", Activator.PREF_FILTER_NO_BUILD, filter));
    FilterAction nameFilterAction = new FilterAction(viewer, "Name Filter", "Show Projects by Name", Activator.PREF_FILTER_NAME, nameFilter);
    nameFilterAction.addPropertyChangeListener(new IPropertyChangeListener() {
      public void propertyChange(
          org.eclipse.jface.util.PropertyChangeEvent event) {
        if(nameText!=null && nameText.isDisposed()==false)
          nameText.setEnabled(((Boolean)event.getNewValue()).booleanValue());       
      }
View Full Code Here

    filtermenu.add(new FilterAction(viewer, "Successful builds", "Show successful builds", Activator.PREF_FILTER_SUCCESS, filter));
    filtermenu.add(new FilterAction(viewer, "Failed builds", "Show failed builds", Activator.PREF_FILTER_FAIL, filter));
    filtermenu.add(new FilterAction(viewer, "Test failures", "Show builds with test failures", Activator.PREF_FILTER_FAIL_TEST, filter));
    filtermenu.add(new FilterAction(viewer, "Unbuilt projects", "Show projects which have not been built yet", Activator.PREF_FILTER_NO_BUILD, filter));
    FilterAction nameFilterAction = new FilterAction(viewer, "Name Filter", "Show Projects by Name", Activator.PREF_FILTER_NAME, nameFilter);
    nameFilterAction.addPropertyChangeListener(new IPropertyChangeListener() {
      public void propertyChange(
          org.eclipse.jface.util.PropertyChangeEvent event) {
        if(nameText!=null && nameText.isDisposed()==false)
          nameText.setEnabled(((Boolean)event.getNewValue()).booleanValue());       
      }
View Full Code Here

    filtermenu.add(new FilterAction(viewer, "Successful builds", "Show successful builds", Activator.PREF_FILTER_SUCCESS, filter));
    filtermenu.add(new FilterAction(viewer, "Failed builds", "Show failed builds", Activator.PREF_FILTER_FAIL, filter));
    filtermenu.add(new FilterAction(viewer, "Test failures", "Show builds with test failures", Activator.PREF_FILTER_FAIL_TEST, filter));
    filtermenu.add(new FilterAction(viewer, "Unbuilt projects", "Show projects which have not been built yet", Activator.PREF_FILTER_NO_BUILD, filter));
    FilterAction nameFilterAction = new FilterAction(viewer, "Name Filter", "Show Projects by Name", Activator.PREF_FILTER_NAME, nameFilter);
    nameFilterAction.addPropertyChangeListener(new IPropertyChangeListener() {
      public void propertyChange(
          org.eclipse.jface.util.PropertyChangeEvent event) {
        if(nameText!=null && nameText.isDisposed()==false)
          nameText.setEnabled(((Boolean)event.getNewValue()).booleanValue());
      }
View Full Code Here

    filtermenu.add(new FilterAction(viewer, "Successful builds", "Show successful builds", Activator.PREF_FILTER_SUCCESS, filter));
    filtermenu.add(new FilterAction(viewer, "Failed builds", "Show failed builds", Activator.PREF_FILTER_FAIL, filter));
    filtermenu.add(new FilterAction(viewer, "Test failures", "Show builds with test failures", Activator.PREF_FILTER_FAIL_TEST, filter));
    filtermenu.add(new FilterAction(viewer, "Unbuilt projects", "Show projects which have not been built yet", Activator.PREF_FILTER_NO_BUILD, filter));
    FilterAction nameFilterAction = new FilterAction(viewer, "Name Filter", "Show Projects by Name", Activator.PREF_FILTER_NAME, nameFilter);
    nameFilterAction.addPropertyChangeListener(new IPropertyChangeListener() {
      public void propertyChange(
          org.eclipse.jface.util.PropertyChangeEvent event) {
        if(nameText!=null && nameText.isDisposed()==false)
          nameText.setEnabled(((Boolean)event.getNewValue()).booleanValue());       
      }
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.