java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
org.graffiti.plugin.inspector.InspectorTab
de.ipk_gatersleben.ag_nw.graffiti.plugins.gui.layout_control.TabPatternLayout
All Implemented Interfaces:
ComponentListener, ImageObserver, MenuContainer, Serializable, EventListener

public class TabPatternLayout
extends InspectorTab
Represents the tab, which contains the functionality to edit the attributes of the current graph object.
Version:
$Revision$
See Also:
Serialized Form
  • Constructor Details

    • TabPatternLayout

      public TabPatternLayout()
      * Constructs a PatternTab and sets the title.
  • Method Details

    • removeHiddenPatterns

      public static void removeHiddenPatterns()
      Removes all pattern graph - sessions from the global pattern graph session list. Warning: All user loaded visible pattern sessions are removed as well.
    • showPattern

      public static void showPattern​(Graph g)
    • postAttributeAdded

      public void postAttributeAdded​(AttributeEvent e)
    • postAttributeChanged

      public void postAttributeChanged​(AttributeEvent e)
    • postAttributeRemoved

      public void postAttributeRemoved​(AttributeEvent e)
    • preAttributeAdded

      public void preAttributeAdded​(AttributeEvent e)
    • preAttributeChanged

      public void preAttributeChanged​(AttributeEvent e)
    • preAttributeRemoved

      public void preAttributeRemoved​(AttributeEvent e)
    • transactionFinished

      public void transactionFinished​(TransactionEvent e)
    • transactionStarted

      public void transactionStarted​(TransactionEvent e)
    • getCurrentPatternGraph

      public static Graph getCurrentPatternGraph()
      For getting the current Pattern Graph.
      Returns:
      Null, if no Pattern Graph is available. Current (user-selected) Graph-Instance, if at least one pattern is loaded.
    • sessionChanged

      public void sessionChanged​(Session s)
    • sessionDataChanged

      public void sessionDataChanged​(Session s)
    • visibleForView

      public boolean visibleForView​(View v)
      Specified by:
      visibleForView in class InspectorTab
    • getTabParentPath

      public String getTabParentPath()
      Description copied from class: InspectorTab
      returns a path string, that tells Vanted, where to put this tab. It is a dot-delimited string if it is not overridden, it'll return null and Vanted will put this tab on the root level If the path is not empty, Vanted puts this tab as child in the given tab hierarchy Example: return 'Network' and this tab is put as child in the Network Tab If the parent tab does not exist, it will be created
      Overrides:
      getTabParentPath in class InspectorTab
      Returns:
    • getPreferredTabPosition

      public int getPreferredTabPosition()
      Description copied from class: InspectorTab
      Returns the preferred tab position in its parent tab. It can be InspectorTab.{LEADING,TRAILING,RANDOM,POSNUM} where POSNUM is the absolute position number This gives more control about the layout of subtabs
      Overrides:
      getPreferredTabPosition in class InspectorTab
      Returns: