private void xmlWriteJarLocation(JarPackageData jarPackage, Document document, Element xmlJarDesc) throws DOMException { Element jar= document.createElement(JarPackagerUtil.JAR_EXTENSION); xmlJarDesc.appendChild(jar); jar.setAttribute("path", jarPackage.getJarLocation().toPortableString()); //$NON-NLS-1$ }
private void xmlWriteJarLocation(JarPackageData jarPackage, Document document, Element xmlJarDesc) throws DOMException { Element jar= document.createElement(JarPackagerUtil.JAR_EXTENSION); xmlJarDesc.appendChild(jar); jar.setAttribute("path", jarPackage.getJarLocation().toPortableString()); //$NON-NLS-1$ }
private void xmlWriteJarLocation(JarPackageData jarPackage, Document document, Element xmlJarDesc) throws DOMException { Element jar= document.createElement(JarPackagerUtil.JAR_EXTENSION); xmlJarDesc.appendChild(jar); jar.setAttribute("path", jarPackage.getJarLocation().toPortableString()); //$NON-NLS-1$ }
@Override protected void restoreWidgetValues() { // destination if (fJarPackage.getJarLocation().isEmpty()) fDestinationNamesCombo.setText(""); //$NON-NLS-1$ else fDestinationNamesCombo.setText(fJarPackage.getJarLocation().toOSString()); IDialogSettings settings= getDialogSettings(); if (settings != null) { String[] directoryNames= settings.getArray(fStoreDestinationNamesId); if (directoryNames == null) return; // ie.- no settings stored if (!fDestinationNamesCombo.getText().equals(directoryNames[0])) fDestinationNamesCombo.add(fDestinationNamesCombo.getText()); for (int i= 0; i < directoryNames.length; i++) fDestinationNamesCombo.add(directoryNames[i]); } }
@Override protected void restoreWidgetValues() { // destination if (fJarPackage.getJarLocation().isEmpty()) fDestinationNamesCombo.setText(""); //$NON-NLS-1$ else fDestinationNamesCombo.setText(fJarPackage.getJarLocation().toOSString()); IDialogSettings settings= getDialogSettings(); if (settings != null) { String[] directoryNames= settings.getArray(fStoreDestinationNamesId); if (directoryNames == null) return; // ie.- no settings stored if (!fDestinationNamesCombo.getText().equals(directoryNames[0])) fDestinationNamesCombo.add(fDestinationNamesCombo.getText()); for (int i= 0; i < directoryNames.length; i++) fDestinationNamesCombo.add(directoryNames[i]); } }
if (fJarPackage.getJarLocation().isEmpty()) fDestinationNamesCombo.setText(""); //$NON-NLS-1$ else fDestinationNamesCombo.setText(fJarPackage.getJarLocation().toOSString()); IDialogSettings settings= getDialogSettings(); if (settings != null) {
IPath location= fJarPackage.getJarLocation(); if (location == null) { settings.put(STORE_DESTINATION_ELEMENT, ""); //$NON-NLS-1$
IPath location= fJarPackage.getJarLocation(); if (location == null) { settings.put(STORE_DESTINATION_ELEMENT, ""); //$NON-NLS-1$
IPath location= fJarPackage.getJarLocation(); if (location == null) { settings.put(STORE_DESTINATION_ELEMENT, ""); //$NON-NLS-1$