| com.xoetrope.carousel.services.RouteManager
RouteManager | public class RouteManager extends XRouteManager (Code) | | Manager for keeping track of loaded routes and routes being edited.
Saves the route information when the save menu is clicked in the editor.
Copyright (c) Xoetrope Ltd., 2001-2006, This software is licensed under
the GNU Public License (GPL), please see license.txt for more details. If
you make commercial use of this software you must purchase a commercial
license from Xoetrope.
$Revision: 1.15 $
|
Constructor Summary | |
public | RouteManager(XEditorProject project) |
Method Summary | |
public void | addCustomRouteService(String className, String baseClass) | public void | addCustomRouteService(String className, String baseClass, String[] customAttribs) | public void | addCustomRouteService(String className, String baseClass, boolean loadCustom, String[] customAttribs) | public void | changeServerRouteName(int side, String oldName, String newName) | public XModel | createCustomRouteDefs() | public void | createRouteLayer(String routeName, String serviceLayer, int side) | public void | createServerRoute(String name) | public XBaseModel | getCustomRoutes() | public ModelManager | getModelMgr() | public XBaseModel | getRouteDefs() | public XBaseModel | getRoutes(int side) | public void | loadRoutesFile(boolean server) | void | loadRoutesFromFile(XEditorProject currentProject) Get the name of the routes file from the XLibXModelManager and load the file
from from the resources directory. | public void | moveLayer(String routeName, String layerName, boolean moveUp, boolean server) | public void | openCustomRouteDefs(File file) | public void | removeRoute(String routeName, int side) | public void | saveCustomRouteDefs() | public void | saveRoutes() | public void | saveRoutes(String file, boolean server) | void | saveRoutesFile(String filename) Iterate the routes in the routes hashtable and build the xml file. | public void | setServerLayerAttrib(String routeName, String serviceLayer, String attribName, String attribValue) |
RouteManager | public RouteManager(XEditorProject project)(Code) | | |
addCustomRouteService | public void addCustomRouteService(String className, String baseClass)(Code) | | |
addCustomRouteService | public void addCustomRouteService(String className, String baseClass, String[] customAttribs)(Code) | | |
addCustomRouteService | public void addCustomRouteService(String className, String baseClass, boolean loadCustom, String[] customAttribs)(Code) | | |
changeServerRouteName | public void changeServerRouteName(int side, String oldName, String newName)(Code) | | |
createCustomRouteDefs | public XModel createCustomRouteDefs()(Code) | | |
createRouteLayer | public void createRouteLayer(String routeName, String serviceLayer, int side)(Code) | | |
createServerRoute | public void createServerRoute(String name)(Code) | | |
getCustomRoutes | public XBaseModel getCustomRoutes()(Code) | | |
getRouteDefs | public XBaseModel getRouteDefs()(Code) | | |
getRoutes | public XBaseModel getRoutes(int side)(Code) | | |
loadRoutesFile | public void loadRoutesFile(boolean server)(Code) | | |
loadRoutesFromFile | void loadRoutesFromFile(XEditorProject currentProject)(Code) | | Get the name of the routes file from the XLibXModelManager and load the file
from from the resources directory. Call the XLibDataSource object with the
root element
Parameters: currentProject - the project we are working with |
moveLayer | public void moveLayer(String routeName, String layerName, boolean moveUp, boolean server)(Code) | | Move a route
Parameters: routeName - the name of the route Parameters: layerName - the layer to move Parameters: moveUp - true to move the layer up, if possible |
openCustomRouteDefs | public void openCustomRouteDefs(File file)(Code) | | |
removeRoute | public void removeRoute(String routeName, int side)(Code) | | |
saveCustomRouteDefs | public void saveCustomRouteDefs()(Code) | | |
saveRoutes | public void saveRoutes()(Code) | | |
saveRoutes | public void saveRoutes(String file, boolean server)(Code) | | |
saveRoutesFile | void saveRoutesFile(String filename)(Code) | | Iterate the routes in the routes hashtable and build the xml file. Each
Routes layers also needs to be iterated in order to add to the file. Save
the constructed xml in the specified file.
Parameters: project - the project we are working with Parameters: filename - the path to the routes file. |
|
|