Examples of SelectionChangeListener


Examples of com.cedarsoft.spring.rcp.selection.SelectionChangeListener

    } else {
      this.condition = condition;
    }

    command.setEnabled( selectionModel.getCurrentlySelectedObject().lookup( type ) != null );
    selectionModel.addSelectionChangeListener( new SelectionChangeListener() {
      @Override
      public void selectionChanged( @NotNull Lookup selectedObjects ) {
        updateEnabledState( command );
      }
    } );
View Full Code Here

Examples of com.cedarsoft.spring.rcp.selection.SelectionChangeListener

      this.labelProvider = labelProvider;
      label = new StyledLabel();

      //update the selection
      this.selectionModel = selectionModel;
      selectionModel.addSelectionChangeListener( new SelectionChangeListener() {
        @Override
        public void selectionChanged( @NotNull Lookup selectedObjects ) {
          S selected = selectedObjects.lookup( selectionType );
          updateLabel( selected );
        }
View Full Code Here

Examples of com.google.speedtracer.client.visualizations.view.Tree.SelectionChangeListener

        eventWaterfall.getPresenter(), getParentRow().getEvent(),
        getParentRow().getEventBreakdown(), resources);

    // Hook listeners to tree list to monitor selection changes and
    // expansion changes.
    tree.addSelectionChangeListener(new SelectionChangeListener() {
      Element offsetParent = getParentRow().getElement();

      public void onSelectionChange(ArrayList<Item> selected) {
        // Wipe the old table
        detailsTable.destroy();
View Full Code Here

Examples of org.openfaces.event.SelectionChangeListener

                throw new JspException("Component " + component.getClass().toString() + " does not support" +
                        " SelectionChange event.");
            FacesContext context = FacesContext.getCurrentInstance();
            String className = (String) type.getValue(context.getELContext());
            try {
                SelectionChangeListener changeListener = (SelectionChangeListener) Class.forName(className).newInstance();
                ((TabSelectionHolder) component).addSelectionListener(changeListener);
            } catch (InstantiationException e) {
                throw new RuntimeException(e);
            } catch (IllegalAccessException e) {
                throw new RuntimeException(e);
View Full Code Here

Examples of org.openfaces.event.SelectionChangeListener

        if (!type.isLiteral()) {
            className = type.getValue();
        } else {
            className = type.getValue(faceletContext);
        }
        SelectionChangeListener listener;
        try {
            listener = (SelectionChangeListener) Class.forName(className).newInstance();
            ((TabSelectionHolder) parent).addSelectionListener(listener);
        } catch (ClassNotFoundException e) {
            throw new RuntimeException(e);
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.