Uses of Class
com.tensegrity.graph.rule.RuleRegistry

Packages that use RuleRegistry
com.tensegrity.application This package contains the main interfaces and meta classes for the skeleton framework.  
com.tensegrity.graph.element Element functions.  
com.tensegrity.graph.persistence GraphPersistence package.  
com.tensegrity.graph.rule The rule package contains the code for rules that are used throughout the graph packages.  
com.tensegrity.graph.view Contains the graph view interface.  
com.tensegrity.graph.view.event   
com.tensegrity.gui.component The component package contains the basic abstractions for components used within a Graph application, such as GraphApplication, StatusBar, AttributeTable and ObjectTreePanel.  
com.tensegrity.gui.document.persistence   
com.tensegrity.gui.graphdocument This package contains the GraphDocument interface, a Factory for creating such documents as well as a definition for a panel which may hold such documents.  
com.tensegrity.gui.graphdocument.persistence   
com.tensegrity.gui.swing.dialog This package contains several Dialog implementations, such as a ColorChooser for the three Format types (Paint, Stroke, Font) of the Graphics API.  
com.tensegrity.gui.swing.document This package contains all of the current document implementations for use in a swing-based environment.  
com.tensegrity.gui.swing.document.persistence   
com.tensegrity.gui.swt.dialog   
com.tensegrity.gui.swt.document   
com.tensegrity.gui.swt.document.persitence   
 

Uses of RuleRegistry in com.tensegrity.application
 

Methods in com.tensegrity.application that return RuleRegistry
 RuleRegistry DefaultGraphApplication.getRuleRegistry()
           
 RuleRegistry ApplicationFrame.getRuleRegistry()
          Deprecated. use GraphApplication.getRuleRegistry()
 

Methods in com.tensegrity.application with parameters of type RuleRegistry
 void DefaultGraphApplication.setRuleRegistry(RuleRegistry ruleRegistry)
           
 void ApplicationFrame.setRuleRegistry(RuleRegistry registry)
          Deprecated. use {@link GraphApplication#setRuleRegistry(RuleRegistry)
 

Uses of RuleRegistry in com.tensegrity.graph.element
 

Methods in com.tensegrity.graph.element that return RuleRegistry
static RuleRegistry ElementPoolManager.getRuleRegistry()
          Returns the previously read RuleRegistry.
 

Uses of RuleRegistry in com.tensegrity.graph.persistence
 

Methods in com.tensegrity.graph.persistence that return RuleRegistry
static RuleRegistry GraphPersistence.readRules(AttributeList list)
          Method readRules reads the rule elements and creates a new RuleRegistry.
 

Uses of RuleRegistry in com.tensegrity.graph.rule
 

Methods in com.tensegrity.graph.rule that return RuleRegistry
 RuleRegistry RuleRegistry.deepCopy()
          Returns a deep copy of the RuleRegistry.
static RuleRegistry RuleRegistry.addRulesFromResource(RuleRegistry ruleregistry, java.lang.String filename, java.lang.Class resourceclass)
          Method that adds rules from a given resource to a RuleRegistry.
static RuleRegistry RuleRegistry.loadRulesFromResource(java.lang.String filename, java.lang.Class resourceclass)
          Method that loads the RuleRegistry for a given resource.
 

Methods in com.tensegrity.graph.rule with parameters of type RuleRegistry
static RuleRegistry RuleRegistry.addRulesFromResource(RuleRegistry ruleregistry, java.lang.String filename, java.lang.Class resourceclass)
          Method that adds rules from a given resource to a RuleRegistry.
 void RuleFeedback.ruleRejected(RuleRegistry ruleregistry, Rule rule, java.lang.String message)
          This callback is invoked when a Rule is rejected.
 void RuleFeedback.rulePassed(RuleRegistry ruleregistry, Rule rule, java.lang.String message)
          This callback is invoked when a Rule was accepted.
 

Constructors in com.tensegrity.graph.rule with parameters of type RuleRegistry
RuleRegistry(RuleRegistry ruleregistry)
          Copy constructor for a RuleRegistry.
 

Uses of RuleRegistry in com.tensegrity.graph.view
 

Methods in com.tensegrity.graph.view that return RuleRegistry
 RuleRegistry VisualGraphObject.getRuleRegistry()
          Retrieves the active RuleRegistry for this VisualGraphObject instance.
 RuleRegistry VisualGraph.getRuleRegistry()
          Gets the RuleRegistry that is the currently active set of rules for this VisualGraph.
 

Methods in com.tensegrity.graph.view with parameters of type RuleRegistry
 void VisualGraphObject.setRuleRegistry(RuleRegistry ruleregistry)
          Stores the active RuleRegistry of the rule in the visualgraphobject, so that it can be traced back.
 void VisualGraph.setRuleRegistry(RuleRegistry ruleregistry)
          Sets a RuleRegistry as the currently active set of rules for this VisualGraph.
 void VisualGraph.setRuleRegistry(RuleRegistry ruleregistry, boolean preserveAssignedRules)
          Sets a RuleRegistry as the currently active set of rules for this VisualGraph.
 

Uses of RuleRegistry in com.tensegrity.graph.view.event
 

Methods in com.tensegrity.graph.view.event with parameters of type RuleRegistry
 void VisualGraphViewListener.ruleRegistryChanged(RuleRegistry regPrevious, RuleRegistry regNew)
          Called whenever a different rule registry is assigned.
 

Uses of RuleRegistry in com.tensegrity.gui.component
 

Methods in com.tensegrity.gui.component that return RuleRegistry
 RuleRegistry GraphApplication.getRuleRegistry()
          Returns this applications ruleregistry.
 

Methods in com.tensegrity.gui.component with parameters of type RuleRegistry
 void GraphApplication.setRuleRegistry(RuleRegistry ruleRegistry)
          Sets the applications ruleregistry.
 

Uses of RuleRegistry in com.tensegrity.gui.document.persistence
 

Methods in com.tensegrity.gui.document.persistence that return RuleRegistry
protected abstract  RuleRegistry DocumentInformationCheck.getDefaultRuleRegistry()
          Returns the default rule registry
 

Uses of RuleRegistry in com.tensegrity.gui.graphdocument
 

Fields in com.tensegrity.gui.graphdocument declared as RuleRegistry
 RuleRegistry ElementDefinitionWrapper.rules
          rules: All rules of the loaded definition file
 RuleRegistry ElementDefinitionWrapper.defaultRuleRegistry
          defaultRuleRegistry: The default RuleRegistry of the application which is used to check for conflicts with the loaded rule definitions
 

Methods in com.tensegrity.gui.graphdocument with parameters of type RuleRegistry
static java.util.List ElementDefinitionUtil.checkForRuleConflicts(RuleRegistry baseRegistry, RuleRegistry newRegistry)
          Checks if there is a conflict when loading the newRegistry into the baseRegistry.
static void ElementDefinitionUtil.applyRules(RuleRegistry rules, RuleRegistry baseRegistry, java.util.List ruleConflicts, VisualGraphView vgv, AttributeList xmlData, java.util.List visualGraphViews, int applyAction, java.util.Map renameMap)
          Apply the rules registry
static void ElementDefinitionUtil.applyRules(RuleRegistry rules, RuleRegistry baseRegistry, java.util.List ruleConflicts, VisualGraphView vgv, AttributeList xmlData, java.util.List visualGraphViews, int applyAction, java.util.Map renameMap, boolean addUnconflicting)
          Apply the rules registry
static ElementDefinitionUtil.RenameAttributable ElementDefinitionUtil.checkForMissingRules(RuleRegistry defaultRegistry, java.util.Map mapRules)
          Checks, if rules in the map are not defined in the rule registry.
 

Constructors in com.tensegrity.gui.graphdocument with parameters of type RuleRegistry
ElementConflictListener(RuleRegistry rrApplication)
          Constructor
 

Uses of RuleRegistry in com.tensegrity.gui.graphdocument.persistence
 

Fields in com.tensegrity.gui.graphdocument.persistence declared as RuleRegistry
protected  RuleRegistry GraphDocumentReader.defaultRegistry
           
 

Constructors in com.tensegrity.gui.graphdocument.persistence with parameters of type RuleRegistry
GraphDocumentReader(ApplicationFrame appFrame, RuleRegistry defaultRegistry, LayoutController defaultLayoutController, GraphDocumentReaderConflictHandler conflictHandler)
          Constructor
GraphDocumentReader(Frame rootFrame, UIManager uiManager, MDIComponent mdiComponent, RepositoryContainer repositoryContainer, Preferences preferences, RuleRegistry defaultRegistry, LayoutController defaultLayoutController, GraphDocumentReaderConflictHandler conflictHandler)
          Constructor.
 

Uses of RuleRegistry in com.tensegrity.gui.swing.dialog
 

Constructors in com.tensegrity.gui.swing.dialog with parameters of type RuleRegistry
ElementConflictDialog(UIManager uiManager, java.awt.Frame frame, boolean showRules, Rule[] conflictRules, RuleRegistry rrDoc, boolean showLayout, java.lang.String[] conflictLayouts, LayoutController lcSource, LayoutController lcTarget)
          Constructor
ElementConflictDialog(UIManager uiManager, java.awt.Frame frame, java.lang.String keyTitle, java.lang.String keyDescription, boolean showRules, Rule[] conflictRules, RuleRegistry rrDoc, boolean showLayout, java.lang.String[] conflictLayouts, LayoutController lcSource, LayoutController lcTarget)
          Constructor
ElementConflictDialog(UIManager uiManager, java.awt.Dialog owner, boolean showRules, Rule[] conflictRules, RuleRegistry rrDoc, boolean showLayout, java.lang.String[] conflictLayouts, LayoutController lcSource, LayoutController lcTarget)
          Constructor
ElementConflictDialog(UIManager uiManager, java.awt.Dialog owner, java.lang.String keyTitle, java.lang.String keyDescription, boolean showRules, Rule[] conflictRules, RuleRegistry rrDoc, boolean showLayout, java.lang.String[] conflictLayouts, LayoutController lcSource, LayoutController lcTarget)
          Constructor
 

Uses of RuleRegistry in com.tensegrity.gui.swing.document
 

Constructors in com.tensegrity.gui.swing.document with parameters of type RuleRegistry
SwingGraphDocumentReader(ApplicationFrame appFrame, RuleRegistry defaultRegistry, LayoutController defaultLayoutController)
          Constructor
SwingGraphDocumentReader(Frame rootFrame, UIManager uiManager, MDIComponent mdiComponent, RepositoryContainer repositoryContainer, Preferences preferences, RuleRegistry defaultRegistry, LayoutController defaultLayoutController)
          Constructor
SwingGraphDocumentReader(ApplicationFrame appFrame, RuleRegistry defaultRegistry, LayoutController defaultLayoutController, GraphDocumentReaderConflictHandler conflictHandler)
          Constructor
SwingGraphDocumentReader(Frame rootFrame, UIManager uiManager, MDIComponent mdiComponent, RepositoryContainer repositoryContainer, Preferences preferences, RuleRegistry defaultRegistry, LayoutController defaultLayoutController, GraphDocumentReaderConflictHandler conflictHandler)
          Constructor
 

Uses of RuleRegistry in com.tensegrity.gui.swing.document.persistence
 

Methods in com.tensegrity.gui.swing.document.persistence that return RuleRegistry
protected  RuleRegistry SwingDocumentInformationCheck.getDefaultRuleRegistry()
           
 

Constructors in com.tensegrity.gui.swing.document.persistence with parameters of type RuleRegistry
SwingDocumentInformationCheck(Preferences prefs, UIManager uiManager, RuleRegistry rr, LayoutController lc, java.awt.Frame dlgParent)
          Constructor
 

Uses of RuleRegistry in com.tensegrity.gui.swt.dialog
 

Constructors in com.tensegrity.gui.swt.dialog with parameters of type RuleRegistry
SWTElementConflictDialog(UIManager uiManager, org.eclipse.swt.widgets.Display display, int style, java.lang.String keyTitle, java.lang.String keyDescription, boolean showRules, Rule[] conflictRules, RuleRegistry rrDoc, boolean showLayout, java.lang.String[] conflictLayouts, LayoutController lcSource, LayoutController lcTarget)
           Creates and initializes the dialog used in order to resolve rules and layout conflicts.
SWTElementConflictDialog(UIManager uiManager, org.eclipse.swt.widgets.Display display, int style, boolean showRules, Rule[] conflictRules, RuleRegistry rrDoc, boolean showLayout, java.lang.String[] conflictLayouts, LayoutController lcSource, LayoutController lcTarget)
           Creates and initializes the dialog used in order to resolve rules and layout conflicts.
 

Uses of RuleRegistry in com.tensegrity.gui.swt.document
 

Constructors in com.tensegrity.gui.swt.document with parameters of type RuleRegistry
SwtGraphDocumentReader(ApplicationFrame appFrame, RuleRegistry defaultRegistry, LayoutController defaultLayoutController)
          Constructor
SwtGraphDocumentReader(ApplicationFrame appFrame, RuleRegistry defaultRegistry, LayoutController defaultLayoutController, GraphDocumentReaderConflictHandler conflictHandler)
          Constructor
 

Uses of RuleRegistry in com.tensegrity.gui.swt.document.persitence
 

Methods in com.tensegrity.gui.swt.document.persitence that return RuleRegistry
protected  RuleRegistry SwtDocumentInformationCheck.getDefaultRuleRegistry()
           
 

Constructors in com.tensegrity.gui.swt.document.persitence with parameters of type RuleRegistry
SwtDocumentInformationCheck(Preferences prefs, UIManager uiManager, RuleRegistry rr, LayoutController lc, Frame dlgParent)
           TODO SGu (30.06.2005): Comment constructor
 



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