de.cau.cs.kieler.core.model.graphiti
Interface IStyleProvider


public interface IStyleProvider

Interface for style providers of Graphiti diagram editors.

Rating red

Method Summary
 org.eclipse.graphiti.mm.algorithms.styles.Style getStyle()
          Returns the default style of this style provider.
 org.eclipse.graphiti.mm.algorithms.styles.Style getStyle(String id)
          Returns the specified style as provided by this style provider.
 

Method Detail

getStyle

org.eclipse.graphiti.mm.algorithms.styles.Style getStyle()
Returns the default style of this style provider.

Returns:
the default style

getStyle

org.eclipse.graphiti.mm.algorithms.styles.Style getStyle(String id)
Returns the specified style as provided by this style provider.

Parameters:
id - the style identifier
Returns:
the corresponding style, or null if the style was not recognized