Search in sources :

Example 1 with UserActionCatalogItem

use of org.eclipse.epp.internal.mpc.ui.catalog.UserActionCatalogItem in project epp.mpc by eclipse.

the class UserFavoritesSignInActionItem method getDescriptionText.

@Override
protected String getDescriptionText() {
    UserActionCatalogItem loginItem = getData();
    if (loginItem != null && loginItem.getData() != null && !"".equals(loginItem.getData())) {
        // $NON-NLS-1$
        String loginMessage = (String) loginItem.getData();
        loginMessage = loginMessage.trim();
        return NLS.bind(Messages.SignInUserActionItem_retryLoginLabel, loginMessage);
    }
    return Messages.UserFavoritesSignInActionItem_SignInDescription;
}
Also used : UserActionCatalogItem(org.eclipse.epp.internal.mpc.ui.catalog.UserActionCatalogItem)

Aggregations

UserActionCatalogItem (org.eclipse.epp.internal.mpc.ui.catalog.UserActionCatalogItem)1