java.lang.Object
de.ipk_gatersleben.ag_nw.graffiti.plugins.misc.invert_selection.SearchOption

public class SearchOption
extends Object
  • Constructor Details

    • SearchOption

      public SearchOption()
    • SearchOption

      public SearchOption​(LogicConnection logicalConnection, NodeOrEdge searchNodeOrEdge, String searchAttributePath, String searchAttributeName, String searchAttributeString, int searchAttributeInteger, double searchAttributeDouble, boolean searchAttributeBoolean, SearchType searchType, SearchLogic searchLogic, SearchOperation searchOperation)
  • Method Details

    • doesMatch

      public boolean doesMatch​(Attributable attr, Collection<GraphElement> searchScope, int idxOfAttr)
    • getPositionsOfGraphElementsForThisSearchOption

      public HashMap<GraphElement,​Integer> getPositionsOfGraphElementsForThisSearchOption​(Collection<GraphElement> searchScope)
    • getScriptCommandForRecreationOfThisObject

      public String getScriptCommandForRecreationOfThisObject()
    • getSearchOptionEditorGUI

      public JComponent getSearchOptionEditorGUI​(Collection<AttributePathNameSearchType> possibleAttributes, boolean showAndOrField, boolean isFindReplaceDialog)
    • getSearchOptionEditorGUI

      public JComponent getSearchOptionEditorGUI​(Collection<AttributePathNameSearchType> possibleAttributes, boolean showAndOrField)
    • getLogicalConnection

      public LogicConnection getLogicalConnection()
    • setLogicalConnection

      public void setLogicalConnection​(LogicConnection logicalConnection)
    • setSearchLogic

      public void setSearchLogic​(SearchLogic searchLogic)
    • getSearchLogic

      public SearchLogic getSearchLogic()
    • setSearchNodeOrEdge

      public void setSearchNodeOrEdge​(NodeOrEdge searchNodeOrEdge)
    • getSearchNodeOrEdge

      public NodeOrEdge getSearchNodeOrEdge()
    • setSearchAttributePath

      public void setSearchAttributePath​(String searchAttributePath)
    • getSearchAttributePath

      public String getSearchAttributePath()
    • setSearchAttributeName

      public void setSearchAttributeName​(String searchAttributeName)
    • getSearchAttributeName

      public String getSearchAttributeName()
    • setSearchAttributeString

      public void setSearchAttributeString​(String searchAttributeString)
    • getSearchAttributeString

      public String getSearchAttributeString()
    • setSearchAttributeInteger

      public void setSearchAttributeInteger​(int searchAttributeInteger)
    • getSearchAttributeInteger

      public int getSearchAttributeInteger()
    • setSearchAttributeDouble

      public void setSearchAttributeDouble​(double searchAttributeDouble)
    • getSearchAttributeDouble

      public double getSearchAttributeDouble()
    • setSearchAttributeBoolean

      public void setSearchAttributeBoolean​(boolean searchAttributeBoolean)
    • isSearchAttributeBoolean

      public boolean isSearchAttributeBoolean()
    • setSearchType

      public void setSearchType​(SearchType searchType)
    • getSearchType

      public SearchType getSearchType()
    • setSearchOperation

      public void setSearchOperation​(SearchOperation searchOperation)
    • getSearchOperation

      public SearchOperation getSearchOperation()
    • getImportStatements

      public static String getImportStatements()
    • getSearchScriptCommands

      public static void getSearchScriptCommands​(ArrayList<SearchOption> searchOptions, boolean addElementsTrue, ArrayList<String> tf, String pre)