Plugin & new tabs in program windows

JDietz

Member²
Hi,

is it possible in a plugin to create new tabs in a programm window?
I'd like to store all open windows with content in a text file in order to load them anytime again (-> store different window layouts with content and bookmarks).
To do so I have to manually generate program windows (spec AND body tab) and so on.
I tried it with IDE_TabIndex(...) but that does not generate new tabs. So far I can load my stored content into separate windows but that makes no sense with package spec and bodies.

Is there a function which I can use?
Regards,
J
 
is it possible in a plugin to create new tabs in a programm window?
No, you can only load a file, which will implicitly create the corresponding tabs.
I'd like to store all open windows with content in a text file in order to load them anytime again (-> store different window layouts with content and bookmarks).
Note that this has been added in the upcoming 7.0 release. The size, position, bookmarks, current page, cursor position, substitution variables, and color marks will automatically be saved and restored.
 
Wouldn't it be possible for you to load up a dummy file into a new tab. And then remove the dummy code to fill the tab pane with the code you want?

It would be nice to have an option to create a new tab though. Could this be added to the plug-in possibilities in the upcoming 7.0 release?

Just a thought,
regards,
Patrick
 
Originally posted by Marco Kalter:
Note that this has been added in the upcoming 7.0 release. The size, position, bookmarks, current page, cursor position, substitution variables, and color marks will automatically be saved and restored.
This will be a very good addition!
Will we be able to create more then one such complete window layout? This is/was my intention.
By using "Projects" I could reach a similiar result but it's too complex. I'd just like to hit one "button" and my current layout should be saved e.g. a layout for Project XY.

I have wrote another plugin that shows you the
instance name, host and instance version as menu text. So I always know on what instance I am :) just displaying the TNS string is not that reliable.
Maybe this would be another idea for an new 7.0 addition (-> customizeable info could be placed in the status bar).
Another addition I've made is the possibility to open just the body from the browser windows if you browse packages.
An last idea I had is that is would be cool to close windows by just double clicking the button in the windowlist like in the maxthon internet browser (and the possibilty to resize that windowlist without changing registry values :) )

At least I've one question:
Can plugins be "streamlined" into the PL/SQL Developer setup program? I think of deploying the plugins automatically when a user installs a new version of PL/SQL developer. Maybe the whole plugins folder could simply be copied by the setup program and the plugings could be activated within the developer as default.

but thanks so far...
Regards
J
 
Originally posted by patch:
Wouldn't it be possible for you to load up a dummy file into a new tab. And then remove the dummy code to fill the tab pane with the code you want?

It would be nice to have an option to create a new tab though. Could this be added to the plug-in possibilities in the upcoming 7.0 release?

Just a thought,
regards,
Patrick
Oh thanks! I'll try that. This should do the trick! :)
Thanks,
J
 
Will we be able to create more then one such complete window layout? This is/was my intention.
You don't create it. It will automatically be maintained per database object or program file.
I have wrote another plugin that...
Would you like it published?
Maybe the whole plugins folder could simply be copied by the setup program and the plugings could be activated within the developer as default.
This is indeed possible. All you need is the DLL in the right directory. You can also place your Plug-Ins on a file server and override the default Plug-In directory. This makes it easier to maintain.
 
Back
Top