<% | |
/** | |
* <copyright> | |
* | |
* Copyright (c) 2010 Ed Merks 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: | |
* Ed Merks - Initial API and implementation | |
* | |
* </copyright> | |
*/ | |
%> | |
<%GenModel genModel = (GenModel)argument; /* Trick to import java.util.* without warnings */Iterator.class.getName();%> | |
<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderJava" args="parameter:argument"%> | |
package <%=genModel.getEditPluginPackageName()%>; | |
<%genModel.markImportLocation(stringBuffer);%> | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public interface <%=genModel.getEditPluginClassName()%>Images extends <%=genModel.getImportedName("com.google.gwt.resources.client.ClientBundle")%> | |
{ | |
<%for (GenPackage genPackage : genModel.getAllGenAndUsedGenPackagesWithClassifiers()) {%> | |
<%for (GenClass genClass : genPackage.getGenClasses()) {%> | |
<%if (genClass.isImage()) { String image = genClass.getItemIconFileName(); image = image.substring(image.lastIndexOf("/icons/") + 1); %> | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
@Source("<%=image%>") | |
<%=genModel.getImportedName("com.google.gwt.resources.client.ImageResource")%> <%=genClass.getSafeUncapName()%>(); | |
<%}%> | |
<%}%> | |
<%}%> | |
} | |
<%genModel.emitSortedImports();%> |