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

java.lang.Object
  extended by net.docliff.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
 java.lang.String getPtDataSources()
           
 java.lang.String getTmDataSources()
           
 boolean isbSearchIfApproved()
           
 boolean isGlobalDictionaryOnTop()
           
 boolean isQueryAddTranslation()
           
 boolean isQueryNewTranslation()
           
 boolean isQuerySourceMatch()
           
 boolean isQueryTargetMatch()
           
 boolean isSegmentDictionaryOnTop()
           
 void savePreferences(EditorConfiguration editorConfiguration)
          savePreferences
 void setbSearchIfApproved(boolean bSearchIfApproved)
           
 void setDefaultFont(org.eclipse.swt.graphics.Font defaultFont)
           
 void setDefaultFontHeight(int defaultFontHeight)
           
 void setDefaultFontName(java.lang.String defaultFontName)
           
 void setDefaultFontStyle(int defaultFontStyle)
           
 void setGlobalDictionaryOnTop(boolean selection)
          setGlobalDictionaryOnTop
 void setGuiLanguage(java.lang.String guiLanguage)
           
 void setPtDataSources(java.lang.String ptDataSources)
           
 void setQueryAddTranslation(boolean queryAddTranslation)
           
 void setQueryNewTranslation(boolean queryNewTranslation)
           
 void setQuerySourceMatch(boolean querySourceMatch)
           
 void setQueryTargetMatch(boolean queryTargetMatch)
           
 void setSegmentDictionaryOnTop(boolean selection)
          setSegmentDictionaryOnTop
 void setTmDataSources(java.lang.String tmDataSources)
           
 
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 -

getPtDataSources

public java.lang.String getPtDataSources()
Returns:
the ptDataSources

getTmDataSources

public java.lang.String getTmDataSources()
Returns:
the tmDataSources

isbSearchIfApproved

public boolean isbSearchIfApproved()
Returns:
the bSearchIfApproved

isGlobalDictionaryOnTop

public boolean isGlobalDictionaryOnTop()
Returns:
the globalDictionaryOnTop

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

isSegmentDictionaryOnTop

public boolean isSegmentDictionaryOnTop()
Returns:
the segmentDictionaryOnTop

savePreferences

public void savePreferences(EditorConfiguration editorConfiguration)
savePreferences

Parameters:
editorConfiguration -

setbSearchIfApproved

public void setbSearchIfApproved(boolean bSearchIfApproved)
Parameters:
bSearchIfApproved - the bSearchIfApproved to set

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

setGlobalDictionaryOnTop

public void setGlobalDictionaryOnTop(boolean selection)
setGlobalDictionaryOnTop

Parameters:
selection -

setGuiLanguage

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

setPtDataSources

public void setPtDataSources(java.lang.String ptDataSources)
Parameters:
ptDataSources - the ptDataSources 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

setSegmentDictionaryOnTop

public void setSegmentDictionaryOnTop(boolean selection)
setSegmentDictionaryOnTop

Parameters:
selection -

setTmDataSources

public void setTmDataSources(java.lang.String tmDataSources)
Parameters:
tmDataSources - the tmDataSources to set