
Click
Window > Open Perspective > Other... > VJET to change to the VJET perspective.
Click
File > New > Other... > VJET Project to open the New VJET Project wizard.
Type "ProjectFramework" in the Project name field.
In Contents group, change selection to Create project from existing source.
Click Browse... and choose the C:\ProjectFramework directory.

Click Next.
On the next page, verify that directory SourceFile has been automatically added as source folder.
Expand it to preview your project source folder contents:

Repeat step1 to create a new VJET project.
On the next page, type "Project" in the Project name field.
In Contents group, change selection to Create project from existing source.
Click Browse... and choose the C:\Project directory.

Click Next.
On the next page, verify that directory SourceFile has been automatically added as source folder.
Expand it to preview your project source folder contents:

Select Projects tab.
Click Add...to add a dependency to source framework project...

In Required Project Selection, check "ProjectFramework".

Click OK to validate and close dialog.
Now, let's put access rules on source framework content to authorize, discourage or forbid access to "ProjectFramework" source folders, package and classes...
In Projects tab, select "Access rules" of "ProjectFramework" depending project.
Click Edit....

In Type Access Rules, click Add....

In Add Access Rule, select "Forbidden" for Resolution.
Type "**/forbidden/**" in Rule Pattern field.

Click OK to validate access rule and close dialog.
Add another access rule:
Resolution: "Discouraged" and Rule Pattern: "**/internal/**".
Your access rules now look as follows:

Click OK to validate these new rules and close dialog.
Dependent project has now 2 access rules set.

Click Finish.
You now have a VJET project which contains the source of "Project" and which is using the source of "ProjectFramework".
Some packages of the project "ProjectFramework" are restricted and if you try to import them, compiler displays either warnings or errors depending on your restriction level:

