Hashtable getServiceProperties() { Hashtable props = new Hashtable(10); props.put(ApplicationDescriptor.APPLICATION_PID, getApplicationId()); if (name != null) props.put(ApplicationDescriptor.APPLICATION_NAME, name); props.put(ApplicationDescriptor.APPLICATION_CONTAINER, Activator.PI_APP); props.put(ApplicationDescriptor.APPLICATION_LOCATION, getLocation()); Boolean launchable = appContainer.isLocked(this) == 0 ? Boolean.TRUE : Boolean.FALSE; props.put(ApplicationDescriptor.APPLICATION_LAUNCHABLE, launchable); props.put(ApplicationDescriptor.APPLICATION_LOCKED, getLocked()); Boolean visible = (flags & FLAG_VISIBLE) != 0 ? Boolean.TRUE : Boolean.FALSE; props.put(ApplicationDescriptor.APPLICATION_VISIBLE, visible); props.put(APP_TYPE, getThreadTypeString()); if ((flags & FLAG_DEFAULT_APP) != 0) props.put(APP_DEFAULT, Boolean.TRUE); if (iconURL != null) props.put(ApplicationDescriptor.APPLICATION_ICON, iconURL); return props; }
Hashtable getServiceProperties() { Hashtable props = new Hashtable(10); props.put(ApplicationDescriptor.APPLICATION_PID, getApplicationId()); if (name != null) props.put(ApplicationDescriptor.APPLICATION_NAME, name); props.put(ApplicationDescriptor.APPLICATION_CONTAINER, Activator.PI_APP); props.put(ApplicationDescriptor.APPLICATION_LOCATION, getLocation()); Boolean launchable = appContainer.isLocked(this) == 0 ? Boolean.TRUE : Boolean.FALSE; props.put(ApplicationDescriptor.APPLICATION_LAUNCHABLE, launchable); props.put(ApplicationDescriptor.APPLICATION_LOCKED, getLocked()); Boolean visible = (flags & FLAG_VISIBLE) != 0 ? Boolean.TRUE : Boolean.FALSE; props.put(ApplicationDescriptor.APPLICATION_VISIBLE, visible); props.put(APP_TYPE, getThreadTypeString()); if ((flags & FLAG_DEFAULT_APP) != 0) props.put(APP_DEFAULT, Boolean.TRUE); if (iconURL != null) props.put(ApplicationDescriptor.APPLICATION_ICON, iconURL); return props; }
Hashtable getServiceProperties() { Hashtable props = new Hashtable(10); props.put(ApplicationDescriptor.APPLICATION_PID, getApplicationId()); if (name != null) props.put(ApplicationDescriptor.APPLICATION_NAME, name); props.put(ApplicationDescriptor.APPLICATION_CONTAINER, Activator.PI_APP); props.put(ApplicationDescriptor.APPLICATION_LOCATION, getLocation()); Boolean launchable = appContainer.isLocked(this) == 0 ? Boolean.TRUE : Boolean.FALSE; props.put(ApplicationDescriptor.APPLICATION_LAUNCHABLE, launchable); props.put(ApplicationDescriptor.APPLICATION_LOCKED, getLocked()); Boolean visible = (flags & FLAG_VISIBLE) != 0 ? Boolean.TRUE : Boolean.FALSE; props.put(ApplicationDescriptor.APPLICATION_VISIBLE, visible); props.put(APP_TYPE, getThreadTypeString()); if ((flags & FLAG_DEFAULT_APP) != 0) props.put(APP_DEFAULT, Boolean.TRUE); if (iconURL != null) props.put(ApplicationDescriptor.APPLICATION_ICON, iconURL); return props; }