Project

General

Profile

Revision cfbd89d6

IDcfbd89d6c23bcac634bb34166ac87c12b9fbfba3
Parent 229af84a
Child 0b4f079d

Added by Patrick Plitzner over 3 years ago

ref #6694 Make text field editable only when feature tree is selected

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/featuretree/e4/FeatureTreeEditor.java
118 118

  
119 119
		text_title = new Text(composite_treeTitle, SWT.BORDER);
120 120
		text_title.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 1, 1));
121
		text_title.setEditable(false);
121 122

  
122 123
		btnOpenFeatureTree = new Button(parent, SWT.NONE);
123 124
		btnOpenFeatureTree.setLayoutData(new GridData(SWT.CENTER, SWT.CENTER, false, false, 1, 1));
......
193 194
		text_title.removeModifyListener(this);
194 195
		text_title.setText(featureTree.getTitleCache());
195 196
		text_title.addModifyListener(this);
197
		text_title.setEditable(true);
196 198
	}
197 199

  
198 200
	/** {@inheritDoc} */

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)