/******************************************************************************* * Copyright (c) 2008 Pierre-Antoine Grégoire. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * Pierre-Antoine Grégoire - initial API and implementation *******************************************************************************/ package org.org.eclipse.dws.core.internal.jobs.completion; import org.org.eclipse.dws.core.DWSCorePlugin; import org.org.eclipse.dws.core.internal.images.PluginImages; /** * The Class MessagesBasedCompletionNotification. */ public class MessagesBasedCompletionNotification extends org.org.eclipse.core.utils.platform.jobs.completion.MessagesBasedCompletionNotification { /** * Instantiates a new messages based completion notification. * * @param messageType * the message type * @param label * the label * @param message * the message */ public MessagesBasedCompletionNotification(MessageType messageType, String label, String message) { super(messageType, label, message, DWSCorePlugin.getDefault().getImages().getImage(PluginImages.LOGO_MAVEN_HTTP_REPOSITORY_16)); } /* * (non-Javadoc) * * @see org.org.eclipse.core.utils.platform.jobs.completion.MessagesBasedCompletionNotification#openTargetElement() */ /** * @see org.org.eclipse.core.utils.platform.jobs.completion.MessagesBasedCompletionNotification#openTargetElement() */ @Override public void openTargetElement() { DWSCorePlugin.getDefault().notifyRepositoryModelUpdate(null); } }