net.refractions.udig.style.sld.editor
Class DialogSettingsStyleContent

java.lang.Object
  extended by StyleContent
      extended by net.refractions.udig.style.sld.editor.DialogSettingsStyleContent

public class DialogSettingsStyleContent
extends StyleContent

Persist an IMemento onto the style blackboard to save Style Dilog Settings between runs.

This is mostly used by the theme page right now.

Author:
Jesse Eichar

Field Summary
static java.lang.String EXTENSION_ID
           
 
Constructor Summary
DialogSettingsStyleContent()
           
 
Method Summary
 java.lang.Object createDefaultStyle(IGeoResource resource, java.awt.Color colour, IProgressMonitor monitor)
           
 java.lang.Class<? extends java.lang.Object> getStyleClass()
           
 java.lang.Object load(IMemento memento)
           
 java.lang.Object load(java.net.URL url, IProgressMonitor monitor)
           
 void save(IMemento memento, java.lang.Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EXTENSION_ID

public static final java.lang.String EXTENSION_ID
See Also:
Constant Field Values
Constructor Detail

DialogSettingsStyleContent

public DialogSettingsStyleContent()
Method Detail

createDefaultStyle

public java.lang.Object createDefaultStyle(IGeoResource resource,
                                           java.awt.Color colour,
                                           IProgressMonitor monitor)
                                    throws java.io.IOException
Throws:
java.io.IOException

getStyleClass

public java.lang.Class<? extends java.lang.Object> getStyleClass()

load

public java.lang.Object load(IMemento memento)

load

public java.lang.Object load(java.net.URL url,
                             IProgressMonitor monitor)
                      throws java.io.IOException
Throws:
java.io.IOException

save

public void save(IMemento memento,
                 java.lang.Object value)