// Path: chapter10/WoodworkingTools/app/src/main/java/com/iangclifton/woodworkingtools/ToolType.java
// public enum ToolType {
//     CLAMPS(R.string.clamps, R.string.clamps_description, R.drawable.hero_image_clamps_1080),
//     SAWS(R.string.saws, R.string.saws_description, R.drawable.hero_image_saw_1080),
//     DRILLS(R.string.drills, R.string.drills_description, R.drawable.hero_image_drill_1080),
//     SANDERS(R.string.sanders, R.string.sanders_description, R.drawable.hero_image_sander_1080),
//     ROUTERS(R.string.routers, R.string.routers_description, R.drawable.hero_image_router_1080),
//     LATHES(R.string.lathes, R.string.lathes_description, R.drawable.hero_image_lathe_1080),
//     MORE(R.string.more, R.string.more_description, R.drawable.hero_image_more_1080),
//     ;
// 
//     private final int mToolNameResourceId;
//     private final int mToolDescriptionResourceId;
//     private final int mToolImageResourceId;
// 
//     private ToolType(@StringRes int toolName, @StringRes int toolDescription, @DrawableRes int toolImage) {
//         mToolNameResourceId = toolName;
//         mToolDescriptionResourceId = toolDescription;
//         mToolImageResourceId = toolImage;
//     }
// 
//     @StringRes
//     public int getToolDescriptionResourceId() {
//         return mToolDescriptionResourceId;
//     }
// 
//     @StringRes
//     public int getToolNameResourceId() {
//         return mToolNameResourceId;
//     }
// 
//     @DrawableRes
//     public int getToolImageResourceId() {
//         return mToolImageResourceId;
//     }
// }


import android.os.Parcel;
import android.os.Parcelable;
import android.support.annotation.NonNull;
import android.support.annotation.StringRes;
import com.iangclifton.woodworkingtools.ToolType;
package com.iangclifton.woodworkingtools.toollist;



/**
 * Represents a tab for a particular ToolType.
 *
 * @author Ian G. Clifton
 */
public class ToolTab implements Parcelable {

    private final int mStringResourceId;
    private final int mTabId;
// Path: chapter10/WoodworkingTools/app/src/main/java/com/iangclifton/woodworkingtools/ToolType.java
// public enum ToolType {
//     CLAMPS(R.string.clamps, R.string.clamps_description, R.drawable.hero_image_clamps_1080),
//     SAWS(R.string.saws, R.string.saws_description, R.drawable.hero_image_saw_1080),
//     DRILLS(R.string.drills, R.string.drills_description, R.drawable.hero_image_drill_1080),
//     SANDERS(R.string.sanders, R.string.sanders_description, R.drawable.hero_image_sander_1080),
//     ROUTERS(R.string.routers, R.string.routers_description, R.drawable.hero_image_router_1080),
//     LATHES(R.string.lathes, R.string.lathes_description, R.drawable.hero_image_lathe_1080),
//     MORE(R.string.more, R.string.more_description, R.drawable.hero_image_more_1080),
//     ;
// 
//     private final int mToolNameResourceId;
//     private final int mToolDescriptionResourceId;
//     private final int mToolImageResourceId;
// 
//     private ToolType(@StringRes int toolName, @StringRes int toolDescription, @DrawableRes int toolImage) {
//         mToolNameResourceId = toolName;
//         mToolDescriptionResourceId = toolDescription;
//         mToolImageResourceId = toolImage;
//     }
// 
//     @StringRes
//     public int getToolDescriptionResourceId() {
//         return mToolDescriptionResourceId;
//     }
// 
//     @StringRes
//     public int getToolNameResourceId() {
//         return mToolNameResourceId;
//     }
// 
//     @DrawableRes
//     public int getToolImageResourceId() {
//         return mToolImageResourceId;
//     }
// }


// Path: chapter10/WoodworkingTools/app/src/main/java/com/iangclifton/woodworkingtools/toollist/ToolTab.java
import android.os.Parcel;
import android.os.Parcelable;
import android.support.annotation.NonNull;
import android.support.annotation.StringRes;
import com.iangclifton.woodworkingtools.ToolType;

package com.iangclifton.woodworkingtools.toollist;



/**
 * Represents a tab for a particular ToolType.
 *
 * @author Ian G. Clifton
 */
public class ToolTab implements Parcelable {

    private final int mStringResourceId;
    private final int mTabId;
    private final ToolType mToolType;