| | |
| | | * |
| | | * |
| | | * Copyright 2006-2010 Sun Microsystems, Inc. |
| | | * Portions Copyright 2011 ForgeRock AS |
| | | * Portions Copyright 2011-2014 ForgeRock AS |
| | | */ |
| | | |
| | | package org.opends.guitools.uninstaller.ui; |
| | |
| | | import java.util.logging.Logger; |
| | | import java.io.IOException; |
| | | |
| | | import org.opends.messages.Message; |
| | | import org.forgerock.i18n.LocalizableMessage; |
| | | import static org.opends.messages.AdminToolMessages.*; |
| | | |
| | | /** |
| | |
| | | * {@inheritDoc} |
| | | */ |
| | | @Override |
| | | protected Message getTitle() |
| | | protected LocalizableMessage getTitle() |
| | | { |
| | | return INFO_CONFIRM_UNINSTALL_PANEL_TITLE.get(); |
| | | } |
| | |
| | | FieldName.REMOVE_LDIFS, |
| | | }; |
| | | |
| | | Message[] labels = { |
| | | LocalizableMessage[] labels = { |
| | | INFO_REMOVE_LIBRARIES_AND_TOOLS_LABEL.get(), |
| | | INFO_REMOVE_DATABASES_LABEL.get(), |
| | | INFO_REMOVE_LOGS_LABEL.get(), |
| | |
| | | INFO_REMOVE_LDIFS_LABEL.get() |
| | | }; |
| | | |
| | | Message[] tooltips = { |
| | | LocalizableMessage[] tooltips = { |
| | | INFO_REMOVE_LIBRARIES_AND_TOOLS_TOOLTIP.get(), |
| | | INFO_REMOVE_DATABASES_TOOLTIP.get(), |
| | | INFO_REMOVE_LOGS_TOOLTIP.get(), |
| | |
| | | gbc.gridwidth = GridBagConstraints.REMAINDER; |
| | | gbc.insets.left = UIFactory.LEFT_INSET_SECONDARY_FIELD; |
| | | p.add(UIFactory.makeJLabel(UIFactory.IconType.NO_ICON, |
| | | Message.raw(Utils.getInstallPathFromClasspath()), |
| | | LocalizableMessage.raw(Utils.getInstallPathFromClasspath()), |
| | | UIFactory.TextStyle.INSTRUCTIONS), |
| | | gbc); |
| | | |
| | |
| | | * {@inheritDoc} |
| | | */ |
| | | @Override |
| | | protected Message getInstructions() |
| | | protected LocalizableMessage getInstructions() |
| | | { |
| | | return INFO_CONFIRM_UNINSTALL_PANEL_INSTRUCTIONS.get(); |
| | | } |
| | |
| | | } |
| | | |
| | | private JPanel createOutsidePathPanel(JCheckBox cb, Set<String> paths, |
| | | Message msg) |
| | | LocalizableMessage msg) |
| | | { |
| | | JPanel panel = new JPanel(new GridBagLayout()); |
| | | panel.setOpaque(false); |