This is a fork of https://github.com/cmadsen/vldocking
Because upstream appears to have been abandoned, but bug fixes and new features were desired for OmegaT.
See https://code.google.com/p/vldocking/ for more information.
3.0.9
- #2: Flash the TitleBar is broken
3.0.8
- #1: Add an Automatic-Module-Name to MANIFEST.MF
3.0.5
- Made an important fix for Linux (see cmadsen#9)
- Additional customization:
- The background of
AutoHideButtons is now customizable via theAutoHideButton.backgroundkey forUIManager(Colorvalue) - The background of
AutoHideButtonPanelis now customizable via theAutoHideButtonPanel.backgroundkey forUIManager(Colorvalue) - Disable the gradient on
DockViewTitleBarvia theDockViewTitleBar.disableCustomPaintkey forUIManager(Booleanvalue) - The border of the main
DockingDesktopcomponent can be set via theDockingDesktop.borderkey forUIManager(Bordervalue)
- The background of
- Allow customization with key-value in
UIDefaults defaults = UIManager.getDefaults()table inLookAndFeel#getDefaults. - Released version 3.1.0 with the above changes
- More changes in CHANGELOG.md
Changes introduced by cmadsen/vldocking:
- Renamed package names to use old vlsolutions instead of vldocking
- Fixed issues with read/wrilXML on multiple screens
- Added new empty ctor to
FloatingDialogto make floating windows appear in taskbar. ExtendDefaultDockableContainerFactory.createFloatingDockableContainerand returnnew FloatingDialog() - Fixed LAF issues, e.g., when switching Substance skin
- Fixed issue with borders not being set on single dock windows until an ancestor change events occurred
<dependency>
<groupId>org.bidib.jbidib.com.vldocking</groupId>
<artifactId>vldocking</artifactId>
<version>3.0.9</version>
</dependency>
Just add this to your build.gradle file's dependencies block:
compile 'org.bidib.jbidib.com.vldocking:vldocking:3.0.9'
VLDocking, the swing docking framework
The VLDocking framework is a commercial-grade Swing Framework providing rich docking features which can easily be integrated with existing applications (and of course, new ones).
VLDocking was created in 2004, and is licensed under the LGPL-3.0.
VLDocking is used by companies worldwide and open source projects.
VLDocking is licensed under GNU LESSER GENERAL PUBLIC LICENSE version 3.0 or later (as your choice). VLDocking was initially designed by Lilian Chamontin at his former company VLSolutions.
The VLDocking tutorial can be found here https://github.com/akuhtz/vldocking/wiki/tutorial1
Feel free to fork this repo, and make a "pull request": http://help.github.com/send-pull-requests/. Ideally, write a test!
Copy the relevant bits from settings.xml.example
into your own ~/.m2/settings.xml:
- a
<server id="sonatype-central-portal">entry with your token as username/password, andnjord.publisher/njord.releaseUrlconfiguration so Njord knows this server means "publish to Central Portal" - (optional) a
<pluginGroup>entry so you can typemvn njord:...instead of the fully-qualified plugin coordinates
For the GPG passphrase, the recommended approach is to not put it in
settings.xml at all — export it as an environment variable right before
signing:
export MAVEN_GPG_PASSPHRASE="your-passphrase"(settings.xml.example also shows the older <server id="gpg.passphrase">
convention, which still works but is discouraged since 3.2.x of the plugin.)
mvn verifyThe release profile (and therefore GPG signing) is not active by
default, so this works without a GPG key present.
-
Locally stage the release (this creates a Njord "store"; the
idbefore::njord:is a throwaway value just to satisfy deploy-plugin syntax):mvn -Prelease deploy -DaltDeploymentRepository=id::njord:
Because the
releaseprofile is active,maven-gpg-pluginsigns the jar, sources jar, javadoc jar and POM during theverifyphase, before Njord stages everything locally. -
List staged stores to get the store name:
mvn njord:list
-
Inspect what got staged (optional but recommended):
mvn njord:list-content -Dstore=release-xxx
-
Validate the store against Central's requirements (optional but recommended — catches missing sources/javadoc/signatures/POM metadata before you publish):
mvn njord:validate -Ddetails -Dstore=release-xxx
-
Publish to Central Portal:
mvn njord:publish -Dstore=release-xxx -Dpublisher=sonatype-cp
-
If publish succeeds, the store is dropped automatically and your release is now on Central Portal (check https://central.sonatype.com/publishing to confirm/finalize, depending on whether your namespace has automatic publishing enabled).
If you ever want to abandon a staged release instead of publishing it:
mvn njord:drop -Dstore=release-xxx- Replace the placeholder
groupId,url,scm,developersandlicensesinpom.xmlwith real values — Central Portal validates that this metadata is present and rejects releases that lack it. version.njordinpom.xmlshould be bumped to whatever the latest Njord release is at the time you use this.- Signing is scoped to the
releaseprofile so everydaymvn test/mvn installdon't require a GPG key on every dev machine / CI job.
