Mercurial > projects > dwt-addons
diff dwtx/jface/action/ContributionItem.d @ 70:46a6e0e6ccd4
Merge with d-fied sources of 3.4M7
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Thu, 22 May 2008 01:36:46 +0200 |
parents | ea8ff534f622 |
children |
line wrap: on
line diff
--- a/dwtx/jface/action/ContributionItem.d Mon May 19 13:41:06 2008 +0200 +++ b/dwtx/jface/action/ContributionItem.d Thu May 22 01:36:46 2008 +0200 @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2005 IBM Corporation and others. + * Copyright (c) 2000, 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 @@ -215,4 +215,16 @@ */ public void update(String id) { } + + /** + * The ID for this contribution item. It should be set once either in the + * constructor or using this method. + * + * @param itemId + * @since 3.4 + * @see #getId() + */ + public void setId(String itemId) { + id = itemId; + } }