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 005 package graphlab.plugins.commandline; 006 007 import graphlab.platform.core.BlackBoard; 008 import graphlab.ui.components.GComponentInterface; 009 010 import java.awt.*; 011 012 /** 013 * @author Mohammad Ali Rostami 014 * @email ma.rostami@yahoo.com 015 */ 016 public class ShellSideBar implements GComponentInterface { 017 public Component getComponent(BlackBoard b) { 018 ShellConsole j = new ShellConsole(); 019 j.setMinimumSize(new Dimension(300, 100)); 020 j.setPreferredSize(new Dimension(300, 200)); 021 return j; 022 } 023 }