Package net.gridshield.nexsm.entityclasses

Examples of net.gridshield.nexsm.entityclasses.ConfDefaultView


     * @param tag The starting element tag name
     * @param h The hash table with the properties for the starting xml tag
     * @throws java.lang.Exception If a problem is encountered
     */
    public void startElement(String tag, java.util.Hashtable h) throws Exception {
        if (tag.equals("defaultview")) { defaultview = true; dvtmp = new ConfDefaultView();
            if (h.containsKey("available")) {
                String value = (String)h.get("available");
                if (value.equalsIgnoreCase("false")
                    || value.equalsIgnoreCase("no")) {
                    dvtmp.setAvailable(false);
View Full Code Here


                // Scheduler
            } else if (n instanceof ConfPlugin) {
                // TODO do the plugin stuff
            } else if (n instanceof ConfDefaultView) {
                isLoadDefaultViewsList = true;
                ConfDefaultView cdv = (ConfDefaultView)n;
                String name = "default";
                MapperEvent me = new MapperEvent(this);
                me.setMapperType(MapperActionType.CreateView);
                if (cdv.isAvailable()) {
                    name = cdv.getDefaultView();
                    activateDefaultView = false;
                    if (name.length() > 0 && _graphManager.getVV(name) == null) {
                        _graphManager.addView(name);                       
                        me.setParams(name);
                        loadMap(name);
View Full Code Here

TOP

Related Classes of net.gridshield.nexsm.entityclasses.ConfDefaultView

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.