/*************************************************************************** * * **************************************************************************/ protected EntityNode (@Nonnull final EntityChildFactory entityChildFactory) { super(Children.create(entityChildFactory, true)); this.entity = null; this.entityChildFactory = entityChildFactory; pasteTypeFactory = null; // refreshAttributes(); }
/** * Create a Children object which, if necessary, will contain a fake (invalid) * card with the given system id. * * @param expectedCardSystemId The system ID for a card that is expected to * exist * @return A Children object suitable for use under a Node */ public Children createChildren(String expectedCardSystemId) { return Children.create(new CF(expectedCardSystemId), true); }
public ImportantFilesRootNode(PhpProject project, ImportantFilesChildFactory childFactory) { super(Children.create(childFactory, true)); this.childFactory = childFactory; ProjectPropertiesSupport.addWeakProjectPropertyChangeListener(project, this); }
public NamespaceNode (@Nonnull final Repository repository, @Nonnull final String nameSpace) { super(Children.create(new NamespaceChildFactory(repository, nameSpace), true)); this.nameSpace = nameSpace; setName(nameSpace); setDisplayName(nameSpace); } //
private GrailsInstance(GrailsInstanceProvider provider, GrailsPlatform runtime) { this.childFactory = new GrailsChildFactory(provider); this.runtime = runtime; this.node = new GrailsNode(Children.create(childFactory, false), getDisplayName()); }
/******************************************************************************************************************* * * ******************************************************************************************************************/ public HViewManagerNode (final @Nonnull HViewManager hViewManager) { super(hViewManager, Children.create(new HChildFactory(hViewManager), true), new ProxyLookup(hViewManager.getLookup(), Lookups.fixed(hViewManager))); } }
@Override protected boolean createKeys(List<Node> toPopulate) { if (!deviceElement.getDeviceObjectReferences().isEmpty()) { String displayName = Bundle.isobus_project_taskdata_aggregatenode_name_device_object_references(); Children deviceObjectReferenceChildren = Children.create(new AggregateNodeChildFactory<>(deviceElement.getDeviceObjectReferences()), true); toPopulate.add(new IsobusAggregateNode(deviceObjectReferenceChildren, DEVICE_OBJECT_REFERENCE_AGGRGATE_NODE_ICON, displayName)); } return true; }
WebModuleHolderNode(TomcatWebModuleChildrenFactory factory) { super(Children.create(factory, true)); setDisplayName(NbBundle.getMessage(TomcatTargetNode.class, "LBL_WebApps")); // NOI18N getCookieSet().add(new RefreshWebModuleChildren(factory)); }
/******************************************************************************************************************* * * ******************************************************************************************************************/ public HViewNode (final @Nonnull HView hView) { super(hView, Children.create(new HChildFactory(hView), true), new ProxyLookup(hView.getLookup(), Lookups.fixed(hView))); } }
public ActivityFieldsNode(AgroURI farmURI) { super(Children.create(new ActivityFieldNodeFactory(farmURI), true)); this.farmURI = farmURI; // FIXME: create new composite icon from blank folder and activityfield icons setIconBaseWithExtension("eu/agrosense/client/activityfield/activityfields_folder.png"); setName(Bundle.activityfields_node_name()); }
public FleetNode(AgroURI farmURI) { super(Children.create(new FleetChildFactory(farmURI), true)); setIconBaseWithExtension("eu/agrosense/client/fleet/fleet.png"); setName(Bundle.fleet_node_name()); } }
public CropProductionUnitsNode(AgroURI farmURI) { super(Children.create(new CropProductionUnitNodeFactory(farmURI), true)); this.farmURI = farmURI; setIconBaseWithExtension("eu/agrosense/client/productionunit/folder_green.png"); setName(Bundle.cropproductionunits_node_name()); }
public ProductNode(IsobusProduct isobusProduct) { super(Children.create(new ProductChildFactory(isobusProduct), true), Lookups.fixed(isobusProduct)); setName(Bundle.isobus_project_taskdata_node_name_product(isobusProduct.getProductDesigNator())); setIconBaseWithExtension(PRODUCT_ICON); }
public LineStringNode(IsobusLineString lineString) { super(Children.create(new AggregateNodeChildFactory<>(lineString.getPoints()), true)); setName(Bundle.isobus_project_taskdata_node_name_linestring(lineString.getName())); setIconBaseWithExtension(LINESTRING_NODE_ICON); } }
public DeviceNode(IsobusDevice isobusDevice) { super(Children.create(new DeviceChildFactory(isobusDevice), true), Lookups.fixed(isobusDevice)); setName(Bundle.isobus_project_taskdata_node_name_device(isobusDevice.getDesignator())); setIconBaseWithExtension(DEVICE_ICON); }
public PolygonNode(IsobusPolygon polygon) { super(Children.create(new AggregateNodeChildFactory<>(polygon.getLineString()), true)); setName(Bundle.isobus_project_taskdata_node_name_polygon(polygon.getPolygonDesignator())); setIconBaseWithExtension(POLYGON_NODE_ICON); } }
public AllocationStampNode(AllocationTime allocationTime) { super(Children.create(new AllocationStampChildFactory(allocationTime), true)); setName(Bundle.isobus_project_taskdata_node_name_allocationtime(allocationTime.getStartTime(), allocationTime.getEndTime())); setIconBaseWithExtension(ALLOCATION_TIME_NODE_ICON); }
public FarmNode(IsobusFarm farm) { super(Children.create(new FarmChildFactory(farm), true), Lookups.fixed(farm)); setName(Bundle.isobus_project_farm_node_name(farm.getName())); setIconBaseWithExtension(ICON); }
public ShapeDataObjectNode(Node original, String name) { super(Children.create(new ShapeChildFactory(), true), new ProxyLookup(original.getLookup(), Lookups.singleton(new SimpleLayer(name)))); this.origional = original; setIconBaseWithExtension("nl/cloudfarming/client/shape/file_extension_shp.png"); setDisplayName(name); }
/** * Not used for this module */ @Override protected void initExplorer() { Node rootNode = new AbstractNode(Children.create(new MessageNodeFactory(), true)); ExplorerManager manager = new ExplorerManager(); manager.setRootContext(rootNode); manager.getRootContext().setDisplayName("messages"); setExplorerManager(manager, new ActionMap()); }