net.sourceforge.geeboss.view.properties
Class MidiPropertyPage

java.lang.Object
  extended by net.sourceforge.geeboss.view.properties.MidiPropertyPage

public abstract class MidiPropertyPage
extends java.lang.Object

A Midi property page holds components to set Midi properties in Geeboss

Author:
Frederic BORRY

Field Summary
protected  org.eclipse.swt.widgets.Composite mComposite
          Holds the Property Page
protected  org.eclipse.swt.graphics.Font mDialogFont
          Font to use for the components
protected  org.eclipse.swt.custom.CLabel mErrorMessageLabel
          Label to display a warning or warning
protected  org.eclipse.swt.widgets.Composite mParent
          Parent of the composite
 
Constructor Summary
protected MidiPropertyPage(org.eclipse.swt.widgets.Composite parent)
          Instantiates a new MidiPropertyPage
 
Method Summary
protected  void createComposite()
          Create the composite that holds the PropertyPage
 void dispose()
          Dispose the composite that holds the property page
protected abstract  void initComponents()
          Init all components
protected  void setErrorMessage(java.lang.String errorMessage)
          Set / unset the warning message on the dialog
protected  void setWarningMessage(java.lang.String warningMessage)
          Set / unset the warning message on the dialog
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mComposite

protected org.eclipse.swt.widgets.Composite mComposite
Holds the Property Page


mDialogFont

protected org.eclipse.swt.graphics.Font mDialogFont
Font to use for the components


mErrorMessageLabel

protected org.eclipse.swt.custom.CLabel mErrorMessageLabel
Label to display a warning or warning


mParent

protected org.eclipse.swt.widgets.Composite mParent
Parent of the composite

Constructor Detail

MidiPropertyPage

protected MidiPropertyPage(org.eclipse.swt.widgets.Composite parent)
Instantiates a new MidiPropertyPage

Parameters:
parent - Composite's parent
Method Detail

dispose

public void dispose()
Dispose the composite that holds the property page


createComposite

protected void createComposite()
Create the composite that holds the PropertyPage


initComponents

protected abstract void initComponents()
Init all components


setErrorMessage

protected void setErrorMessage(java.lang.String errorMessage)
Set / unset the warning message on the dialog

Parameters:
errorMessage - The warning message or NULL for no warning

setWarningMessage

protected void setWarningMessage(java.lang.String warningMessage)
Set / unset the warning message on the dialog

Parameters:
warningMessage - The warning message or NULL for no warning


Copyright (c) 2005 The Geeboss team (http://geeboss.sourceforge.net). All Rights Reserved.