Skip to content

Commit

Permalink
MONDRIAN/3.1: Add DISPLAY_FOLDER as a member property. Use it if you
Browse files Browse the repository at this point in the history
    want a UI such as Analyzer to group your measures into folders.

[git-p4: depot-paths = "//open/mondrian-release/3.1/": change = 13224]
  • Loading branch information
julianhyde committed Dec 10, 2009
1 parent d7534ef commit b3f36d9
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion src/main/mondrian/olap/Property.java
Expand Up @@ -569,7 +569,6 @@ public enum Datatype {
"DISPLAY_INFO", Datatype.TYPE_NUMERIC, DISPLAY_INFO_ORDINAL, false,
true, false, "Display instruction of a member for XML/A");


public static final int MEMBER_KEY_ORDINAL = 45;
/**
* Definition of the property which
Expand Down Expand Up @@ -611,6 +610,18 @@ public enum Datatype {
"$scenario", Datatype.TYPE_OTHER,
SCENARIO_ORDINAL, true, true, false, null);

public static final int DISPLAY_FOLDER_ORDINAL = 49;
/**
* Definition of the property which
* holds the DISPLAY_FOLDER. For measures, a client tool may use this
* folder to display measures in groups. This property has no meaning for
* other members.
*/
public static final Property DISPLAY_FOLDER =
new Property(
"DISPLAY_FOLDER", Datatype.TYPE_STRING, DISPLAY_FOLDER_ORDINAL,
false, true, false, "Folder in which to display a measure");

/**
* The various property names which define a format string.
*/
Expand Down Expand Up @@ -749,6 +760,7 @@ public boolean isStandard() {
KEY,
UNIQUE_NAME_WITHOUT_HIERARCHY,
SCENARIO,
DISPLAY_FOLDER,
});

static {
Expand Down

0 comments on commit b3f36d9

Please sign in to comment.