Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » Determine accessible Types
Determine accessible Types [message #473135] Sat, 09 June 2007 16:50 Go to next message
Wolfgang Roessler is currently offline Wolfgang RoesslerFriend
Messages: 35
Registered: July 2009
Member
Hello,

how can I determine all Types which are accessible from a certain
model-element using unqualified names and all Types which are accessible
using qualified names?

Greets
Wolfgang
Re: Determine accessible Types [message #473155 is a reply to message #473135] Mon, 11 June 2007 13:57 Go to previous message
james bruck is currently offline james bruckFriend
Messages: 1724
Registered: July 2009
Senior Member
Hi Wolfgang,

You can probably figure this out by using the
Namespace#getImportedElements() to show all the elements imported by the
namespace. Namespace#getMembers() and Namespace#getNamesOfMember() could
also be useful. .

You might also want to have a look at : Package#visibleMembers();

Hope that helps ..

- James.




"Wolfgang Roessler" <codex@magic-dreams.de> wrote in message
news:f4elo2$i7e$1@build.eclipse.org...
> Hello,
>
> how can I determine all Types which are accessible from a certain
> model-element using unqualified names and all Types which are accessible
> using qualified names?
>
> Greets
> Wolfgang
Re: Determine accessible Types [message #619962 is a reply to message #473135] Mon, 11 June 2007 13:57 Go to previous message
james bruck is currently offline james bruckFriend
Messages: 1724
Registered: July 2009
Senior Member
Hi Wolfgang,

You can probably figure this out by using the
Namespace#getImportedElements() to show all the elements imported by the
namespace. Namespace#getMembers() and Namespace#getNamesOfMember() could
also be useful. .

You might also want to have a look at : Package#visibleMembers();

Hope that helps ..

- James.




"Wolfgang Roessler" <codex@magic-dreams.de> wrote in message
news:f4elo2$i7e$1@build.eclipse.org...
> Hello,
>
> how can I determine all Types which are accessible from a certain
> model-element using unqualified names and all Types which are accessible
> using qualified names?
>
> Greets
> Wolfgang
Previous Topic:Re: Generating Java code with arrays as attributes
Next Topic:A better/cleaner way to determine ProfileApplication.isStrict within the context of a stereotype con
Goto Forum:
  


Current Time: Thu Mar 28 17:07:15 GMT 2024

Powered by FUDForum. Page generated in 0.02923 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top