Search in sources :

Example 1 with WidgetBindableInfo

use of org.eclipse.wb.internal.rcp.databinding.model.widgets.bindables.WidgetBindableInfo in project windowbuilder by eclipse.

the class ViewerInputParser method parseExpression.

@Override
public AstObjectInfo parseExpression(AstEditor editor, String signature, MethodInvocation invocation, Expression[] arguments, IModelResolver resolver) throws Exception {
    if (signature.endsWith("setContentProvider(org.eclipse.jface.viewers.IContentProvider)")) {
        // prepare viewer
        WidgetBindableInfo viewerBindable = m_widgetsContainer.getBindableWidget(invocation.getExpression());
        if (viewerBindable == null) {
            AbstractParser.addError(editor, MessageFormat.format(Messages.ViewerInputParser_viewerNotFound, invocation.getExpression()), new Throwable());
            return null;
        }
        // prepare binding
        AbstractViewerInputBindingInfo viewerBinding = getViewerBindingInfo(viewerBindable);
        if (viewerBinding == null) {
            AbstractParser.addError(editor, MessageFormat.format(Messages.ViewerInputParser_modelViewerNotFound, invocation.getExpression()), new Throwable());
            return null;
        }
        // 
        if (viewerBinding instanceof TreeViewerInputBindingInfo) {
            // prepare content provider
            ObservableCollectionTreeContentProviderInfo contentProvider = (ObservableCollectionTreeContentProviderInfo) resolver.getModel(arguments[0]);
            if (contentProvider == null) {
                AbstractParser.addError(editor, MessageFormat.format(Messages.ViewerInputParser_contentProviderNotFound, arguments[0]), new Throwable());
                return null;
            }
            TreeViewerInputBindingInfo viewerInputBinding = (TreeViewerInputBindingInfo) viewerBinding;
            viewerInputBinding.setContentProvider(contentProvider);
        } else if (viewerBinding instanceof ViewerInputBindingInfo) {
            // prepare content provider
            ObservableCollectionContentProviderInfo contentProvider = (ObservableCollectionContentProviderInfo) resolver.getModel(arguments[0]);
            if (contentProvider == null) {
                AbstractParser.addError(editor, MessageFormat.format(Messages.ViewerInputParser_contentProviderNotFound, arguments[0]), new Throwable());
                return null;
            }
            ViewerInputBindingInfo viewerInputBinding = (ViewerInputBindingInfo) viewerBinding;
            viewerInputBinding.setContentProvider(contentProvider);
        } else {
            AbstractParser.addError(editor, MessageFormat.format(Messages.ViewerInputParser_contentProviderNotFound, arguments[0]), new Throwable());
            return null;
        }
    } else if (signature.endsWith("setLabelProvider(org.eclipse.jface.viewers.IBaseLabelProvider)")) {
        // prepare viewer
        WidgetBindableInfo viewerBindable = m_widgetsContainer.getBindableWidget(invocation.getExpression());
        if (viewerBindable == null) {
            AbstractParser.addError(editor, MessageFormat.format(Messages.ViewerInputParser_viewerNotFound, invocation.getExpression()), new Throwable());
            return null;
        }
        // prepare binding
        AbstractViewerInputBindingInfo viewerBinding = getViewerBindingInfo(viewerBindable);
        if (viewerBinding == null) {
            AbstractParser.addError(editor, MessageFormat.format(Messages.ViewerInputParser_modelViewerNotFound, invocation.getExpression()), new Throwable());
            return null;
        }
        // 
        if (viewerBinding instanceof ViewerInputBindingInfo) {
            // prepare label provider
            ObservableMapLabelProviderInfo labelProvider = (ObservableMapLabelProviderInfo) resolver.getModel(arguments[0]);
            if (labelProvider == null) {
                AbstractParser.addError(editor, MessageFormat.format(Messages.ViewerInputParser_labelProviderArgumentNotFound, arguments[0]), new Throwable());
                // 
                m_viewers.remove(viewerBindable);
                m_contextInfo.getBindings().remove(viewerBinding);
                // 
                return null;
            }
            // sets label provider
            ViewerInputBindingInfo viewerInputBinding = (ViewerInputBindingInfo) viewerBinding;
            viewerInputBinding.setLabelProvider(labelProvider);
        } else if (viewerBinding instanceof TreeViewerInputBindingInfo) {
            // prepare label provider
            AbstractLabelProviderInfo labelProvider = (AbstractLabelProviderInfo) resolver.getModel(arguments[0]);
            if (labelProvider == null) {
                AbstractParser.addError(editor, MessageFormat.format(Messages.ViewerInputParser_labelProviderArgumentNotFound, arguments[0]), new Throwable());
                // 
                m_viewers.remove(viewerBindable);
                m_contextInfo.getBindings().remove(viewerBinding);
                // 
                return null;
            }
            // sets label provider
            TreeViewerInputBindingInfo viewerInputBinding = (TreeViewerInputBindingInfo) viewerBinding;
            viewerInputBinding.setLabelProvider(labelProvider);
        } else {
            AbstractParser.addError(editor, MessageFormat.format(Messages.ViewerInputParser_labelProviderArgumentNotFound, arguments[0]), new Throwable());
            return null;
        }
    } else if (signature.endsWith("setInput(java.lang.Object)")) {
        // prepare viewer
        WidgetBindableInfo viewerBindable = m_widgetsContainer.getBindableWidget(invocation.getExpression());
        if (viewerBindable == null) {
            AbstractParser.addError(editor, MessageFormat.format(Messages.ViewerInputParser_viewerNotFound, invocation.getExpression()), new Throwable());
            return null;
        }
        // prepare binding
        AbstractViewerInputBindingInfo viewerBinding = m_viewers.get(viewerBindable);
        if (viewerBinding == null) {
            AbstractParser.addError(editor, MessageFormat.format(Messages.ViewerInputParser_viewerInputModelNotFound, invocation.getExpression()), new Throwable());
            return null;
        }
        // prepare input observable
        ObservableInfo inputObservable = (ObservableInfo) resolver.getModel(arguments[0]);
        if (inputObservable == null) {
            // 
            if (viewerBinding instanceof TreeViewerInputBindingInfo) {
                BeanBindableInfo bindableObject = m_beansContainer.getBindableObject(arguments[0]);
                if (bindableObject != null) {
                    TreeViewerInputBindingInfo treeViewerBinding = (TreeViewerInputBindingInfo) viewerBinding;
                    ObservableFactoryInfo factoryInfo = treeViewerBinding.getContentProvider().getFactoryInfo();
                    // 
                    if (factoryInfo instanceof BeansObservableFactoryInfo) {
                        BeansObservableFactoryInfo beansFactoryInfo = (BeansObservableFactoryInfo) factoryInfo;
                        String propertyName = beansFactoryInfo.getPropertyName();
                        PropertyBindableInfo propertyObject = propertyName == null ? null : bindableObject.resolvePropertyReference(propertyName);
                        // 
                        if (propertyObject != null) {
                            inputObservable = new BeanFieldInputObservableInfo(bindableObject, propertyObject);
                        }
                    }
                }
            }
            // 
            if (inputObservable == null) {
                AbstractParser.addError(editor, MessageFormat.format(Messages.ViewerInputParser_viewerInputArgumentNotFound, arguments[0]), new Throwable());
                // 
                m_viewers.remove(viewerBindable);
                m_contextInfo.getBindings().remove(viewerBinding);
                // 
                return null;
            }
        }
        // sets input observable
        viewerBinding.setInputObservable(inputObservable);
    } else if (VIEWER_SUPPORT_LIST_SIGNATURE.equals(signature) || VIEWER_SUPPORT_SET_SIGNATURE.equals(signature)) {
        // prepare viewer
        WidgetBindableInfo viewerBindable = m_widgetsContainer.getBindableWidget(arguments[0]);
        if (viewerBindable == null) {
            AbstractParser.addError(editor, MessageFormat.format(Messages.ViewerInputParser_viewerNotFound, arguments[0]), new Throwable());
            return null;
        }
        if (m_viewers.get(viewerBindable) != null) {
            AbstractParser.addError(editor, MessageFormat.format(Messages.ViewerInputParser_viewerDoubleInvocation, invocation, arguments[0]), new Throwable());
            return null;
        }
        // prepare input observable
        ObservableInfo inputObservable = (ObservableInfo) resolver.getModel(arguments[1]);
        if (inputObservable == null) {
            AbstractParser.addError(editor, MessageFormat.format(Messages.ViewerInputParser_viewerInputArgumentNotFound, arguments[1]), new Throwable());
            return null;
        }
        // prepare label provider properties
        Assert.instanceOf(MethodInvocation.class, arguments[2]);
        MethodInvocation labelPropertiesMethod = (MethodInvocation) arguments[2];
        String labelPropertiesSignature = CoreUtils.getMethodSignature(labelPropertiesMethod);
        Assert.isTrue(BEAN_PROPERTIES_VALUES.equals(labelPropertiesSignature) || POJO_PROPERTIES_VALUES.equals(labelPropertiesSignature));
        List<Expression> labelPropertiesArguments = DomGenerics.arguments(labelPropertiesMethod);
        // prepare element type
        Class<?> elementType = CoreUtils.evaluate(Class.class, editor, labelPropertiesArguments.get(0));
        // prepare properties
        String[] properties = CoreUtils.evaluate(String[].class, editor, labelPropertiesArguments.get(1));
        // create binding
        ViewerInputBindingInfo viewerBinding = new ViewerInputBindingInfo(viewerBindable);
        viewerBinding.setInputObservable(inputObservable);
        viewerBinding.setDefaultProviders(VIEWER_SUPPORT_LIST_SIGNATURE.equals(signature), elementType, true);
        viewerBinding.getLabelProvider().getMapsObservable().setProperties(properties);
        // add binding
        m_contextInfo.getBindings().add(viewerBinding);
        m_viewers.put(viewerBindable, viewerBinding);
    } else if (OBSERVABLE_VALUE_EDITING_SUPPORT.equals(signature)) {
        // prepare viewer
        WidgetBindableInfo viewerBindable = m_widgetsContainer.getBindableWidget(arguments[0]);
        if (viewerBindable == null) {
            AbstractParser.addError(editor, MessageFormat.format(Messages.ViewerInputParser_viewerNotFound, arguments[0]), new Throwable());
            return null;
        }
        // 
        AbstractViewerInputBindingInfo viewerBinding = m_viewers.get(viewerBindable);
        if (viewerBinding == null) {
            AbstractParser.addError(editor, MessageFormat.format(Messages.ViewerInputParser_viewerNotFound, arguments[0]), new Throwable());
            return null;
        }
        // prepare context
        DataBindingContextInfo bindingContextInfo = (DataBindingContextInfo) resolver.getModel(arguments[1]);
        if (bindingContextInfo != m_contextInfo) {
            AbstractParser.addError(editor, MessageFormat.format(Messages.ViewerInputParser_undefinedDataBindingContext, arguments[1]), new Throwable());
            return null;
        }
        // prepare CellEditor
        CellEditorInfo cellEditorInfo = (CellEditorInfo) resolver.getModel(arguments[2]);
        if (cellEditorInfo == null) {
            AbstractParser.addError(editor, MessageFormat.format(Messages.ViewerInputParser_cellEditorNotFound, arguments[2]), new Throwable());
            return null;
        }
        // prepare CellEditor property
        CellEditorValuePropertyCodeSupport cellEditorProperty = null;
        AstObjectInfo cellEditorPropertyInfo = resolver.getModel(arguments[3]);
        // 
        if (cellEditorPropertyInfo instanceof CellEditorValuePropertyCodeSupport) {
            cellEditorProperty = (CellEditorValuePropertyCodeSupport) cellEditorPropertyInfo;
        } else if (cellEditorPropertyInfo instanceof ValuePropertyCodeSupport) {
            ValuePropertyCodeSupport value = (ValuePropertyCodeSupport) cellEditorPropertyInfo;
            cellEditorProperty = new CellEditorValuePropertyCodeSupport(value);
        }
        // 
        if (cellEditorProperty == null) {
            AbstractParser.addError(editor, MessageFormat.format(Messages.ViewerInputParser_cellEditorPropertyNotFound, arguments[3]), new Throwable());
            return null;
        }
        // prepare element property
        ValuePropertyCodeSupport elementProperty = (ValuePropertyCodeSupport) resolver.getModel(arguments[4]);
        if (elementProperty == null) {
            AbstractParser.addError(editor, MessageFormat.format(Messages.ViewerInputParser_elementPropertyNotFound, arguments[4]), new Throwable());
            return null;
        }
        // 
        return new EditingSupportInfo(viewerBinding, cellEditorInfo, cellEditorProperty, elementProperty);
    } else if (VIEWER_COLUMN_SET_EDITING_SUPPORT.equals(signature)) {
        // prepare viewer column
        WidgetBindableInfo viewerColumnBindable = m_widgetsContainer.getBindableWidget(invocation.getExpression());
        if (viewerColumnBindable == null) {
            AbstractParser.addError(editor, MessageFormat.format(Messages.ViewerInputParser_viewerColumnNotFound, invocation.getExpression()), new Throwable());
            return null;
        }
        // prepare support
        EditingSupportInfo editingSupportInfo = (EditingSupportInfo) resolver.getModel(arguments[0]);
        if (editingSupportInfo == null) {
            AbstractParser.addError(editor, MessageFormat.format(Messages.ViewerInputParser_editingSupportNotFound, arguments[0]), new Throwable());
            return null;
        }
        // 
        editingSupportInfo.setViewerColumn(viewerColumnBindable);
    } else if (CELL_EDITOR_PROPERTIES_CONTROL.equals(signature)) {
        // CellEditor
        return new CellEditorControlPropertyCodeSupport();
    }
    return null;
}
Also used : MethodInvocation(org.eclipse.jdt.core.dom.MethodInvocation) BeanBindableInfo(org.eclipse.wb.internal.rcp.databinding.model.beans.bindables.BeanBindableInfo) AstObjectInfo(org.eclipse.wb.internal.core.databinding.model.AstObjectInfo) List(java.util.List) WidgetBindableInfo(org.eclipse.wb.internal.rcp.databinding.model.widgets.bindables.WidgetBindableInfo) ObservableInfo(org.eclipse.wb.internal.rcp.databinding.model.ObservableInfo) MapsBeanObservableInfo(org.eclipse.wb.internal.rcp.databinding.model.beans.observables.MapsBeanObservableInfo) DataBindingContextInfo(org.eclipse.wb.internal.rcp.databinding.model.context.DataBindingContextInfo) BeansObservableFactoryInfo(org.eclipse.wb.internal.rcp.databinding.model.widgets.input.designer.BeansObservableFactoryInfo) PropertyBindableInfo(org.eclipse.wb.internal.rcp.databinding.model.beans.bindables.PropertyBindableInfo) BeansListObservableFactoryInfo(org.eclipse.wb.internal.rcp.databinding.model.widgets.input.designer.BeansListObservableFactoryInfo) BeansObservableFactoryInfo(org.eclipse.wb.internal.rcp.databinding.model.widgets.input.designer.BeansObservableFactoryInfo) BeansSetObservableFactoryInfo(org.eclipse.wb.internal.rcp.databinding.model.widgets.input.designer.BeansSetObservableFactoryInfo) ValuePropertyCodeSupport(org.eclipse.wb.internal.rcp.databinding.model.beans.observables.properties.ValuePropertyCodeSupport)

Example 2 with WidgetBindableInfo

use of org.eclipse.wb.internal.rcp.databinding.model.widgets.bindables.WidgetBindableInfo in project windowbuilder by eclipse.

the class AbstractViewerInputBindingInfo method getViewerInutElementType.

// //////////////////////////////////////////////////////////////////////////
// 
// Utils
// 
// //////////////////////////////////////////////////////////////////////////
/**
 * @return {@link Class} of element into given viewer input or <code>null</code> if its not set.
 */
public static Class<?> getViewerInutElementType(ObservableInfo observable, DatabindingsProvider provider) throws Exception {
    if (observable.getBindableObject() instanceof WidgetBindableInfo) {
        // prepare widget
        WidgetBindableInfo widget = (WidgetBindableInfo) observable.getBindableObject();
        // prepare input property
        WidgetPropertyBindableInfo property = widget.resolvePropertyReference("setInput");
        // find input binding
        for (AbstractBindingInfo binding : provider.getBindings0()) {
            if (binding.getTarget() == widget && binding.getTargetProperty() == property) {
                AbstractViewerInputBindingInfo viewerBinding = (AbstractViewerInputBindingInfo) binding;
                return viewerBinding.getElementType();
            }
        }
    }
    // 
    return null;
}
Also used : AbstractBindingInfo(org.eclipse.wb.internal.rcp.databinding.model.AbstractBindingInfo) WidgetPropertyBindableInfo(org.eclipse.wb.internal.rcp.databinding.model.widgets.bindables.WidgetPropertyBindableInfo) WidgetBindableInfo(org.eclipse.wb.internal.rcp.databinding.model.widgets.bindables.WidgetBindableInfo)

Example 3 with WidgetBindableInfo

use of org.eclipse.wb.internal.rcp.databinding.model.widgets.bindables.WidgetBindableInfo in project windowbuilder by eclipse.

the class BindingsProperty method checkEquals.

// //////////////////////////////////////////////////////////////////////////
// 
// Menu
// 
// //////////////////////////////////////////////////////////////////////////
@Override
protected boolean checkEquals(IObserveInfo observe) throws Exception {
    if (observe instanceof WidgetBindableInfo) {
        WidgetBindableInfo bindable = (WidgetBindableInfo) observe;
        if (m_context.objectInfo == bindable.getJavaInfo()) {
            return true;
        }
    }
    // 
    String reference = JavaInfoReferenceProvider.getReference(m_context.javaInfo());
    BindableInfo bindable = (BindableInfo) observe;
    return reference.equals(bindable.getReference());
}
Also used : WidgetBindableInfo(org.eclipse.wb.internal.rcp.databinding.model.widgets.bindables.WidgetBindableInfo) BindableInfo(org.eclipse.wb.internal.rcp.databinding.model.BindableInfo) WidgetBindableInfo(org.eclipse.wb.internal.rcp.databinding.model.widgets.bindables.WidgetBindableInfo)

Example 4 with WidgetBindableInfo

use of org.eclipse.wb.internal.rcp.databinding.model.widgets.bindables.WidgetBindableInfo in project windowbuilder by eclipse.

the class CodeGenerationTest method test_ViewerObservableInfo.

public void test_ViewerObservableInfo() throws Exception {
    CompositeInfo shell = DatabindingTestUtils.parseTestSource(this, new String[] { "public class Test {", "  protected Shell m_shell;", "  private CheckboxTableViewer m_viewer;", "  public static void main(String[] args) {", "    Test test = new Test();", "    test.open();", "  }", "  public void open() {", "    Display display = new Display();", "    createContents();", "    m_shell.open();", "    m_shell.layout();", "    while (!m_shell.isDisposed()) {", "      if (!display.readAndDispatch()) {", "        display.sleep();", "      }", "    }", "  }", "  protected void createContents() {", "    m_shell = new Shell();", "    m_shell.setLayout(new FillLayout());", "    m_viewer = new CheckboxTableViewer(m_shell, SWT.NONE);", "  }", "}" });
    assertNotNull(shell);
    // 
    DatabindingsProvider provider = getDatabindingsProvider();
    List<IObserveInfo> observes = provider.getObserves(ObserveType.WIDGETS);
    // 
    WidgetBindableInfo viewerBindable = (WidgetBindableInfo) observes.get(0).getChildren(ChildrenContext.ChildrenForMasterTable).get(0).getChildren(ChildrenContext.ChildrenForMasterTable).get(0);
    // 
    WidgetPropertyBindableInfo singleSelection = (WidgetPropertyBindableInfo) viewerBindable.getChildren(ChildrenContext.ChildrenForPropertiesTable).get(0);
    assertObservableInfo(new SingleSelectionObservableInfo(viewerBindable, singleSelection), new SingleSelectionObservableCodeSupport(), "viewerObservable", "org.eclipse.core.databinding.observable.value.IObservableValue viewerObservable = org.eclipse.jface.databinding.viewers.ViewersObservables.observeSingleSelection(m_viewer);", "org.eclipse.core.databinding.observable.value.IObservableValue viewerObserveSingleSelection = org.eclipse.jface.databinding.viewers.ViewersObservables.observeSingleSelection(m_viewer);");
    // 
    WidgetPropertyBindableInfo multiSelection = (WidgetPropertyBindableInfo) viewerBindable.getChildren(ChildrenContext.ChildrenForPropertiesTable).get(2);
    assertObservableInfo(new MultiSelectionObservableInfo(viewerBindable, multiSelection), new MultiSelectionObservableCodeSupport(), "viewerObservable", "org.eclipse.core.databinding.observable.list.IObservableList viewerObservable = org.eclipse.jface.databinding.viewers.ViewersObservables.observeMultiSelection(m_viewer);", "org.eclipse.core.databinding.observable.list.IObservableList viewerObserveMultiSelection = org.eclipse.jface.databinding.viewers.ViewersObservables.observeMultiSelection(m_viewer);");
    // 
    CheckedElementsObservableInfo checkedObservable = new CheckedElementsObservableInfo(viewerBindable);
    checkedObservable.setElementType(String.class);
    assertObservableInfo(checkedObservable, new CheckedElementsObservableCodeSupport(), "viewerObservable", "org.eclipse.core.databinding.observable.set.IObservableSet viewerObservable = org.eclipse.jface.databinding.viewers.ViewersObservables.observeCheckedElements(m_viewer, java.lang.String.class);", "org.eclipse.core.databinding.observable.set.IObservableSet viewerObserveCheckedElements = org.eclipse.jface.databinding.viewers.ViewersObservables.observeCheckedElements(m_viewer, java.lang.String.class);");
}
Also used : IObserveInfo(org.eclipse.wb.internal.core.databinding.model.IObserveInfo) MultiSelectionObservableCodeSupport(org.eclipse.wb.internal.rcp.databinding.model.widgets.observables.standard.MultiSelectionObservableCodeSupport) SingleSelectionObservableCodeSupport(org.eclipse.wb.internal.rcp.databinding.model.widgets.observables.standard.SingleSelectionObservableCodeSupport) SingleSelectionObservableInfo(org.eclipse.wb.internal.rcp.databinding.model.widgets.observables.SingleSelectionObservableInfo) DatabindingsProvider(org.eclipse.wb.internal.rcp.databinding.DatabindingsProvider) CheckedElementsObservableInfo(org.eclipse.wb.internal.rcp.databinding.model.widgets.observables.CheckedElementsObservableInfo) WidgetPropertyBindableInfo(org.eclipse.wb.internal.rcp.databinding.model.widgets.bindables.WidgetPropertyBindableInfo) MultiSelectionObservableInfo(org.eclipse.wb.internal.rcp.databinding.model.widgets.observables.MultiSelectionObservableInfo) CompositeInfo(org.eclipse.wb.internal.swt.model.widgets.CompositeInfo) WidgetBindableInfo(org.eclipse.wb.internal.rcp.databinding.model.widgets.bindables.WidgetBindableInfo) CheckedElementsObservableCodeSupport(org.eclipse.wb.internal.rcp.databinding.model.widgets.observables.standard.CheckedElementsObservableCodeSupport)

Example 5 with WidgetBindableInfo

use of org.eclipse.wb.internal.rcp.databinding.model.widgets.bindables.WidgetBindableInfo in project windowbuilder by eclipse.

the class WidgetBindableTest method test_widget_noProperties.

public void test_widget_noProperties() throws Exception {
    DialogInfo dialog = parseJavaInfo("import java.io.File;", "public class Test extends org.eclipse.jface.dialogs.Dialog {", "  public Test(Shell parentShell) {", "    super(parentShell);", "  }", "  protected Control createDialogArea(Composite parent) {", "    Composite container = (Composite) super.createDialogArea(parent);", "    return container;", "  }", "}");
    assertNotNull(dialog);
    // 
    DatabindingsProvider provider = getDatabindingsProvider();
    List<IObserveInfo> observes = provider.getObserves(ObserveType.WIDGETS);
    assertNotNull(observes);
    assertEquals(1, observes.size());
    // 
    WidgetBindableInfo dialogBindable = (WidgetBindableInfo) observes.get(0);
    assertEquals("(org.eclipse.jface.dialogs.Dialog)", dialogBindable.getPresentation().getText());
    assertTrue(dialogBindable.getChildren(ChildrenContext.ChildrenForPropertiesTable).isEmpty());
    // 
    WidgetBindableInfo parentInCreateDialogArea = (WidgetBindableInfo) dialogBindable.getChildren(ChildrenContext.ChildrenForMasterTable).get(0);
    assertEquals("parent in createDialogArea(...)", parentInCreateDialogArea.getPresentation().getText());
    assertTrue(parentInCreateDialogArea.getChildren(ChildrenContext.ChildrenForPropertiesTable).isEmpty());
}
Also used : IObserveInfo(org.eclipse.wb.internal.core.databinding.model.IObserveInfo) DatabindingsProvider(org.eclipse.wb.internal.rcp.databinding.DatabindingsProvider) DialogInfo(org.eclipse.wb.internal.rcp.model.jface.DialogInfo) WidgetBindableInfo(org.eclipse.wb.internal.rcp.databinding.model.widgets.bindables.WidgetBindableInfo)

Aggregations

WidgetBindableInfo (org.eclipse.wb.internal.rcp.databinding.model.widgets.bindables.WidgetBindableInfo)33 IObserveInfo (org.eclipse.wb.internal.core.databinding.model.IObserveInfo)20 WidgetPropertyBindableInfo (org.eclipse.wb.internal.rcp.databinding.model.widgets.bindables.WidgetPropertyBindableInfo)14 DatabindingsProvider (org.eclipse.wb.internal.rcp.databinding.DatabindingsProvider)10 CompositeInfo (org.eclipse.wb.internal.swt.model.widgets.CompositeInfo)9 ItemsSwtObservableInfo (org.eclipse.wb.internal.rcp.databinding.model.widgets.observables.ItemsSwtObservableInfo)8 TextSwtObservableInfo (org.eclipse.wb.internal.rcp.databinding.model.widgets.observables.TextSwtObservableInfo)8 SwtObservableCodeSupport (org.eclipse.wb.internal.rcp.databinding.model.widgets.observables.standard.SwtObservableCodeSupport)8 SwtObservableInfo (org.eclipse.wb.internal.rcp.databinding.model.widgets.observables.SwtObservableInfo)7 ValueBindingInfo (org.eclipse.wb.internal.rcp.databinding.model.context.ValueBindingInfo)6 SwtObservableTextCodeSupport (org.eclipse.wb.internal.rcp.databinding.model.widgets.observables.standard.SwtObservableTextCodeSupport)6 ObservableInfo (org.eclipse.wb.internal.rcp.databinding.model.ObservableInfo)4 CodeGenerationSupport (org.eclipse.wb.internal.core.databinding.model.CodeGenerationSupport)3 DataBindingContextInfo (org.eclipse.wb.internal.rcp.databinding.model.context.DataBindingContextInfo)3 CheckedElementsObservableInfo (org.eclipse.wb.internal.rcp.databinding.model.widgets.observables.CheckedElementsObservableInfo)3 SingleSelectionObservableInfo (org.eclipse.wb.internal.rcp.databinding.model.widgets.observables.SingleSelectionObservableInfo)3 CheckedElementsObservableCodeSupport (org.eclipse.wb.internal.rcp.databinding.model.widgets.observables.standard.CheckedElementsObservableCodeSupport)3 SwtObservableItemsCodeSupport (org.eclipse.wb.internal.rcp.databinding.model.widgets.observables.standard.SwtObservableItemsCodeSupport)3 Expression (org.eclipse.jdt.core.dom.Expression)2 BindableInfo (org.eclipse.wb.internal.rcp.databinding.model.BindableInfo)2