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 12:50 Go to next message
Wolfgang Roessler is currently offline Wolfgang Roessler
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 09:57 Go to previous message
james bruck is currently offline james bruck
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 09:57 Go to previous message
james bruck is currently offline james bruck
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: Fri Aug 29 04:09:11 EDT 2014

Powered by FUDForum. Page generated in 0.01724 seconds