org.eclipse.weaver.editors
Interface IWovenModelPanel

All Superinterfaces:
IWSelectionChangedListener
All Known Implementing Classes:
DefaultWovenModelPanel

public interface IWovenModelPanel
extends IWSelectionChangedListener

Interface for woven panel extension

Since:
1.0
Author:
- Marcos Didonet Del Fabro (LINA Labs, INRIA team)
- Guillaume Gueltas (Sodifrance)

Method Summary
 void createControl(Composite parent)
          Creates the control
 Viewer createViewer(Composite parent)
          Creates the viewer
 void dispose()
          Disposes the panel
 ComposedAdapterFactory getAdapterFactory()
          Gets the adapter factory
 Viewer getViewer()
          Gets the viewer
 void initializeEditingDomain(EditingDomain editingDomain)
          sets reference to the editing domain
 void initializeModelManager(WeaverModelManager manager)
          Sets reference to the model manager
 Resource initializeModelResource(ResourceSet input, WeaverXMLMetadata xmlFile)
          initialize model
 void setInput(ResourceSet input)
          Sets the ressource set input
 void setTitle(java.lang.Object object)
          Sets the panel title for ContentViewer
 void setTitle(java.lang.String title, Image image)
          Sets the panel title
 
Methods inherited from interface org.eclipse.weaver.editors.IWSelectionChangedListener
selectEObject
 

Method Detail

initializeModelManager

public void initializeModelManager(WeaverModelManager manager)
Sets reference to the model manager

Parameters:
manager -

initializeEditingDomain

public void initializeEditingDomain(EditingDomain editingDomain)
sets reference to the editing domain

Parameters:
editingDomain -

initializeModelResource

public Resource initializeModelResource(ResourceSet input,
                                        WeaverXMLMetadata xmlFile)
initialize model


createViewer

public Viewer createViewer(Composite parent)
Creates the viewer

Parameters:
parent -

createControl

public void createControl(Composite parent)
Creates the control

Parameters:
parent -

setInput

public void setInput(ResourceSet input)
Sets the ressource set input

Parameters:
input - the ressource set

setTitle

public void setTitle(java.lang.Object object)
Sets the panel title for ContentViewer

Parameters:
object -

setTitle

public void setTitle(java.lang.String title,
                     Image image)
Sets the panel title

Parameters:
title -
image -

dispose

public void dispose()
Disposes the panel


getViewer

public Viewer getViewer()
Gets the viewer

Returns:

getAdapterFactory

public ComposedAdapterFactory getAdapterFactory()
Gets the adapter factory

Returns:
Returns the adapterFactory.