Sweet Home 3D 4.0

com.eteks.sweethome3d.plugin
Class HomePluginController

java.lang.Object
  extended by com.eteks.sweethome3d.viewcontroller.HomeController
      extended by com.eteks.sweethome3d.plugin.HomePluginController
All Implemented Interfaces:
Controller
Direct Known Subclasses:
HomeAppletController

public class HomePluginController
extends HomeController

A MVC controller for the home view able to manage plug-ins.

Author:
Emmanuel Puybaret

Constructor Summary
HomePluginController(Home home, HomeApplication application, ViewFactory viewFactory, ContentManager contentManager, PluginManager pluginManager)
          Creates the controller of home view.
 
Method Summary
 List<Plugin> getPlugins()
          Returns the plug-ins available with this controller.
 void importPlugin(String pluginLocation)
          Imports the plugin at the given location.
 
Methods inherited from class com.eteks.sweethome3d.viewcontroller.HomeController
about, addHomeFurniture, attachView, checkUpdates, close, close, createPhoto, createPhotos, createVideo, cut, delete, deleteBackgroundImage, deleteCameras, deleteRecentHomes, detachView, drop, drop, dropFiles, editPreferences, enableActionsBoundToSelection, enablePasteAction, enableSelectAllAction, exit, exportToCSV, exportToOBJ, exportToSVG, focusedViewChanged, getContentManager, getFurnitureCatalogController, getFurnitureController, getHomeController3D, getPlanController, getRecentHomes, getUndoableEditSupport, getVersion, getView, help, hideBackgroundImage, importBackgroundImage, importFurniture, importFurnitureLibrary, importFurnitureLibrary, importLanguageLibrary, importLanguageLibrary, importTexture, importTexturesLibrary, importTexturesLibrary, modifyBackgroundImage, modifySelectedFurniture, newHome, open, open, paste, previewPrint, print, printToPDF, redo, save, saveAndCompress, saveAs, selectAll, setMode, setupPage, setVisualProperty, showBackgroundImage, storeCamera, undo, zoomIn, zoomOut
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HomePluginController

public HomePluginController(Home home,
                            HomeApplication application,
                            ViewFactory viewFactory,
                            ContentManager contentManager,
                            PluginManager pluginManager)
Creates the controller of home view.

Parameters:
home - the home edited by this controller and its view.
application - the instance of current application.
viewFactory - a factory able to create views.
contentManager - the content manager of the application.
pluginManager - the plug-in manager of the application.
Method Detail

getPlugins

public List<Plugin> getPlugins()
Returns the plug-ins available with this controller.


importPlugin

public void importPlugin(String pluginLocation)
Imports the plugin at the given location.


Sweet Home 3D 4.0

© Copyrights 2006-2013 eTeks - All rights reserved
Distributed under GNU General Public License