net.doctimal.models.applicationmodel.guimodel.editor
Class PreferencesContainer

java.lang.Object
  extended by net.doctimal.models.applicationmodel.guimodel.editor.PreferencesContainer

public class PreferencesContainer
extends java.lang.Object

Author:
klemens To change the template for this generated type comment go to Window - Preferences - Java - Code Generation - Code and Comments

Constructor Summary
PreferencesContainer()
           
 
Method Summary
 org.eclipse.swt.graphics.Font getDefaultFont()
           
 int getDefaultFontHeight()
           
 java.lang.String getDefaultFontName()
           
 int getDefaultFontStyle()
           
 java.lang.String getGuiLanguage()
           
 void getPreferences(EditorConfiguration editorConfiguration)
          getPreferences
 boolean isQueryAddTranslation()
           
 boolean isQueryNewTranslation()
           
 boolean isQuerySourceMatch()
           
 boolean isQueryTargetMatch()
           
 void savePreferences(EditorConfiguration editorConfiguration)
          savePreferences
 void setDefaultFont(org.eclipse.swt.graphics.Font defaultFont)
           
 void setDefaultFontHeight(int defaultFontHeight)
           
 void setDefaultFontName(java.lang.String defaultFontName)
           
 void setDefaultFontStyle(int defaultFontStyle)
           
 void setGuiLanguage(java.lang.String guiLanguage)
           
 void setQueryAddTranslation(boolean queryAddTranslation)
           
 void setQueryNewTranslation(boolean queryNewTranslation)
           
 void setQuerySourceMatch(boolean querySourceMatch)
           
 void setQueryTargetMatch(boolean queryTargetMatch)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PreferencesContainer

public PreferencesContainer()
Method Detail

getDefaultFont

public org.eclipse.swt.graphics.Font getDefaultFont()
Returns:
the defaultFont

getDefaultFontHeight

public int getDefaultFontHeight()
Returns:
the defaultFontHeight

getDefaultFontName

public java.lang.String getDefaultFontName()
Returns:
the defaultFontName

getDefaultFontStyle

public int getDefaultFontStyle()
Returns:
the defaultFontStyle

getGuiLanguage

public java.lang.String getGuiLanguage()
Returns:
the guiLanguage

getPreferences

public void getPreferences(EditorConfiguration editorConfiguration)
getPreferences

Parameters:
editorConfiguration -

isQueryAddTranslation

public boolean isQueryAddTranslation()
Returns:
the queryAddTranslation

isQueryNewTranslation

public boolean isQueryNewTranslation()
Returns:
the queryNewTranslation

isQuerySourceMatch

public boolean isQuerySourceMatch()
Returns:
the querySourceMatch

isQueryTargetMatch

public boolean isQueryTargetMatch()
Returns:
the queryTargetMatch

savePreferences

public void savePreferences(EditorConfiguration editorConfiguration)
savePreferences

Parameters:
editorConfiguration -

setDefaultFont

public void setDefaultFont(org.eclipse.swt.graphics.Font defaultFont)
Parameters:
defaultFont - the defaultFont to set

setDefaultFontHeight

public void setDefaultFontHeight(int defaultFontHeight)
Parameters:
defaultFontHeight - the defaultFontHeight to set

setDefaultFontName

public void setDefaultFontName(java.lang.String defaultFontName)
Parameters:
defaultFontName - the defaultFontName to set

setDefaultFontStyle

public void setDefaultFontStyle(int defaultFontStyle)
Parameters:
defaultFontStyle - the defaultFontStyle to set

setGuiLanguage

public void setGuiLanguage(java.lang.String guiLanguage)
Parameters:
guiLanguage - the guiLanguage to set

setQueryAddTranslation

public void setQueryAddTranslation(boolean queryAddTranslation)
Parameters:
queryAddTranslation - the queryAddTranslation to set

setQueryNewTranslation

public void setQueryNewTranslation(boolean queryNewTranslation)
Parameters:
queryNewTranslation - the queryNewTranslation to set

setQuerySourceMatch

public void setQuerySourceMatch(boolean querySourceMatch)
Parameters:
querySourceMatch - the querySourceMatch to set

setQueryTargetMatch

public void setQueryTargetMatch(boolean queryTargetMatch)
Parameters:
queryTargetMatch - the queryTargetMatch to set