1 11 package org.eclipse.core.internal.runtime; 12 13 import org.eclipse.core.runtime.IProduct; 14 import org.eclipse.equinox.internal.app.IBranding; 15 import org.osgi.framework.Bundle; 16 17 public class Product implements IProduct { 18 IBranding branding; 19 public Product(IBranding branding) { 20 this.branding = branding; 21 } 22 23 public String getApplication() { 24 return branding.getApplication(); 25 } 26 27 public Bundle getDefiningBundle() { 28 return branding.getDefiningBundle(); 29 } 30 31 public String getDescription() { 32 return branding.getDescription(); 33 } 34 35 public String getId() { 36 return branding.getId(); 37 } 38 39 public String getName() { 40 return branding.getName(); 41 } 42 43 public String getProperty(String key) { 44 return branding.getProperty(key); 45 } 46 } 47 | Popular Tags |