Project

General

Profile

« Previous | Next » 

Revision 39ec02fa

Added by Patrick Plitzner over 10 years ago

  • unified specimen and field observation controller and view elements

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/campanula/basicFields/EntitySelectionField.java
38 38
     */
39 39
    public EntitySelectionField(Composite parent, int style) {
40 40
        super(parent, style);
41
        setBackgroundMode(SWT.INHERIT_DEFAULT);
41 42
        {
42 43
            TableWrapLayout tableWrapLayout = new TableWrapLayout();
43 44
            tableWrapLayout.verticalSpacing = 0;
......
84 85
    public Button getButton_remove() {
85 86
        return button_remove;
86 87
    }
88

  
89
    /* (non-Javadoc)
90
     * @see org.eclipse.swt.widgets.Control#setEnabled(boolean)
91
     */
92
    @Override
93
    public void setEnabled(boolean enabled) {
94
        super.setEnabled(enabled);
95
        text.setEnabled(enabled);
96
        button_selection.setEnabled(enabled);
97
        button_edit.setEnabled(enabled);
98
        button_remove.setEnabled(enabled);
99
    }
87 100
}

Also available in: Unified diff