Package in Package

Discussion in 'Plugin Development' started by ercesplay, Jan 3, 2015.

Thread Status:
Not open for further replies.
  1. Offline

    ercesplay

    I wanna do this but i cant why ?
    [​IMG]
    if i try it will be like that ?!
    [​IMG]
     
  2. Online

    timtower Administrator Administrator Moderator

    @ercesplay Lets start with this: what are you doing?
     
  3. Offline

    ercesplay

    Translating a plugin for my laung.
     
  4. Offline

    TGRHavoc

    Press "F2" when you've clicked on the package. You can then change the package name to "de.GameplayJDK.Tent.Config".
     
  5. Online

    timtower Administrator Administrator Moderator

    @ercesplay But what are you doing with the moving? What are you trying to achieve?
     
  6. Offline

    teej107

    It is already "de.GameplayJDK.Tent.Config". It's just the way the IDE displays the packages.
     
  7. Offline

    TGRHavoc

    It is? I use eclipse and I've never seen the packages displayed like that..
     
  8. Offline

    ercesplay

    [​IMG] not working
     
  9. Offline

    TGRHavoc

    This may be what you're looking for..
     
    timtower likes this.
  10. Offline

    ercesplay

    [​IMG] i need this config package in de.GameplayJDK.Tent package
     
  11. Offline

    teej107

    @TGRHavoc You have "/de/GameplayJDK/Tent". Everything inside of it is the classes so is would be "/de/GameplayJDK/Tent/<classname>.java" and you have the Config package which is "/de/GameplayJDK/Tent/Config" because it is inside the rest of the packages.
     
  12. Offline

    TGRHavoc

    If you look at his original post, his "Config" was it's own package. It wasn't inside of the "de/GameplayeJDK/Tent" package but, that's where he wanted it inside of., not on it's own..
     
  13. Offline

    ercesplay

    i need just Config in GameplayJDK
     
  14. Online

    timtower Administrator Administrator Moderator

    @ercesplay
    Click that link. It will do what you want.
     
  15. Offline

    teej107

    @TGRHavoc Look at the image closely. It is inside the rest of the packages just like the classes are. It's just not displaying the full path.
     
  16. Offline

    TGRHavoc

    [​IMG]
    No.. No it's not..
     
  17. Offline

    teej107

    @TGRHavoc I was referring to his first image.
     
  18. Offline

    TGRHavoc

    His first image was what he wanted it to look like :p
     
  19. Offline

    ercesplay

    i want first, second is mine :C
     
  20. Offline

    teej107

    @TGRHavoc He had to get it like that in the first place to take the screenshot. Unless his question would be better phrased "I had it like that but idk what I did. Everything is messed up now".
    @ercesplay Right click on the package you want the package to go in and create a new package.
     
  21. Offline

    TGRHavoc

    Fair point however, you can see that both of the images have different "carets" so the screen shots are most likely from different versions of eclipse (and therefore different people)

    @ercesplay Did you managed to get it to look how you wanted?
     
    teej107 likes this.
  22. Offline

    teej107

    Good noticing!
     
    TGRHavoc likes this.
Thread Status:
Not open for further replies.

Share This Page