package net.sourceforge.ganttproject.gui.options;

import net.sourceforge.ganttproject.IGanttProject;
import net.sourceforge.ganttproject.gui.UIFacade;
import net.sourceforge.ganttproject.gui.options.model.GPOptionGroup;
import net.sourceforge.ganttproject.gui.options.model.OptionPageProvider;
import net.sourceforge.ganttproject.language.GanttLanguage;

public class GanttChartOptionPageProvider implements OptionPageProvider {

    public GPOptionGroup[] getOptionGroups(IGanttProject project,
            UIFacade uiFacade) {
        return uiFacade.getGanttChart().getOptionGroups();
    }

    public String getPageID() {
        return "ganttChart";
    }

    public String toString() {
        return GanttLanguage.getInstance().getText("ganttChart");
    }
    
    

}
