Re: two modules can't have same preferredID ?

"[email protected]" <[email protected]> Sat, 7 Oct 2017 19:18:08 +0200
Newsgroups gmane.comp.java.netbeans.modules.openide.devel
Message-ID <[email protected]>
--Apple-Mail=_3621E30F-A239-4164-82D3-572EFFC98514
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8


That=E2=80=99s right, the preferredID should be unique.


Geertjan Wielenga | Principal Product Manager
Phone: +31620320056 |=20
Oracle Developer Tools

ORACLE Netherlands | Hertogswetering 163-167 | 3543 AS Utrecht | =
Netherlands


Oracle is committed to developing practices and products that help =
protect the environment

> On 7 Oct 2017, at 19:16, Peter Cheung <[email protected]> wrote:
>=20
> Hi
>    I have two independent modules, each has a TopComponent with same =
preferredID, when i click on the menu, they messed up together. Is that =
we can't have same preferredID in two different modules?
>=20
> @TopComponent.Description(
> preferredID =3D "TreeTopComponent",
> //iconBase=3D"SET/PATH/TO/ICON/HERE",=20
> persistenceType =3D TopComponent.PERSISTENCE_ALWAYS
> )
> thanks
> from Peter


--Apple-Mail=_3621E30F-A239-4164-82D3-572EFFC98514
Content-Type: multipart/related;
	type="text/html";
	boundary="Apple-Mail=_9DEA72E2-BB92-4D90-9C09-93607D8BD54D"


--Apple-Mail=_9DEA72E2-BB92-4D90-9C09-93607D8BD54D
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; =
-webkit-line-break: after-white-space;"><div class=3D""><br =
class=3D""></div><div class=3D"">That=E2=80=99s right, the preferredID =
should be unique.</div><br class=3D""><div class=3D""><span><img =
apple-inline=3D"yes" id=3D"BD68C0FE-180C-48A1-8D70-964BA9CAE542" =
src=3D"cid:[email protected]" class=3D""></span><br =
class=3D"">Geertjan Wielenga | Principal&nbsp;Product&nbsp;Manager<br =
class=3D"">Phone:&nbsp;+31620320056&nbsp;|&nbsp;<br =
class=3D"">Oracle&nbsp;Developer Tools<br class=3D""><br class=3D"">ORACLE=
 Netherlands |&nbsp;Hertogswetering 163-167 |&nbsp;3543 AS&nbsp;Utrecht =
| Netherlands<br class=3D""><span><img apple-inline=3D"yes" =
id=3D"74A2AACF-027D-4027-9F7A-959D917A3817" =
src=3D"cid:[email protected]" class=3D""></span><br =
class=3D""><br class=3D"">Oracle is committed to developing practices =
and products that help protect the environment<br class=3D""></div><br =
class=3D""><blockquote type=3D"cite" class=3D"">On 7 Oct 2017, at 19:16, =
Peter Cheung &lt;<a href=3D"mailto:[email protected]" =
class=3D"">[email protected]</a>&gt; wrote:<br class=3D""><br =
class=3D"">Hi<br class=3D"">&nbsp; &nbsp;I have two independent modules, =
each has a TopComponent with same&nbsp;preferredID, when i click on the =
menu, they messed up&nbsp;together. Is that we can't have =
same&nbsp;preferredID in two different modules?<br class=3D""><br =
class=3D"">@TopComponent.Description(<br class=3D"">preferredID =3D =
"TreeTopComponent",<br =
class=3D"">//iconBase=3D"SET/PATH/TO/ICON/HERE",&nbsp;<br =
class=3D"">persistenceType =3D TopComponent.PERSISTENCE_ALWAYS<br =
class=3D"">)<br class=3D"">thanks<br class=3D"">from Peter<br =
class=3D""></blockquote><br class=3D""></body></html>=

--Apple-Mail=_9DEA72E2-BB92-4D90-9C09-93607D8BD54D
Content-Transfer-Encoding: base64
Content-Disposition: inline;
	filename="Mail Attachment.gif"
Content-Type: image/gif;
	x-unix-mode=0666;
	name="Mail Attachment.gif"
Content-Id: <[email protected]>

R0lGODlhcgAaAMQAAP8QEP/w8P/Q0P/g4P8wMP9gYP8gIP+goP9QUP+QkP+wsP9wcP+AgP9AQP/A
wP8AAP///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAAA
AAAALAAAAAByABoAAAX/ICSOZGmeaKqubOu+cCzPdC0GCqPvvBKUDp5wp1gFdIPVIDfcOQa6A8yR
aO4gweQoUHh4v2Bw4SdihM9egyBF8ALIpkEXDR44vA2XwkD/IgYGAAZbbX1nBGRmhl8AWiUJYicC
AIsPDFh4LXOGjQ4NAAhrEIUPBQcOqKmoB5sEZV4JqqoHhQVxlGAOJQG4AAunsqg/dw95KwdfBgzB
qKIEBMaQDwCiKpOwEIq6KANuJg14igZwEHPULMTGKbxetjF8D1ItxK7aKl8lCl8DAfALW1+2rUi3
QtqgGN2mwYCXzYvAON624LoEQZ9DEfRcEFSBIE2DjyBDfnyIqRgMcA8a/z5AZQWXOxEdHxwUgfIg
sX/zMqlAWclVCQFefLpAqdJBAFJn3owgtpJEQkslEWjUmYLnomokcDlS4s0eFzQNqvXDEyzmAwFP
yaXYmGJBuxlzELWIacueiE0AFGyF4HbaNTquUEpFRxUFUC9YXQzARYAkEJSNipKQ9kDu0i9SKKNZ
9iXswMIoYgI4oJYFskpgzkkmcdrviELqmPVt1HpRAaaLqCE1lBgjvEpqRtgl8Tevygd7TcCuiKvP
m8OVEkAIYLYPThSsRIpEQJr1x94QBIT09FH6QJC6AiRAoB1kEb7tRb4MvyB+AwSlbejfz7+///8A
BijggAQWaOCBCCao4A+CDDbo4IMQRijhhBQKGAIAOw==
--Apple-Mail=_9DEA72E2-BB92-4D90-9C09-93607D8BD54D
Content-Transfer-Encoding: base64
Content-Disposition: inline;
	filename="Mail Attachment.gif"
Content-Type: image/gif;
	x-unix-mode=0666;
	name="Mail Attachment.gif"
Content-Id: <[email protected]>

R0lGODlhLAAcAMQAAP///0x9RHmec9Pf0aa+oleFULHGrmKNW+nv6I+uivT39N7n3W6VZ7zPuZu2
lsjXxYSmfwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAAA
AAAALAAAAAAsABwAQAXhICCOZGmeaDoaReC+sKAMR7GopIA6boIvLgPAVSAgALxjSYdrOp/Q6NPg
YqIEPkTBV2taTwgGbEw+PAZo3FfKbqMQQfeJ8DoY0Hg0wxhAKBgHCl5XLgMqDwFCAAIFPIYDgidr
OUQGkSh0cQMJAQyXOXKhoqOkpaanI2aoIwMErq+uCY0BMlANKpxkYwQGBH82TpMicD0pAgQACToD
AchqhAG3KQ4HIlQNnErG0IYqB9EAiEQvwEsozC43hy0CAeXMwsLDLS8MAvf497ruCZ+gOA0gfNt3
AIK0J/JWKVzIsEQIADs=
--Apple-Mail=_9DEA72E2-BB92-4D90-9C09-93607D8BD54D--

--Apple-Mail=_3621E30F-A239-4164-82D3-572EFFC98514--