Did some code cleanup. Removed obsolete and deprecated classes.
[taxeditor.git] / taxeditor-editor / src / main / java / eu / etaxonomy / taxeditor / forms / entitysections / IdentifiableSourceComposite.java
index a336fb24996c7b0288bf37c750b91b4305f3a5d9..91f6cd4d92ad696e10deaf6891eb1ccb2749e870 100644 (file)
@@ -35,8 +35,8 @@ public class IdentifiableSourceComposite extends AbstractEntitySetElementComposi
        }
 
 
-       private ReferenceSelectionComposite citationSelection;
-       private TextWithLabelComposite microCitation;
+       private ReferenceSelectionComposite referenceSelection;
+       private TextWithLabelComposite referenceDetail;
 
 
 
@@ -44,8 +44,8 @@ public class IdentifiableSourceComposite extends AbstractEntitySetElementComposi
         * @see org.eclipse.jface.util.IPropertyChangeListener#propertyChange(org.eclipse.jface.util.PropertyChangeEvent)
         */
        public void propertyChange(PropertyChangeEvent event) {
-               element.setCitation(citationSelection.getSelection());
-               element.setCitationMicroReference(microCitation.getText());
+               element.setCitation(referenceSelection.getSelection());
+               element.setCitationMicroReference(referenceDetail.getText());
                super.propertyChange(event);
        }
 
@@ -55,8 +55,8 @@ public class IdentifiableSourceComposite extends AbstractEntitySetElementComposi
         */
        @Override
        public void createControls(Composite parent, int style) {
-               citationSelection = new ReferenceSelectionComposite(parent, "Reference", null, this, SWT.NULL);         
-               microCitation = new TextWithLabelComposite(parent, "Reference Detail", null, this, SWT.NULL);
+               referenceSelection = new ReferenceSelectionComposite(parent, "Reference", null, this, SWT.NULL);                
+               referenceDetail = new TextWithLabelComposite(parent, "Reference Detail", null, this, SWT.NULL);
        }
 
 
@@ -66,7 +66,7 @@ public class IdentifiableSourceComposite extends AbstractEntitySetElementComposi
        @Override
        public void setElement(IdentifiableSource element) {
                this.element = element;
-               citationSelection.setSelection(element.getCitation());
-               microCitation.setText(element.getCitationMicroReference());
+               referenceSelection.setSelection(element.getCitation());
+               referenceDetail.setText(element.getCitationMicroReference());
        }       
 }
\ No newline at end of file