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.

Since:
V5R11
Field Summary

Constructor Summary

Method Summary
public void addSelectionListener(ListSelectionListener l)
Add the selection listener(to the result view).
public void cleanup()
clean up the views, remove the subscription to the events and listeners.
public void clearAllResults()
Remove all displayed results.
public void clearSelection()
Clear the current selection inside result view.
public void clearView()
Clear the result View.
public void display(ENOVIType objectType, ENOVIObjectList oResultList)
Display the results of the queried type.
public void display(String sType, ENOVIObjectList oResultList)
Display the results of the queried type.
public JComponent getRep()
Returns the result view.
public ENOVIObject[] getSelection()
Returns the selected items inside result table.
public void removeSelectionListener(ListSelectionListener l)
Remove the selection listener(from the result view).
public void setCurrentObjectType(String sObjectType)
Set the current object type.


Field Detail

Constructor Detail

Method Detail

addSelectionListener

    public void addSelectionListener(ListSelectionListener l)

Add the selection listener(to the result view).


cleanup

    public void cleanup()

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


clearAllResults

    public void clearAllResults()

Remove all displayed results.


clearSelection

    public void clearSelection()

Clear the current selection inside result view.


clearView

    public void clearView()

Clear the result View.


display

    public 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

    public 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.

getRep

    public JComponent getRep()

Returns the result view.


getSelection

    public ENOVIObject[] getSelection()

Returns the selected items inside result table.

Return:
the list of selected objects.

removeSelectionListener

    public void removeSelectionListener(ListSelectionListener l)

Remove the selection listener(from the result view).


setCurrentObjectType

    public void setCurrentObjectType(String sObjectType)

Set the current object type.

Parameters:
sObjectType
the type name. Example : VPMBOPartInstance


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