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

E13403-07

oracle.ide.ceditor
Interface ViewSelectionHelper


public interface ViewSelectionHelper

Created by a ViewSelectionHelperFactory, the ViewSelectionHelper may monitor changes to the CodeEditor and set it's view selection. This causes the CodeEditor to fire ViewSelectionEvents. The CodeEditor does't fire ViewSelectionEvents natively.


Method Summary
 void attach(CodeEditor codeEditor, CodeEditorViewSelectionSetter codeEditorSetter)
          Attach and start monitoring the CodeEditor for changes.
 void detach(CodeEditor codeEditor)
          Detach and release all references to the CodeEditor and CodeEditorViewSelectionSetter
 

Method Detail

attach

void attach(CodeEditor codeEditor,
            CodeEditorViewSelectionSetter codeEditorSetter)
Attach and start monitoring the CodeEditor for changes. Call CodeEditorViewSelectionSetter.setSelection(element[]) to set the selection on the CodeEditor and cause a ViewSelectionEvent to be fired.

Parameters:
-

detach

void detach(CodeEditor codeEditor)
Detach and release all references to the CodeEditor and CodeEditorViewSelectionSetter

Parameters:
-

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

E13403-07

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