Package com.dassault_systemes.vpmdesktop.vdk0infra.interfaces

   
Interface ENOVISearchResult

 
Class Hierarchy
com.dassault_systemes.vpmdesktop.vdk0infra.interfaces.ENOVISearchResult
Class Location

Framework : VPMDesktop

Module : VDK0Infra

Class Description

public interface ENOVISearchResult

Interface for Search Results.
You can implement this interface to display the results of a queried type except for DMU Search.

Field Summary

Constructor Summary

Method Summary
void display(ENOVIType objectType, ENOVIObjectList oResultList)
void display(String sType, ENOVIObjectList oResultList)
ENOVIObject[] getSelection()
void clearSelection()
void clearAllResults()
void clearView()
JComponent getRep()
void setCurrentObjectType(String sObjectType)
void cleanup()
void addSelectionListener(ListSelectionListener l)
void removeSelectionListener(ListSelectionListener l)


Field Detail

Constructor Detail

Method Detail

display

    void display(ENOVIType objectType, ENOVIObjectList oResultList)

Display the results of the queried type. This method will be called when a query is executed in a search filter.

Parameters:
objectType
the object type. Example : Type interface representing VPMBOPartInstance.
oResultList
the result list.

display

    void display(String sType, ENOVIObjectList oResultList)

Display the results of the queried type. This method will be called when a query is executed in a search filter.

Parameters:
sType
the type name. Example : VPMBOPartInstance.
ResultList
the result list.

getSelection

    ENOVIObject[] getSelection()

Returns the selected items inside result table.

Returns:
the list of selected objects.

clearSelection

    void clearSelection()

Clear the current selection inside result view.


clearAllResults

    void clearAllResults()

Remove all displayed results.


clearView

    void clearView()

Clear the result View.


getRep

    JComponent getRep()

Returns the result view.


setCurrentObjectType

    void setCurrentObjectType(String sObjectType)

Set the current object type.

Parameters:
sObjectType
the type name. Example : VPMBOPartInstance

cleanup

    void cleanup()

clean up the views, remove the subscription to the events and listeners.


addSelectionListener

    void addSelectionListener(ListSelectionListener l)

Add the selection listener(to the result view).


removeSelectionListener

    void removeSelectionListener(ListSelectionListener l)

Remove the selection listener(from the result view).



Copyright © 2000, Dassault Systèmes. All rights reserved