Project

General

Profile

Revision dfd55109

IDdfd55109c9ac5296f4348640091ffde88f609be1
Parent 23cf0e8a
Child c9992d6a

Added by Katja Luther over 4 years ago

smaller changes for specimen import

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/dataimport/SpecimenProviderSelectionWizardPage.java
1
// $Id$
2
/**
3
* Copyright (C) 2013 EDIT
4
* European Distributed Institute of Taxonomy
5
* http://www.e-taxonomy.eu
6
*
7
* The contents of this file are subject to the Mozilla Public License Version 1.1
8
* See LICENSE.TXT at the top of this package for the full license terms.
9
*/
10
package eu.etaxonomy.taxeditor.view.dataimport;
11

  
12
import java.net.MalformedURLException;
13
import java.net.URI;
14
import java.net.URISyntaxException;
15
import java.net.URL;
16

  
17
import org.eclipse.jface.wizard.WizardPage;
18
import org.eclipse.swt.widgets.Composite;
19

  
20
import eu.etaxonomy.taxeditor.view.specimenSearch.SpecimenProviderSelectionController;
21

  
22

  
23
/**
24
 * Wizard page for selecting the specimen provider
25
 * @author pplitzner
26
 * @date 12.09.2013
27
 *
28
 */
29
public class SpecimenProviderSelectionWizardPage extends WizardPage{
30

  
31
    private SpecimenProviderSelectionController specimenProviderSelectionController;
32
    private URI endPoint;
33

  
34
    public SpecimenProviderSelectionWizardPage(String pageName) {
35
        super(pageName);
36
        setTitle("Select Specimen Provider");
37
        setDescription("Select the provider to query for specimens.\nTo query a BioCASE " +
38
        		"provider the access point URL must be entered.");
39
    }
40

  
41
    /* (non-Javadoc)
42
     * @see org.eclipse.jface.dialogs.IDialogPage#createControl(org.eclipse.swt.widgets.Composite)
43
     */
44
    @Override
45
    public void createControl(Composite parent) {
46
        specimenProviderSelectionController = SpecimenProviderSelectionController.getInstance(parent, getWizard());
47
        setControl(specimenProviderSelectionController.getComposite());
48
    }
49

  
50
    public QueryType getQueryType(){
51
        if(specimenProviderSelectionController.getComposite().getBtnBioCaseProvider().getSelection()){
52
            return QueryType.BIOCASE;
53
        }
54
        else {// if(specimenProviderSelectionController.getComposite().getBtnGbif().getSelection()){
55
            return QueryType.GBIF;
56
        }
57
    }
58

  
59
    /**
60
     * @return
61
     * @throws URISyntaxException
62
     */
63
    public URI getEndPoint() {
64
        return endPoint;
65
    }
66

  
67
    /* (non-Javadoc)
68
     * @see org.eclipse.jface.wizard.WizardPage#isPageComplete()
69
     */
70
    @Override
71
    public boolean isPageComplete() {
72
        if(specimenProviderSelectionController.getComposite().getBtnBioCaseProvider().getSelection()){
73
            endPoint = null;
74
            try {
75
                endPoint = new URL(specimenProviderSelectionController.getComposite().getTxtAccessPoint().getText()).toURI();
76
                this.setErrorMessage(null);
77
                return true;
78
            } catch (MalformedURLException e) {
79
                setErrorMessage("A valid URL has to be entered.");
80
                return false;
81
            } catch (URISyntaxException e) {
82
                setErrorMessage("A valid URL has to be entered.");
83
                return false;
84
            }
85
        }
86
        else if(specimenProviderSelectionController.getComposite().getBtnGbif().getSelection()){
87
            this.setErrorMessage(null);
88
            return true;
89
        }
90
        return false;
91
    }
92

  
93
    /**
94
     * @return
95
     */
96
    public SpecimenProviderSelectionController getController() {
97
        return specimenProviderSelectionController;
98
    }
99

  
100

  
101

  
102

  
103
}
1
// $Id$
2
/**
3
* Copyright (C) 2013 EDIT
4
* European Distributed Institute of Taxonomy
5
* http://www.e-taxonomy.eu
6
*
7
* The contents of this file are subject to the Mozilla Public License Version 1.1
8
* See LICENSE.TXT at the top of this package for the full license terms.
9
*/
10
package eu.etaxonomy.taxeditor.view.dataimport;
11

  
12
import java.net.MalformedURLException;
13
import java.net.URI;
14
import java.net.URISyntaxException;
15
import java.net.URL;
16

  
17
import org.eclipse.jface.wizard.WizardPage;
18
import org.eclipse.swt.widgets.Composite;
19

  
20
import eu.etaxonomy.cdm.ext.common.ServiceWrapperBase;
21
import eu.etaxonomy.cdm.ext.occurrence.bioCase.BioCaseQueryServiceWrapper;
22
import eu.etaxonomy.taxeditor.view.specimenSearch.SpecimenProviderSelectionController;
23

  
24

  
25
/**
26
 * Wizard page for selecting the specimen provider
27
 * @author pplitzner
28
 * @date 12.09.2013
29
 *
30
 */
31
public class SpecimenProviderSelectionWizardPage extends WizardPage{
32

  
33
    private SpecimenProviderSelectionController specimenProviderSelectionController;
34
    private URI endPoint;
35
    private ServiceWrapperBase serviceWrapper;
36

  
37
    public SpecimenProviderSelectionWizardPage(String pageName) {
38
        super(pageName);
39
        setTitle("Select Specimen Provider");
40
        setDescription("Select the provider to query for specimens.\nTo query a BioCASE " +
41
        		"provider the access point URL must be entered.");
42
    }
43

  
44
    /* (non-Javadoc)
45
     * @see org.eclipse.jface.dialogs.IDialogPage#createControl(org.eclipse.swt.widgets.Composite)
46
     */
47
    @Override
48
    public void createControl(Composite parent) {
49
        specimenProviderSelectionController = SpecimenProviderSelectionController.getInstance(parent, getWizard());
50
        setControl(specimenProviderSelectionController.getComposite());
51
        //serviceWrapper = new BioCaseQueryServiceWrapper();
52

  
53
    }
54

  
55
    public QueryType getQueryType(){
56
        if(specimenProviderSelectionController.getComposite().getBtnBioCaseProvider().getSelection()){
57
            return QueryType.BIOCASE;
58
        }
59
        else {// if(specimenProviderSelectionController.getComposite().getBtnGbif().getSelection()){
60
            return QueryType.GBIF;
61
        }
62
    }
63

  
64
    /**
65
     * @return
66
     * @throws URISyntaxException
67
     */
68
    public URI getEndPoint() {
69
        return endPoint;
70
    }
71

  
72
    /* (non-Javadoc)
73
     * @see org.eclipse.jface.wizard.WizardPage#isPageComplete()
74
     */
75
    @Override
76
    public boolean isPageComplete() {
77
        if(specimenProviderSelectionController.getComposite().getBtnBioCaseProvider().getSelection()){
78
            endPoint = null;
79
            try {
80
                endPoint = new URL(specimenProviderSelectionController.getComposite().getTxtAccessPoint().getText()).toURI();
81
                serviceWrapper = new BioCaseQueryServiceWrapper();
82
                serviceWrapper.setBaseUrl(specimenProviderSelectionController.getComposite().getTxtAccessPoint().getText());
83
                this.setErrorMessage(null);
84
                return true;
85
            } catch (MalformedURLException e) {
86
                setErrorMessage("A valid URL has to be entered.");
87
                return false;
88
            } catch (URISyntaxException e) {
89
                setErrorMessage("A valid URL has to be entered.");
90
                return false;
91
            }
92
        }
93
        else if(specimenProviderSelectionController.getComposite().getBtnGbif().getSelection()){
94
            this.setErrorMessage(null);
95
            return true;
96
        }
97
        return false;
98
    }
99

  
100
    /**
101
     * @return the bioCaseQueryServiceWrapper
102
     */
103
    public ServiceWrapperBase getQueryServiceWrapper() {
104
        return serviceWrapper;
105
    }
106

  
107
    /**
108
     * @param bioCaseQueryServiceWrapper the bioCaseQueryServiceWrapper to set
109
     */
110
    public void setQueryServiceWrapper(ServiceWrapperBase queryServiceWrapper) {
111
        this.serviceWrapper = queryServiceWrapper;
112
    }
113

  
114
    /**
115
     * @return
116
     */
117
    public SpecimenProviderSelectionController getController() {
118
        return specimenProviderSelectionController;
119
    }
120

  
121

  
122

  
123

  
124
}
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/dataimport/SpecimenSearchWizard.java
1
// $Id$
2
/**
3
* Copyright (C) 2013 EDIT
4
* European Distributed Institute of Taxonomy
5
* http://www.e-taxonomy.eu
6
*
7
* The contents of this file are subject to the Mozilla Public License Version 1.1
8
* See LICENSE.TXT at the top of this package for the full license terms.
9
*/
10
package eu.etaxonomy.taxeditor.view.dataimport;
11

  
12
import org.apache.log4j.Logger;
13
import org.eclipse.core.runtime.IProgressMonitor;
14
import org.eclipse.core.runtime.IStatus;
15
import org.eclipse.core.runtime.Status;
16
import org.eclipse.core.runtime.jobs.Job;
17
import org.eclipse.jface.viewers.IStructuredSelection;
18
import org.eclipse.jface.wizard.Wizard;
19
import org.eclipse.swt.widgets.Display;
20
import org.eclipse.ui.IImportWizard;
21
import org.eclipse.ui.IWorkbench;
22

  
23
import eu.etaxonomy.cdm.database.DbSchemaValidation;
24
import eu.etaxonomy.cdm.ext.occurrence.OccurenceQuery;
25
import eu.etaxonomy.cdm.io.specimen.abcd206.in.Abcd206ImportConfigurator;
26
import eu.etaxonomy.taxeditor.store.CdmStore;
27

  
28
/**
29
 * Wizard for querying specimen provider.
30
 * @author pplitzner
31
 * @date 11.09.2013
32
 *
33
 */
34
public class SpecimenSearchWizard extends Wizard implements IImportWizard {
35
    private static final Logger logger = Logger.getLogger(SpecimenSearchWizard.class);
36

  
37
    private OccurenceQuery query = null;
38
    private SpecimenProviderSelectionWizardPage providerSelectionPage;
39
    private SpecimenSearchWizardPage searchPage;
40

  
41
    /**
42
     * Creates a new SpecimenSearchWizard
43
     */
44
    public SpecimenSearchWizard() {
45
        //default constructor needed for RCP extension points
46

  
47
        //check if connected to a data source. If not this will open an error dialog
48
        CdmStore.getCurrentApplicationConfiguration();
49
        this.setWindowTitle("Search Specimens");
50
    }
51

  
52

  
53
    /* (non-Javadoc)
54
     * @see org.eclipse.jface.wizard.Wizard#performFinish()
55
     */
56
    @Override
57
    public boolean performFinish() {
58
        searchPage.getController().saveLastSate();
59
        providerSelectionPage.getController().saveLastState();
60

  
61
        DataImportView<?> dataImportView = null;
62
        query = searchPage.getQuery();
63
        Abcd206ImportConfigurator configurator =  CdmStore.getImportManager().AbcdConfigurator();
64
        configurator.setOccurenceQuery(query);
65
        configurator.setSourceUri(providerSelectionPage.getEndPoint());
66
        configurator.setDbSchemaValidation(DbSchemaValidation.CREATE);
67
        if(CdmStore.getCurrentSessionManager().isRemoting()) {
68
            //Job job = CdmStore.getImportManager().createIOServiceJob(configurator, new File(source), SOURCE_TYPE.INPUTSTREAM);
69
            //CdmStore.getImportManager().run(job);
70

  
71
            CdmStore.getImportManager().run(configurator);
72
        }
73
//        try {
74
//            switch (providerSelectionPage.getQueryType()) {
75
//            case BIOCASE:
76
//                SpecimenImportView specimenImportView = (SpecimenImportView) TaxeditorEditorPlugin.getDefault().getWorkbench().getActiveWorkbenchWindow().getActivePage()
77
//                        .showView(SpecimenImportView.ID, "query_"+query.toString().replaceAll(",", ""),IWorkbenchPage.VIEW_ACTIVATE);
78
//                specimenImportView.setEndpoint(providerSelectionPage.getEndPoint());
79
//                dataImportView = specimenImportView;
80
//                break;
81
//            case GBIF:
82
//                dataImportView = (GbifResponseImportView) TaxeditorEditorPlugin.getDefault().getWorkbench().getActiveWorkbenchWindow().getActivePage()
83
//                .showView(GbifResponseImportView.ID, "query_"+query.toString().replaceAll(",", ""),IWorkbenchPage.VIEW_ACTIVATE);
84
//                break;
85
//            }
86
//        } catch ( PartInitException e ) {
87
//            logger.error("Could not open import view for query: " + query.toString(), e);
88
//        }
89
//        if(dataImportView!=null){
90
//            dataImportView.setQuery(query);
91
////            dataImportView.query();
92
////            Display.getDefault().asyncExec(new Runnable() {
93
////
94
////                @Override
95
////                public void run() {
96
////                    CdmStore.getContextManager().notifyContextRefresh();
97
////                }
98
////            });
99
            Job queryJob = new QueryJob("Query specimen provider", dataImportView);
100
            queryJob.schedule();
101

  
102
        return true;
103
    }
104

  
105
    /* (non-Javadoc)
106
     * @see org.eclipse.jface.wizard.Wizard#addPages()
107
     */
108
    @Override
109
    public void addPages() {
110
        addPage(providerSelectionPage);
111
        addPage(searchPage);
112
    }
113

  
114
    /* (non-Javadoc)
115
     * @see org.eclipse.ui.IWorkbenchWizard#init(org.eclipse.ui.IWorkbench, org.eclipse.jface.viewers.IStructuredSelection)
116
     */
117
    @Override
118
    public void init(IWorkbench workbench, IStructuredSelection selection) {
119
        providerSelectionPage = new SpecimenProviderSelectionWizardPage("Select specimen provider");
120
        searchPage = new SpecimenSearchWizardPage("Specimen Search");
121
    }
122

  
123
    private class QueryJob extends Job{
124

  
125
        private final DataImportView<?> view;
126

  
127
        /**
128
         * @param name
129
         */
130
        public QueryJob(String name, DataImportView<?> view) {
131
            super(name);
132
            this.view = view;
133
        }
134

  
135
        /* (non-Javadoc)
136
         * @see org.eclipse.core.runtime.jobs.Job#run(org.eclipse.core.runtime.IProgressMonitor)
137
         */
138
        @Override
139
        protected IStatus run(IProgressMonitor monitor) {
140
            view.getConversationHolder().bind();
141
            view.query();
142
            Display.getDefault().asyncExec(new Runnable() {
143

  
144
                @Override
145
                public void run() {
146
                    CdmStore.getContextManager().notifyContextRefresh();
147
                }
148
            });
149
            return Status.OK_STATUS;
150
        }
151

  
152
    }
153
}
1
// $Id$
2
/**
3
* Copyright (C) 2013 EDIT
4
* European Distributed Institute of Taxonomy
5
* http://www.e-taxonomy.eu
6
*
7
* The contents of this file are subject to the Mozilla Public License Version 1.1
8
* See LICENSE.TXT at the top of this package for the full license terms.
9
*/
10
package eu.etaxonomy.taxeditor.view.dataimport;
11

  
12
import java.io.IOException;
13
import java.io.InputStream;
14
import java.net.URI;
15

  
16
import org.apache.log4j.Logger;
17
import org.eclipse.core.runtime.IProgressMonitor;
18
import org.eclipse.core.runtime.IStatus;
19
import org.eclipse.core.runtime.Status;
20
import org.eclipse.core.runtime.jobs.Job;
21
import org.eclipse.jface.viewers.IStructuredSelection;
22
import org.eclipse.jface.wizard.Wizard;
23
import org.eclipse.swt.widgets.Display;
24
import org.eclipse.ui.IImportWizard;
25
import org.eclipse.ui.IWorkbench;
26
import org.eclipse.ui.IWorkbenchPage;
27
import org.eclipse.ui.IWorkbenchWindow;
28
import org.eclipse.ui.PartInitException;
29
import org.eclipse.ui.PlatformUI;
30
import org.w3c.dom.NodeList;
31

  
32
import eu.etaxonomy.cdm.database.DbSchemaValidation;
33
import eu.etaxonomy.cdm.ext.common.ServiceWrapperBase;
34
import eu.etaxonomy.cdm.ext.occurrence.OccurenceQuery;
35
import eu.etaxonomy.cdm.ext.occurrence.bioCase.BioCaseQueryServiceWrapper;
36
import eu.etaxonomy.cdm.io.specimen.abcd206.in.Abcd206ImportConfigurator;
37
import eu.etaxonomy.cdm.io.specimen.abcd206.in.Abcd206ImportReport;
38
import eu.etaxonomy.cdm.io.specimen.abcd206.in.AbcdParseUtility;
39
import eu.etaxonomy.cdm.io.specimen.abcd206.in.UnitAssociationWrapper;
40

  
41
import eu.etaxonomy.taxeditor.store.CdmStore;
42

  
43
/**
44
 * Wizard for querying specimen provider.
45
 * @author pplitzner
46
 * @date 11.09.2013
47
 *
48
 */
49
public class SpecimenSearchWizard extends Wizard implements IImportWizard {
50
    private static final Logger logger = Logger.getLogger(SpecimenSearchWizard.class);
51

  
52
    private OccurenceQuery query = null;
53
    private SpecimenProviderSelectionWizardPage providerSelectionPage;
54
    private SpecimenSearchWizardPage searchPage;
55

  
56
    /**
57
     * Creates a new SpecimenSearchWizard
58
     */
59
    public SpecimenSearchWizard() {
60
        //default constructor needed for RCP extension points
61

  
62
        //check if connected to a data source. If not this will open an error dialog
63
        CdmStore.getCurrentApplicationConfiguration();
64
        this.setWindowTitle("Search Specimens");
65
    }
66

  
67

  
68
    /* (non-Javadoc)
69
     * @see org.eclipse.jface.wizard.Wizard#performFinish()
70
     */
71
    @Override
72
    public boolean performFinish() {
73
        searchPage.getController().saveLastSate();
74
        providerSelectionPage.getController().saveLastState();
75
        ServiceWrapperBase serviceWrapper;
76
        DataImportView<?> dataImportView = null;
77
        query = searchPage.getQuery();
78
        Abcd206ImportConfigurator configurator =  CdmStore.getImportManager().AbcdConfigurator();
79
        configurator.setOccurenceQuery(query);
80
        configurator.setSourceUri(providerSelectionPage.getEndPoint());
81
        configurator.setDbSchemaValidation(DbSchemaValidation.CREATE);
82
        if(CdmStore.getCurrentSessionManager().isRemoting() ) {
83
            //Job job = CdmStore.getImportManager().createIOServiceJob(configurator, new File(source), SOURCE_TYPE.INPUTSTREAM);
84
            //CdmStore.getImportManager().run(job);
85
            try {
86
                serviceWrapper = providerSelectionPage.getQueryServiceWrapper();
87
                InputStream stream = null;
88

  
89
                final IWorkbenchWindow window = PlatformUI.getWorkbench().getActiveWorkbenchWindow();
90
                IWorkbenchPage activePart = window.getActivePage();
91
                if (providerSelectionPage.getQueryType().equals(QueryType.BIOCASE)){
92
                    stream =((BioCaseQueryServiceWrapper) serviceWrapper).query(query, configurator.getSourceUri());
93
                    Abcd206ImportReport report = new Abcd206ImportReport();
94
                    UnitAssociationWrapper unitNodesList = AbcdParseUtility.parseUnitsNodeList(stream, report);
95
                    NodeList nodeList = unitNodesList.getAssociatedUnits();
96
                    String prefix = unitNodesList.getPrefix();
97
                    String associationType = unitNodesList.getAssociationType();
98
                    URI uri =AbcdParseUtility.parseFirstUri(nodeList, report);
99
                    String content = AbcdParseUtility.parseFirstTextContent(nodeList);
100
                    System.out.println(content);
101

  
102

  
103
                    SpecimenImportView specimenImportView = new SpecimenImportView();
104
                    try {
105
                        specimenImportView = (SpecimenImportView) activePart.showView(SpecimenImportView.ID);
106
                        specimenImportView.setEndpoint(providerSelectionPage.getEndPoint());
107
                        specimenImportView.setQuery(query);
108
                        dataImportView = specimenImportView;
109
                    } catch (PartInitException e) {
110
                        // TODO Auto-generated catch block
111
                        e.printStackTrace();
112

  
113
                    }
114

  
115
                } else{
116
                    try {
117
                    	
118
                        dataImportView = (GbifResponseImportView) activePart.showView(GbifResponseImportView.ID, "query_"+query.toString().replaceAll(",", ""), IWorkbenchPage.VIEW_ACTIVATE);
119
                        		
120
                        	//	(GbifResponseImportView) activePart.showView(GbifResponseImportView.ID);getWorkbench().getActiveWorkbenchWindow().getActivePage()
121
                             // .showView(GbifResponseImportView.ID, "query_"+query.toString().replaceAll(",", ""),IWorkbenchPage.VIEW_ACTIVATE);
122

  
123
                    } catch (PartInitException e) {
124
                        // TODO Auto-generated catch block
125
                        e.printStackTrace();
126
                    }
127

  
128
                }
129

  
130

  
131
            } catch (IOException e) {
132
                // TODO Auto-generated catch block
133
                e.printStackTrace();
134
            }
135
           // CdmStore.getImportManager().run(configurator);
136
        }
137
//        try {
138
//            switch (providerSelectionPage.getQueryType()) {
139
//            case BIOCASE:
140
//                SpecimenImportView specimenImportView = (SpecimenImportView) TaxeditorEditorPlugin.getDefault().getWorkbench().getActiveWorkbenchWindow().getActivePage()
141
//                        .showView(SpecimenImportView.ID, "query_"+query.toString().replaceAll(",", ""),IWorkbenchPage.VIEW_ACTIVATE);
142
//                specimenImportView.setEndpoint(providerSelectionPage.getEndPoint());
143
//                dataImportView = specimenImportView;
144
//                break;
145
//            case GBIF:
146
//                dataImportView = (GbifResponseImportView) TaxeditorEditorPlugin.getDefault().getWorkbench().getActiveWorkbenchWindow().getActivePage()
147
//                .showView(GbifResponseImportView.ID, "query_"+query.toString().replaceAll(",", ""),IWorkbenchPage.VIEW_ACTIVATE);
148
//                break;
149
//            }
150
//        } catch ( PartInitException e ) {
151
//            logger.error("Could not open import view for query: " + query.toString(), e);
152
//        }
153
//        if(dataImportView!=null){
154
//            dataImportView.setQuery(query);
155
////            dataImportView.query();
156
////            Display.getDefault().asyncExec(new Runnable() {
157
////
158
////                @Override
159
////                public void run() {
160
////                    CdmStore.getContextManager().notifyContextRefresh();
161
////                }
162
////            });
163
            Job queryJob = new QueryJob("Query specimen provider", dataImportView);
164
            queryJob.schedule();
165

  
166
        return true;
167
    }
168

  
169
    /* (non-Javadoc)
170
     * @see org.eclipse.jface.wizard.Wizard#addPages()
171
     */
172
    @Override
173
    public void addPages() {
174
        addPage(providerSelectionPage);
175
        addPage(searchPage);
176
    }
177

  
178
    /* (non-Javadoc)
179
     * @see org.eclipse.ui.IWorkbenchWizard#init(org.eclipse.ui.IWorkbench, org.eclipse.jface.viewers.IStructuredSelection)
180
     */
181
    @Override
182
    public void init(IWorkbench workbench, IStructuredSelection selection) {
183
        providerSelectionPage = new SpecimenProviderSelectionWizardPage("Select specimen provider");
184
        searchPage = new SpecimenSearchWizardPage("Specimen Search");
185
    }
186

  
187
    private class QueryJob extends Job{
188

  
189
        private final DataImportView<?> view;
190

  
191
        /**
192
         * @param name
193
         */
194
        public QueryJob(String name, DataImportView<?> view) {
195
            super(name);
196
            this.view = view;
197
        }
198

  
199
        /* (non-Javadoc)
200
         * @see org.eclipse.core.runtime.jobs.Job#run(org.eclipse.core.runtime.IProgressMonitor)
201
         */
202
        @Override
203
        protected IStatus run(IProgressMonitor monitor) {
204
            view.getConversationHolder().bind();
205
            view.query();
206
            Display.getDefault().asyncExec(new Runnable() {
207

  
208
                @Override
209
                public void run() {
210
                    CdmStore.getContextManager().notifyContextRefresh();
211
                }
212
            });
213
            return Status.OK_STATUS;
214
        }
215

  
216
    }
217
}

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)