Examples of addModifyListener()


Examples of com.sun.star.util.XModifyBroadcaster.addModifyListener()

            log.println("Checking notification listener interface...");

            Listener listener = new Listener();
            XModifyBroadcaster xMB = (XModifyBroadcaster)
                UnoRuntime.queryInterface(XModifyBroadcaster.class, xDP);
            xMB.addModifyListener(listener);
            xDP.setAuthor("not me");
            assure ("Listener Author", listener.reset());
            udpc.addProperty("Listener", PropertyAttribute.REMOVEABLE, "foo");
            assure ("Listener UserDefined Add", listener.reset());
            udps.setPropertyValue("Listener", "bar");
View Full Code Here

Examples of com.volantis.mcs.eclipse.ab.editors.themes.StyleValueComposite.addModifyListener()

        // add the text field that will display the value that the
        // StyleValueComposites getValue method returns
        createLabel(container, "value: ");
        final Text textField = createTextField(container);

        styleValueComposite.addModifyListener(new ModifyListener() {
            public void modifyText(ModifyEvent event) {
                textField.setText(styleValueComposite.getValue());
            }
        });
    }
View Full Code Here

Examples of com.volantis.mcs.eclipse.builder.editors.themes.StylePairEditor.addModifyListener()

                    }
                }
            });

            // Add a modification listener.
            styleEditor.addModifyListener(
                new ModifyListener() {
                    public void modifyText(ModifyEvent event) {
                        propertyChanged(descriptor, styleEditor.getValues());
                    }
                }
View Full Code Here

Examples of com.volantis.mcs.eclipse.builder.editors.themes.StyleValueEditor.addModifyListener()

        if (isSpecialSynchronization) {
      // Special synchronization
      if (synchronizationGroup != null) {
        // Setting up a modify listener to update the properties
        // if the synchronization control is set
        styleEditor.addModifyListener(new ModifyListener() {
          public void modifyText(ModifyEvent event) {
            PropertyAccessor synchAccessor = (PropertyAccessor) accessors
                .get(synchronizationGroup);
            Object value = synchAccessor.getPropertyValue();
            PropertyDescriptor[] controlledProperties = synchronizationGroup
View Full Code Here

Examples of com.volantis.mcs.eclipse.controls.CellIterations.addModifyListener()

        // Add an accessible listener
        addAccessibleListener(cellIterations, controlDetails);

        // Add a modify listener to this control (for the text value).
        cellIterations.addModifyListener(new ModifyListener() {
            public void modifyText(ModifyEvent e) {
                Object oldValue = null;
                Object newValue = cellIterations.getIterations();
                PropertyChangeEvent propertyChange = new PropertyChangeEvent(
                        cellIterations, controlDetails.attribute, oldValue, newValue);
View Full Code Here

Examples of com.volantis.mcs.eclipse.controls.ComboViewer.addModifyListener()

                        combo.getCombo().deselectAll();
                        combo.setValue(value);
                    }
                });

        combo.addModifyListener(new ModifyListener() {
            public void modifyText(ModifyEvent e) {
                Object oldValue = null;
                Object newValue = combo.getValue();
                PropertyChangeEvent propertyChange = new PropertyChangeEvent(
                        combo, controlDetails.attribute, oldValue, newValue);
View Full Code Here

Examples of hidb2.gui.util.AttributTableViewer.addModifyListener()

    TableWrapData data = new TableWrapData(TableWrapData.FILL_GRAB);
    container.setLayoutData(data);

    tabv = new AttributTableViewer(container);

    tabv.addModifyListener(new ModifyListener()
      {
        @Override
        public void modifyText(ModifyEvent e)
          {
          setDirty(true);
View Full Code Here

Examples of org.eclipse.swt.custom.CCombo.addModifyListener()

            }
            // Set the focus on the dropdown and set into the editor
            combo.setFocus();
            editor.setEditor(combo, item, column);

            combo.addModifyListener(fListener);

            // Add a listener to set the selected item back into the cell
            final int col = column;
            combo.addSelectionListener(new SelectionAdapter()
            {
View Full Code Here

Examples of org.eclipse.swt.custom.StyledText.addModifyListener()

        final StyledText text = new StyledText(mapcalcComposite, SWT.MULTI | SWT.WRAP | SWT.LEAD | SWT.BORDER | SWT.V_SCROLL);
        GridData textGD = new GridData(SWT.FILL, SWT.FILL, true, true);
        textGD.verticalSpan = rows;
        textGD.heightHint = 100;
        text.setLayoutData(textGD);
        text.addModifyListener(new ModifyListener(){
            public void modifyText( ModifyEvent e ) {
                MapcalculatorUtils.checkStyle(text);
            }
        });
View Full Code Here

Examples of org.eclipse.swt.widgets.Combo.addModifyListener()

            }
        });
       
       
       
        itemTypeCombo.addModifyListener(new ModifyListener() {
           
            public void modifyText(ModifyEvent e) {
                WGContentItemDefinitionModel model = (WGContentItemDefinitionModel)_subformModels.get(SUBFORM_CONTENT_ITEM_DEFINITION);
                WGContentItemDefinition.Type type = model.getType().getKey();
                if (type.equals(WGContentItemDefinition.Type.TEXT)) {
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.