1 package org.simantics.sysdyn.ui.browser.actions;
\r
3 import org.simantics.db.Resource;
\r
5 public class NewSharedFunctionLibraryAction extends NewFunctionLibraryAction {
\r
9 public Runnable create(Object target) {
\r
10 if(!(target instanceof Resource))
\r
12 final Resource resource = (Resource)target;
\r
14 return new Runnable() {
\r
17 createLibrary(resource, true);
\r