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

E13403-04

oracle.javatools.editor
Interface FileOverviewMark

All Known Implementing Classes:
LineGutterPlugin.Column.Mark

public interface FileOverviewMark


Field Summary
static int SEVERITY_ERROR
          Severity constant used to specify error level severity.
static int SEVERITY_NONE
          Severity constant used to specify no severity.
static int SEVERITY_WARNING
          Severity constant used to specify warning level severity.
 
Method Summary
 int getSelectionLength()
          Called when the FileOverviewMargin is preparing to navigate to this mark's location.
 int getSelectionStart()
          Called when the FileOverviewMargin is preparing to navigate to this mark's location.
 int getSeverity()
          Called when the FileOverviewMargin is preparing to update the summary block at the top.
 java.lang.String getToolTipText(java.awt.event.MouseEvent mouseEvent)
          Called when the FileOverviewMargin is preparing to show a tooltip for this mark.
 

Field Detail

SEVERITY_NONE

static final int SEVERITY_NONE
Severity constant used to specify no severity.

See Also:
Constant Field Values

SEVERITY_WARNING

static final int SEVERITY_WARNING
Severity constant used to specify warning level severity.

See Also:
Constant Field Values

SEVERITY_ERROR

static final int SEVERITY_ERROR
Severity constant used to specify error level severity.

See Also:
Constant Field Values
Method Detail

getToolTipText

java.lang.String getToolTipText(java.awt.event.MouseEvent mouseEvent)
Called when the FileOverviewMargin is preparing to show a tooltip for this mark.

Returns:
the desired tooltip

getSelectionStart

int getSelectionStart()
Called when the FileOverviewMargin is preparing to navigate to this mark's location. If it is desirable to select text in the editor, this method should return the offset for the start of the selection. If it is not desirable to select text, this method should return -1.

Returns:
the selection start offset >= 0

getSelectionLength

int getSelectionLength()
Called when the FileOverviewMargin is preparing to navigate to this mark's location. If it is desirable to select text in the editor, this method should return the length of the selection.

Returns:
the selection length >= 0

getSeverity

int getSeverity()
Called when the FileOverviewMargin is preparing to update the summary block at the top. The severity can be SEVERITY_NONE, SEVERITY_WARNING, or SEVERITY_ERROR.

Returns:
the severity constant associated with this mark: SEVERITY_NONE, SEVERITY_WARNING, or SEVERITY_ERROR

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

E13403-04

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