|
Extension SDK 10.1.2 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.ide.config.ChangeEventSource oracle.ide.config.EnvironOptions
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
|
Constructor Summary | |
EnvironOptions()
|
Method Summary | |
java.lang.Object |
copyTo(java.lang.Object target)
Copies the internal state of this object to the
specified copy . |
protected void |
copyToImpl(EnvironOptions copy)
Note: does not copy the listeners. |
boolean |
equals(java.lang.Object o)
|
protected boolean |
equalsImpl(EnvironOptions opts)
|
boolean |
getAutoReloadExtMod()
Automatically reload externally modified files. |
java.lang.String |
getEncoding()
Retrieves the encoding for use in reading and writing files. |
java.lang.String |
getInternalEncoding()
Retrieves the internal representation of the encoding. |
static java.lang.String |
getLabelAutoReloadExtMod()
|
static java.lang.String |
getLabelBrowse()
|
static java.lang.String |
getLabelEncoding()
|
static java.lang.String |
getLabelFloatOnTop()
|
static java.lang.String |
getLabelLogHrefColor()
|
static java.lang.String |
getLabelLogPreffix()
|
static java.lang.String |
getLabelLogSystemErrColor()
|
static java.lang.String |
getLabelLogSystemInColor()
|
static java.lang.String |
getLabelLogSystemOutColor()
|
static java.lang.String |
getLabelLookAndFeel()
|
static java.lang.String |
getLabelMaxLogLines()
|
static java.lang.String |
getLabelSaveBeforeCompile()
|
static java.lang.String |
getLabelSaveLogToFile()
|
static java.lang.String |
getLabelShowCompileProgress()
|
static java.lang.String |
getLabelShowSplashScreen()
|
static java.lang.String |
getLabelSilentReload()
|
static java.lang.String |
getLabelUndoLevel()
|
static java.lang.String |
getLabelUseDefaultEncoding()
|
java.lang.String |
getLafClass()
Look and feel. |
int |
getLineTerminator()
|
java.net.URL |
getLogFilePreffix()
|
int |
getLogHrefColor()
|
int |
getLogSystemErrColor()
|
int |
getLogSystemInColor()
|
int |
getLogSystemOutColor()
|
int |
getMaxLogLines()
Get maximum log lines. |
boolean |
getSaveBeforeCompile()
Save before compile |
boolean |
getShowCompileProgress()
Save before compile |
boolean |
getShowSplashScreen()
Show splash screen at startup. |
boolean |
getSilentReload()
Silently reload unmodified files. |
int |
getUndoLevel()
Get Undo level |
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 |
setAutoReloadExtMod(boolean autoReloadExtMod)
Automatically reload externally modified files. |
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 |
setLineTerminator(int lineTerminator)
|
void |
setLogFilePreffix(java.net.URL logFilePreffix)
|
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 |
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 |
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 |
setWrapLogLines(boolean wrapLogLines)
|
Methods inherited from class oracle.ide.config.ChangeEventSource |
addChangeListener, fireChangeEvent, fireChangeEvent, removeChangeListener |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String KEY_SETTINGS
public static final int EOL_PLATFORM
public static final int EOL_WINDOWS
public static final int EOL_UNIX
public static final int EOL_MACINTOSH
Constructor Detail |
public EnvironOptions()
Method Detail |
public java.lang.Object copyTo(java.lang.Object target)
Copyable
this
object to the
specified copy
. If copy
is
null
, then this method should create a new instance
of this
class and proceed to copy the internal state
to the newly created object. Generally, only the persistent
state of the object should be copied, but whether or not it is
appropriate to copy transient properties is at the discretion
of the individual implementor.
Regardless of whether the copy occurs to an existing object or to
a newly created object, the return value is object to which
this
object's state was copied.
There is a standard implementation pattern for the
copyTo
method that helps avoid problems that arise
when a Copyable
object is subclassed. The pattern
is:
public Object copyTo( Object target )
{
final <this_class> copy =
target != null ? (<this_class>) target : new <this_class>();
copyToImpl( copy );
return copy;
}
protected final void copyToImpl( <this_class> copy )
{
super.copyToImpl( copy ); // if necessary
// put code here for copying the properties of <this_class>
}
The parameter passed into the copyToImpl
method is
the same type of this
class. The responsibility of
copyToImpl
is to copy the state of this
class through direct access of the fields. The
copyToImpl
method should not use getters and setters
since these may be overridden, causing the state of
this
class to be incompletely copied.
copyTo
in interface Copyable
target
- The target object to which the state of
this
object should be copied. If target
is null
, then the copyTo
method will
return a new instance of this
class.
this
object was copied. If the target
was
non-null
, then the return value is the same as the
target
object that was passed in; otherwise, the
return value is a new instance of this
class.protected final void copyToImpl(EnvironOptions copy)
public java.net.URL getLogFilePreffix()
public void setLogFilePreffix(java.net.URL logFilePreffix)
public static java.lang.String getLabelLogPreffix()
public static java.lang.String getLabelBrowse()
public boolean isSaveLogToFile()
public void setSaveLogToFile(boolean saveLogToFile)
public static java.lang.String getLabelSaveLogToFile()
public boolean isWrapLogLines()
public void setWrapLogLines(boolean wrapLogLines)
public boolean getShowSplashScreen()
public void setShowSplashScreen(boolean showSplashScreen)
public static java.lang.String getLabelShowSplashScreen()
public boolean getAutoReloadExtMod()
public void setAutoReloadExtMod(boolean autoReloadExtMod)
public static java.lang.String getLabelAutoReloadExtMod()
public boolean getSilentReload()
public void setSilentReload(boolean silentReload)
public static java.lang.String getLabelSilentReload()
public int getUndoLevel()
public void setUndoLevel(int undoLevel)
public static java.lang.String getLabelUndoLevel()
public int getMaxLogLines()
public void setMaxLogLines(int maxLogLines)
public static java.lang.String getLabelMaxLogLines()
public java.lang.String getLafClass()
public void setLafClass(java.lang.String lafClass)
public static java.lang.String getLabelLookAndFeel()
public boolean getSaveBeforeCompile()
public void setSaveBeforeCompile(boolean saveBeforeCompile)
public boolean getShowCompileProgress()
public void setShowCompileProgress(boolean showCompileProgress)
public boolean isFloatOnTop()
public static java.lang.String getLabelFloatOnTop()
public void setFloatOnTop(boolean floatOnTop)
public static java.lang.String getLabelSaveBeforeCompile()
public static java.lang.String getLabelShowCompileProgress()
public boolean isRememberNavigatorExpansionState()
true
if the navigator expansion state should
be remember when exiting the application.
public void setRememberNavigatorExpansionState(boolean expand)
public java.lang.String getEncoding() throws TransientMarker
TransientMarker
Encodings
public void setEncoding(java.lang.String encoding)
null
null for the encoding indicates that the default
encoding should be used.
encoding
- a String containing the name of the encoding to useEncodings
public java.lang.String getInternalEncoding()
public void setInternalEncoding(java.lang.String encoding)
encoding
- a String containing the new internal representation of
the encodingpublic static java.lang.String getLabelEncoding()
public static java.lang.String getLabelUseDefaultEncoding()
public int getLineTerminator()
public void setLineTerminator(int lineTerminator)
public int getLogHrefColor()
public void setLogHrefColor(int logHrefColor)
public static java.lang.String getLabelLogHrefColor()
public int getLogSystemOutColor()
public void setLogSystemOutColor(int logSystemOutColor)
public static java.lang.String getLabelLogSystemOutColor()
public int getLogSystemErrColor()
public void setLogSystemErrColor(int logSystemErrColor)
public static java.lang.String getLabelLogSystemErrColor()
public int getLogSystemInColor()
public void setLogSystemInColor(int logSystemInColor)
public static java.lang.String getLabelLogSystemInColor()
public boolean equals(java.lang.Object o)
protected final boolean equalsImpl(EnvironOptions opts)
|
Extension SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2004, Oracle. All rights reserved.