Tabnine Logo
Node$PropertySet
Code IndexAdd Tabnine to your IDE (free)

How to use
Node$PropertySet
in
org.openide.nodes

Best Java code snippets using org.openide.nodes.Node$PropertySet (Showing top 20 results out of 315)

origin: org.netbeans.api/org-openide-explorer

    ((sets.length == 1) &&
    (!NbBundle.getMessage(PropertySetModelImpl.class, "CTL_PropertiesNoMnemonic").equals(
      sets[0].getDisplayName()
    )))
p = sets[i].getProperties();
origin: org.netbeans.api/org-netbeans-modules-j2eeserver

  public static PropertySet[] merge(PropertySet[] overridingSets, PropertySet[] baseSets) {
    java.util.Map ret = new java.util.HashMap();
    for (int i=0; i<baseSets.length; i++) {
      ret.put(baseSets[i].getName(), baseSets[i]);
    }
    for (int j=0; j<overridingSets.length; j++) {
      PropertySet base = (PropertySet) ret.get(overridingSets[j].getName());
      if (base == null) {
        ret.put(overridingSets[j].getName(), overridingSets[j]);
      } else {
        base = merge(overridingSets[j], base);
        ret.put(base.getName(), base);
      }
    }

    PropertySet top = (PropertySet) ret.remove(Sheet.PROPERTIES);
    List retList = new ArrayList();
    if (top != null)
      retList.add(top);
    retList.addAll(ret.values());
    return (PropertySet[]) retList.toArray(new PropertySet[retList.size()]);
  }
}
origin: net.sf.squirrel-sql.thirdparty-non-maven/openide

String currTab = (String) sets[i].getValue("tabName"); //NOI18N
if (currTab == null) {
  currTab = PropUtils.basicPropsTabName();
origin: org.netbeans.api/org-openide-explorer

id = (String) ps[0].getValue("helpID"); //NOI18N
  if ((ps[i] == fd) || Arrays.asList(ps[i].getProperties()).contains(fd)) {
    id = (String) ps[i].getValue("helpID"); //NOI18N
origin: net.sf.squirrel-sql.thirdpary-non-maven/openide

if (! sheets.contains(firstSet[i]) || firstSet[i].isHidden ()) {
  continue;
res.setName(current.getName());
res.setDisplayName(current.getDisplayName());
res.setShortDescription(current.getShortDescription());
String tabName = (String) current.getValue("tabName"); //NOI18N
if (tabName != null) {
  res.setValue ("tabName", tabName); //NOI18N
  Arrays.asList(current.getProperties()));
  Node.PropertySet[] p = original[j].getPropertySets();
  for (int k = 0; k < p.length; k++) {
    if (current.getName().equals(p[k].getName())) {
      props.retainAll(new HashSet(
        Arrays.asList(p[k].getProperties())));
Node.Property []p = current.getProperties();
for (int j = 0; j < p.length; j++) {
  if (! props.contains(p[j])) {
origin: org.netbeans.api/org-netbeans-modules-vmd-properties

Sheet sheet = PropertiesNodesManager.getInstance(view).getSheet(component);
for (PropertySet propertySet : sheet.toArray()) {
  for (Property property : propertySet.getProperties()) {
    if(propertyName.equals(property.getName())) {
      PropertyPanel propertyPanel = new PropertyPanel(property, PropertyPanel.PREF_CUSTOM_EDITOR);
origin: net.sf.squirrel-sql.thirdparty-non-maven/openide

boolean exists = false;
for (int i = 0; i < pss.length; i++) {
  Node.Property[] ps = pss[i].getProperties();
  for (int j = 0; j < ps.length; j++) {
    if (ps[j].getName().equals(name)) {
origin: org.netbeans.api/org-openide-explorer

PropertySet ps = (PropertySet) value;
String txt = ps.getHtmlDisplayName();
boolean isHtml = txt != null;
  txt = ps.getDisplayName();
origin: net.sf.squirrel-sql.thirdparty-non-maven/openide

PropertySet ps = (PropertySet) value;
String txt = ps.getHtmlDisplayName();
boolean isHtml = txt != null;
if (!isHtml) {
  txt = ps.getDisplayName();
origin: net.sf.squirrel-sql.thirdparty-non-maven/openide

if (! sheets.contains(firstSet[i]) || firstSet[i].isHidden ()) {
  continue;
res.setName(current.getName());
res.setDisplayName(current.getDisplayName());
res.setShortDescription(current.getShortDescription());
String tabName = (String) current.getValue("tabName"); //NOI18N
if (tabName != null) {
  res.setValue ("tabName", tabName); //NOI18N
  Arrays.asList(current.getProperties()));
  Node.PropertySet[] p = original[j].getPropertySets();
  for (int k = 0; k < p.length; k++) {
    if (current.getName().equals(p[k].getName())) {
      props.retainAll(new HashSet(
        Arrays.asList(p[k].getProperties())));
Node.Property []p = current.getProperties();
for (int j = 0; j < p.length; j++) {
  if (! props.contains(p[j])) {
origin: net.sf.squirrel-sql.thirdparty-non-maven/openide

  id = (String) ps[0].getValue("helpID"); //NOI18N
if (fd != null && ps != null && ps.length > 0) {
  for (int i=0; i < ps.length; i++) {
    if (ps[i] == fd || Arrays.asList(ps[i].getProperties()).contains(fd)) {
      id = (String) ps[i].getValue("helpID"); //NOI18N
      break;
origin: net.sf.squirrel-sql.thirdpary-non-maven/openide

  id = (String) ps[0].getValue("helpID"); //NOI18N
if (fd != null && ps != null && ps.length > 0) {
  for (int i=0; i < ps.length; i++) {
    if (ps[i] == fd || Arrays.asList(ps[i].getProperties()).contains(fd)) {
      id = (String) ps[i].getValue("helpID"); //NOI18N
      break;
origin: net.sf.squirrel-sql.thirdpary-non-maven/openide

table.getPropertySetModel().setPropertySets(sets);
if (sets.length > 0 && !psheet.isAdjusting()) {
  String tab = (String) sets[0].getValue("tabName"); //NOI18N
  tab = tab == null ?
      PropUtils.basicPropsTabName() : tab;
origin: net.sf.squirrel-sql.thirdpary-non-maven/openide

boolean exists = false;
for (int i = 0; i < pss.length; i++) {
  Node.Property[] ps = pss[i].getProperties();
  for (int j = 0; j < ps.length; j++) {
    if (ps[j].getName().equals(name)) {
origin: net.sf.squirrel-sql.thirdpary-non-maven/openide

PropertySet ps = (PropertySet) value;
String txt = ps.getHtmlDisplayName();
boolean isHtml = txt != null;
if (!isHtml) {
  txt = ps.getDisplayName();
origin: org.netbeans.api/org-openide-explorer

if (!sheets.contains(firstSet[i]) || firstSet[i].isHidden()) {
  continue;
res.setName(current.getName());
res.setDisplayName(current.getDisplayName());
res.setShortDescription(current.getShortDescription());
String tabName = (String) current.getValue("tabName"); //NOI18N
java.util.Set<Property> props = new HashSet<Property>(Arrays.asList(current.getProperties()));
    final String cn = current == null ? null : current.getName();
    final String pkn = p[k] == null ? null : p[k].getName();
    if (cn != null && cn.equals(pkn)) {
      props.retainAll(new HashSet<Property>(Arrays.asList(p[k].getProperties())));
Node.Property[] p = current.getProperties();
origin: org.netbeans.api/org-openide-explorer

result = ps.getShortDescription();
origin: net.sf.squirrel-sql.thirdparty-non-maven/openide

table.getPropertySetModel().setPropertySets(sets);
if (sets.length > 0 && !psheet.isAdjusting()) {
  String tab = (String) sets[0].getValue("tabName"); //NOI18N
  tab = tab == null ?
      PropUtils.basicPropsTabName() : tab;
origin: org.netbeans.api/org-openide-explorer

String tab = (String) sets[0].getValue("tabName"); //NOI18N
tab = (tab == null) ? PropUtils.basicPropsTabName() : tab;
psheet.manager().storeLastSelectedGroup(tab);
origin: net.sf.squirrel-sql.thirdpary-non-maven/openide

result = ps.getShortDescription();
org.openide.nodesNode$PropertySet

Javadoc

Class that represents one set of properties. A usual bean has three sets of properties: normal, expert, and events.

You may associate context help with this object, if desired, by setting a FeatureDescriptor#setValue with the name helpID and value of type String giving a help ID. Normally this is unnecessary as help for the whole Node will be used by default.

Most used methods

  • getProperties
    Get the list of contained properties. This list can contain both Node.Property and Node.IndexedPrope
  • getName
  • getDisplayName
  • getShortDescription
  • getHtmlDisplayName
    Return a variant of the display name containing HTML markup conforming to the limited subset of font
  • getValue
  • isHidden
  • attributeNames
  • equals
  • hashCode
  • isExpert
  • isPreferred
  • isExpert,
  • isPreferred,
  • setDisplayName,
  • setExpert,
  • setHidden,
  • setName,
  • setPreferred,
  • setShortDescription,
  • setValue,
  • toString

Popular in Java

  • Parsing JSON documents to java classes using gson
  • onCreateOptionsMenu (Activity)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • getExternalFilesDir (Context)
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • HashSet (java.util)
    HashSet is an implementation of a Set. All optional operations (adding and removing) are supported.
  • Locale (java.util)
    Locale represents a language/country/variant combination. Locales are used to alter the presentatio
  • Properties (java.util)
    A Properties object is a Hashtable where the keys and values must be Strings. Each property can have
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
  • Best plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now