Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.5.0)

E13403-06


oracle.ide.config
Class EnvironOptions

java.lang.Object
  extended by oracle.javatools.data.HashStructureAdapter
      extended by oracle.ide.config.ChangeEventSource
          extended by oracle.ide.config.EnvironOptions

All Implemented Interfaces:
Copyable

public final class EnvironOptions
extends ChangeEventSource
implements Copyable

This class stores the IDE environment options. It extends ChangeEventSource to provide ChangeListener support.


Field Summary
static int EOL_MACINTOSH
           
static int EOL_PLATFORM
           
static int EOL_UNIX
           
static int EOL_WINDOWS
           
static java.lang.String KEY_SETTINGS
           

 

Fields inherited from class oracle.javatools.data.HashStructureAdapter
_hash

 

Constructor Summary
EnvironOptions()
           

 

Method Summary
 void addChangeListener(javax.swing.event.ChangeListener l)
           
 void adjustAfterMigration()
           
 boolean equals(java.lang.Object o)
          Equals support.
protected  boolean equalsImpl(EnvironOptions opts)
           
 boolean getAutoReloadExtMod()
          Automatically reload externally modified files.
 boolean getCleanProjectBeforeRebuild()
          Get the clean project before rebuild setting
 boolean getClearCompilerLogBeforeCompile()
          Clear compiler log before compiling
 java.lang.String getEncoding()
          Retrieves the encoding for use in reading and writing files.
static EnvironOptions getInstance(PropertyStorage prefs)
           
 java.lang.String getInternalEncoding()
          Retrieves the internal representation of the encoding.
static java.lang.String getLabelAutoReloadExtMod()
          Deprecated. since 11.0. This is an implementation detail and should not have been exposed in a public API.
static java.lang.String getLabelBrowse()
          Deprecated. since 11.0. This is an implementation detail and should not have been exposed in a public API.
static java.lang.String getLabelClearCompilerLogBeforeCompile()
          Deprecated. since 11.0. This is an implementation detail and should not have been exposed in a public API.
static java.lang.String getLabelEncoding()
          Deprecated. since 11.0. This is an implementation detail and should not have been exposed in a public API.
static java.lang.String getLabelFloatOnTop()
          Deprecated. since 11.0. This is an implementation detail and should not have been exposed in a public API.
static java.lang.String getLabelLogHrefColor()
          Deprecated. since 11.0. This is an implementation detail and should not have been exposed in a public API.
static java.lang.String getLabelLogPreffix()
          Deprecated. since 11.0. This is an implementation detail and should not have been exposed in a public API.
static java.lang.String getLabelLogSystemErrColor()
          Deprecated. since 11.0. This is an implementation detail and should not have been exposed in a public API.
static java.lang.String getLabelLogSystemInColor()
          Deprecated. since 11.0. This is an implementation detail and should not have been exposed in a public API.
static java.lang.String getLabelLogSystemOutColor()
          Deprecated. since 11.0. This is an implementation detail and should not have been exposed in a public API.
static java.lang.String getLabelLookAndFeel()
          Deprecated. since 11.0. This is an implementation detail and should not have been exposed in a public API.
static java.lang.String getLabelMaxLogLines()
          Deprecated. since 11.0. This is an implementation detail and should not have been exposed in a public API.
static java.lang.String getLabelNavigationLevel()
          Deprecated. since 11.0. This is an implementation detail and should not have been exposed in a public API.
static java.lang.String getLabelResetSkippedMessages()
          Deprecated. since 11.0. This is an implementation detail and should not have been exposed in a public API.
static java.lang.String getLabelSaveBeforeCompile()
          Deprecated. since 11.0. This is an implementation detail and should not have been exposed in a public API.
static java.lang.String getLabelSaveLogToFile()
          Deprecated. since 11.0. This is an implementation detail and should not have been exposed in a public API.
static java.lang.String getLabelSaveOnDeactivation()
          Deprecated. since 11.0. This is an implementation detail and should not have been exposed in a public API.
static java.lang.String getLabelShowCompileProgress()
          Deprecated. since 11.0. This is an implementation detail and should not have been exposed in a public API.
static java.lang.String getLabelShowSplashScreen()
          Deprecated. since 11.0. This is an implementation detail and should not have been exposed in a public API.
static java.lang.String getLabelSilentReload()
          Deprecated. since 11.0. This is an implementation detail and should not have been exposed in a public API.
static java.lang.String getLabelTheme()
          Deprecated. since 11.0. This is an implementation detail and should not have been exposed in a public API.
static java.lang.String getLabelUndoLevel()
          Deprecated. since 11.0. This is an implementation detail and should not have been exposed in a public API.
static java.lang.String getLabelUseDefaultEncoding()
          Deprecated. since 11.0. This is an implementation detail and should not have been exposed in a public API.
 java.lang.String getLafClass()
          Look and feel.
 java.lang.String getLafThemeClass()
          Look and feel theme.
 java.lang.String getLineBreakSequence()
          Returns the line break sequence to use based on user preferences.
 int getLineTerminator()
           
 java.net.URL getLogFilePreffix()
          Deprecated. since 11.0 use getLogFilePrefix().
 java.net.URL getLogFilePrefix()
           
 int getLogHrefColor()
           
 int getLogSystemErrColor()
           
 int getLogSystemInColor()
           
 int getLogSystemOutColor()
           
 int getMaxLogLines()
          Get maximum log lines.
 int getNavigationLevel()
           
 boolean getSaveBeforeCompile()
          Save before compile
 boolean getSaveOnDeactivation()
          Save on JDeveloper deactivation.
 boolean getShowCompileProgress()
          Save before compile
 boolean getShowSplashScreen()
          Show splash screen at startup.
 boolean getSilentReload()
          Silently reload unmodified files.
 int getUndoLevel()
          Get Undo level
 boolean getVerifyCachedFileData()
           
 boolean isFloatOnTop()
          Dockable windows float on top of the main application window
 boolean isRememberNavigatorExpansionState()
          Returns true if the navigator expansion state should be remember when exiting the application.
 boolean isSaveLogToFile()
           
 boolean isWrapLogLines()
           
 void removeChangeListener(javax.swing.event.ChangeListener l)
           
 void setAutoReloadExtMod(boolean autoReloadExtMod)
          Automatically reload externally modified files.
 void setCleanProjectBeforeRebuild(boolean cleanProjectBeforeRebuild)
          Set the clean project before rebuild setting
 void setClearCompilerLogBeforeCompile(boolean clearLog)
          Clear compiler log before compiling
 void setEncoding(java.lang.String encoding)
          Sets the encoding for use in reading or writing files.
 void setFloatOnTop(boolean floatOnTop)
          Dockable windows float on top of the main application window
 void setInternalEncoding(java.lang.String encoding)
          Sets the internal representation of the encoding.
 void setLafClass(java.lang.String lafClass)
          Look and feel.
 void setLafThemeClass(java.lang.String lafThemeClass)
          Look and feel theme.
 void setLineTerminator(int lineTerminator)
           
 void setLogFilePreffix(java.net.URL logFilePreffix)
          Deprecated. since 11.0 use setLogFilePrefix(URL).
 void setLogFilePrefix(java.net.URL logFilePrefix)
           
 void setLogHrefColor(int logHrefColor)
           
 void setLogSystemErrColor(int logSystemErrColor)
           
 void setLogSystemInColor(int logSystemInColor)
           
 void setLogSystemOutColor(int logSystemOutColor)
           
 void setMaxLogLines(int maxLogLines)
          Set maximum log lines.
 void setNavigationLevel(int navigationLevel)
           
 void setRememberNavigatorExpansionState(boolean expand)
          Indicate whether the application should remember the navigator expansion state when exiting.
 void setSaveBeforeCompile(boolean saveBeforeCompile)
          Save before compile
 void setSaveLogToFile(boolean saveLogToFile)
           
 void setSaveOnDeactivation(boolean saveOnDeactivation)
          Save on JDeveloper deactivation.
 void setShowCompileProgress(boolean showCompileProgress)
          Save before compile
 void setShowSplashScreen(boolean showSplashScreen)
          Show splash screen at startup.
 void setSilentReload(boolean silentReload)
          Silently reload unmodified files.
 void setUndoLevel(int undoLevel)
          Set Undo level
 void setVerifyCachedFileData(boolean verify)
           
 void setWrapLogLines(boolean wrapLogLines)
           

 

Methods inherited from class oracle.ide.config.ChangeEventSource
copyTo, fireChangeEvent, fireChangeEvent, setUseObjectEquals

 

Methods inherited from class oracle.javatools.data.HashStructureAdapter
addStructureChangeListener, containsKey, copyToImpl, equalsImpl, findOrCreate, forcedCopyTo, getHashStructure, removeStructureChangeListener, useObjectEquals

 

Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Methods inherited from interface oracle.javatools.util.Copyable
copyTo

 

Field Detail

KEY_SETTINGS

public static final java.lang.String KEY_SETTINGS
See Also:
Constant Field Values

EOL_PLATFORM

public static final int EOL_PLATFORM
See Also:
Constant Field Values

EOL_WINDOWS

public static final int EOL_WINDOWS
See Also:
Constant Field Values

EOL_UNIX

public static final int EOL_UNIX
See Also:
Constant Field Values

EOL_MACINTOSH

public static final int EOL_MACINTOSH
See Also:
Constant Field Values

Constructor Detail

EnvironOptions

public EnvironOptions()

Method Detail

getInstance

public static EnvironOptions getInstance(PropertyStorage prefs)

adjustAfterMigration

public void adjustAfterMigration()

getLogFilePrefix

public java.net.URL getLogFilePrefix()

setLogFilePrefix

public void setLogFilePrefix(java.net.URL logFilePrefix)

isSaveLogToFile

public boolean isSaveLogToFile()

setSaveLogToFile

public void setSaveLogToFile(boolean saveLogToFile)

isWrapLogLines

public boolean isWrapLogLines()

setWrapLogLines

public void setWrapLogLines(boolean wrapLogLines)

getShowSplashScreen

public boolean getShowSplashScreen()
Show splash screen at startup.

setShowSplashScreen

public void setShowSplashScreen(boolean showSplashScreen)
Show splash screen at startup.

getAutoReloadExtMod

public boolean getAutoReloadExtMod()
Automatically reload externally modified files.

setAutoReloadExtMod

public void setAutoReloadExtMod(boolean autoReloadExtMod)
Automatically reload externally modified files.

getSilentReload

public boolean getSilentReload()
Silently reload unmodified files.

setSilentReload

public void setSilentReload(boolean silentReload)
Silently reload unmodified files.

getUndoLevel

public int getUndoLevel()
Get Undo level

setUndoLevel

public void setUndoLevel(int undoLevel)
Set Undo level

getNavigationLevel

public int getNavigationLevel()

setNavigationLevel

public void setNavigationLevel(int navigationLevel)

getMaxLogLines

public int getMaxLogLines()
Get maximum log lines.

setMaxLogLines

public void setMaxLogLines(int maxLogLines)
Set maximum log lines.

getLafClass

public java.lang.String getLafClass()
Look and feel.

setLafClass

public void setLafClass(java.lang.String lafClass)
Look and feel.

getLafThemeClass

public java.lang.String getLafThemeClass()
Look and feel theme.

setLafThemeClass

public void setLafThemeClass(java.lang.String lafThemeClass)
Look and feel theme.

getSaveBeforeCompile

public boolean getSaveBeforeCompile()
Save before compile

setSaveBeforeCompile

public void setSaveBeforeCompile(boolean saveBeforeCompile)
Save before compile

getClearCompilerLogBeforeCompile

public boolean getClearCompilerLogBeforeCompile()
Clear compiler log before compiling

setClearCompilerLogBeforeCompile

public void setClearCompilerLogBeforeCompile(boolean clearLog)
Clear compiler log before compiling

getSaveOnDeactivation

public boolean getSaveOnDeactivation()
Save on JDeveloper deactivation.

setSaveOnDeactivation

public void setSaveOnDeactivation(boolean saveOnDeactivation)
Save on JDeveloper deactivation.

getShowCompileProgress

public boolean getShowCompileProgress()
Save before compile

setShowCompileProgress

public void setShowCompileProgress(boolean showCompileProgress)
Save before compile

getCleanProjectBeforeRebuild

public boolean getCleanProjectBeforeRebuild()
Get the clean project before rebuild setting
Returns:
True if projects should be cleaned before a full rebuild

setCleanProjectBeforeRebuild

public void setCleanProjectBeforeRebuild(boolean cleanProjectBeforeRebuild)
Set the clean project before rebuild setting
Parameters:
cleanProjectBeforeRebuild - If true, a project should be cleaned before a full rebuild

isFloatOnTop

public boolean isFloatOnTop()
Dockable windows float on top of the main application window

setFloatOnTop

public void setFloatOnTop(boolean floatOnTop)
Dockable windows float on top of the main application window

isRememberNavigatorExpansionState

public boolean isRememberNavigatorExpansionState()
Returns true if the navigator expansion state should be remember when exiting the application.

setRememberNavigatorExpansionState

public void setRememberNavigatorExpansionState(boolean expand)
Indicate whether the application should remember the navigator expansion state when exiting.

getEncoding

public java.lang.String getEncoding()
                             throws TransientMarker
Retrieves the encoding for use in reading and writing files.
Returns:
A String containing the name of the encoding that should be used when reading or writing files
Throws:
TransientMarker
See Also:
Encodings

setEncoding

public void setEncoding(java.lang.String encoding)
Sets the encoding for use in reading or writing files. Specifying null null for the encoding indicates that the default encoding should be used.
Parameters:
encoding - a String containing the name of the encoding to use
See Also:
Encodings

getInternalEncoding

public java.lang.String getInternalEncoding()
Retrieves the internal representation of the encoding. Do not use. This method is public in order to support proper persistence of the encoding property.
Returns:
a String containing the internal representation of the encoding

setInternalEncoding

public void setInternalEncoding(java.lang.String encoding)
Sets the internal representation of the encoding. Do not use. This method is public in order to support proper persistence of the encoding property.
Parameters:
encoding - a String containing the new internal representation of the encoding

getLineTerminator

public int getLineTerminator()

getLineBreakSequence

public java.lang.String getLineBreakSequence()
Returns the line break sequence to use based on user preferences.
Returns:
the line break sequence to use based on user preferences. Never returns null.
Since:
11.1.1

setLineTerminator

public void setLineTerminator(int lineTerminator)

getLogHrefColor

public int getLogHrefColor()

setLogHrefColor

public void setLogHrefColor(int logHrefColor)

getVerifyCachedFileData

public boolean getVerifyCachedFileData()

setVerifyCachedFileData

public void setVerifyCachedFileData(boolean verify)

getLogSystemOutColor

public int getLogSystemOutColor()

setLogSystemOutColor

public void setLogSystemOutColor(int logSystemOutColor)

getLogSystemErrColor

public int getLogSystemErrColor()

setLogSystemErrColor

public void setLogSystemErrColor(int logSystemErrColor)

getLogSystemInColor

public int getLogSystemInColor()

setLogSystemInColor

public void setLogSystemInColor(int logSystemInColor)

equals

public boolean equals(java.lang.Object o)
Description copied from class: HashStructureAdapter
Equals support. As long as the subclass stores all data in the HashStructureAdapter._hash, this base equals implementation should be sufficient and not need to be overridden.
Overrides:
equals in class HashStructureAdapter

equalsImpl

protected final boolean equalsImpl(EnvironOptions opts)

getLogFilePreffix

public java.net.URL getLogFilePreffix()
Deprecated. since 11.0 use getLogFilePrefix().

setLogFilePreffix

public void setLogFilePreffix(java.net.URL logFilePreffix)
Deprecated. since 11.0 use setLogFilePrefix(URL).

getLabelLogPreffix

public static java.lang.String getLabelLogPreffix()
Deprecated. since 11.0. This is an implementation detail and should not have been exposed in a public API.

getLabelBrowse

public static java.lang.String getLabelBrowse()
Deprecated. since 11.0. This is an implementation detail and should not have been exposed in a public API.

getLabelSaveLogToFile

public static java.lang.String getLabelSaveLogToFile()
Deprecated. since 11.0. This is an implementation detail and should not have been exposed in a public API.

getLabelShowSplashScreen

public static java.lang.String getLabelShowSplashScreen()
Deprecated. since 11.0. This is an implementation detail and should not have been exposed in a public API.

getLabelAutoReloadExtMod

public static java.lang.String getLabelAutoReloadExtMod()
Deprecated. since 11.0. This is an implementation detail and should not have been exposed in a public API.

getLabelSilentReload

public static java.lang.String getLabelSilentReload()
Deprecated. since 11.0. This is an implementation detail and should not have been exposed in a public API.

getLabelUndoLevel

public static java.lang.String getLabelUndoLevel()
Deprecated. since 11.0. This is an implementation detail and should not have been exposed in a public API.

getLabelNavigationLevel

public static java.lang.String getLabelNavigationLevel()
Deprecated. since 11.0. This is an implementation detail and should not have been exposed in a public API.

getLabelMaxLogLines

public static java.lang.String getLabelMaxLogLines()
Deprecated. since 11.0. This is an implementation detail and should not have been exposed in a public API.

getLabelLookAndFeel

public static java.lang.String getLabelLookAndFeel()
Deprecated. since 11.0. This is an implementation detail and should not have been exposed in a public API.

getLabelTheme

public static java.lang.String getLabelTheme()
Deprecated. since 11.0. This is an implementation detail and should not have been exposed in a public API.

getLabelFloatOnTop

public static java.lang.String getLabelFloatOnTop()
Deprecated. since 11.0. This is an implementation detail and should not have been exposed in a public API.

getLabelSaveBeforeCompile

public static java.lang.String getLabelSaveBeforeCompile()
Deprecated. since 11.0. This is an implementation detail and should not have been exposed in a public API.

getLabelClearCompilerLogBeforeCompile

public static java.lang.String getLabelClearCompilerLogBeforeCompile()
Deprecated. since 11.0. This is an implementation detail and should not have been exposed in a public API.

getLabelSaveOnDeactivation

public static java.lang.String getLabelSaveOnDeactivation()
Deprecated. since 11.0. This is an implementation detail and should not have been exposed in a public API.

getLabelShowCompileProgress

public static java.lang.String getLabelShowCompileProgress()
Deprecated. since 11.0. This is an implementation detail and should not have been exposed in a public API.

getLabelEncoding

public static java.lang.String getLabelEncoding()
Deprecated. since 11.0. This is an implementation detail and should not have been exposed in a public API.

getLabelUseDefaultEncoding

public static java.lang.String getLabelUseDefaultEncoding()
Deprecated. since 11.0. This is an implementation detail and should not have been exposed in a public API.

getLabelLogHrefColor

public static java.lang.String getLabelLogHrefColor()
Deprecated. since 11.0. This is an implementation detail and should not have been exposed in a public API.

getLabelLogSystemOutColor

public static java.lang.String getLabelLogSystemOutColor()
Deprecated. since 11.0. This is an implementation detail and should not have been exposed in a public API.

getLabelLogSystemErrColor

public static java.lang.String getLabelLogSystemErrColor()
Deprecated. since 11.0. This is an implementation detail and should not have been exposed in a public API.

getLabelLogSystemInColor

public static java.lang.String getLabelLogSystemInColor()
Deprecated. since 11.0. This is an implementation detail and should not have been exposed in a public API.

getLabelResetSkippedMessages

public static java.lang.String getLabelResetSkippedMessages()
Deprecated. since 11.0. This is an implementation detail and should not have been exposed in a public API.

addChangeListener

public void addChangeListener(javax.swing.event.ChangeListener l)
Overrides:
addChangeListener in class ChangeEventSource

removeChangeListener

public void removeChangeListener(javax.swing.event.ChangeListener l)
Overrides:
removeChangeListener in class ChangeEventSource

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.5.0)

E13403-06


Copyright © 1997, 2011, Oracle. All rights reserved.