Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.remotebuild
Interface IBuildStyleConfiguration

All Known Implementing Classes:
BuildStyleConfiguration, CommandConfiguration, ProgramConfiguration

public interface IBuildStyleConfiguration

A build style configuration can exist either for the workspace (in which case it is the default for new projects) or for a project. Every build style that is configurable has a default configuration and a configuration for each project for which it has been configured.

Configurations are always created by using the default constructor and then loading from a project or workspace or setting the individual fields.

This interface must not be directly implemented by clients. Clients must sublcass the implementation found in com.ibm.etools.iseries.remotebuild.BuildStyleConfiguration.


Field Summary
static String Copyright
           
 
Method Summary
 void configure(Shell shell, boolean forProject)
          Modifies the build style configuration.
 IBuildStyle getStyle()
          Returns the style of this particular configuration.
 boolean isComplete()
          Returns true if this configuration is complete.
 void loadDefaults()
          Loads the configuration state from its defaults.
 void loadFrom(RBProject project)
          Loads the configuration state from a project.
 void saveDefaults()
          Saves the configuration to a default area.
 void saveTo(RBProject project)
          Saves the configuration to a project.
 void setStyle(IBuildStyle style)
          Sets the style of this particular configuration.
 

Field Detail

Copyright

static final String Copyright
See Also:
Constant Field Values
Method Detail

isComplete

boolean isComplete()
Returns true if this configuration is complete. Configurations that are incomplete may be presented differently in a user interface that configurations that are complete.


configure

void configure(Shell shell,
               boolean forProject)
Modifies the build style configuration. This may present a dialog to the user asking for configuration parameters. This should only be invoked on the user interface thread by the build style framework.


saveTo

void saveTo(RBProject project)
Saves the configuration to a project. It is up to the configuration to determine how this should be accomplished. It may use properties on the project, documents in the project's working storage area or some other means.


loadFrom

void loadFrom(RBProject project)
Loads the configuration state from a project.


saveDefaults

void saveDefaults()
Saves the configuration to a default area. It is up to the configuration to determine how it should save itself. It may use workspace preferences or its plugin's working storage area.


loadDefaults

void loadDefaults()
Loads the configuration state from its defaults.


setStyle

void setStyle(IBuildStyle style)
Sets the style of this particular configuration. Done just after the configuration is created.


getStyle

IBuildStyle getStyle()
Returns the style of this particular configuration.


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.