Exemplo n.º 1
0
 public void addKeyword(
     String myString,
     String mySource,
     String myDate,
     String myDateType,
     String myUri,
     String nodeName,
     String parent) { // MG 28.04.2015
   keywordsObj.setFormName(nodeName);
   keywordsContainerObj.setFormName(parent);
   keywordsObj.addNew(myString, mySource, myDate, myDateType, myUri, nodeName);
 }
Exemplo n.º 2
0
 /** Show or hide elements according to the selected {@link AppModes} */
 public void setInterface() {
   if (EUOSMEGWT.appMode.equalsIgnoreCase(AppModes.EENVPLUS.toString())
       || (EUOSMEGWT.appMode.equalsIgnoreCase(AppModes.GEOSS.toString())
           || EUOSMEGWT.appMode.equalsIgnoreCase(AppModes.GEOPORTAL.toString())
           || EUOSMEGWT.appMode.equalsIgnoreCase(AppModes.RDSI.toString()))) {
     keywordsObj.setRequired(true);
     keywordsObj.removeDisclosure();
     keywordsObj.setMultiple(false);
     keywordsContainerObj.addButton.setVisible(false);
     keywordsContainerObj.removeDisclosure();
   }
 }
Exemplo n.º 3
0
 /** Set the IDs of the contained objects */
 public void setFormName() {
   keywordsObj.setFormName(
       "md_metadata[1].identificationinfo[1]."
           + MainPanel.identificationInfoSubType
           + "[1].descriptivekeywords[1].md_keywords[1]");
   keywordsContainerObj.setFormName(
       "md_metadata[1].identificationinfo[1]."
           + MainPanel.identificationInfoSubType
           + "[1].descriptivekeywords[1]");
 }
Exemplo n.º 4
0
 /** This is called to make a client (first) check of the contained fields */
 public void myCheck() {
   keywordsObj.myCheck();
 }