public static HandbookRegistry[] getResourceTabs() { int size = tabList.length - RESOURCEDESC.ordinal() - 1; HandbookRegistry[] tabs = new HandbookRegistry[size]; System.arraycopy(tabList, RESOURCEDESC.ordinal() + 1, tabs, 0, size); return tabs; }
public static HandbookRegistry[] getToolTabs() { int size = RESOURCEDESC.ordinal() - TOOLDESC.ordinal() - 1; HandbookRegistry[] tabs = new HandbookRegistry[size]; System.arraycopy(tabList, TOOLDESC.ordinal() + 1, tabs, 0, size); return tabs; }