com.tensegrity.skeleton.swt.commands
Class SwtFindElementsCommand

java.lang.Object
  extended bycom.tensegrity.generic.command.BaseCommand
      extended bycom.tensegrity.skeleton.commands.CommonBaseCommand
          extended bycom.tensegrity.skeleton.commands.DocumentCommand
              extended bycom.tensegrity.skeleton.commands.GraphDocumentCommand
                  extended bycom.tensegrity.skeleton.commands.FindElementsCommand
                      extended bycom.tensegrity.skeleton.swt.commands.SwtFindElementsCommand
All Implemented Interfaces:
Command

public class SwtFindElementsCommand
extends FindElementsCommand

The SwtFindElementsCommand Command, to be used within applications in a SWT context, looks for occurrences of strings in text attributes of graph elements and selects all matching items.

Version:
$Id: SwtFindElementsCommand.java,v 1.7 2005/08/02 06:40:46 SebastienGuyon Exp $
Author:
S�bastien Guyon

Constructor Summary
SwtFindElementsCommand(ApplicationFrame applicationFrame, java.lang.String command)
          Creates an instance of SwtFindElementsCommand.
 
Method Summary
protected  void getSearchCriteria()
          Creates the search criteria for this search.
 
Methods inherited from class com.tensegrity.skeleton.commands.FindElementsCommand
gatherElements, gatherElements, getSearchText, isEnabled, matchesSearchCriteria, perform, setSearchText, showResults
 
Methods inherited from class com.tensegrity.skeleton.commands.GraphDocumentCommand
getGraphDocument, getVisualGraphView
 
Methods inherited from class com.tensegrity.skeleton.commands.DocumentCommand
getDocument, getGraphApplication, newGraphDocumentFromFactory
 
Methods inherited from class com.tensegrity.skeleton.commands.CommonBaseCommand
getApplicationFrame, getTitle
 
Methods inherited from class com.tensegrity.generic.command.BaseCommand
getDescription, getId, getPerformDescription, setEnabled
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SwtFindElementsCommand

public SwtFindElementsCommand(ApplicationFrame applicationFrame,
                              java.lang.String command)
Creates an instance of SwtFindElementsCommand.

Parameters:
applicationFrame - The application frame
command - The id used to register this command in the command registry
Method Detail

getSearchCriteria

protected void getSearchCriteria()
Description copied from class: FindElementsCommand
Creates the search criteria for this search. Is called in the perform() method and usually asks the user to enter some information.

Overrides:
getSearchCriteria in class FindElementsCommand


Copyright © 2005 Tensegrity Software GmbH. All Rights Reserved. Date of creation: 09.06.2006.