org.eclipse.cdt.managedbuilder.ui.properties
Class BuildToolSettingUI

java.lang.Object
  extended by org.eclipse.jface.dialogs.DialogPage
      extended by org.eclipse.jface.preference.PreferencePage
          extended by org.eclipse.jface.preference.FieldEditorPreferencePage
              extended by org.eclipse.cdt.managedbuilder.ui.properties.AbstractToolSettingUI
                  extended by org.eclipse.cdt.managedbuilder.ui.properties.BuildToolSettingUI
All Implemented Interfaces:
java.util.EventListener, org.eclipse.jface.dialogs.IDialogPage, org.eclipse.jface.dialogs.IMessageProvider, org.eclipse.jface.preference.IPreferencePage, org.eclipse.jface.util.IPropertyChangeListener

public class BuildToolSettingUI
extends AbstractToolSettingUI


Field Summary
 
Fields inherited from class org.eclipse.jface.preference.FieldEditorPreferencePage
FLAT, GRID
 
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
 
Constructor Summary
BuildToolSettingUI(AbstractCBuildPropertyTab page, IResourceInfo info, ITool _tool)
           
 
Method Summary
 org.eclipse.swt.graphics.Point computeSize()
           
 boolean isFor(java.lang.Object tool, java.lang.Object unused)
          Answers true if the receiver manages settings for the argument
 void parseAllOptions()
          This method parses the string that is entered in the all build option field editor and stores the options to the corresponding option fields.
static java.lang.String[] parseString(java.lang.String stringList)
           
 boolean performOk()
           
 void propertyChange(org.eclipse.jface.util.PropertyChangeEvent event)
          Method called when the value of a dialog field changes
 void setValues()
           
 void updateFields()
          Update the field editor that displays all the build options
 
Methods inherited from class org.eclipse.cdt.managedbuilder.ui.properties.AbstractToolSettingUI
isDirty, setDirty, storeSettings
 
Methods inherited from class org.eclipse.jface.preference.FieldEditorPreferencePage
dispose, setVisible
 
Methods inherited from class org.eclipse.jface.preference.PreferencePage
applyData, createControl, getContainer, getPreferenceStore, isValid, okToLeave, performCancel, performHelp, setContainer, setErrorMessage, setMessage, setPreferenceStore, setSize, setTitle, setValid, toString
 
Methods inherited from class org.eclipse.jface.dialogs.DialogPage
getControl, getDescription, getErrorMessage, getImage, getMessage, getMessageType, getShell, getTitle, setDescription, setImageDescriptor, setMessage
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.jface.dialogs.IDialogPage
getControl, getDescription, getErrorMessage, getImage, getMessage, getTitle, setDescription, setImageDescriptor
 

Constructor Detail

BuildToolSettingUI

public BuildToolSettingUI(AbstractCBuildPropertyTab page,
                          IResourceInfo info,
                          ITool _tool)
Method Detail

computeSize

public org.eclipse.swt.graphics.Point computeSize()
Specified by:
computeSize in interface org.eclipse.jface.preference.IPreferencePage
Overrides:
computeSize in class org.eclipse.jface.preference.PreferencePage

isFor

public boolean isFor(java.lang.Object tool,
                     java.lang.Object unused)
Answers true if the receiver manages settings for the argument

Specified by:
isFor in class AbstractToolSettingUI
Parameters:
tool -
Returns:

parseAllOptions

public void parseAllOptions()
This method parses the string that is entered in the all build option field editor and stores the options to the corresponding option fields.


parseString

public static java.lang.String[] parseString(java.lang.String stringList)

performOk

public boolean performOk()
Specified by:
performOk in interface org.eclipse.jface.preference.IPreferencePage
Overrides:
performOk in class org.eclipse.jface.preference.FieldEditorPreferencePage

updateFields

public void updateFields()
Update the field editor that displays all the build options

Specified by:
updateFields in class AbstractToolSettingUI

setValues

public void setValues()
Specified by:
setValues in class AbstractToolSettingUI

propertyChange

public void propertyChange(org.eclipse.jface.util.PropertyChangeEvent event)
Description copied from class: AbstractToolSettingUI
Method called when the value of a dialog field changes

Specified by:
propertyChange in interface org.eclipse.jface.util.IPropertyChangeListener
Overrides:
propertyChange in class AbstractToolSettingUI