Package net.sphene.goim.rcp.preferences

Source Code of net.sphene.goim.rcp.preferences.GOIMGames

/*
* Gamers Own Instant Messenger
* Copyright (C) 2005-2006 Herbert Poul (kahless@sphene.net)
* http://goim.sphene.net
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
*/
package net.sphene.goim.rcp.preferences;

import net.sphene.goim.rcp.GOIMPlugin;
import net.sphene.goim.rcp.ui.preferences.GOIMPreferenceGameGUI;

import org.eclipse.jface.preference.PreferencePage;
import org.eclipse.swt.SWT;
import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Control;
import org.eclipse.ui.IWorkbench;
import org.eclipse.ui.IWorkbenchPreferencePage;

public class GOIMGames extends PreferencePage implements
    IWorkbenchPreferencePage {

  public static final String ID = "net.sphene.goim.rcp.preferences.GOIMGames";

  public GOIMGames() {
    super();
  }

  public GOIMGames(String title) {
    super(title);
    noDefaultAndApplyButton();
    setPreferenceStore(GOIMPlugin.getDefault().getPreferenceStore());
    setDescription("GOIM Preference Page");
  }
/*
  public GOIMGames(String title, ImageDescriptor image) {
    super(title, image);
    // TODO Auto-generated constructor stub
  }
 
  */

  @Override
  protected Control createContents(Composite parent) {
    noDefaultAndApplyButton();
    parent.setLayout(new GridLayout());
    GOIMPreferenceGameGUI gui = new GOIMPreferenceGameGUI(parent,SWT.NONE);
    return gui;
  }

  public void init(IWorkbench workbench) {
  }

}
TOP

Related Classes of net.sphene.goim.rcp.preferences.GOIMGames

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.