com.inline.feature.ui
Interface FeatureModelEditorService

All Known Implementing Classes:
DefaultFeatureModelEditorService

public interface FeatureModelEditorService

A model browser/editor service.


Method Summary
 void closeEditor()
          Closes the editor and possibly destroys the editor window.
 com.inline.resources.ResourceReference getDocumentResourceReference()
          Returns the resource reference for the resource (like assembly plan) that is displayed by the editor.
 FeatureModel getFeatureModel()
          Returns the feature model associated with this editor service.
 Feature getSelectedFeature()
          Returns the currently selected feature or null.
 void selectFeature(Feature feature)
          Selects the specified feature.
 void setDocumentResourceReference(com.inline.resources.ResourceReference reference)
          Sets the resource reference for the resource to be displayed by the editor.
 void setProperty(java.lang.String key, java.lang.Object value)
          Set a property value.
 void showEditor()
          Makes the editor visible.
 

Method Detail

setProperty

public void setProperty(java.lang.String key,
                        java.lang.Object value)
Set a property value. Properties are used by the service to set up a FeatureModel.

getDocumentResourceReference

public com.inline.resources.ResourceReference getDocumentResourceReference()
Returns the resource reference for the resource (like assembly plan) that is displayed by the editor.

setDocumentResourceReference

public void setDocumentResourceReference(com.inline.resources.ResourceReference reference)
Sets the resource reference for the resource to be displayed by the editor.

showEditor

public void showEditor()
Makes the editor visible.

closeEditor

public void closeEditor()
Closes the editor and possibly destroys the editor window.

getFeatureModel

public FeatureModel getFeatureModel()
Returns the feature model associated with this editor service. Use that model to obtain features, create new features, remove features etc.

getSelectedFeature

public Feature getSelectedFeature()
Returns the currently selected feature or null.

selectFeature

public void selectFeature(Feature feature)
Selects the specified feature.