All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.eclipse.ui.statushandlers.IStatusAdapterConstants Maven / Gradle / Ivy

There is a newer version: 3.108.0.v20160602-1232
Show newest version
/*******************************************************************************
 * Copyright (c) 2008 IBM Corporation and others.
 * 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:
 *     IBM Corporation - initial API and implementation
 ******************************************************************************/

package org.eclipse.ui.statushandlers;

import org.eclipse.core.runtime.QualifiedName;
import org.eclipse.ui.PlatformUI;

/**
 * This interface contains common constants important for
 * StatusAdapter.
 *
 * 

* This interface should not be implemented or extended by clients. *

* * @since 3.4 */ public interface IStatusAdapterConstants { /** * Common prefix for properties defined in this interface. */ static final String PROPERTY_PREFIX = PlatformUI.PLUGIN_ID + ".workbench.statusHandlers.adapters"; //$NON-NLS-1$ /** * This property is used to add title to the adapter. If the adapter is * shown in a dialog, this property is used to create title of the dialog. * *

* The property must be of type String. *

*/ public static final QualifiedName TITLE_PROPERTY = new QualifiedName( PROPERTY_PREFIX, "title"); //$NON-NLS-1$ /** * This property is used to add a timestamp to the adapter. If the adapter * is shown in the UI, this property can be used for sorting and showing * information about the status creation time. * *

* The property must be of type Long. *

*/ public static final QualifiedName TIMESTAMP_PROPERTY = new QualifiedName( PROPERTY_PREFIX, "timestamp"); //$NON-NLS-1$ /** * This property is used to add an explanation to the adapter. If the * adapter is shown in the UI, this property should be used to present * additional explanation for the status. * *

* The property must be of type String. *

*/ public static final QualifiedName EXPLANATION_PROPERTY = new QualifiedName( PROPERTY_PREFIX, "explanation"); //$NON-NLS-1$ /** * This property is used to add a hint to the adapter. If the adapter is * shown in the UI, this property should be used to present suggested * actions that have to be performed by the user. * *

* The property must be of type String. *

*/ public static final QualifiedName HINT_PROPERTY = new QualifiedName( PROPERTY_PREFIX, "suggestedAction"); //$NON-NLS-1$ }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy