Revision 3486 trunk/applications/appCatalogYNomenclatorClient/src/es/gva/cit/catalogClient/ui/search/SearchUpperPanel.java

View differences:

SearchUpperPanel.java
54 54
import javax.swing.JButton;
55 55
import javax.swing.ImageIcon;
56 56

  
57
import es.gva.cit.catalogClient.profiles.Profile;
57 58
import es.gva.cit.catalogClient.traductor.ITranslator;
58 59
import es.gva.cit.catalogClient.traductor.Translator;
60
import es.gva.cit.catalogClient.utils.comboServer.ServerData;
59 61
/**
60 62
 * @author Jorge Piera Llodra (piera_jor@gva.es)
61 63
 */
......
314 316
        //System.out.println("TYPE: " + type);
315 317
        //System.out.println("SUBTYPE: " + profile);
316 318
        
317
        if (type.equals("SRW") ||
318
                profile.equals("ISO19115") ||
319
                profile.equals("DUBLINCORE")){
319
        if (type.equals(ServerData.SERVER_SUBTYPE_CATALOG_SRW) ||
320
                profile.equals(Profile.ISO19115) ||
321
                profile.equals(Profile.DUBLINCORE)){
320 322
            getCoordinatesCheckBox().setEnabled(false);
321 323
        }
322 324
    }

Also available in: Unified diff