javatools/javacontrolpanel/controlpanel/javasrc/com/nokia/mj/impl/rt/javacontrolpanel/ApplicationInfoImpl.java
branchRCL_3
changeset 60 6c158198356e
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/javatools/javacontrolpanel/controlpanel/javasrc/com/nokia/mj/impl/rt/javacontrolpanel/ApplicationInfoImpl.java	Thu Aug 19 09:48:13 2010 +0300
@@ -0,0 +1,112 @@
+/*
+* Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:
+*
+*/
+
+package com.nokia.mj.impl.rt.javacontrolpanel;
+
+import com.nokia.mj.impl.rt.support.ApplicationInfo;
+import com.nokia.mj.impl.utils.Uid;
+
+/**
+ * @author Nokia Corporation
+ * @version 1.0
+ */
+
+public class ApplicationInfoImpl extends ApplicationInfo
+{
+    private String iProtectionDomain = null;
+
+    /**
+     */
+    public String getRuntimeType()
+    {
+        // See runtime types defined in ApplicationInfo class.
+        return "JavaControlPanel";
+    }
+
+    /**
+     */
+    public String getProtectionDomain()
+    {
+        return MANUFACTURER_DOMAIN;
+    }
+
+    /**
+     */
+    public Uid getUid()
+    {
+        return Uid.createUid("[2002FF61]");
+    }
+
+    /**
+     */
+    public Uid getSuiteUid()
+    {
+        throw new RuntimeException
+        ("Get suite uid is not applicable for JavaControlPanel");
+    }
+
+    /**
+     */
+    public String getSuiteName()
+    {
+        return getName();
+    }
+
+    /**
+     */
+    public String getName()
+    {
+        return "JavaControlPanel";
+    }
+
+    /**
+     */
+    public String getVendor()
+    {
+        return "Nokia";
+    }
+
+    /**
+     */
+    public String getVersion()
+    {
+        return "1.0.0";
+    }
+
+    /**
+     */
+    public String getRootPath()
+    {
+        throw new RuntimeException
+        ("getRootPath is not applicable for JavaControlPanel");
+    }
+
+    /**
+     */
+    public String getMainClass()
+    {
+        throw new RuntimeException
+        ("Get main class is not applicable for JavaControlPanel");
+    }
+
+    /**
+     */
+    public String getAttribute(String key)
+    {
+        return null;
+    }
+}