two modules can't have same preferredID ?
Peter Cheung <[email protected]> Sat, 7 Oct 2017 17:16:45 +0000
| Newsgroups | gmane.comp.java.netbeans.modules.openide.devel |
|---|---|
| Message-ID | <ME1PR01MB0260CCC2B60C42039F096EFBB5760@ME1PR01MB0260.ausprd01.prod.outlook.com> |
--_000_ME1PR01MB0260CCC2B60C42039F096EFBB5760ME1PR01MB0260ausp_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi
I have two independent modules, each has a TopComponent with same prefer=
redID, when i click on the menu, they messed up together. Is that we can't =
have same preferredID in two different modules?
@TopComponent.Description(
preferredID =3D "TreeTopComponent",
//iconBase=3D"SET/PATH/TO/ICON/HERE",
persistenceType =3D TopComponent.PERSISTENCE_ALWAYS
)
thanks
from Peter
--_000_ME1PR01MB0260CCC2B60C42039F096EFBB5760ME1PR01MB0260ausp_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
1">
<style type=3D"text/css" style=3D"display:none;"><!-- P {margin-top:0;margi=
n-bottom:0;} --></style>
</head>
<body dir=3D"ltr">
<div id=3D"divtagdefaultwrapper" style=3D"font-size:12pt;color:#000000;font=
-family:Calibri,Helvetica,sans-serif;" dir=3D"ltr">
<p></p>
<div>Hi</div>
<div> I have two independent modules, each has a TopComponent w=
ith same <span style=3D"font-family: Calibri, Helvetica, sans-serif, E=
mojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoCo=
lorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymb=
ols; font-size: 16px;">preferredID,
when i click on the menu, they messed up together. Is that we can't have s=
ame <span style=3D"font-family: Calibri, Helvetica, sans-serif, EmojiF=
ont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEm=
oji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; =
font-size: 16px;">preferredID
in two different modules?</span></span></div>
<div><br>
</div>
<div>@TopComponent.Description(</div>
<div><span style=3D"white-space:pre"></span>preferredID =3D "TreeTopCo=
mponent",</div>
<div><span style=3D"white-space:pre"></span>//iconBase=3D"SET/PATH/TO/=
ICON/HERE", </div>
<div><span style=3D"white-space:pre"></span>persistenceType =3D TopComponen=
t.PERSISTENCE_ALWAYS</div>
<div>)</div>
thanks
<p></p>
<p>from Peter</p>
</div>
</body>
</html>
--_000_ME1PR01MB0260CCC2B60C42039F096EFBB5760ME1PR01MB0260ausp_--