-
-
Notifications
You must be signed in to change notification settings - Fork 301
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use new PropertyKey + UI improvements
- PropertyKey.filterVisible(List<PK> ) - show name + propertyKey.key in plugin list - hide plugin properties and show as tooltip instead Signed-off-by: Christoph Rueger <[email protected]>
- Loading branch information
1 parent
3af8aaa
commit cd6147f
Showing
6 changed files
with
146 additions
and
94 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 34 additions & 0 deletions
34
biz.aQute.bndlib/src/aQute/bnd/build/model/BndEditModelHeaderClause.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
package aQute.bnd.build.model; | ||
|
||
import aQute.bnd.build.model.clauses.HeaderClause; | ||
|
||
/** | ||
* This is a special {@link HeaderClause} which knows from which property-key it | ||
* came from. Also it has knowledge about if it <i>isLocal</i>. local means that | ||
* it is in the current file you are looking it (vs. inherited via | ||
* mergedProperties) | ||
*/ | ||
public class BndEditModelHeaderClause extends HeaderClause { | ||
|
||
private String propertyKey; | ||
private boolean isLocal; | ||
|
||
public BndEditModelHeaderClause(String propertyKey, HeaderClause headerClause, boolean isLocal) { | ||
super(headerClause.getName(), headerClause.getAttribs()); | ||
this.propertyKey = propertyKey; | ||
this.isLocal = isLocal; | ||
} | ||
|
||
public String key() { | ||
return propertyKey; | ||
} | ||
|
||
public boolean isLocal() { | ||
return isLocal; | ||
} | ||
|
||
|
||
public String displayTitle() { | ||
return attribs.get("name", getName()); | ||
} | ||
} |
26 changes: 0 additions & 26 deletions
26
biz.aQute.bndlib/src/aQute/bnd/build/model/MergedHeaderClause.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.