1 26 27 package org.objectweb.util.browser.core.dnd; 28 29 import org.objectweb.util.browser.api.Entry; 30 import org.objectweb.util.browser.core.api.BrowserProperty; 31 import org.objectweb.util.browser.core.api.DropActionFactory; 32 import org.objectweb.util.browser.core.api.Role; 33 import org.objectweb.util.browser.core.common.DefaultPropertyContainer; 34 import org.objectweb.util.browser.core.common.ExtendedBoolean; 35 36 43 44 public class DropActionPropertyContainer 45 extends DefaultPropertyContainer { 46 47 53 59 63 public DropActionPropertyContainer(BrowserProperty loader) { 64 super(loader); 65 } 66 67 73 78 protected Entry getElement(String className, Role role, ExtendedBoolean nodeFound) { 79 return loader_.getDropAction(className, role, nodeFound); 80 } 81 82 89 protected void addEntry(String id, DropActionFactory object) { 90 super.addEntry(id, object); 91 } 92 93 99 105 114 public void addEntry(String id, Object object) { 115 if (object != null) { 116 addEntry(id, (DropActionFactory) object); 117 } 118 } 119 120 } | Popular Tags |