org.wsmostudio.grounding.sawsdl.preferences
Class SAWSDLTextEditorColorsPage

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.wsmostudio.grounding.sawsdl.preferences.SAWSDLTextEditorColorsPage
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, org.eclipse.ui.IWorkbenchPreferencePage

public class SAWSDLTextEditorColorsPage
extends org.eclipse.jface.preference.FieldEditorPreferencePage
implements org.eclipse.ui.IWorkbenchPreferencePage

A preference page which defines different colors for the syntax highlighting in the SAWSDL Text editor.

Version:
$Revision: 1216 $ $Date: 2007-07-02 16:12:08 +0300 $
Author:
not attributable

Field Summary
 
Fields inherited from class org.eclipse.jface.preference.FieldEditorPreferencePage
FLAT, GRID, MARGIN_HEIGHT, MARGIN_WIDTH, VERTICAL_SPACING
 
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
 
Constructor Summary
SAWSDLTextEditorColorsPage()
           
 
Method Summary
protected  void createFieldEditors()
           
 void dispose()
           
static org.eclipse.swt.graphics.RGB getAttributesColor()
           
static int getAttributesStyle()
           
static org.eclipse.swt.graphics.RGB getAttrValuesColor()
           
static int getAttrValuesStyle()
           
static org.eclipse.swt.graphics.RGB getSAWSDLColor()
           
static org.eclipse.swt.graphics.RGB getSAWSDLDataColor()
           
static int getSAWSDLDataStyle()
           
static int getSAWSDLStyle()
           
static org.eclipse.swt.graphics.RGB getTagsColor()
           
static int getTagsStyle()
           
static org.eclipse.swt.graphics.RGB getTextColor()
           
static int getTextStyle()
           
 void init(org.eclipse.ui.IWorkbench workbench)
           
protected  void performDefaults()
           
 boolean performOk()
           
 
Methods inherited from class org.eclipse.jface.preference.FieldEditorPreferencePage
addField, adjustGridLayout, applyFont, checkState, createContents, getFieldEditorParent, initialize, propertyChange, setVisible
 
Methods inherited from class org.eclipse.jface.preference.PreferencePage
applyData, applyDialogFont, computeSize, contributeButtons, createControl, createDescriptionLabel, createNoteComposite, doComputeSize, doGetPreferenceStore, getApplyButton, getContainer, getDefaultsButton, getPreferenceStore, isValid, noDefaultAndApplyButton, okToLeave, performApply, performCancel, performHelp, setContainer, setErrorMessage, setMessage, setPreferenceStore, setSize, setTitle, setValid, toString, updateApplyButton
 
Methods inherited from class org.eclipse.jface.dialogs.DialogPage
convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getImage, getMessage, getMessageType, getShell, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, setButtonLayoutData, setControl, setDescription, setImageDescriptor, setMessage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.jface.preference.IPreferencePage
computeSize, isValid, okToLeave, performCancel, setContainer, setSize
 
Methods inherited from interface org.eclipse.jface.dialogs.IDialogPage
createControl, getControl, getDescription, getErrorMessage, getImage, getMessage, getTitle, performHelp, setDescription, setImageDescriptor, setTitle, setVisible
 

Constructor Detail

SAWSDLTextEditorColorsPage

public SAWSDLTextEditorColorsPage()
Method Detail

createFieldEditors

protected void createFieldEditors()
Specified by:
createFieldEditors in class org.eclipse.jface.preference.FieldEditorPreferencePage

init

public void init(org.eclipse.ui.IWorkbench workbench)
Specified by:
init in interface org.eclipse.ui.IWorkbenchPreferencePage

performOk

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

performDefaults

protected void performDefaults()
Overrides:
performDefaults in class org.eclipse.jface.preference.FieldEditorPreferencePage

dispose

public void dispose()
Specified by:
dispose in interface org.eclipse.jface.dialogs.IDialogPage
Overrides:
dispose in class org.eclipse.jface.preference.FieldEditorPreferencePage

getAttrValuesColor

public static org.eclipse.swt.graphics.RGB getAttrValuesColor()

getAttrValuesStyle

public static int getAttrValuesStyle()

getTextColor

public static org.eclipse.swt.graphics.RGB getTextColor()

getTextStyle

public static int getTextStyle()

getTagsColor

public static org.eclipse.swt.graphics.RGB getTagsColor()

getTagsStyle

public static int getTagsStyle()

getAttributesColor

public static org.eclipse.swt.graphics.RGB getAttributesColor()

getAttributesStyle

public static int getAttributesStyle()

getSAWSDLColor

public static org.eclipse.swt.graphics.RGB getSAWSDLColor()

getSAWSDLStyle

public static int getSAWSDLStyle()

getSAWSDLDataColor

public static org.eclipse.swt.graphics.RGB getSAWSDLDataColor()

getSAWSDLDataStyle

public static int getSAWSDLDataStyle()


Copyright © 2006-2008 Ontotext Lab.. All Rights Reserved.