Package net.sourceforge.squirrel_sql.client.gui.db

Examples of net.sourceforge.squirrel_sql.client.gui.db.SQLAliasColorProperties


                }
            });
          }
      });

      SQLAliasColorProperties colorProps = session.getAlias().getColorProperties();
      if (colorProps.isOverrideObjectTreeBackgroundColor()) {
        int rgbValue = colorProps.getObjectTreeBackgroundColorRgbValue();
        setBackground(new Color(rgbValue));
      }
   }
View Full Code Here


     return result;
  }

  public static ISQLAliasExt getEasyMockSqlAliasExt() {
     ISQLAliasExt result = createMock(ISQLAliasExt.class);
     SQLAliasColorProperties props = createMock(SQLAliasColorProperties.class);
     expect(result.getName()).andReturn("TestAlias").anyTimes();
     IIdentifier id = FwTestUtil.getEasyMockIdentifier();
     expect(result.getDriverIdentifier()).andReturn(id).anyTimes();
     expect(result.getColorProperties()).andStubReturn(props);
     replay(result);
View Full Code Here

  }

  @Override
  public SQLAliasColorProperties getColorProperties()
  {
    return new SQLAliasColorProperties();
  }
View Full Code Here

    }
       
    _app = session.getApplication();
    _sessionId = session.getIdentifier();
       
    SQLAliasColorProperties colorProps = session.getAlias().getColorProperties();
    if (colorProps.isOverrideStatusBarBackgroundColor()) {
      int rgbValue = colorProps.getStatusBarBackgroundColorRgbValue();
      _statusBar.setBackground(new Color(rgbValue));
    }
  }
View Full Code Here

      MyToolBar(final ISession session)
      {
         super();
         createGUI(session);
         SQLAliasColorProperties colorProps = session.getAlias().getColorProperties();
         if (colorProps.isOverrideToolbarBackgroundColor()) {
           int rgbValue = colorProps.getToolbarBackgroundColorRgbValue();
           super.setBackground(new Color(rgbValue));
         }
        
      }
View Full Code Here

TOP

Related Classes of net.sourceforge.squirrel_sql.client.gui.db.SQLAliasColorProperties

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.