iSeries Remote Systems
v6.0.1

com.ibm.etools.iseries.editor.views
Interface IDdsParserListener

All Known Implementing Classes:
ISeriesEditorDDSContentOutlinePage

public interface IDdsParserListener

This listener is used to listen for the selection of DDS statements. Whenever a DDS statement is selected via the outline view, it fires an event to the listener.


Field Summary
static String copyright
           
 
Method Summary
 boolean didInitiateSelection()
          Did the listener actually initiate the current selection.
 void disable()
          If the DDS model is being rebuilt this method will be called so the UI can disable itself until it receives another #selectionChanged(DdsStatement, boolean) call.
 void refresh(com.ibm.etools.iseries.dds.dom.ISourceGenerator ddsElement, boolean readOnly)
          The contents of the model have been changed dramatically and a reparse has occurred.
 void selectionChanged(com.ibm.etools.iseries.dds.dom.ISourceGenerator ddsElement, boolean readOnly)
          Whenever a DDS element is selected via the outline view, this method is called
 

Field Detail

copyright

public static final String copyright
See Also:
Constant Field Values
Method Detail

selectionChanged

public void selectionChanged(com.ibm.etools.iseries.dds.dom.ISourceGenerator ddsElement,
                             boolean readOnly)
Whenever a DDS element is selected via the outline view, this method is called

Parameters:
ddsElement - ISourceGenerator that is currently selected in the model
readOnly - - whether the element is readOnly and cannot be updated (if it is in in an editor in the read only state for example)

disable

public void disable()
If the DDS model is being rebuilt this method will be called so the UI can disable itself until it receives another #selectionChanged(DdsStatement, boolean) call.


refresh

public void refresh(com.ibm.etools.iseries.dds.dom.ISourceGenerator ddsElement,
                    boolean readOnly)
The contents of the model have been changed dramatically and a reparse has occurred. Old references to the model may no longer be valid.

Parameters:
ddsElement - ISourceGenerator that is currently selected in the model
readOnly - - whether the element is readOnly and cannot be updated (if it is in in an editor in the read only state for example)

didInitiateSelection

public boolean didInitiateSelection()
Did the listener actually initiate the current selection. This method will be called on the listener during a selection event in editor, it will prevent infinite looping if the listener is capable of initiating a selection.


iSeries Remote Systems
v6.0.1

Copyright © 2005 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.