Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.edit.preferences.templates
Class ISeriesTemplates

java.lang.Object
  extended by com.ibm.etools.iseries.edit.preferences.templates.ISeriesTemplateSet
      extended by com.ibm.etools.iseries.edit.preferences.templates.ISeriesTemplates

public class ISeriesTemplates
extends ISeriesTemplateSet

Templates gives access to the available templates.


Field Summary
static String Copyright
           
 
Constructor Summary
ISeriesTemplates()
           
 
Method Summary
static InputStream getDefaultsAsStream()
           
static ISeriesTemplates getInstance()
          Returns an instance of templates.
 void reset()
          Resets the template set.
 void restoreDefaults(String[] validContexts)
          Resets the template set with the default templates.
 void save()
          Saves the template set.
 
Methods inherited from class com.ibm.etools.iseries.edit.preferences.templates.ISeriesTemplateSet
add, addFromFile, addFromStream, addFromStream, clear, clear, getTemplates, getTemplates, remove, saveToFile, saveToStream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Copyright

public static final String Copyright
See Also:
Constant Field Values
Constructor Detail

ISeriesTemplates

public ISeriesTemplates()
Method Detail

getInstance

public static ISeriesTemplates getInstance()
Returns an instance of templates.


reset

public void reset()
           throws CoreException
Resets the template set.

Throws:
CoreException

restoreDefaults

public void restoreDefaults(String[] validContexts)
                     throws CoreException
Resets the template set with the default templates.

Throws:
CoreException

save

public void save()
          throws CoreException
Saves the template set.

Throws:
CoreException

getDefaultsAsStream

public static InputStream getDefaultsAsStream()

Rational Developer for Power Systems Software
V7.6

Copyright © 2011 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.