001 // GraphLab Project: http://graphlab.sharif.edu 002 // Copyright (C) 2008 Mathematical Science Department of Sharif University of Technology 003 // Distributed under the terms of the GNU General Public License (GPL): http://www.gnu.org/licenses/ 004 package graphlab.plugins.main.ui; 005 006 import graphlab.graph.old.GStroke; 007 import static graphlab.graph.old.GStroke.*; 008 import graphlab.ui.components.gpropertyeditor.editors.inplace.GComboEditor; 009 010 /** 011 * @author azin azadi 012 */ 013 public class GStrokeEditor extends GComboEditor { 014 public Object[] getValues() { 015 GStroke a[] = new GStroke[]{ 016 simple, 017 solid, 018 strong, 019 dashed, 020 dotted, 021 dashed_dotted, 022 dashed_dotted_dotted, 023 dashed_dashed_dotted 024 }; 025 return a; 026 } 027 }