WireItLibrary

editor-plugin  0.6.0

WireItLibrary > editor-plugin > WireIt.WiringEditor
Search:
 
Filters

Class WireIt.WiringEditor - extends WireIt.BaseEditor

The WiringEditor class provides a full page interface

Constructor

WireIt.WiringEditor ( options )
Parameters:
options <Object>

Properties

adapters - static object

WiringEditor Adapters

layer - {WireIt.Layer}


modulesByName - {Object}

Hash object to reference module definitions by their name

Methods

addModule

void addModule ( )
add a module at the given pos

addModuleToList

void addModuleToList ( )
Add a module definition to the left list

buildModulesList

void buildModulesList ( )
Build the left menu on the left

checkAutoLoad

void checkAutoLoad ( )
checkAutoLoad looks for the "autoload" URL parameter and open the pipe. returns true if it loads a Pipe

getPipeByName

Object getPipeByName ( name )
Parameters:
name <String> Pipe's name
Returns: Object
return the pipe configuration

getValue

void getValue ( )
This method return a wiring within the given vocabulary described by the modules list

inputFilterTimer

void inputFilterTimer ( )
Method called from each keyup on the search filter in load panel. The real filtering occurs only after 500ms so that the filter process isn't called too often

load

void load ( )
Start the loading of the pipes using the adapter

loadPipe

void loadPipe ( name )
Parameters:
name <String> Pipe name

onDelete

void onDelete ( )

onLoadSuccess

void onLoadSuccess ( )

onNew

void onNew ( )

render

void render ( )
Add the rendering of the layer

renderLoadPanel

void renderLoadPanel ( )

renderModulesAccordion

void renderModulesAccordion ( )
render the modules accordion in the left panel

save

void save ( )
save the current module

saveModuleFailure

void saveModuleFailure ( )
saveModule failure callback

saveModuleSuccess

void saveModuleSuccess ( )
saveModule success callback

setOptions

void setOptions ( options )
Parameters:
options <Object>

updateLoadPanelList

void updateLoadPanelList ( )


Copyright © 2010 Eric Abouaf All rights reserved.