private void applyValue(String property, String value) throws CoreException {
   if (fCurrentInput == null) return;
   if (property.equals(IEnvironment.P_NL)) fCurrentInput.setNL(value);
   else if (property.equals(IEnvironment.P_OS)) fCurrentInput.setOS(value);
   else if (property.equals(IEnvironment.P_WS)) fCurrentInput.setWS(value);
   else if (property.equals(IEnvironment.P_ARCH)) fCurrentInput.setArch(value);
 }
 private void setValue(String property) {
   if (fCurrentInput == null) {
     clearField(property);
   } else {
     if (property.equals(IEnvironment.P_NL)) fNlText.setValue(fCurrentInput.getNL(), true);
     else if (property.equals(IEnvironment.P_OS)) fOsText.setValue(fCurrentInput.getOS(), true);
     else if (property.equals(IEnvironment.P_WS)) fWsText.setValue(fCurrentInput.getWS(), true);
     else if (property.equals(IEnvironment.P_ARCH))
       fArchText.setValue(fCurrentInput.getArch(), true);
   }
 }