Dictionary getServiceProperties() { Dictionary props = new Hashtable(6); props.put(ApplicationHandle.APPLICATION_PID, getInstanceId()); props.put(ApplicationHandle.APPLICATION_STATE, getState()); props.put(ApplicationHandle.APPLICATION_DESCRIPTOR, getApplicationDescriptor().getApplicationId()); props.put(EclipseAppDescriptor.APP_TYPE, ((EclipseAppDescriptor) getApplicationDescriptor()).getThreadTypeString()); props.put(ApplicationHandle.APPLICATION_SUPPORTS_EXITVALUE, Boolean.TRUE); if (defaultAppInstance.booleanValue()) props.put(EclipseAppDescriptor.APP_DEFAULT, defaultAppInstance); return props; }
Dictionary getServiceProperties() { Dictionary props = new Hashtable(6); props.put(ApplicationHandle.APPLICATION_PID, getInstanceId()); props.put(ApplicationHandle.APPLICATION_STATE, getState()); props.put(ApplicationHandle.APPLICATION_DESCRIPTOR, getApplicationDescriptor().getApplicationId()); props.put(EclipseAppDescriptor.APP_TYPE, ((EclipseAppDescriptor) getApplicationDescriptor()).getThreadTypeString()); props.put(ApplicationHandle.APPLICATION_SUPPORTS_EXITVALUE, Boolean.TRUE); if (defaultAppInstance.booleanValue()) props.put(EclipseAppDescriptor.APP_DEFAULT, defaultAppInstance); return props; }
Dictionary getServiceProperties() { Dictionary props = new Hashtable(6); props.put(ApplicationHandle.APPLICATION_PID, getInstanceId()); props.put(ApplicationHandle.APPLICATION_STATE, getState()); props.put(ApplicationHandle.APPLICATION_DESCRIPTOR, getApplicationDescriptor().getApplicationId()); props.put(EclipseAppDescriptor.APP_TYPE, ((EclipseAppDescriptor) getApplicationDescriptor()).getThreadTypeString()); props.put(ApplicationHandle.APPLICATION_SUPPORTS_EXITVALUE, Boolean.TRUE); if (defaultAppInstance.booleanValue()) props.put(EclipseAppDescriptor.APP_DEFAULT, defaultAppInstance); 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; }
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; }