Java 类org.eclipse.gef.tools.ConnectionCreationTool 实例源码

项目:gef-gwt    文件:ConnectionCreationToolEntry.java   
/**
 * Constructor for ConnectionCreationToolEntry.
 * 
 * @param label
 *            the label
 * @param shortDesc
 *            the description
 * @param factory
 *            the CreationFactory
 * @param iconSmall
 *            the small icon
 * @param iconLarge
 *            the large icon
 */
public ConnectionCreationToolEntry(String label, String shortDesc,
        CreationFactory factory, ImageDescriptor iconSmall,
        ImageDescriptor iconLarge) {
    super(label, shortDesc, factory, iconSmall, iconLarge);
    setToolClass(ConnectionCreationTool.class);
    setUserModificationPermission(PERMISSION_NO_MODIFICATION);
}