import java.util.List;
import java.util.Map;
-import net.pterodactylus.jsite.core.Node;
import net.pterodactylus.jsite.util.IdGenerator;
import net.pterodactylus.util.beans.AbstractBean;
import net.pterodactylus.util.number.Hex;
/** Name of the “default file” property. */
public static final String PROPERTY_DEFAULT_FILE = "defaultFile";
+ /** Name of the “node” property. */
+ public static final String PROPERTY_NODE = "node";
+
/** Internal ID. */
private String id;
* @param node
* The node to insert this project to
*/
- void setNode(Node node) {
+ public void setNode(Node node) {
+ Node oldNode = this.node;
this.node = node;
+ fireIfPropertyChanged(PROPERTY_NODE, oldNode, node);
}
//